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/comp
Martijn Dekker ce3cc66d58 Next round of minor tweaks and cleanups
Notable changes:
- Tie up some loose ends re: 3de4da5a and 7ba2c685.
- comp/omitted.c: Header include fix for Cygwin.
- misc/optget.c:
  - args(): When printing options for the uage line, use a local
    pointer for the 'if' block instead of reusing the 'b' pointer.
    That variable is used to output blanks later.
  - The above fix allows re-enabling the AST translation-aware
    macros and deleting the astsa fallback without causing usage
    message corruption in multibyte locales. Maybe someday we'll
    make ksh actually translatable.
  - Remove code to reinitialise _error_infop_ and _opt_info_
    'because these are not initialised by all DLLs'. In 2022,
    hopefully the buggy dynamic linkers are fixed. If not, we're
    not going to find out by keeping the workaround. I suspect that
    those bugs may have been triggered by the Microsoft/Cygwin
    import/export obfuscation removed in 3de4da5a.
- ksh93:
  - Remove unused sh.st.var_local variable. This was a leftover of
    a 93v- attempt to implement the bash 'local' command. It used
    static scoping, so it's not actually compatible.
  - Add a few regression tests for miscellaneous breakage that I
    caused in experiments (the breakage never made it to git; the
    tests are just to keep it that way).
2022-07-22 00:07:41 +02:00
..
atexit.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
basename.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
catopen.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
closelog.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
conf.sh Another round of tweaks 2022-06-24 15:34:55 +01:00
conf.tab cleanup: libast: remove pre-fork(2) code (re: 7b0e0776) 2022-06-20 16:21:40 +01:00
dirname.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
dup2.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
eaccess.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
errno.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
execlp.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
execve.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
execvp.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
execvpe.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
fakelink.h INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
fcntl.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
fmtmsg.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
fmtmsglib.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
fnmatch.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
fnmatch.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
frexp.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
frexpl.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
fsync.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
ftw.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
ftw.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
getdate.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
getgroups.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
getlogin.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
getopt.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
getopt.h INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
getoptl.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
getpgrp.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
getsubopt.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
getwd.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
gross.c Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
gross_sgi.h Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
iconv.c Remove AT&T UWIN support code 2022-07-21 10:17:14 +02:00
killpg.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
libgen.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
link.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
localeconv.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
lstat.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
memccpy.c Remove AT&T UWIN support code 2022-07-21 10:17:14 +02:00
memchr.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
memcmp.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
memcpy.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
memmove.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
memset.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
mkdir.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
mkfifo.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
mknod.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
mktemp.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
mktime.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
mount.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
nftw.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
omitted.c Next round of minor tweaks and cleanups 2022-07-22 00:07:41 +02:00
open.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
openlog.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
putenv.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
re_comp.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
re_comp.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
readlink.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
realpath.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
regcmp.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
regexp.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
regexp.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
remove.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
rename.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
resolvepath.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
rmdir.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
setenv.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
setlocale.c Remove AT&T UWIN support code 2022-07-21 10:17:14 +02:00
setlogmask.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
setpgid.c Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
setsid.c cleanup: libast: remove pre-fork(2) code (re: 7b0e0776) 2022-06-20 16:21:40 +01:00
sigflag.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
sigunblock.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
spawnveg.c cleanup: libast: remove pre-fork(2) code (re: 7b0e0776) 2022-06-20 16:21:40 +01:00
statvfs.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
strcasecmp.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
strchr.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
strftime.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
strncasecmp.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
strptime.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
strrchr.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
strstr.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
strtod.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
strtol.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
strtold.c Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
strtoll.c Remove AT&T UWIN support code 2022-07-21 10:17:14 +02:00
strtoul.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
strtoull.c Remove AT&T UWIN support code 2022-07-21 10:17:14 +02:00
swab.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
symlink.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
syslog.c Remove AT&T UWIN support code 2022-07-21 10:17:14 +02:00
syslog.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
sysloglib.h INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
system.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
tempnam.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
tmpnam.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
transition.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
unlink.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
unsetenv.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
vfork.c Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00
waitpid.c Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
wc.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
wordexp.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
wordexp.h Remove Microsoft/Cygwin import/export nonsense 2022-07-21 23:27:37 +02:00