1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/lib/libast/man
Johnothan King c2ac69b2d5 Use dynamic maximum configuration values when necessary (#370)
This commit fixes an issue with how ksh was obtaining the value of
NGROUPS_MAX. On some systems this setting can be changed (e.g., on
illumos adding 'set ngroups_max=32' to /etc/system then rebooting
changes NGROUPS_MAX from 16 to 32). Ksh was using NGROUPS_MAX with
the assumption it's a static value, which could cause issues on
systems where it isn't static. This bugfix is inspired by the one
from <b1362c3a5>, although it
has been expanded a bit to account for OPEN_MAX as well.

src/cmd/ksh93/sh/init.c, src/lib/libcmd/fds.c:
- Rename the getconf() macro to astconf_long() and move it to ast.h
  to prevent redundancy. Other sections of the code have been
  modified to use this macro for astconf() to account for
  dynamic settings.
- An equivalent macro for unsigned long values (astconf_ulong) has
  been added.
- Prefer sysconf(3) where available. It has better performance as it
  returns a numeric value directly instead of via string
  conversion.
- The astconf_long and astconf_ulong macros have been documented in
  the ast(3) man page.
2021-12-13 07:53:14 +01:00
..
aso.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
ast.3 Use dynamic maximum configuration values when necessary (#370) 2021-12-13 07:53:14 +01:00
astsa.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
cdt.3 Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
chr.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
compat.3 Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
error.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
find.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
fmt.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
fmtls.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
ftwalk.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
getcwd.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
hash.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
iblocks.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
int.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
ip6.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
LIBAST.3 Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
magic.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
mem.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
mime.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
modecanon.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
optget.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
path.3 Add --globcasedetect shell option for globbing and completion 2021-03-22 18:45:19 +00:00
preroot.3 Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
proc.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
re.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
regex.3 Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
setenviron.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
sfdisc.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
sfio.3 Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
sig.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
spawnveg.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
stak.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
stk.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
strcopy.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
strdup.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
strelapsed.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
strerror.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
stresc.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
streval.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
strgid.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
strmatch.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
stropt.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
strperm.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
strsignal.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
strsort.3 Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
strtape.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
strton.3 Fix various minor problems and update the documentation (#237) 2021-03-21 14:39:03 +00:00
struid.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
swap.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
tab.3 Fix a large number of typos and other problems (#110) 2020-08-07 00:50:11 +01:00
tm.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
tmx.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
tok.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
touch.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
tv.3 Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
vecargs.3 Lots of man page fixes and some other minor fixes (#284) 2021-04-23 22:02:30 +01:00
vmalloc.3 Disable vmalloc by default; fix build on Cygwin 2021-12-05 19:28:45 +01:00