1*8462SApril.Chin@Sun.COM08-11-04 regex/regcomp.c: fix locale [!-...] and [^-...] re-initialization 2*8462SApril.Chin@Sun.COM08-11-04 stdio: add flockfile.c ftrylockfile.c funlockfile.c 3*8462SApril.Chin@Sun.COM08-10-24 port/astconf.c: handle multiple/trailing '/' in universe initialization 4*8462SApril.Chin@Sun.COM08-09-10 misc/magic.c: handle old vcodex() indices 5*8462SApril.Chin@Sun.COM08-09-10 sfio/sfvprintf.c: drop SF_WCWIDTH, use %Lc or %Ls instead 6*8462SApril.Chin@Sun.COM08-09-05 Makefile: ibm.risc joins the :NOOPTIMIZE: crowd 7*8462SApril.Chin@Sun.COM08-09-04 regex/regnexec.c: fix nested delimiter match beyond end of subject 8*8462SApril.Chin@Sun.COM08-08-20 misc/fts.c: fix st_nlink stat() optimization logic 9*8462SApril.Chin@Sun.COM08-08-19 sfio/sfpkrd.c: workaround macosx recv(PEEK) data consumption on non-socket 10*8462SApril.Chin@Sun.COM08-08-19 strn?tol?d: handle long double with smaller exponent range than double 11*8462SApril.Chin@Sun.COM08-08-18 sfio/sfcvt.c: eliminate excessive multiplies and integral overprecision 12*8462SApril.Chin@Sun.COM08-08-11 tm/tmxfmt.c: handle %10N and %010N 13*8462SApril.Chin@Sun.COM08-08-06 include/shcmd.h: add 'int invariant;' for builtin invarinat arg count 14*8462SApril.Chin@Sun.COM08-08-05 features/ndbm: favor sleepycat ndbm compatibility 15*8462SApril.Chin@Sun.COM08-07-21 include/glob.h,misc/glob.c: GLOB_STARSTAR only forces lstat on chdir 16*8462SApril.Chin@Sun.COM08-07-17 sfio: sync with kpv 17*8462SApril.Chin@Sun.COM08-07-17 misc/optget.c: call astwinsize() each time terminal width required 18*8462SApril.Chin@Sun.COM08-07-16 sfio/sfvscanf.c: fix %% to skip leading space per posix 19*8462SApril.Chin@Sun.COM08-07-16 vmalloc/vmbest.c: add VMCHECK=m, VM_mmap to favor mmap() alloc 20*8462SApril.Chin@Sun.COM08-07-16 features/stdio,stdio/f(read|write).c: size_t return value!! ouch 21*8462SApril.Chin@Sun.COM08-06-24 tm/tmxfmt.c: fix %z to handle tm_isdst -- doh 22*8462SApril.Chin@Sun.COM08-06-24 misc/astintercept.c,misc/getenv.c: split from misc/setenviron.c 23*8462SApril.Chin@Sun.COM08-06-17 misc/setenviron.c: add { astintercept() getenv() } 24*8462SApril.Chin@Sun.COM08-06-09 tm/tmlocale.c: use _DATE_FMT if defined for TM_DEFAULT 25*8462SApril.Chin@Sun.COM08-06-06 misc/optget.c: handle sub-component about details 26*8462SApril.Chin@Sun.COM08-06-04 misc/optget.c: fix [-n?\n...\n] version parse 27*8462SApril.Chin@Sun.COM08-06-04 include/debug.h,misc/debug.c: merge with kpvdebug.h 28*8462SApril.Chin@Sun.COM08-06-02 features/ndbm: add to tame dbmlib.iffe replication 29*8462SApril.Chin@Sun.COM08-06-01 comp/resolvepath.c,realpath.c: fix resolvepath() return value type 30*8462SApril.Chin@Sun.COM08-05-22 tm/tmxdate.c: fix a few ordinal/last/this/next bugs 31*8462SApril.Chin@Sun.COM08-05-18 string/fmtre.c: fix omitted stack var initialization bug 32*8462SApril.Chin@Sun.COM08-05-14 regex/regcomp.c,regcoll.c: fix UTF-8 collation sequence logic 33*8462SApril.Chin@Sun.COM08-05-11 tm/tmxfmt.c: :NOOPTIMIZE:, otherwise %Q/../../ fails 34*8462SApril.Chin@Sun.COM08-05-01 tm/tmxdate.c: mon 1..12 => mon[13] -- doh 35*8462SApril.Chin@Sun.COM08-04-30 misc/glob.c,reegex/regcomp.c: ~(R) => ~(O) to avoid pcre clash 36*8462SApril.Chin@Sun.COM08-04-24 port/astconf.c: 'name = value' does assignment without system init 37*8462SApril.Chin@Sun.COM08-04-15 port/astconf.c: SC#N treated like 'SC(N)' 38*8462SApril.Chin@Sun.COM08-04-14 misc/optget.c: clean up nroff output 39*8462SApril.Chin@Sun.COM08-04-01 port/astconf.c: add RELEASE => /proc/version fallback 40*8462SApril.Chin@Sun.COM08-03-30 misc/optget.c: [-n]... to enable -number & +number options 41*8462SApril.Chin@Sun.COM08-03-06 misc/optget.c: ---* and +++* are now operands 42*8462SApril.Chin@Sun.COM08-03-06 misc/errorx.c: fix old error_info.translate workaround 43*8462SApril.Chin@Sun.COM08-02-05 regex/regcomp.c: allow REG_SHELL {,n}... => {0,n}... 44*8462SApril.Chin@Sun.COM08-02-27 misc/stk.c: top element during allocation relocated to top 45*8462SApril.Chin@Sun.COM08-02-18 include/ip6.h,string/strtoip6.c,fmtip6.c: add ipv6 addr support 46*8462SApril.Chin@Sun.COM08-02-14 regex/regsubexec.c: fix null match (tricky) 47*8462SApril.Chin@Sun.COM08-02-14 regex/regsubcomp.c: fix SRE to match ksh 48*8462SApril.Chin@Sun.COM08-02-11 comp/spawnveg.c: return proper errno on [v]fork() failure 49*8462SApril.Chin@Sun.COM08-02-11 tm/tmxdate.c,tmdata.c: handle more ISO 8601:2000 forms 50*8462SApril.Chin@Sun.COM08-02-02 regex/reglib.h: add REGMULTIREF to REG_COMP 51*8462SApril.Chin@Sun.COM08-02-02 string/strmatch.c: fix str="" pat="" sub values 52*8462SApril.Chin@Sun.COM08-01-31 comp/conf.sh,conf.tab: handle /bin/sh \ in read data, redir subshell 53*8462SApril.Chin@Sun.COM08-01-18 misc/magic.tab: amd-x68, 64-bit => x86-64 54*8462SApril.Chin@Sun.COM08-01-18 string/strnton.c,strntonll.c: add 55*8462SApril.Chin@Sun.COM07-12-10 string/strelapsed.c: "0" is a valid elapsed time! 56*8462SApril.Chin@Sun.COM07-12-02 sfio/sfreserve.c: preserve SF_SHARE sfrd() via sfreserve(f,0,0) 57*8462SApril.Chin@Sun.COM07-11-21 comp/setlocale.c: add sjis_mbtowc() to work around [\~] translation 58*8462SApril.Chin@Sun.COM07-11-15 features/signal.c: RT(1) .. RT(MAX-1) => RTMIN+1 .. RTMAX-1 59*8462SApril.Chin@Sun.COM07-11-14 features/float: favor sscanf() due to gnu strto[l]d() nan bugs 60*8462SApril.Chin@Sun.COM07-10-31 regex/regcomp.c: fix REX_COLL_CLASS node allocation size 61*8462SApril.Chin@Sun.COM07-10-31 sfio/sfcvt.c: use signbit() if available 62*8462SApril.Chin@Sun.COM07-10-31 features/isoc99: _ISOC99_SOURCE tests 63*8462SApril.Chin@Sun.COM07-10-31 port/astmath.c: add -DN=8 for signbit() 64*8462SApril.Chin@Sun.COM07-10-31 sfio/sfstrtod.h: don't forget about -0.0 65*8462SApril.Chin@Sun.COM07-10-26 features/map.c: add { optopt optarg optind opterr } 66*8462SApril.Chin@Sun.COM07-10-26 features/stdio: add _filbuf => _ast__filbuf 67*8462SApril.Chin@Sun.COM07-10-26 comp/getsubopt.c: fix #undef that interfered with <ast_map.h> 68*8462SApril.Chin@Sun.COM07-10-26 regex/regcomp.c: fix bug that missed ')' in ~(F)... 69*8462SApril.Chin@Sun.COM07-10-12 port/astconf.c: fix CONF_ALLOC 16 bit overflow 70*8462SApril.Chin@Sun.COM07-10-12 misc/fts.c: fix fts_close() to free the handle -- doh 71*8462SApril.Chin@Sun.COM07-10-11 comp/setlocale.c: second and subsequent setlocale(*,"") reverts to previous 72*8462SApril.Chin@Sun.COM07-10-11 path/pathprobe.c: add vfs ST_NOSUID check 73*8462SApril.Chin@Sun.COM07-10-10 comp/conf.tab: add a few more xpg6 deferrals 74*8462SApril.Chin@Sun.COM07-09-28 astsa: update to share with mainline src via _PACKAGE_astsa 75*8462SApril.Chin@Sun.COM07-09-25 sfio/sfgetr.c: no limit on string stream line size 76*8462SApril.Chin@Sun.COM07-09-25 sfio/sfextern.c: increase _Sfmaxr to 256*1024 77*8462SApril.Chin@Sun.COM07-09-18 misc/procopen.c: tighten up SIGCHLD logic between parent/child 78*8462SApril.Chin@Sun.COM07-09-18 misc/signal.c: unblock SIG_DFL after setting handler, sig<0 => don't unblock 79*8462SApril.Chin@Sun.COM07-09-13 misc/fs3d.c: no $LD_PRELOAD => no 3d and avoids invalid mount(2) call 80*8462SApril.Chin@Sun.COM07-09-11 vmalloc: vmstat(0,0)==1 => region in use, drop VM_primary|VM_secondary 81*8462SApril.Chin@Sun.COM07-09-05 misc/recstr.c: handle [lL] gobbled by strtol() -- ouch 82*8462SApril.Chin@Sun.COM07-08-17 path/pathprobe.c: handle '\r' in VERSION string 83*8462SApril.Chin@Sun.COM07-07-17 regex/regcache.c: regcache(0,n,0) extends cache to size n (no shrinking) 84*8462SApril.Chin@Sun.COM07-07-16 tm/tmdata.c: add 2005-12-31, drop 1999-12-31 (where did that come from?) 85*8462SApril.Chin@Sun.COM07-05-21 tm/tmxfmt.c,tmxscan.c: %F => %L (TM_DEFAULT); %F => %Y-%m-%d 86*8462SApril.Chin@Sun.COM07-05-15 sfio/sfvprintf.c: %h? and SFFMT_SHORT => raw bytes 87*8462SApril.Chin@Sun.COM07-05-09 features/signal.c,features/siglist: use kill -l & strsignal() 88*8462SApril.Chin@Sun.COM07-04-25 misc/optctx.c: add for opt_info switching 89*8462SApril.Chin@Sun.COM07-04-24 misc/cmdarg.c,include/cmdarg.h: add CMD_CHECKED, CMD_SILENT 90*8462SApril.Chin@Sun.COM07-04-24 misc/procopen.c,include/proc.h: add PROC_CHECK 91*8462SApril.Chin@Sun.COM07-04-24 misc/procrun.c: add flags arg (current use PROC_ARGMOD) 92*8462SApril.Chin@Sun.COM07-04-24 misc/cmdarg.c,include/cmdarg.h: move from src/cmd/tw 93*8462SApril.Chin@Sun.COM07-04-20 port/(lclang.h|lc.c|mc.c|lclib.h|lcgen.c): separate lctab.c 94*8462SApril.Chin@Sun.COM07-04-20 comp/conf.sh: defer to systems without 'grep -q' -- sigh 95*8462SApril.Chin@Sun.COM07-04-20 comp/conf.sh: probe for LL integer constant initializer suffix 96*8462SApril.Chin@Sun.COM07-04-20 include/syslog.h: <namval.h> => <ast_namval.h> for win32 97*8462SApril.Chin@Sun.COM07-04-20 ast_namval.h: add as copy of include/namval.h for win32 98*8462SApril.Chin@Sun.COM07-04-19 comp/conf.tab: fix SVID SI entries to probe SI_* (not _SI_*) 994887Schin07-04-13 tm/tmxdate.c,tm/tmzone.c: handle [-+]0000 UTC zone offset 1004887Schin07-04-11 sfio/sfvprintf.c: add %F, propagate SFFMT_UPPER 1014887Schin07-04-11 sfio/sfcvt.c: handle SFFMT_UPPER => nan/inf vs. NAN/INF 1024887Schin07-04-02 comp/conf.tab,comp/conf.sh: add C/POSIX <stdint.h> symbols 1034887Schin07-03-28 misc/optget.c: fix l10n --?- 1044887Schin07-03-25 features/common: fix { ast_std.h ast_map.h stdint.h } logic 1054887Schin07-03-21 error.h: move from error_info to (*_error_data_) 106*8462SApril.Chin@Sun.COM07-03-21 misc/error.c: add errorctx() for error_info switching 1074887Schin07-03-21 option.h: move from opt_info to (*_opt_data_) 1084887Schin07-03-19 regex/regdecomp.c: fix REX_ONECHAR escapes and add REX_KMP 1094887Schin07-03-11 tm/tmxscan.c,regex/regnexec.c: fix strict-alias transgressions 1104887Schin07-02-27 comp/conf.sh: handle native getconf invalid numeric values 1114887Schin07-02-21 comp/conf.sh,comp/conf.tab: handle SSIZE_MAX vs _POSIX_SSIZE_MAX 1124887Schin07-02-20 sfio/sfvprintf.c: handle SF_WCWIDTH justification 1134887Schin07-02-14 features/common: cover <stdint.h>, move to int_(bits)_t 1144887Schin07-02-14 include/int.h: drop 1154887Schin07-02-14 include/sfio.h: add SF_WCWIDTH 1164887Schin07-02-12 comp/conf.sh: fix CONF_LIMIT bug that missed ULONG_MAX etc. 1174887Schin07-02-12 comp/conf.tab: *LONGLONG* => *LLONG* to match posix 1184887Schin07-02-12 features/float: *LONGLONG* => *LLONG* to match posix 1194887Schin07-02-12 port/astconf.c: handle CONF_LIMITS_DEF with no deferral 1204887Schin07-02-12 stdio/vasprintf.c: add trailing '\0' -- doh 1214887Schin07-02-04 string/fmtelapsed.c: fix naive multi month/year logic 1224887Schin07-02-02 misc/optget.c: add --??posix for getopts(1)/getopt(3) 1234887Schin07-01-26 string/chresc.c: use mbchar() 1244887Schin07-01-26 misc/optget.c: handle "o:-:" usage for old-style long options 1254887Schin07-01-22 sfio/sfdisc.c,sfpool.c: handle push on streams with pending peek 1264887Schin07-01-22 include/sfio.h: mv Sfieee_t to sfio/sfhdr.h 1274887Schin07-01-17 tm/tmxfmt.c: fix terminating nil logic which clobbered size-1 1284887Schin07-01-11 misc/stk.c: a 2 day marathon bug fix (can we release now dr ek?) 1294887Schin07-01-05 comp/spawnveg.c: posix_spawnattr_setflags(POSIX_SPAWN_SETPGROUP) 1304887Schin07-01-05 misc/error.c: fix multibyte vs. printable logic 1314887Schin07-01-01 comp/conf.sh: LC_ALL=C 1324887Schin06-12-26 tm/tmxdate.c: handle nn*.nnnn* == sec.ns 1334887Schin06-12-20 features/libpath.sh: generalize sol.* LIBPATH patterns 1344887Schin06-12-18 comp/setlocale.c: include ast_standards.h and ast_wchar.h ! 1354887Schin06-12-12 string/strperm.c: octal modes are absolute! 1364887Schin06-12-11 comp/conf.tab: always defer ARG_MAX 1374887Schin06-12-07 Makefile: fix conftab.c generation CCFLAGS to match build - doh 1384887Schin06-12-04 sfio/sfcvt.c: fix (int) vs. (long) cast mismatches 1394887Schin06-12-01 comp/conf.tab: add changes to cover solaris { bin xpg4 xpg6 } 1404887Schin06-12-01 regex/reginit.c: adjust { SRE KRE } escaped (){}*? inside [...] 1414887Schin06-12-01 sfio/sfcvt.c: add signbit/copysign tests 1424887Schin06-11-22 comp/spawnveg.c: fix _real_vfork logic to work with 3d 1434887Schin06-11-20 features/common: bias _ast_int8_t "long long" before "__int64" 1444887Schin06-11-20 string/strperm.c: fix X to work with all ops (not just +) 1454887Schin06-11-15 astconf.c,conf.tab: add CONF_DEFER_* for variable constants 1464887Schin06-11-11 port/astconf.c: validate path arg w.r.t. underlying calls 1474887Schin06-11-11 comp/conf.sh: fix S CONF_STANDARD bug, add D to defer to native 1484887Schin06-11-11 comp/conf.tab: add D to defer to native 1494887Schin06-11-01 include/vmalloc.h: avoid VM_FLAGS sys/v*.h clash 1504887Schin06-11-01 include/ast.h: add FMT_PARAM for fmtquote() 1514887Schin06-10-31 disc/sfdcseekable.c: add SFSK_DISCARD for seekable window control 1524887Schin06-10-31 comp/spawnveg.c,features/lib: handle posix_spawn exit status 127 1534887Schin06-10-30 features/lib: fix posix_spawn() fork() prototype conflicts 1544887Schin06-10-30 string/fmtscale.c: fix 1024 rounding bugs 1554887Schin06-10-27 disc/sfkeyprintf.c: handle 'i' (=='d') -- oops 1564887Schin06-10-26 sfio/sfvprintf.c: %#d => fmtscale(1000), %#i => fmtscale(1024) 1574887Schin06-10-26 features/map.c: _map_libc cleanup 1584887Schin06-10-26 features/fcntl: add to the circle of trust 1594887Schin06-10-26 features/sys: add <sys/socket.h> socklen_t 1604887Schin06-10-26 include/regex.h: handle include before <ast_map.h> 1614887Schin06-10-25 astconf "SHELL" => "SH" to avoid _POSIX_SHELL conflict 1624887Schin06-10-25 comp/conf.*: drop no-op duplicate conftab.c entries 1634887Schin06-10-18 string/fmtscale.c: 1000: n[.]n[n](kMGTPE), 1024: n[.]n[n](KMGTPE)i 1644887Schin06-10-11 ast_std.h: now implies <sys/stat.h> (did on most before anyway) 1654887Schin06-10-11 strtoi.h: ignore sign for 0, validate scale shift 1664887Schin06-10-11 strdup.c,vmstrdup.c: handle 0 arg 1674887Schin06-10-11 add sfstruse()/sfstropen() error checks 1684887Schin06-10-10 misc/procopen.c: envv==environ => don't modify environ 1694887Schin06-10-10 misc/procclose.c: return valid exit(1) status 1704887Schin06-10-06 port/astconf.c,comp/conf.sh,comp/conf.tab: play nice with getconf(1) 1714887Schin06-10-01 comp/conf.tab: SHELL default checks { _CS_PATH } X { ksh ksh93 sh } 1724887Schin06-10-01 comp/conf.sh: export CONF_getconf to shell actions 1734887Schin06-10-01 comp/putenv.c: always enable setenv() for procopen() 1744887Schin06-10-01 misc/procopen.c: use pathshell() or astconf("SHELL",0,0) if PARANOID 1754887Schin06-10-01 path/pathshell.c: localize the shell path patterns and accept ksh93 1764887Schin06-09-28 Makefile: avoid ast <stdio.h> vix iffe -X ast -- doh 1774887Schin06-09-27 regex/regdecomp.c: add 1784887Schin06-09-26 regex/regcomp.c: handle KRE ~(...)<invalid-kre> 1794887Schin06-09-25 reorganize to avoid native header intercepts 1804887Schin06-09-15 uwin/crypt.c: _UWIN only! 1814887Schin06-09-14 Makefile: tweak the ast_common.h bootstrap again (finally?) 1824887Schin06-09-14 misc/optget.c: noncommercial => OPT_proprietary 1834887Schin06-09-12 string/strelapsed.c: fix multi-char qualifier parse 1844887Schin06-09-12 string/strtoi.h: drop [cClLqQwW] multipliers 1854887Schin06-09-11 misc/optget.c: add numeric arg validity check 1864887Schin06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialzed var refs 1874887Schin06-09-05 path/pathprobe.c: add version header verification 1884887Schin06-08-01 Makefile: handle iffe vs FEATURE/common vs ast_common.h 1894887Schin06-08-31 Makefile: add ast_map.h to the bootstrap list 1904887Schin06-08-30 misc/glob.c: fix ~(E)re bug that stripped ~(E) before regcomp 1914887Schin06-08-30 include/ast.h: add { integralof(x) pointerof(x) } 1924887Schin06-08-27 string/strelapsed.c: fix off-by-one (too little) parse bug 1934887Schin06-08-25 misc/optget.c: 0*<n>.* numeric option args => <n>.* 1944887Schin06-08-22 misc/glob.c: handle ~(...) pattern options 1954887Schin06-08-16 string/strelapsed.c: fix off-by-one (too far) parse bug 1964887Schin06-08-16 regex/regcomp.c: accept but ignore ~(N) 1974887Schin06-08-14 features/libpath.sh: add solaris LD_LIBRARY_PATH_64 check 1984887Schin06-08-05 sfio/sfpool.c: pool SF_READ|SF_WRITE loop fix 1994887Schin06-08-02 misc/fts.c: fix FTS_NOSTAT optimization to check for .. 2004887Schin06-07-28 include/glob.h: add gl_extra for user globlist_t expansion 2014887Schin06-07-27 features/common: #include "ast_map.h" 2024887Schin06-07-26 comp/fnmatch.[ch]: allow <ast_map.h> to map fnmatch() 2034887Schin06-07-22 cdt: snarf from kpv 2044887Schin06-07-17 string/strperm.c: perm==-1 skips umask(1) 2054887Schin06-07-17 sfio/sfvprintf.c: handle format invalid mb seq 2064887Schin06-07-17 regex/regcomp.c: inline REG_SHELL => anchored, otherwise not 2074887Schin06-07-17 regex/regcomp.c: inline B|G:basic E:REG_EXTENDED F|L:REG_LITERAL 2084887Schin06-07-17 regex/regcomp.c: inline l:REG_LEFT r:REG_RIGHT 2094887Schin06-07-17 regex/regcomp.c: inline a:REG_LEFT|REG_RIGHT p:~REG_LENIENT 2104887Schin06-07-17 string/chresc.c: add \Uxxxxxxxx 2114887Schin06-07-17 sfio/sfstrtof.h: ignore thousands sep after decimal 2124887Schin06-07-17 string/tokline.c: splice() => spliceline() for bsd 2134887Schin06-06-27 features/float,sfio/sfcvt.c: fix Nan logic 2144887Schin06-06-27 port/astmath.c: fix long double isnan() test 2154887Schin06-06-27 features/map.c: _map_libc for std => _ast_std 2164887Schin06-06-25 string/strperm.c: handle posix = w.r.t. umask 2174887Schin06-06-19 port/mnt.c,features/fs: handle netbsd getmntent api change 2184887Schin06-06-18 regex/regstat.c: add REG_LITERAL check 2194887Schin06-06-11 cdt/dtview.c: update from kpv 2204887Schin06-05-31 sfio/sfhdr.h: fix _SFOPEN() typo 2214887Schin06-05-09 comp/conf.sh: add native getconf -a names to the mix 2224887Schin06-04-28 misc/optget.c: add solaris long option name compatibility 2234887Schin06-03-09 string/strmatch.c: add REG_ADVANCE => REG_* flags 2244887Schin06-02-14 comp/iconv.c: fix uwin iconv_list() /reg/ generator 2254887Schin06-02-10 port/astconf.c: relax standard prefix filter 2264887Schin06-02-08 sfrd.c,sfsync.c: lock logic bug fix 2274887Schin06-02-01 port/astlicense.c: add { parent incorporation } 2284887Schin06-01-26 port/astconf.c: fix { LIBPREFIX LIBSUFFIX } length 2294887Schin06-01-06 features/lib: change _UNIV_DEFAULT probe to use cross{...} 2304887Schin06-01-04 misc/stk.c: fix n**2 realloc behavior 2314887Schin06-01-01 include/sfio.h: export { _Sfi _Sfmaxr } 2324887Schin05-12-13 string/chresc.c: handle \C-X => control-X, \M- => ESC 2334887Schin05-11-22 regex/regcache.c: add, convert string/strmatch.c to regcache() 2344887Schin05-10-06 string/ccmap.c: update ebcdic-u to be idempotent 2354887Schin05-09-28 vmalloc: snarf from kpv; fixes large block brk() thrashing 2364887Schin05-09-26 misc/magic.c,misc/magic.tab: handle latest vcodex header 2374887Schin05-09-12 misc/optget.c: reset opt_info.offset on error 2384887Schin string/strtoi.h: strton() '.' multiplier only if m>1 2394887Schin string/fmtesc.c: add unadvertized FMT_PARM for FMT_SHELL 2404887Schin05-09-09 string/fmtesc.c: fix FMT_SHELL logic w.r.t. [$`] 2414887Schin05-08-11 string/strerror.c: fix { sys_errlist sys_nerr } prototypes 2424887Schin05-08-03 sfio: snarf sfvaprints sfaprints 2434887Schin05-07-21 port/astconf.c: retain most recent synthesized lookup 2444887Schin05-07-20 sfio/sfsetbuf.c: default file io size now 64K on all systems 2454887Schin05-07-17 ccmap*: add microfocus cobol EBCDIC_U 2464887Schin05-06-29 regex/regcomp.c: fix the A & B inline flag logic 2474887Schin05-06-15 include/recfmt.h: add fs format flag to fmtrec() 2484887Schin05-06-14 error.c: add ERROR_OPTIONS { break count match } 2494887Schin05-06-07 features/stdio: drop FEATURE/limits to fix bootstrap circular dep 2504887Schin05-06-02 features/*,Makefile: drop vestigel iffeio.h bootstrap workaround 2514887Schin05-05-31 string/fmtbuf.c: unlock (spin) before each return -- doh 2524887Schin05-05-30 sfio/sfpkrd.c: work around macos 10.4 recv(MSG_PEEK) bug 2534887Schin05-05-27 regex: add REX_NEST (?%[S.][T.][OT]) 2544887Schin magic.tab: ammend bsd db magic 2554887Schin05-05-23 regex: REX_NEST (?%[D.][E.][L.][Q.][oc]...) 2564887Schin05-05-21 regex: state.fold[] is now locale specific -- doh 2574887Schin05-05-19 regex: add REX_NEST (?%\\()<>[]""...) %(...) nested match 2584887Schin05-05-15 recfmt.h: add recstr() reclen() fmtrec() 2594887Schin05-05-13 optget.c: allow boolean options to take numeric values 2604887Schin05-05-12 recfmt.c: add to recfmt.h, adjust Recfmt_t encodings 2614887Schin05-04-30 sfio: add sfmaxr(), default 64K 2624887Schin05-04-22 comp/omitted.c: fix magic() logic for files < 512 bytes 2634887Schin05-04-20 cdt: snarf update from kpv; void* Dt_t.user added 2644887Schin misc/error.c: library => ERROR_LIBRARY 2654887Schin05-04-19 regex/regcomp.c: handle REG_SHELL [^...] == [!...] 2664887Schin05-04-11 tm/tmxscan.c: handle yyy.mm.dd[-+.]hh.mm.ss.nnnnnn 2674887Schin05-04-07 regex/regnexec.c: fix out of bounds boundary check -- ouch 2684887Schin features/align.c: add jmp_buf to the alignment mix (ia64) 2694887Schin vmalloc/vmhdr.h: add jmp_buf to the alignment mix (ia64) 2704887Schin05-03-31 misc/optget.c: fix option { - _ } separator matching 2714887Schin05-03-30 misc/glob.c: eliminate superfluous GLOB_NOMATCH stat() calls 2724887Schin05-03-24 port/astwinsize.c: include <sys/ioctl.h> if possible 2734887Schin05-03-23 string/ccmap.c: add ebcdic-m mvs cobol table 2744887Schin05-03-11 comp/omitted.c: handle utime[s](const,const) 2754887Schin comp/conf.tab: fix linux PID_MAX probe 2764887Schin05-03-10 comp/setlocale.c: LC_* value "" => unset -- doh 2774887Schin misc/optget.c: reorder _PACKAGE_astsa code for msgcc 2784887Schin05-03-08 misc/optget.c: delete leading space in STYLE_nroff output 2794887Schin05-03-07 sfio/sfhdr.h: drop extern _sfdscan -- clashes with sfvscanf.c static 2804887Schin05-03-01 tm/tminit.c: add tmlocaltime() for tzset() getenv() override workaround 2814887Schin05-02-20 features/tvlib: tmsettimeofday only for systems that have settimeofday 2824887Schin features/float: fix mvs.s390 NaN tests 2834887Schin05-02-18 tm/tmxmake.c: fix <0 west of GMT bug that warped to 1800's -- wow 2844887Schin05-02-11 port/mnt.c: handle lynxos MOUNTED=/etc/fstab 2854887Schin05-02-08 features/float,sfio.h,sfcvt.c,sftable.c: add INF and fix NAN 2864887Schin05-02-04 features/lib: add _std_strtol (for lynxos) 2874887Schin include/ast_std.h: add _std_strtol tests 2884887Schin comp/strtod.c: #define S2F_function strtod 2894887Schin misc/signal.c: fix ancient bsd SV_INTERRUPT vs. SV_ABORT clash 2904887Schin05-01-11 sfio/sfmove.c: try to seek(fr) when fw==0 2914887Schin comp/omitted.c: intercept utimes() too 2924887Schin comp/omitted.c: add DOSPATHVARS env var path value conversions 2934887Schin features/tvlib,tm/tvtouch.c: check for utimets() 2944887Schin misc/optget.c: handle '-' or '_' option word separators 2954887Schin sfio/_sfopen.c: allow stream mode changes after initialization 2964887Schin sfio: sync with kpv: SF_SYNCED fix for ksh input loss bug 2974887Schin05-01-09 tm/tmxfmt.c: fix %6N for n<100000000 2984887Schin05-01-08 regex/regcomp.c: conj() => con() to avoid C99 clash 2994887Schin05-01-05 tm/*: fix { %U %V %W } logic -- my head hurts 3004887Schin04-12-30 tm/tmxtime.c: fix tm_isdst<0 loop 3014887Schin04-12-23 vmalloc/vmbest.c: fix vmresize bug that didn't 0 new data 3024887Schin04-12-19 misc/optget.c: broaden - long option match 3034887Schin04-12-09 string/strtoi.h: fix terabyte 't' suffix math 3044887Schin string/strmatch.c: flush cache on locale change 3054887Schin04-12-01 tm/tmsleep.c: add 3064887Schin tv.h,tv*.c,tv.3: move from pax 3074887Schin tmx.h,tmx*.c,tmx.3: add high resolution tm(3) counterparts 3084887Schin features/lib: add *another* sgi linux.ia64 memccpy bug check 3094887Schin04-10-31 Makefile: __OBSOLETE__ now computed <6 months ago year>0101 3104887Schin ccode.h,ccmapid.c: add ccmaplist(Ccmap_t*) iterator 3114887Schin option.h,optesc.c: add 3rd arg, 1 => quote '?' too 3124887Schin misc/magic.c: fix bug that terminated `string \0a' at \0 3134887Schin misc/magic.c: handle vcodex() via decompose() 3144887Schin misc/magic.tab: add vcodex magic 3154887Schin features/stdio: handle _LARGEFILE64_SOURCE -- oops 3164887Schin stdio/(fseek|ftell|fseeko|fsetpos|fgetpos|ftello).c: oops^2 3174887Schin04-10-28 string/swapop.c: size==-4 => size=4 and extend op=3 to op=7 3184887Schin tm/tmfix.c: fix tm_mon<0 logic 3194887Schin04-10-22 tm/tmdate.c: handle 'final day feb 2004' 3204887Schin port/astlicense.c: add query=all|id|${...}${...} 3214887Schin port/astlicense.c: "free" => "mit" 3224887Schin comp/omitted.c: revert to the open source license 3234887Schin string/stropt.c: drop siz==0 => tab is hash table 3244887Schin include/sfio.h: incorporate <sfstr.h> 3254887Schin include/sfstr.h: drop 3264887Schin disc/sfstrtmp.c: drop -- use sfstrbuf() 3274887Schin04-10-20 misc/magic.tab: update tar magic 3284887Schin04-10-18 ufc-crypt.h,crypt_util.c: drop GPL code 3294887Schin crypt.c: add BSD code 3304887Schin pathpath.c: disable { $0 $_ $PWD } related root search 3314887Schin04-10-01 normalize ident stamps 3324887Schin port/astlicense.c: add type=cpl -- yeah 3334887Schin04-09-25 string/swapop.c: return op < size -- duh 3344887Schin04-09-23 comp/spawnveg.c: :NOOPTIMIZE: -- volatile sometimes ignored 3354887Schin04-09-21 comp/spawnveg.c: exec_errno_ptr is volatile -- duh 3364887Schin04-09-14 tm/tmscan.c: add %| alternation and %& => tmdate() 3374887Schin04-09-08 misc/optget.c: add :!value: omitted optional arg value 3384887Schin misc/optget.c: fix --noNAME ambiguous option logic 3394887Schin04-08-26 string/strperm.c: add who^mode to propagate least restrictive up 3404887Schin astmath.c: add { frexpl ldexpl } checks for ast.req 3414887Schin port/astlicense.c: ignore first option if non-assignment 3424887Schin include/ast_dir.h: move d_fileno map before struct defs -- duh 3434887Schin04-08-24 vmalloc/vmbest.c: add {VM_region} VMCHECK=+r for region segment checks 3444887Schin misc/recfmt.c,include/recfmt.h: add 3454887Schin04-08-23 vmalloc/vmbest.c: add {VM_primary VM_secondary} VMCHECK=-s for primary 3464887Schin features/common: punt to <stdarg.h> for unknown va_list 3474887Schin04-08-11 vmalloc: sync _UWIN libposix hooks 3484887Schin04-07-27 features/common,features/limits.c: ULL suffix for unsigned _ast_int8_t 3494887Schin04-07-22 include/ast.h,comp/eaccess.c: add eaccess() for effective access() 3504887Schin04-07-19 comp/open.c,sfio/_sfopen.c: { O_RDONLY O_WRONLY O_RDWR } are values 3514887Schin04-06-28 misc/error.c: check level after error_info.auxilliary 3524887Schin04-06-24 string/strmatch.c: strgrpmatch() match[] now variable size array 3534887Schin04-06-17 features/common: change _DLL null define to (the standard ast) 1 3544887Schin04-06-11 misc/optget.c: allow optional [-|+|--|++] optstr() option prefix 3554887Schin misc/optget.c: reset optstr() state on 0 return 3564887Schin misc/optget.c: text()=>textout() linux.ppc symbol hijack workaround 3574887Schin04-05-31 sfio/sfreserve.c: no side buffer if user buffer is large enough 3584887Schin04-05-27 string/fmtbuf.c: handle one concurrent buf > sizeof(buf) 3594887Schin04-05-24 regcomp.c: fix no-advance initialization 3604887Schin04-05-05 conf.tab,conf.sh: update to align with standards 3614887Schin magic.tab: ms suffix update 3624887Schin04-05-04 port/lcgen.c: fix territory initialization 3634887Schin04-04-15 tm/tmdate.c,include/tm.h: fix specific and ordinal days 3644887Schin04-04-08 astconf: retain { HOSTTYPE LIBPATH LIBPREFIX LIBSUFFIX } strict vals 3654887Schin04-04-07 vmalloc/vmbest.c: fix alpha tiny block bug 3664887Schin vmalloc/malloc.c: re-enable on alpha 3674887Schin04-03-30 tm/tminit.c: GMT => UCT only if tz.daylight not defined 3684887Schin04-03-25 vmalloc/malloc.c: _AST_std_malloc=1 for __alpha 3694887Schin path/pathprobe.c: per-user probe dir => $HOME/.probe/$HOSTTYPE 3704887Schin04-03-23 regex/reglib.h: fix isw*() redefines 3714887Schin04-03-17 features/stdio: no __FILE override for __CYGWIN_ (sys/reent.h clash) 3724887Schin sfio/sfhdr.h,sfio/sfsetbuf.c: lower sfmove() default buf size 4x 3734887Schin04-02-29 comp/omitted.c: move env trace after PATH fixup 3744887Schin comp/omitted.c: cygwin spawn _P_DETACH => _P_NOWAIT+setpgid(pid,0) 3754887Schin misc/optget.c: fix html mailto: match 3764887Schin port/astlicense.c: add type=test for fixed 2001 date 3774887Schin features/float: check local NaNQ first 3784887Schin vmalloc/vmhdr.h: fix _vmextern_ vm_truncate return type 3794887Schin misc/magic.tab: add elf s390 index=22 3804887Schin04-02-26 vmalloc: VMCHECK a:assertions c:arena-check w:warn-instead-of-abort 3814887Schin sfio/sfvscanf.c: fix extf arg selection 3824887Schin04-02-24 features/dirent: set nodefine to avoid ast_std.h _typ_off64_t undef 3834887Schin disc/sfkeyprintf.c: only case pattern must be ()[] balanced 3844887Schin04-02-14 include/sfio_t.h: add SF_DCDOWN, SFDCNEXT(), SFDCPREV() 3854887Schin04-02-13 string/strmatch.c: fix bug that didn't save one-time sub[] size 3864887Schin vmalloc: -g: export VMCHECK=1 enable malloc/free checks 3874887Schin vmalloc: -g: free(0) to check and disable malloc/free checks 3884887Schin vmalloc: -g: free(1) to check and enable malloc/free checks 3894887Schin04-02-11 Makefile: add :P=A: to conf and lcgen exec for cross-compile 3904887Schin regex: use MBSIZE() instead of mbsize() to grab 1 char on err 3914887Schin vmalloc/vmbest.c: updated to do more comprehensive DEBUG tests 3924887Schin04-02-04 sfio/sfraise.c: add sfraise(0,a,b) to iterate over all streams 3934887Schin04-02-01 vmalloc/vmbest.c: _BLD_DEBUG free(0) checks the arena 3944887Schin04-01-31 features/vmalloc: fix typo that missed _mmap_zero 3954887Schin04-01-23 string/strerror.c: handle real strerror() return value overwrite 3964887Schin04-01-11 path/pathpath.c: fix size vs. sizeof(buf) typo 3974887Schin03-12-22 misc/magic.tab: dos EXE tweaks 3984887Schin03-12-05 vmalloc: sync with kpv, adding exceptf announcements 3994887Schin03-12-04 port/astlicense.c: fix expand() loop sentinel bug 4004887Schin03-12-02 include/ast.h: mbchar() advances by 1 on mbtowc() error 4014887Schin misc/fts.c: increase MINNAME to 32 4024887Schin03-11-21 vmalloc/vmbest.c: export VMCHECK=1 to enable $(CC.DEBUG) vmcheck() 4034887Schin vmalloc/vmbest.c: export VMCHECK=2 to disable KPVCOMPACT 4044887Schin misc/magic.c: add { cobol copybook pl1 } and suffix preference 4054887Schin03-11-12 features/stdio: drop cuserid,getopt for SUSV3 4064887Schin03-11-11 vmalloc/*: merge kpv update -- this should stomp the compaction bug 4074887Schin03-10-23 comp/iconv.c: fix sfreserve lock fallback 4084887Schin03-10-20 sfio/_sfopen.c: add to allow user sfopen() intercept 4094887Schin03-10-17 regnexec.c: fix exec time REG_LEFT, \x.... => wctomb() 4104887Schin03-10-12 string/strtoi.h: fix strton '.' overconsumption 4114887Schin03-10-12 comp/iconv.c: identity is always (iconv_t)0 4124887Schin03-10-09 string/fmtesc.c: fix FMT_SHELL to check for all shell magic chars 4134887Schin03-10-01 port/astlicense.c: unknown authors copied verbatim (instead of ignored) 4144887Schin03-09-30 string/chresc.c: handle \u..., \x... consumes all trailing hex digits 4154887Schin string/stresc.c: \u... and \x... > UCHAR_MAX => wctomb() 4164887Schin03-09-29 fnv.h: add 4174887Schin03-09-23 modedata.c: table is for external modes, so no arch specific hacks 4184887Schin optget.c: fix option prefix match translation bug 4194887Schin optget.c: add `<length> <name>=<value>\n' to optstr() 4204887Schin features/lib: add memcmp() test for sgi optimzation bug 4214887Schin03-09-22 regex.h,regcomp.c: add regncomp() 4224887Schin regclass.c: fix for loop dangling ; in regaddclass() 4234887Schin03-09-20 sftable.c,sfvprintf.c: fix SFFMT_CHAR handling to match extf api 4244887Schin03-09-19 sfmode.c: update release to kpv's 4254887Schin03-09-17 regcomp.c: add pedantic backref error checks 4264887Schin03-09-16 regnexec.c: exec time REG_LEFT => don't advance past initial position 4274887Schin regclass.c: add regaddclass() for user defined [:class:] 4284887Schin regexec.h: REG_VERSION_N2X, add redisc_t {re_map} ccode map 4294887Schin regstat.c: add regstat_t 4304887Schin03-09-11 optget.c: --n:=v sets opt_info.assign=':', opt_info.number enabled 4314887Schin03-09-09 disc/sfkeyprintf.c: *pn on lookup is arg separator; lookup "" arg too 4324887Schin03-09-05 optget.c: [f:l*?] preserves user long name past '*' in opt_info.name[] 4334887Schin03-09-03 sfstr.h: add sfstrpend() for #pending bytes in read buffer 4344887Schin03-08-25 regex: add REG_FIRST, optimize bm 4354887Schin features/lib: _AST_no_spawnveg==1 falls back to fork/exec 4364887Schin03-08-22 features/stdio,stdio/asprintf.c,stdio/vasprintf.c: add 4374887Schin03-08-21 path/pathnative.c,path/pathposix.c: interix updates 4384887Schin features/botched: add cygwin _stat => _stat64 4394887Schin03-08-15 include/ast.h: map out bsd strmode() 4404887Schin features/common: add interix _ast_intmax_t workarounds 4414887Schin misc/fs3d.c: 3d mount test now uses "" instead of NiL (or cygwin dumps) 4424887Schin03-08-11 string/fmtesc.c: fix optional quoting checks 4434887Schin tm/tmdate.c: fix > 1 year of seconds arithmetic 4444887Schin tm/tmfix.c: fix leap year adjustments 4454887Schin03-08-01 features/lib: beef up sock_peek test for interix 4464887Schin03-07-29 features/float: add -lm to frexp... test 4474887Schin Makefile: fix -lm astmath test sense 4484887Schin03-07-26 features/mem.c: favor _mem_sbrk over _mem_mmap_* 4494887Schin03-07-22 vmalloc/vmbest.c: fall back to sbrk() if mmap() fails 4504887Schin features/mem.c: _mem_sbrk means sbrk() and brk() work 4514887Schin03-07-17 regex/regcomp.c: fix bug that treated KRE X{n,m} like {n,m}(X) 4524887Schin misc/magic.c: check MAGIC_VERBOSE for all load() messages 4534887Schin03-07-14 misc/optget.c: handle [...]{[...]\f...\f...} 4544887Schin03-06-21 misc/sigcrit.c: block SIGCHLD if _lib_sigprocmask || _lib_sigsetmask 4554887Schin comp/spawnveg.c,sfio/sfmode.c: use sigcritical() SIG_REG_* macros 4564887Schin comp/spawnveg.c: drop ENOEXEC logic 4574887Schin vmalloc/*: snarf kpv KPVCOMPACT() fix 4584887Schin vmalloc/vmbest.c: export VMCHECK=2 to disable KPVCOMPACT (just in case) 4594887Schin string/strdup.c: drop __strdup() etc. intercepts -- malloc gets it 4604887Schin features/mem: define _mem_method and _mem_* possible values 4614887Schin vmalloc/malloc.c: _AST_mem_method==_mem_* to force mem get method 4624887Schin sfio/sfputr.c: __ia64 memccpy is bogus -- how many tries do they get? 4634887Schin path/pathshell.c: verify abs path and access(path,X_OK) -- duh 4644887Schin vmalloc/vmhdr.h: add private _Vmessage() for non-sfio ASSERT() 4654887Schin port/astconf.c: fix bug that always returned the minmax value 4664887Schin03-06-11 comp/*.c: reorder macro hding for mvs.390 and <ast_map.h> 4674887Schin features/vmalloc: add _lib_brk and _lib_sbrk verification 4684887Schin include/ast_std.h,etc.: add _map_malloc for malloc => _ast_malloc 4694887Schin comp/conf.sh: fix SI_* and *_SI_* macro redefs 4704887Schin ast.h: VMDEBUG or _BLD_DEBUG enable <vmalloc.h> and VMFL tracing 4714887Schin vmalloc/vmtrace.c: _PACKAGE_ast __FUNCTION__ is a string 4724887Schin vmalloc/vmtrace.c: set trace file fd FD_CLOEXEC 4734887Schin vmalloc/vmbest.c: set /dev/zero mmap fd FD_CLOEXEC 4744887Schin features/mmap: fix ancient read() vs. mmap() time arithmetic typo 4754887Schin vmalloc/malloc.c: _AST_std_malloc==1 to force standard malloc 4764887Schin03-06-09 comp/omitted.c: add _imp__FUNCTION sybols for __CYGWIN__ static link 4774887Schin vmalloc/vmbest.c: handle systems with sbrk() but no brk() 4784887Schin03-06-04 port/astconf.c: drop non-standard diagnostics 4794887Schin03-06-03 comp/conf.sh: rework symbol collision logic 4804887Schin03-05-30 conf.tab,conf.sh,astconf.c: add <sys/systeminfo.h> sysinfo() SI_* 4814887Schin03-05-29 ccode.h: rework for extensibility, drop obsolete mematoe(), memetoa() 4824887Schin03-05-28 regex/*: recode to use isw*() directly when needed, is*() otherwise 4834887Schin03-05-27 features/vmalloc: fix _std_malloc test 4844887Schin03-05-25 misc/optget.c: fix optstr() ???* internal options 4854887Schin03-05-24 misc/optget.c: fix (ancient) argv null dereference 4864887Schin03-05-23 comp/getcwd.c: don't intercept on _WINIX -- unreliable st_ino 4874887Schin03-05-22 sfio/sfsprintf.c: n<0 => don't append '\0' 4884887Schin03-05-18 misc/fts.c: re-stat FTS_DP to update nlink/times 4894887Schin misc/fts.c: add FTSENT.stack to eliminate getlist() recursion 4904887Schin regex/ucs_names.h: use "..." catenation to placate some cc's 4914887Schin03-05-11 string/strtoi.h: handle "-" "+" "0x" "11#" 4924887Schin03-05-09 vmalloc/vmbest.c: large memory allocation tweaks 4934887Schin03-05-06 misc/optget.c: fix getopt_long() prefix==1 bug that missed short flags 4944887Schin03-04-27 comp/system.c: handle <ast_map.h> 4954887Schin03-04-24 vmalloc/vmmopen.c: drop dup <unistd.h> 4964887Schin03-04-21 tm/tmdate.c: fix next hour/min logic 4974887Schin03-04-15 vmalloc/malloc.c: intercept __malloc() along with __libc_malloc() 4984887Schin string/strdup.c: intercept __strdup() along with __libc_strdup() 4994887Schin features/mmap: consolidate from features/(lib|sfio|vmalloc) 5004887Schin add _NO_MMAP==1 to disable all mmap()/munmap() calls 5014887Schin path/pathposix.c: add 5024887Schin03-04-14 comp/setlocale.c: fix debug_mbtowc() return value for *s==0 || n < 1 5034887Schin comp/iconv.c: fix error return errno values 5044887Schin03-04-11 misc/stk.c: fix stkgrow() realloc bug 5054887Schin03-04-05 string/tok.c: support readonly single token input strings 5064887Schin disc/sfdcdio.c: fix F_DIOINFO and FDIRECT #ifdef's 5074887Schin include/ast_std.h: allow _LARGEFILE64_SOURCE on __hppa 5084887Schin features/common: fix `tst _foo_' => `tst foo_' typo 5094887Schin features/float: fix `tst _foo_' => `tst foo_' typo 5104887Schin features/float: add FLTMAX_(UINTMAX_MAX,INTMAX_MAX,INTMAX_MIN) 5114887Schin comp/omitted.c: fix pathconf => _pathconf => _ast_pathconf loop 5124887Schin03-04-03 features/float: add _ast_no_um2fm: no usinged intmax => floatmax cast 5134887Schin vmalloc/vmbest.c: add getenv("VMCHECK") to initialize Vmcheck 5144887Schin03-03-28 include/ast_dir.h: add D_TYPE; { D_FILENO D_TYPE } must be #ifdef'd 5154887Schin misc/fts.c|getcwd.c|glob.c,preroot/getpreroot.c: add D_FILENO #ifdef's 5164887Schin Makefile: make sure _BLD_ast is defined for all compiles 5174887Schin03-03-27 ast_vfork.h: generate from features/vfork to pick up headers/pragmas 5184887Schin03-03-25 comp/omitted.c: drop free() of live environ 5194887Schin path/pathshell.c: allow trailing .exe -- pox on that 5204887Schin string/strtoi.h: fix bug leading 3 digits before thousands sep bug 5214887Schin string/(fmt|str)[gu]id.c: we know root when we see it 5224887Schin03-03-24 misc/optget.c: handle : and ? in := default value 5234887Schin03-03-21 ast_std.h: drop all spawn*() but spawnveg() 5244887Schin obsolete/spawn.c: add for dropped spawn*() 5254887Schin features/lib: _use_spawnveg if spawnveg() is a win over fork()/exec() 5264887Schin features/lib: drop NutForkExecve() and _map_spawnve 5274887Schin features/lib: fix memccpy test to clean up /tmp droppings 5284887Schin comp/spawnveg.c: call posix_spawn() if implemented 5294887Schin comp/omitted.c: add spawnve() intercept 5304887Schin comp/getoptl.c: set getopt_long() optind even if no options 5314887Schin tm/tmfmt.c: add %Q<delim>recent<delim>distant<delim> 5324887Schin misc/optget.c: fix trailing '*' for option and option args 5334887Schin sfio/sfmode.c: getenv("_AST_SFIO_OPTIONS") [,]SF_LINE[,] for fd {0,1,2} 5344887Schin vmalloc/*: kpv sync for uwin build independent of libast 5354887Schin03-03-18 port/astconf.c: switch to dynamic string values (saves 7K data/bss) 5364887Schin string/strmatch.c: switch to dynamic regex cache (saves 3K data/bss) 5374887Schin regex/regcoll.c,ucs_names.h: initialize rw tables from smaller ro data 5384887Schin features/lib: add vfork test for passing SIG_IGN across exec 5394887Schin features/lib: add spawn test for passing SIG_IGN across spawn 5404887Schin03-03-17 comp/omitted.c: unlink() renames to .deleted dir in case file open 5414887Schin sfio/sfpopen.c: handle mode "" for spawn with no pipe 5424887Schin features/float,comp/frexp.c,comp/frexpl.c: add pow2() table alternative 5434887Schin03-03-12 features/lib: fix linux.ia64 memccpy() tests -- now its their turn 5444887Schin features/vmalloc: fix /dev/zero test 5454887Schin features/align: _ast_intmax_t and _ast_fltmax_t join the union 5464887Schin misc/stk.c: fix struct frame size to align data 5474887Schin disc/sfdcdos.c: change sfslen() => sfvalue(f) 5484887Schin03-03-10 misc/optget.c: handle [f\f:x:lll\f?ddd] 5494887Schin03-03-07 port/astconf.c: uninitialized CONFORMANCE + POSIXLY_CORRECT => standard 5504887Schin03-03-05 comp/omitted.c: make sure at least /bin is in PATH to find cygwin dlls 5514887Schin03-03-02 path/pathshell.c: write access to /bin is effectively root 5524887Schin03-02-28 features/float: add (FLT|DBL|LDBL)_U?(LONG|LONGLONG|INTMAX)_(MIN|MAX) 5534887Schin03-02-25 features/lib: change vfork() test to use _exit() instead of exit() 5544887Schin03-02-23 include/error.h: update ERROR_VERSION for error_info.number space 5554887Schin03-02-22 comp/conf.sh: wrap ksh check in eval to avoid premature exit 5564887Schin03-02-21 misc/fts.c: verify chdir(..) to avoid malicious dir rename() 5574887Schin03-02-19 string/strtoip4.c: isspace() instead of ' '||'\t' 5584887Schin03-02-17 regex/regcomp.c: fix stats.l REX_REP logic that botched REX_BM 5594887Schin03-02-13 string/base64.c: handle catenated encodings 5604887Schin03-02-11 features/libpath.sh: change LIBPATH to <dir>[:<env>[:<pat>]][,...] 5614887Schin03-02-07 path/pathfind.c: allow "/dev/null" to be PATH_REGULAR 5624887Schin03-02-06 include/ast.h,fmtquote.c: add FMT_ALWAYS|FMT_ESCAPED|FMT_SHELL|FMT_WIDE 5634887Schin03-02-05 tm/tmdate.c,tm/tmword.c,string/strelapsed.c: '_' treated like ' ' 5644887Schin03-02-01 string/strelapsed.c: handle ps style [day-][hour:]min:sec 5654887Schin03-01-31 port/astlicense.c: fix author=* match 5664887Schin03-01-30 include/tm.h: add tmisleapyear() macro 5674887Schin03-01-29 comp/getopt.h,comp/getoptl.c: add gnu getopt_long(), getopt_long_only() 5684887Schin include/ast_getopt.h: for non-gnu part of comp/getopt.h 5694887Schin include/ast_std.h: include <ast_getopt.h> instead of <getopt.h> 5704887Schin03-01-28 ast.h,string/base64.c: add base64encode() and base64decode() 5714887Schin path/pathfind.c: verify S_ISREG() 5724887Schin03-01-24 path/pathexists.c: fix abs dir bug and deal with case ignorance 5734887Schin03-01-23 path/pathpath.c: honor PATH_ABSOLUTE for the easy case too 5744887Schin03-01-22 path/pathprobe.c: fix search to find both the probe script and command 5754887Schin03-01-17 misc/magic.tab: application/zip => appplication/(gzip|pzip|zip) 5764887Schin03-01-14 misc/optget.c: change href="" to href="." 5774887Schin03-01-10 include/ast_std.h: strtold() import hackery for static __CYGWIN__ 5784887Schin03-01-03 include/regex.h,regex/regcomp.h: add REG_SHELL_GROUP 5794887Schin include/ast.h,string/strmatch.c: add STR_GROUP for REG_SHELL_GROUP 5804887Schin02-12-15 include/error.h: errorcontext => Error_context_s (compatible til 2004) 5814887Schin02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptable! 5824887Schin02-12-03 comp/omitted.c,features/omitted: handle cygwin alarm() return botch 5834887Schin02-11-27 misc/swapop.c: op=3,size=4 => op=7 5844887Schin string/strlcat.c,strlcpy.c: fix uwin decl clash 5854887Schin02-11-26 sfio/sfvprintf.c: fix sfsprintf() '\0' termination bug 5864887Schin02-11-22 misc/glob.c: move static struniq() to libast extern 5874887Schin string/fmtversion.c,include/ast.h: add fmtversion 5884887Schin02-11-18 string/strncopy.c: add 5894887Schin misc/magic.tab: list size for magicid.h magic 5904887Schin02-11-14 sfio/sfvprintf.c: add %#c for C escapes 5914887Schin include/error.h: add ERROR_NOTIFY context flag for builtin commands 5924887Schin02-11-11 string/strtoi.h: add S2I_size for strnto*() size_t 2nd arg 5934887Schin sfio/sfstrtof.h: add S2I_size for strnto*() size_t 2nd arg 5944887Schin comp/putenv.c: add setenv() and unsetenv() wrappers for setenviron() 5954887Schin02-10-31 path/pathfind.c: add dir of including file to the pathinclude() list 5964887Schin misc/optesc.c: add 5974887Schin02-10-30 string/strtoip4.c: set next char pointer even on error 5984887Schin02-10-29 comp/resolvepath.c: add (size_t version of realpath()) 5994887Schin misc/mime.c: fix mimehead() to ignore null content values 6004887Schin02-10-28 misc/glob.c: add GLOB_STARSTAR for /**/ and GLOB_NOTDIR optimization 6014887Schin02-10-27 string/struniq.c: add 6024887Schin02-10-23 features/common: fix off-by-one loop check 6034887Schin02-10-18 include/ast_std.h: avoid off_t,ftruncate,lseek,truncate redefinitions 6044887Schin02-10-17 misc/mime.c: handle type/* match, fix bogus header parse 6054887Schin02-10-04 sfio/sfstrtof.h: S2F_static <0:export =0:private >0:static 6064887Schin02-10-02 features/common: don't define _WIN32; define _WINIX => unix on windows 6074887Schin features/tty: finally stomp the bsd _POSIX_VDISABLE redefinition 6084887Schin misc/fastfind.c: add more specific findwrite() error messages 6094887Schin comp/omitted.c: fix cygwin utime() to update st_ctime 6104887Schin comp/strtol.c,strtoul.c: __CYGWIN__ static link workaround XXX 6114887Schin string/fmtls.c,fmttime.c: tmform() => tmfmt() 6124887Schin02-09-22 port/astconf.c: return values in fmtbuf() buffer instead of stack 6134887Schin port/mnt.c: don't set MNT_REMOTE for win32 ?:\* paths 6144887Schin sfio/sfvscanf.c: _sfdscan() is library global (not static) 6154887Schin02-09-21 path/pathkey.c: add tool arg for mamake compatible hash 6164887Schin features/fcntl.c: handle iffe _hdr_lcl_* => _lcl_* change 6174887Schin02-09-15 comp/conf.sh: fix enum vs. macro test 6184887Schin cdt: kpv sync 6194887Schin02-09-11 ast.h,features/common: move _WIN32 macro init to features/common 6204887Schin features/common: enable __EXTERN__ and __DEFINE__ for _WIN32&!_UWIN 6214887Schin features/float: add -lm to _ast_*_nan_init tests 6224887Schin vmalloc: kpv sync with vmresizef => vmgetmem 6234887Schin features/iconv: must have both <iconv.h> and iconv_open()! 6244887Schin features/vmalloc: alloca test must compile *and* link 6254887Schin sfio/sfvscanf.c,sfstrtof.h: add flag arg to char get, fix NaN loop 6264887Schin02-09-10 vmalloc/vmhdr.h: enable getpagesize() and sbrk() prototypes 6274887Schin features/fcntl.c: enable mmap64() prototype 6284887Schin include/ast_windows.h: windows.h wrapper with ast namespace workarounds 6294887Schin02-09-07 misc/mime.c: fix quoted value parse bug that ate the whole line 6304887Schin02-09-05 features/vmalloc: add free() to _std_malloc test 6314887Schin include/ast.h: NoF(x) now defines _DATA_x for !_BLD_DLL too 6324887Schin tm/tmlocale.c: { C POSIX en } == unix dadgummit 6334887Schin02-08-29 path/pathfind.c: initialize Dir_t.next=0 6344887Schin02-08-28 uwin/rint.c: update 6354887Schin features/libpath.sh: "bin" is now the default value 6364887Schin02-08-22 vmtrace.h: add for debugging 6374887Schin02-08-20 misc/magic.c: convert to use <cdt.h> 6384887Schin vmalloc/vmresizef.c: add for generic discipline resizef default 6394887Schin string/strelapsed.c: allow long time component names 6404887Schin02-08-19 misc/optget.c: add `.fp 5 CW' to --nroff output 6414887Schin string/(fmtfs|fmtuid|fmtgid|strgid|struid).c: convert to use <cdt.h> 6424887Schin include/dt.h,cdt/dtnew.c: add for dtopen() in specific vm region 6434887Schin02-08-13 comp/omitted.c: fix bzero logic for e.g. unixware.i386 6444887Schin include/ast.h: add fmtbase->fmtbasell; swap in 2003-09-01 6454887Schin02-08-12 regex/regnexec.c: fix REG_MINIMAL REX_DOT mb bug 6464887Schin02-08-08 features/iconv: <ast_common.h> instead of <sys/types.h> <ast_common.h> 6474887Schin02-08-07 regex/regcomp.c: recognize anchors in BRE subexpressions 6484887Schin02-08-06 comp/iconv.c: handle win32 cpNNNN == windows-NNNN aliases 6494887Schin02-08-05 cdt/*: sync with kpv src 6504887Schin02-08-02 features/iconv: include sys/types.h for ast_types.h 6514887Schin02-08-01 misc/magic.c: magic file "." names the default 6524887Schin misc/magic.c: handle addr type (from irix string) 6534887Schin features/lib: move malloc tests to features/vmalloc 6544887Schin features/vmalloc: snarf tests from features/lib 6554887Schin vmalloc/*: sync with kpv src 6564887Schin comp/libc.c: dropped -- __libc_* intercepts moved to vmalloc/malloc.c 6574887Schin02-07-30 features/lib: handle __libc_malloc() in _std_malloc test 6584887Schin vmalloc/malloc.c: add gnu pvalloc() 6594887Schin features/vmalloc: fix alloca check 6604887Schin02-07-29 features/limits.c: handle netbsd guards 6614887Schin02-07-27 sfio/sfpoll.c: handle rw pipes 6624887Schin02-07-25 features/iconv: include ast_types.h for size_t in ast_iconv.h 6634887Schin02-07-18 apply LARGEFILE64 header prototype clash patches 6644887Schin misc/optget.c: __EXTERN__ _opt_info_ instead of opt_info 6654887Schin02-07-17 ast_std.h: memzero() now defaults to memset() instead of bzero() 6664887Schin02-07-16 ast_std.h: add ast.env_serial 6674887Schin misc/setenviron.c: increment ast.env_serial 6684887Schin include/tm.h: tmset() now calls tminit() directly 6694887Schin tm/tminit.c: check ast.env_serial for env change 6704887Schin tm/tmfix.c: speed up for large values of tm_mday 6714887Schin02-07-15 comp/fnmatch.c: fix memory leak caused by missing regfree() 6724887Schin comp/strstr.c: fix broken interpretation and implementation 6734887Schin comp/iconv.c: intercept (but no-op) null to and from buffer pointers 6744887Schin02-06-27 ast_std.h: map _sysconf => _ast_sysconf for sun 6754887Schin02-06-26 cdt,sfio,vmalloc: kpv sync -- is this ever easy? 6764887Schin02-06-24 sfio: kpv sync, vfwscanf(),fputw() fix (wcslen(x)*sizeof(wchar_t)!!) 6774887Schin misc/fts.c: fix symlink chdir() optimzation bug 6784887Schin02-06-11 sfio/sfwrite.c: string to file fix 6794887Schin Makefile: __OBSOLETE__==20020101 6804887Schin02-06-01 regex/regcomp.c: REG_DELIMITED now consumes the delimiter 6814887Schin02-05-31 regex/reglib.h,regcomp.c,regnexec.c: null subexpression fixes 6824887Schin02-05-24 misc/fts.c: disable dir link counts in 3d 6834887Schin misc/magic.c: fix "*(mkfile)" sh pattern to "*@(mkfile)" 6844887Schin02-05-20 regex.h,regex/regsubcomp.c,regex/regsubexec.c: add 6854887Schin regex/regsub.c: deprecate 6864887Schin02-05-16 tm/tmfix.c: fix '60+n min/sec ago' bug for n min/sec after the hour 6874887Schin02-05-14 regex/regsub.c: fix (^|x) null match early termination bug 6884887Schin02-05-13 dir/dirlib.h: drop errant extern==__EXPORT__ 6894887Schin features/uwin: add uwin lib tests 6904887Schin uwin/*.c: check features/uwin for stubs 6914887Schin features/float: add nan representation generation 6924887Schin sfio/sftable.h: used _ast_*_nan_init for huge values 6934887Schin02-05-09 misc/fts.c: fix virtual top to force ``child'' stat() 6944887Schin features/common: define va_copy() only if not in <stdarg.h> 6954887Schin02-05-01 string/strtoip4.c: cisco inverted quad mask must have 4 parts 6964887Schin02-04-30 misc/magic.tab: fix pzip version check 6974887Schin02-04-19 string/strtoip4.c: handle cisco inverted quad mask n.n.n.n/i.i.i.i 6984887Schin02-04-18 misc/fts.c: add chdir() verification stat() optimizations 6994887Schin path/pathkey.c: check PROBE_ATTRIBUTES for list of vars 7004887Schin02-04-12 port/astlicense.c: type=open tweak, fix author list spacing 7014887Schin02-04-11 regex/regcomp.c: check for pattern number overflow 7024887Schin02-04-05 tm/tmfmt.c: add %u 7034887Schin02-04-04 sfkeyprintf.c: fix %c numeric value 7044887Schin path/pathpath.c: check plain path first -- duh 7054887Schin02-04-03 misc/fts.c: fix (FTS_PHYSICAL|FTS_NOSTAT) stat optimizations 7064887Schin ftwalk.c: only clear FTW_DELAY if FTW_CHILDREN 7074887Schin ftwalk.h: add FTW_NSOK for FTW_DELAY 7084887Schin02-03-29 ast.h: drop strerror() prototype -- already in <ast_std.h> 7094887Schin features/stdio: check for _SFIO_H redundant _Sfstd* declarations 7104887Schin02-03-26 misc/glob.c: fix GLOB_LIST gl_flags values 7114887Schin02-03-24 port/mnt.c: update bsd fstype name and mount option logic 7124887Schin02-03-23 Makefile: add ast_wchar.h to the .check.hdr list (for mamake) 7134887Schin02-03-17 features/stdio: hack around g++ 3.* clashes 7144887Schin Makefile: add ast_nl_types.h to the .check.hdr list (for mamake) 7154887Schin string/strtoip4.c: fix validity check bug that only checked last part 7164887Schin02-03-14 misc/optget.c: fix --keys to not expand inline \f...\f 7174887Schin02-03-12 port/astlicense.c: add type=free 7184887Schin path/pathaccess.c: sibling ".." search ignores relative dirs 7194887Schin sfio/sfvscanf.c: sfstrtof get() must return 0 on eof 7204887Schin02-03-11 path/pathexists.c: check path by pairs checking {ENOTDIR,ENOENT} 7214887Schin02-02-14 features/float: copy local min/max macros to avoid printf roundoff 7224887Schin features/wchar: include <ast_common.h>, not <ast_std.h> 7234887Schin misc/magic.c: match[]=>matches[] to fix K&R match() macro conflict 7244887Schin include/vmalloc.h: include <stdlib.h> for !_PACKAGE_ast 7254887Schin uwin/mini.sym: add sprintf (now required by features/common) 7264887Schin regex/regnexec.c: truncate wide chars for <ctype.h> functions 7274887Schin Makefile: fix MAM ast_common.h sequencing bug by making it first 7284887Schin cdt/dthash.c: fix DT_DELETE memory leak (DT_DETACH typo) 7294887Schin cdt/dthash.c: fix DT_DELETE double free (dt->data->here typo) 7304887Schin regex/regcomp.c: fix recomb() to reject RE with backref 7314887Schin features/iffeio: explicitly generate stdio.lcl 7324887Schin stdio: add {fcloseall,f(get|put)s_unlocked,fmemopen,getdelim,getline} 7334887Schin tmmake,tmtime: allow negative time_t if native localtime/gmtime do 7344887Schin tmdate: allow years before 1969 7354887Schin fmtfmt: add 7364887Schin include/ast.h: add { PATH_TOUCH_CREATE PATH_TOUCH_VERBATIM } 7374887Schin Makefile: add std/*.h for std header iffe overrides 7384887Schin comp/iconv.c: fix non-C win32 sfreserve() loop 7394887Schin02-02-11 features/common: separate long long / long double tests 7404887Schin features/common: verify printf handles long long / long double 7414887Schin02-02-02 include/ast_std.h,sfio/sfhdr.h: drop _hdr_locale tests -- always on now 7424887Schin include/ast_std.h: trust _UWIN <unistd.h> 7434887Schin02-01-31 port/mnt.c: add aix options field 7444887Schin02-01-30 comp/strstr.c: add for ancient s5 7454887Schin stdio/_flsbuf.c: only on systems that transfer to native (e.g., uwin) 7464887Schin string/strtoi.h: cat min/max error return values 7474887Schin02-01-28 features/tty: add cf[gs]et[io]speed macros for <termio.h> 7484887Schin comp/rename.c: punt to (ancient) /usr/lib/mv_dir on EISDIR 7494887Schin02-01-24 sigcrit.c: fix SIGCLD!=SIGCHLD interrupt loop 7504887Schin sfvprintf.c: convert fast io macros to functions for uts.390 cc 7514887Schin string/strtoi.h: drop #pragma prototyped for standalone sfio 7524887Schin sfdcsubstr.c: rename from sfdcsubstream.c for 14 char fs 7534887Schin02-01-22 execlp,execvp,execvpe,spawnlp,spawnvp,spawnvpe: fix __EXPORT__ 7544887Schin spawnlp,spawnve,spawnvp,spawnvpe: handle ms mode arg -- barf 7554887Schin sftable.c: ifdef hacks for _WIN32&_ALPHA_ fp exception 7564887Schin _stdfun.c: add _UWIN&_ALPHA_ iob map 7574887Schin02-01-18 sfio/sfstrtof.h: drop #pragma prototyped for standalone sfio 7584887Schin02-01-17 features/hdr: don't include <stddef.h> after it doesn't check out! 7594887Schin02-01-16 misc/magic.c: add version type for YYYYMMDD or [a.][b.]c.d 7604887Schin misc/magic.c: recode mime %s parse -- sensible and no buffer overflow 7614887Schin02-01-15 misc/magic.tab,magicid.h: add generic binary magic number and header 7624887Schin02-01-12 tm/tmlocale.c: override win32 default date for {C,POSIX,en} locales 7634887Schin comp/omitted.c: fix cygwin workaround logic bugs 7644887Schin02-01-09 stdio/fseeko.c,ftello.c: add from UNIX98 7654887Schin02-01-08 comp/conf.sh: use $cc instead of cc 7664887Schin02-01-07 string/strlcat.c,string/strlcpy.c: add bsd api 7674887Schin01-12-18 comp/conf.tab: fix LFS_CFLAGS default for sun _CS_LFS_CFLAGS botch 7684887Schin features/common: add hdr stdarg test 7694887Schin tm/tmdate.c: handle YYYY/MM/DD 7704887Schin01-12-10 misc/magic.tab: add generic 0x00010203 binary magic 7714887Schin01-12-03 path/pathprobe.c: return HOME relative path if readonly/non-suid fs 7724887Schin01-11-30 misc/optget.c: add simple cache for repeat offenders (like ksh read) 7734887Schin sfio/sfhdr.h: preserve errno across SFMMSEQON-SFMMSEQOFF 7744887Schin01-11-29 magic.tab: fix GIF version number listing 7754887Schin01-11-28 string/fmtbase.c: p!=0 => base always included in output 7764887Schin01-11-26 misc/fts.c: empty path is an error 7774887Schin01-11-14 misc/optget.c: fix --?+SECTION queries to include paragraphs 7784887Schin01-11-20 regex/regnexec.c: fix REG_MINIMAL character class match bug 7794887Schin01-11-19 features/lib: retain _lib_confstr for all solaris releases 7804887Schin01-11-16 comp/setlocale.c: fix !_lib_setlocale typo 7814887Schin01-10-31 regex/ucs_names.h: add string catenation to keep line length low 7824887Schin misc/fastfind.c: handle gnu slocate db read 7834887Schin misc/optget.c: add --?+SECTION queries 7844887Schin comp/fnmatch.h: add FNM_NOSYS 7854887Schin01-10-30 tm/tmdate.c: fix cron specs when both wday and mday are specified 7864887Schin01-10-20 misc/glob.c: fix bug that called \ trim() twice on same path 7874887Schin misc/glob.c: fix \ trim() bug that restored / to wrong position 7884887Schin string/fmtre.c: fix { ^ . $ } translations 7894887Schin misc/optget.c: use original string if translation fails -- duh 7904887Schin sfio/sfhdr.h: assume <errno.h> assigns proper atttibutes to errno 7914887Schin comp/regcmp.c: __ia64 workaround fixed by proper CC.DLL probe 7924887Schin comp/getdate.c: __ia64 workaround fixed by proper CC.DLL probe 7934887Schin features/lib: add lib getdate 7944887Schin01-10-18 features/lib: check for strtod static link collision 7954887Schin features/float: add another signed cast for old bsd cc 7964887Schin features/wchar: add <stdlib.h> <stdio.h> before <wchar.h> for old bsd 7974887Schin01-10-17 sfio/sfcvt.c: limit max precision to { FLT_DIG DBL_DIG LDBL_DIG } 7984887Schin sfio/sfcvt.c: fix %[aA] format to always have leading 0[xX]1. 7994887Schin sfio/sfvprintf.c: handle %C %lc %S %ls for wchar_t args 8004887Schin sfio/sfvscanf.c: handle %C %lc %S %ls for wchar_t args 8014887Schin string/fmtmode.c: fix bug that omitted trailing '\0' 8024887Schin01-10-12 misc/optget.c: . => \&. for --??nroff 8034887Schin comp/wc.c: fix mbstate_t initialization typo 8044887Schin features/float: fix max integer / float loop termiation 8054887Schin features/float: fix LDBL_UINTMAX_MAX typo that did DBL_UINTMAX_MAX 8064887Schin01-10-11 include/sfio.h: fix _Sfstd* import/export 8074887Schin features/common: fix _UWIN __DYNAMIC__() definition 8084887Schin01-10-06 features/fcntl.c: { O_BINARY O_TEXT } default to 0 8094887Schin features/omitted: add for comp/omitted.c 8104887Schin sfio/sfopen.c: O_BINARY default for _WIN32&&!_UWIN 8114887Schin01-10-05 misc/glob.c: fix `\(x/*' GLOB_NOMATCH bug that returned `(x' 8124887Schin misc/optget.c: fix localization lookup that didn't drop doubled : ? ] 8134887Schin01-10-04 comp/setlocale.c: handle sizeof(wchar_t)!=4 in debug locale 8144887Schin comp/conf.sh: handle sytems where _SC_* is both an enum and a macro 8154887Schin01-09-25 astconf: add LIBPREFIX 8164887Schin01-09-20 features/common: add __DYNAMIC__() for dll externs 8174887Schin01-09-19 cdt: kpv update 8184887Schin mb*() macros: update for ksh conversion, extend debug locale 8194887Schin01-09-16 tm/tmlocale.c: add compiled in defaults for C locale 8204887Schin misc/glob.c: add gl_nextdir callback for GLOB_COMPLETE 8214887Schin01-08-14 clarify _WIN32 vs. _UWIN vs. __CYGWIN__ 8224887Schin tminit: fix standard & daylight initialization 8234887Schin01-09-11 pathnative.c: add for native fs representation 8244887Schin regex.h: fix regerror_t prototype 8254887Schin01-09-04 regex/regnexec.c: fix REG_ICASE for multi-char collating elements 8264887Schin tm/tmlocale.c: fix old ascii LC_TIME load 8274887Schin locale*: add new LC_* categories 8284887Schin comp/omitted.c: add CYGWIN workarounds 8294887Schin features/lib: add CYGWIN workarounds 8304887Schin01-08-11 features/common: some compilers have long long but no LL constants! 8314887Schin features/lib: add mmap64 implementation test (for linux.s390) 8324887Schin regex/regcomp.c: fix \ in [...] parse 8334887Schin setlocale: retain user locale spelling in setlocale() return value 8344887Schin features/limits.c: don't include ./limits.h -- duh 8354887Schin fmtesc: don't escape multibyte chars 8364887Schin tm/tmlocale.c: fix native C locale default 8374887Schin01-08-08 features/float: some compilers (msdev) forget long long vs. double 8384887Schin01-07-31 misc/optget.c: handle suboptions 8394887Schin01-07-27 cdt.h: add DTDISC() 8404887Schin01-07-17 iffeio.h: move to include for stdio bootstrap iffe workarounds 8414887Schin01-06-25 regex: perl extensions added and tested 8424887Schin01-06-21 misc/error: add ERROR_OPTIONS=prefix=string for message processing 8434887Schin01-06-15 string/chresc: only 2 hex digits max for \xxx 8444887Schin regex/regsub: handle REG_SHELL ~(nnn) rhs backrefs 8454887Schin01-06-11 regex: handle embedded \0 in pattern and subject string 8464887Schin regex: add (?nnn) for backrefs > 9 8474887Schin comp/fnmatch: add FNM_LEADING_DIR for gnu compatibility 8484887Schin features/float: _ast_flt_unsigned_max_t for bsd.i386 omission 8494887Schin01-06-06 misc/optget.c: add o option for old ps,ar,tar with optional leading - 8504887Schin regex/regcomp.c: REG_LENIENT|REG_DELIMITED \<newline> => <newline> 8514887Schin regex/regcomp.c: REG_LENIENT \000 => NUL 8524887Schin01-06-04 features/dirent: replace Makefile hack with iffe semi-hack 8534887Schin regex/regnexec.c: negation must also check REG_SHELL_DOT 8544887Schin01-06-03 sprintf.c: change buf size from SF_BUFSIZE to INT_MAX 8554887Schin01-05-31 glob: fix gl_fignore to ignore leading . by default 8564887Schin features/lib: add botch_d_ino_dirent64 for linux botch 8574887Schin01-05-25 port/lc.tab: add a few missing language_territory's 8584887Schin01-05-23 string/chresc: \C[.collation-element.] 8594887Schin fmtmatch,fmtre: update for <regex.h> syntax extensions 8604887Schin01-05-21 regex: add perl extensions, unicode names for collation elements 8614887Schin01-05-11 string/chresc: \e == \E == escape, \cX == control X, \x{..} == \x.. 8624887Schin01-05-09 path/pathtemp.c: pathtemp(0,0,0,"/private",0) for mode S_IRUSR|S_IWUSR 8634887Schin port/touch.c: handle utime(2) EPERM to fix bug that truncated 8644887Schin regex: change REG_MINIMAL to avoid negation -- much faster now 8654887Schin01-05-08 *.h: add some off_t macro guards for suse linux 8664887Schin01-05-03 regcomp.c: optimize ((x)!)* to ((x)!) 8674887Schin wchar: add <wchar.h> and stdio wchar routines 8684887Schin01-05-02 feaures/wchar: add <wchar.h> intercept, add stdio wchar functions 8694887Schin01-05-01 string/strtoi.h: signed strtoi accepts qualified unsigned constants 8704887Schin01-04-30 comp/setlocale.c: fix code that relied on 2 simultaneous getenv()'s 8714887Schin tm/tmlocale.c: check for UTF-8 encoded LC_TIME files 8724887Schin misc/magic.tab: add utf-8 and utf-16 U+FEFF magic 8734887Schin01-04-26 features/common: some cc's have _ast_int8_t but not LL constants 8744887Schin01-04-24 features/lib: add _std_strtod for mac os X 8754887Schin01-04-23 ccode: add CC_sub for ms embedded EOF char on ebcdic -- no joke 8764887Schin01-04-20 iconv: handle ebcdic<=>utf 8774887Schin mc.h,mc.c: add mcindex() 8784887Schin ast_std.h: add AST_MESSAGE_SET 8794887Schin01-04-18 features/libpath.sh: fix mvs probe 8804887Schin *: sundry mvs fixes 8814887Schin glob: fix GLOB_NOCHECK to avoid stat() and properly trim patterns 8824887Schin01-04-01 strtod,strtold: add 8834887Schin strtol,strtoul,strtoll,strtoull,strton,strtonl: handle locale & ERANGE 8844887Schin sfvprintf,sfvscanf: handle locale decimal_point,thousands_sep 8854887Schin sfvprintf,sfvscanf: handle %a,%A 8864887Schin setlocale: add LC_NUMERIC decimal_point,thousands_sep init 8874887Schin ast_std.h: __OPTIMIZE_SIZE__==1 to disable non-std __GNUC__ inlines 8884887Schin pathexists: path cache to cut down pathpath() access(2) calls 8894887Schin features/stdio: __FILE_TAG == _sfio_s for solaris 8904887Schin01-03-23 iconv: fix iconv_move buffer boundary bug that stopped at 1 block 8914887Schin01-03-19 glob: add GLOB_AUGMENTED 8924887Schin regex: REG_SHELL syntax error implies REG_LITERAL match 8934887Schin strto[ln][ll]: add overflow checks 8944887Schin01-03-17 locale: reimplemented to provide canonical locale namespace 8954887Schin locale: add LC_ALL=local for local system user default 8964887Schin tm.h: TM_*_3 => TM_*_ABBREV 8974887Schin tmfmt: handle standard E and O format modifiers 8984887Schin tmlocale: consult nl_langinfo() if defined 8994887Schin fmtquote("\"",1) => shell quote 9004887Schin01-03-08 regex: handle multibyte chars and collation classes 9014887Schin strmatch,strgrpmatch: now a wrapper on regex 9024887Schin ast_std.h: add mb*() multibyte and collation support 9034887Schin sfvscanf: handle locale decimal and thousand 9044887Schin proc*,system: handle ignored SIGCHLD 9054887Schin sfkeyprintf: handle %*C 9064887Schin01-03-06 locale: add locale data cache for efficient multiple locale switching 9074887Schin optget: fix LC_MESSAGES!=C --man bug 9084887Schin01-03-01 Makefile: HEADEROPT is not optional for win32.* 9094887Schin comp/syslog.h: comply with the de factos 9104887Schin optget(): fix \f...\f stack bug that referenced data after pop 9114887Schin01-02-27 *locale*: a batch of fixes for native LC_MESSAGE&LC_TIME hooks 9124887Schin01-02-22 pathprobe: reprobe test now checks probe.ini too 9134887Schin sfio_s.h: advertize public Sfio_t members with _ prefix 9144887Schin sfio.h,features/stdio: add <sfio_s.h> reference 9154887Schin sfhdr.h: map <sfio_s.h> _foo to foo 9164887Schin sfio.h: SF_APPEND=>SF_APPENDWR, SF_CLOSE=>SF_CLOSING 9174887Schin01-02-14 comp/conf.sh: probe <unistd.h> for _(CS|PC|SC)_* getconf symbols 9184887Schin stdio/*: update for uwin stdio.dll binary compatibility 9194887Schin sfread: finally fixed premature pipe read EOF bug 9204887Schin fmtscale: format tenths for number > 0 && number < 10 9214887Schin01-02-09 _sfmode(),_sftype(),_Sfextern: UWIN binary stdio compatibility exports 9224887Schin01-02-08 sfgetm,sfputm,_sfputm: fix max clash with k&r max() macro 9234887Schin setlocale: undef valid for sun4 k&r valid() macro 9244887Schin01-02-07 catopen.c: don't do native catopen for the debug locale 9254887Schin01-02-06 sfraise.c: add SF_FINAL check to avoid (posibly) freed disciplines 9264887Schin01-01-01 features/common: fix uwin __DEFINE__ 9274887Schin sftable: initialize decimal and thousand 9284887Schin magic.tab: add corel wordperfect document 9294887Schin syslog: add LOG_LEVEL, add '\n' only if needed 9304887Schin include/tm.h: #undef daylight for _WIN32 9314887Schin sfio.h: add _SF_APPEND and _SF_CLOSE for native namespace incursion 9324887Schin ast_std.h: add AST_LC_multibyte for MB_CUR_MAX>1 9334887Schin setlocale: set AST_LC_multibyte 9344887Schin strmatch: check AST_LC_multibyte 9354887Schin features/limits.c: add _BITS_POSIX1_LIM_H guard for linux 9364887Schin features/libpath.sh: fix for aix LIBPATH 9374887Schin procopen,procclose: block SIGCHLD if PROC_FOREGROUND (e.g., system(3)) 9384887Schin optget.c: add enumerated option argument values 9394887Schin optget.c: add <!--INTERNAL--> for private --html 9404887Schin optget.c: fix memory leak that hit shell builtins hard 9414887Schin sfio: drop sfread small chunk logic 9424887Schin00-12-25 mnt.c: handle " and ' quoting for fstab 9434887Schin sftmp.c: let pathtemp() open the fd O_EXCL 9444887Schin00-12-15 conf.sh: add -v for verbose trace 9454887Schin features/(limits|unistd).c: no FEATURE/types because of _POSIX_SOURCE 9464887Schin features/time: add default for CLOCKS_PER_SEC 9474887Schin features/lib: std_malloc now handles NeXT 9484887Schin00-12-13 strton: recognize qualifier only if preceded by a digit 9494887Schin features/lib: change return in vfork() test to exit() for linux sparc 9504887Schin fmtquote: fix $'...' quote logic 9514887Schin00-12-11 tmdate: fix cron format bug that mishandled months 9524887Schin00-12-01 optget: handle $Id: ... $ in --?-version 9534887Schin features/fcntl.c: fix _STDPP_ mmap munmap 9544887Schin00-11-27 magic: drop dup sfclose() in load() 9554887Schin optget: handle error_info.id==0 9564887Schin00-11-22 features/stdio: add _FILEDEFED for sol9.sun4 9574887Schin strton,stronll: handle [u|U][l|L][ll|LL] qualifiers 9584887Schin00-10-31 tmdate: add TM_DATESTYLE and mmddHHMM[cc]yy 9594887Schin astlicense.c: #include <hashkey.h> MAM workaround 9604887Schin astlicense.c: check for non-empty CONTRIBUTORS 9614887Schin00-10-26 features/stdio: add _FILE and __FILE for gnu 9624887Schin misc/stk.c: fix stack pointer check off-by-one (dgk does it too!) 9634887Schin00-10-23 syslog.h: sync with bsd values 9644887Schin00-10-18 _STUB_* now functions instead of common symbols 9654887Schin all extern data declared with definition to eliminate common symbols 9664887Schin fastfind: add mac/bsd /var/db/locate.database 9674887Schin00-10-17 features/lib: add apple osX (darwin.ppc) workarounds 9684887Schin00-10-12 add: fmtbuf(), fmtclock(), fmtip4(), strtoip4() 9694887Schin fmt*() now use fmtbuf() for tmp fmt buf allocation 9704887Schin00-10-05 regex: add REG_DISCIPLINE and regdisc_t for alloc/error disc 9714887Schin00-09-29 features/lib: pipe_rw==0 for sgi: boot rw == bin incompatibility 9724887Schin00-09-21 astlicense: handle \' and \" in license values 9734887Schin00-09-20 sfwrite: fix write() error in sfprintf() loop 9744887Schin00-08-11 hdr,vmhdr.h: check/hide { getpagesize sbrk } prototypes 9754887Schin astlicense: add noncommercial 9764887Schin00-07-31 fflush: don't seek on pipes 9774887Schin sfresize: add 9784887Schin setlocale: fix bad newof() call 9794887Schin00-06-01 strmatch: initialize match.current.beg[0] to avoid dump at line 670 9804887Schin sfio/stdio: a few more errno tweaks 9814887Schin astquery: sfstdin/sfstderr by default 9824887Schin00-05-26 sfmode: errno=EBADF for invalid stream use 9834887Schin00-05-22 rewind: fix for xopen test 9844887Schin00-05-18 mcfind: returns absolute path 9854887Schin00-05-16 optget: --keys must catch \f...\f too 9864887Schin translate,mc: errno cleanup 9874887Schin00-05-09 magic: add netbsd binary magic 9884887Schin fts: PATH_RESOLVE!=logical => FTS_SEEDOTDIR 9894887Schin ftwflags: call fts_flags() 9904887Schin astconf: astconf(0,0,0) re-syncs with _AST_FEATURES 9914887Schin00-05-08 optget: --usage & --keys for last -catalog group only 9924887Schin00-05-02 iconv.c: add; use codes[] in ccmapid() and ccmapname(); "" for native 9934887Schin00-05-01 pathtmp: copy env values (libshell or putenv may change) 9944887Schin00-04-01 optget: drop bar from [-foo?bar] for --??keys 9954887Schin sfvscanf: add %X -- duh 9964887Schin features/common: fix va_listval() for power pc 9974887Schin findopen: fix FIND_GENERATE codes file search 9984887Schin magic: add ERROR_translate() and msgcat.key 9994887Schin tmlocale: add for LC_TIME locale info 10004887Schin tmlex: check tm_info.format and tm_data.format 10014887Schin tmfix: fix for tm_wday special case (via nl_langinfo on LC_TIME fields) 10024887Schin strftime: fix for nl_langinfo special case 10034887Schin ast_std.h: provide LC_* defauls if not defined 10044887Schin sfnew: check ${_AST_sfio_bufsize} -- don't tell kpv 10054887Schin catopen,nl_types.h: add intercept to mc* routines 10064887Schin magic.tab: add ast message catalog 10074887Schin strerror: add _ast_strerror intercept with ERROR_translate("errno") 10084887Schin fmtquote: escapes >0177 only if (flags&2) 10094887Schin00-03-17 feof: stdio macro functions only for _UWIN 10104887Schin optget: proper ERROR_translate() calls 10114887Schin astgetconf: add for thread safe error message control 10124887Schin astlicense: fix type=special but with non-null notice 10134887Schin errorx: add for ERROR_translate() support 10144887Schin ERROR_translate: add locale id args for alternate dictionary 10154887Schin option.h: move _OPT_PRIVATE_ to pointer to avoid dll size mismatch 10164887Schin ftwalk: fix FTW_CHILDREN bug that hit top level non-dirs twice 10174887Schin translate.c: default error_info.translate 10184887Schin astconf: fix dup loop thrash that never returns, add _AST_VERSION 10194887Schin00-03-10 ast_std.h: do _LARGEFILE_SOURCE initialization before std headers 10204887Schin fmtquote: handle $'...' quotes 10214887Schin00-03-07 optget: fix numeric option support test 10224887Schin sfkeyprintf: add %q for '...' quoting with ansi escapes 10234887Schin00-03-06 features/stdio: fix _sfflsbuf prototype (dingold@gte.net) 10244887Schin00-02-14 pathtmp: fix pid cache bug that sometimes repeated after ~10 attempts 10254887Schin optget: "..." attribute quote 10264887Schin pathfind: eliminate *: prefix in lib, not type 10274887Schin proc: PROC_FOREGROUND for system(3) semantics (wait status return) 10284887Schin pathtmp: fix mktemp() logic 10294887Schin fts: fix FTS_NOSEEDOTDIR bug that botched ./* in top list 10304887Schin include/ast/prototyped.h includes include/prototyped.h 10314887Schin pathpath: fix strdup(0) bug 10324887Schin optget: --html <foo@bar> => ...mailto:foo@bar... 10334887Schin sscanf: fix sfsscanf => sfvsscanf typo 10344887Schin magic.tab: strengthen tar recognition 10354887Schin00-02-08 conf.sh: fix ifdef for systems that think sysconf(FOO) is const 10364887Schin00-02-04 glob: fix globlist_t.gl_flags 10374887Schin00-02-02 vm*: add NoF() for data only files 10384887Schin00-01-27 fts: fix top level .==.. statp bug (thanks to dr. ek) 10394887Schin00-01-25 conf.tab: fix LFS*_*LAGS typo 10404887Schin00-01-24 astlicense: handle type=verbose, license.notice, author=* 10414887Schin00-01-11 pathprobe: generate info for first probe script on PATH - duh 10424887Schin ast.h: add NoF(x) for files that define no functions 10434887Schin tmpfile: fix implementation 10444887Schin global change for string ERROR_translate() dictionary names 10454887Schin optget: fix new way but no long names off by one 10464887Schin optget: handle [--dictionary?name] 10474887Schin99-11-19 comp/conf.sh: `expr length XXX` is not universal 10484887Schin drop sfstdio; stdio via functions everywhere 10494887Schin drop Makefile conditionals (and follow our own advice for once) 10504887Schin sfio: new stream after atexit() bug fix 10514887Schin tm: Tm_zone_t.daylight=0 for standard time within zone 10524887Schin stdio: fopen => _ast_fopen: only way short of binary compatibility 10534887Schin Makefile: atmain.C falls back to atmain.c 10544887Schin optget: add --keys, s<section> option 10554887Schin stdio: _UWIN check for foreign stdio 10564887Schin99-11-11 astlicense: add 10574887Schin99-10-31 glob: fix regexec pattern; add PATH_ATTRIBUTES case check 10584887Schin pathpath: path==0 means malloc space 10594887Schin99-10-22 tmfmt: %C=2-digit-century, %k=date(1), %y=2-digit-year-in-century 10604887Schin99-10-18 fastfind: expanded default db lookup 10614887Schin99-08-11 magic: fix off by one registry malloc 10624887Schin features/fs: add __RENAME checks for stat familiy (netbsd) 10634887Schin features/fs: major()/minor() fixes for s5 10644887Schin features/libpath.sh: netbsd fix -- ld.so not in std places 10654887Schin misc/fastfind: fix codes path generation bug 10664887Schin optget: beef up --?* description, fix <TR>...</TR> nesting 10674887Schin pathprobe: check for override (writable key file) first 10684887Schin features/time: int tmtimeofday(struct timeval*); 10694887Schin optget: fix opt_info.num, even if opt_info.arg!=0 10704887Schin fts: FTS_PHYSICAL => FTS_SEEDOTDIR, add FTS_CHOP 10714887Schin fastfind: init dir tab with logical and physical name 10724887Schin glob: add gnu GLOB_ALTDIRFUNC 10734887Schin99-07-17 sfio: kpv update and sfhdr.h sync! 10744887Schin99-06-24 stdio: fix fflush() to ignore sfseek(0) return value 10754887Schin99-06-23 magic: '\r' is text not control to placate m$ 10764887Schin99-06-08 stdio: fix fseek,ftell semantics 10774887Schin uwin stdio: fflush() => _doflsh() to avoid __cplusplus clash 10784887Schin getopt: call liberror() to avoid error() conflict 10794887Schin tmfmt,tmscan: %N zone type (nation code), %z zone minutes west offset 10804887Schin tmfmt: - no pad _ space pad 0 leading 0 pad 10814887Schin99-05-28 magic: fix 'x' == '*' for any number, magic.tab tweaks 10824887Schin features/lib: verify that stat64 really works 10834887Schin99-05-21 tm*: add TM_WINDOW==69 for consistent century windowing guard year 10844887Schin99-05-18 tmtime: add century leap year calc anticipating unsigned time_t 10854887Schin99-05-17 sfkeyprintf: handle %o and %x!! 10864887Schin99-05-09 pathprobe: $HOME/.probe if not suid and st_uid!=geteuid() 10874887Schin99-04-28 magic,magic.tab: add registry() 10884887Schin99-04-24 regcomp: fix ksh pattern +! parse 10894887Schin regfatalpat: add 10904887Schin optget: make : ? ] double escape consistent in all contexts 10914887Schin99-04-01 features: drop iffeio.h and stdio.h when only printf() used 10924887Schin regex: fix stats() .l and .k count 10934887Schin fmtquote: added; most general fmtesc() form 10944887Schin99-03-22 fmtesc.c,ast.h: add fmtnesq() 10954887Schin optget: --?x works for -x option flag 10964887Schin99-03-17 features/limits.c: workaround solaris __EXTENSIONS__ _timespec bug 10974887Schin workaround limits.h circular prereq with ignore stdio.h 10984887Schin sfvprintf: %04e left-pad zero fixed 10994887Schin99-03-03 fts: uncle already: add FTS_SEEDOTDIR to retain leading ./ 11004887Schin regex: REG_MULTIPLE, BM for fixed string alternation 11014887Schin optget: embedded `-' optional in long options, prefix={0,1,2} 11024887Schin99-02-14 fastfind: fix dir format bug that emitted wrong paths 11034887Schin astconf: fix redef off by one bug 11044887Schin99-02-11 pathcanon(): don't cache astconf("PATH_LEADING_SLASHES", NiL, NiL) 11054887Schin99-01-23 optget: move <old_opt.h> back into <option.h>, no open-close 11064887Schin optget: add "[index:long-name:description]" for --long-name 11074887Schin comp/gross: add weak __libc_attr for irix < 6.5 compatibility 11084887Schin features/limits.c: tweak the guards again 11094887Schin99-01-11 fastfind: handle old format count byte order 11104887Schin magic.tab: fix elf to use real phdr offset 11114887Schin magic.c,magic.tab: fix | to act like switch/case 11124887Schin comp/fross.c,features/hack: for gross hacks 11134887Schin features/stdio: avoid sfio namespace pollution 11144887Schin98-12-25 tmdate: yyyy.mm.dd 11154887Schin pathprobe: fix procrun() cmd path bug 11164887Schin fmtesq: add 11174887Schin features/common: win32.alpha va_list 11184887Schin magic: add pc alpha object 11194887Schin98-11-11 strmatch: add STR_ICASE 11204887Schin pathprobe: punt to $HOME/.probe/<key+HOSTTYPE> if not S_ISUID 11214887Schin tmzone,tmdate: handle +-minutes, nn/MMM/yyyy 11224887Schin stropt: fix nested quote pop 11234887Schin tmfmt: add %K => %Y-%m-%d/%H:%M:%S 11244887Schin sfio/stdio: fix fseek() SF_PUBLIC omissions 11254887Schin fmtesc: catch '\\' (duh) 11264887Schin vmalloc: vmbest round bug fix 11274887Schin98-11-01 fts.c: no pathcanon() if (fts_flags & FTS_PHYSICAL) 11284887Schin98-10-01 features/stdio prototype fixes 11294887Schin optget: strton() instead of strtol() for # 11304887Schin98-09-22 regcomp: add REG_DELIMITED and REG_ESCAPE delimited re support 11314887Schin98-09-15 fix _LARGEFILE64_SOURCE stuff 11324887Schin ast_std.h: provide mmap() prototype 11334887Schin98-08-11 fix sfpopen() to ignore SIGPIPE by ignoresig() for sfio but not stdio 11344887Schin fix procopen() to ignore SIGPIPE by ignoresig() for PROC_IGNORE 11354887Schin sfio sfpopen/popen update 11364887Schin magic.src: fix ustar entry 11374887Schin98-07-17 fix ftwalk() short by one malloc() 11384887Schin add fts_notify() 11394887Schin98-06-25 sfdcmore,sfdcprefix: add 11404887Schin98-06-19 tokscan: add %f %g 11414887Schin98-06-01 disc/sf*.c: memset(0) after disc malloc() 11424887Schin98-05-11 strelapsed: y==Y 11434887Schin fts: pathcanon() top list 11444887Schin98-04-01 error: error_info.time for all msgs, just after cmd id 11454887Schin error: no sfsync(sfstdin) 11464887Schin sfio: sfpool, Sffmt_t update 11474887Schin magic.tab: sgi core dumps -- why aren't these elf? 11484887Schin stropt: (v+n) for unknown option is option value if n!=0 11494887Schin procopen: fix setsid() for spawnveg() only 11504887Schin98-03-19 malloc: add realloc foreign region check 11514887Schin sfdisc.h: rename to match kpv disciplines 11524887Schin fastfind: fix strcasecmp/strcmp directory prefix mixup 11534887Schin98-03-17 features/fcntl.c,pathtmp,sftmp: add O_TEMPORARY 11544887Schin98-03-01 pathcanon: fix PATH_LEADING_SLASHES to stat() both slashes 11554887Schin pathcanon: add PATH_VERIFIED 11564887Schin tmdate: add skip[] to expand separator char set 11574887Schin fastfind: FIND_OLD for old 7 bit db, FIND_TYPE for new 8 bit typed db 11584887Schin fastfind: default generates gnu LOCATE02 8 bit db 11594887Schin magic: handle %s in mime description 11604887Schin cdt: kpv update 11614887Schin sfio: kpv update 11624887Schin stdio: fpos64_t fseek64(), ftell64(), fgetpos64(), fsetpos64() 11634887Schin stdio: fseek() => sfseek(SF_PUBLIC) to avoid locking 11644887Schin fts: initialize parent stat[bp] from top level *after* statf done 11654887Schin astmath: add -lm requirement test 11664887Schin *: Astlong_t => _ast_*_t 11674887Schin regex: simplify regcollate() (from doug) 11684887Schin tmtime: preserve Tm_t*tm when calling tminit() 11694887Schin astconf: add readonly PATH_ATTRIBUTES=[cirw] 11704887Schin98-02-14 fastfind: add FIND_ICASE to ignore case 11714887Schin tmdate,tmgoff: handle (+|-)hh[[:]mm[[:]ss]] absolute timezone 11724887Schin tmdate: `<n> <part>' now assumes `next <n> <part>' instead of `this' 11734887Schin tmfix: fix leap year bug that forgot to add 1900 11744887Schin proc: add PROC_ZOMBIE 11754887Schin98-02-06 strmatch() char class range bug fix 11764887Schin regex char class range bug fix 11774887Schin98-01-23 _WIN32: changed the #if logic again to accomodate _GNUC_ 11784887Schin mnt: grab the mount options too 11794887Schin ast_std.h: hide getopt,getsubopt from stdlib.h 11804887Schin features/limits.c: add gnu guard macros to avoid limits.h recursion 11814887Schin features/mode.c: include "limits.h" instead of "FEATURE/limits.lcl" 11824887Schin98-01-11 sfio.h: use Astlong_t, move Sfio_t Sfdisc_t typedef to top for stdio.h 11834887Schin sfhdr.h: #undef SETLOCAL for hpux 11844887Schin sfvprintf,sfvscanf: %I*x for sizeof(int_arg) 11854887Schin handle ftruncate64 and truncate64 11864887Schin dtopen.c: __hppa dll needs Dtset Dtlist Dttree refs here 11874887Schin97-12-18 fmtnum: add 11884887Schin97-12-11 magic: handle sgi 64 bit core dumps 11894887Schin97-12-07 pathtmp: add override for TMPPATH,TMPDIR and cycling 11904887Schin97-11-11 tm: handle 0 return from gmtime(),localtime() (dos negative time_t) 11914887Schin features/stdio: fix fflush() macro to do physical sync 11924887Schin97-10-31 astconf PATH_RESOLVE is logical if 3d&&!std, metaphysical otherwise 11934887Schin magic: fix #! mime bug 11944887Schin tm: tmtime() now calls tmfix() and adjusts tm_isdst too=>mtime() works 11954887Schin97-10-11 dllfind,dlfcn: move to separate -ldll so -last can link static, duh 11964887Schin Makefile,state.c: move forced header generation state.c => Makefile 11974887Schin sfio: update including SF_WHOLE 11984887Schin97-10-01 sfdostext: add \r\n => \n sfio discipline 11994887Schin stropt: NiL table => p=name for all name=value 12004887Schin97-08-11 pathtmp: check pid to note forks 12014887Schin procopen: FD_CLOEXEC rfd && wfd 12024887Schin fts: fts_close() after fts_children() with no fts_read() now works 12034887Schin97-07-17 error: sfsync(sfstdin,sfstdout,sfstderr) instead of sfsync(NiL) 12044887Schin _sfcvinit: add sfio internal interface to base conversion tables 12054887Schin strton: use _Sfcv* base conversion tables instead of sfsscanf() 12064887Schin sfvscanf: use _Sfcv* base conversion tables 12074887Schin mime: x- permutations now matched if exact fails 12084887Schin mime: original- stripped from content-* headers 12094887Schin tmdate: add yyyy-jjj, yyyy-mm-dd 12104887Schin dllfind: add 12114887Schin ccmapid: fix buf copy loop limit 12124887Schin ccmapname,ccmapcpy: add 12134887Schin sfstrtmp: add 12144887Schin97-05-09 streval: fix up casts for pseudo-ansi cc 12154887Schin features/types: use _ast_int_8 vars to verify support 12164887Schin string/modedata: check for mvs.390 S_IFMT 12174887Schin include/ast(_std).h: add #define __FILE_typedef 12184887Schin magic: add ccode text check 12194887Schin include/ftwalk.h: FTW_PATH=>FTS_NOCHDIR to avoid FTS_AGAIN (duh) 12204887Schin fts: clear status for FTS_AGAIN (fixes rm -r bug) 12214887Schin mnt: add mvs openedition w_getmntent() 12224887Schin sfhdr: _hdr_float && <float.h> for correct MAXDOUBLE 12234887Schin vmalloc/vmbest: if _std_malloc then use malloc()/free() not sbrk() 12244887Schin remove: check _std_remove 12254887Schin procopen: handle pio[{0,1}]=={0,1} 12264887Schin setenviron,features/uinstd: test for mvs.390 dll environ hacks 12274887Schin96-12-25 <sfio_p.h> -> <ast_common.h> 12284887Schin __EXTERN__(type,object) 12294887Schin __DEFINE__(type,object,value) 12304887Schin magic: check strings in !CC_NATIVE code set too 12314887Schin system: cmd==0 means check for shell access (xopen) 12324887Schin sfhdr.h: fix sfrsrv prototype 12334887Schin add __libc_malloc etc for gnu/linux 12344887Schin astconf(NiL,path,name) == astconf(name,path,NiL) + no liberror 12354887Schin fts_open: if toplist() stat fails return 0 12364887Schin ftwalk: handle fts_open()==0 via one phony userf() call 12374887Schin sfmode: S_ISFIFO default is SF_SHARE=0 12384887Schin features/lib: _WIN32 _lib_vfork=1 by default 12394887Schin unsigned<0 comparison and other fixes via sgi.mips4 cc 12404887Schin stk.c: use <align.h> ALIGN_BOUND for stkalloc() 12414887Schin features/lib,vfork: uwin fix 12424887Schin ast_std.h: fix strto[u]ll prototypes with features/types _ast_int_8 12434887Schin getsubopt: add for xopen 4.2 compatibility 12444887Schin drop function __IMPORT__ 12454887Schin magic: more magic 12464887Schin change #define FILE from Sfio_t to struct _sfio_s 12474887Schin state.c: add generated includes that may be hit by std for MAM 12484887Schin bytesex: forgot about sizeof(long)=>7; could we fix the name too? 12494887Schin vmalloc.h: fix vmnewof() definition 12504887Schin sfio.h,stdio.h,ast_common.h: pollution cleanup 12514887Schin magic.c: add | op for switch 12524887Schin Makefile: stdio.h was on both HEADERSRC and HEADERGEN -- don't do that 12534887Schin drop pp:notice to get <sfio.h> ... <ast.h> to work 12544887Schin regex: add [[:<:]]==\< and [[:>:]]==\> for bsd compat 12554887Schin mime.c: ignore X-* headers while scanning for Content-* 12564887Schin magic.c: check for negative indirect offsets 12574887Schin magic.tab: fix dos entry that generated negative indirect offsets 12584887Schin vmalloc.h: add vmstrdup() prototype 12594887Schin hash.h: add hashgetbucket() macro 12604887Schin magic.c: MAGIFILE is now a : file list 12614887Schin mnt.c: another 4.4 bsd fix -- users must include <sys/crap.h> 12624887Schin common: fix _WIN32 chicken&egg with va_copy 12634887Schin sfio: forgot to set f->val along with _Sfi in sfexcept() 12644887Schin Makefile: add mini target for uwin libmini.a 12654887Schin sfcvt.c: workaround for flaky long double optimizers 12664887Schin features/common: fix to work with va_list==void* 12674887Schin regexec.c: fix REG_STARTEND subexpression offsets 12684887Schin strmatch.c: don't forget <wctype.h> 12694887Schin regrexec.c: fix REG_INVERT end boundary bug that missed last record 12704887Schin astconf.c: notify(0,0,"a=b") called for each setenviron("a=b") 12714887Schin pathcanon.c: check astconf(PATH_LEADING_SLASHES) to preserve //* 12724887Schin96-11-28 _LARGEFILE64_SOURCE by default if possible: NOTE: assumes xopen 12734887Schin regerror: fix for xopen 12744887Schin getopt: fix for xopen 12754887Schin magic: add ciao virtual database 12764887Schin astconf: posix/strict/xopen implies "standard" conformance 12774887Schin fs3d.h: hide mount prototype 12784887Schin ast_std.h,mnt.c,features/fs: ncr port tweaks 12794887Schin96-10-31 version 5.0 12804887Schin add strtoll() strtoull() 12814887Schin sfkeyprintf: upgrade to int_max args 12824887Schin ast.h: add ssizeof() to work around unsigned botch 12834887Schin conf.sh: add shell actions to conf.tab 12844887Schin _DLL*: drop for _BLD_<lib> + __EXPORT__ + __IMPORT__ 12854887Schin sfio,cdt,vmalloc: kpv update 12864887Schin96-10-11 <ccode.h>: add character code map support 12874887Schin procclose: return shell style exit status 12884887Schin features/fs: pun statvfs.f_basetype to statvfs.f_reserved7 for mvs 12894887Schin uwin: add subdir for uwin additions 12904887Schin ast_std.h: swab() is from <stdlib.h> 12914887Schin sfio.h: <ast_std.h> if _PACKAGE_ast 12924887Schin magic.tab: add mips[1-4], 64-bit 12934887Schin port tweaks for sol.sun4 and sun4 12944887Schin96-09-06 strerror: add 12954887Schin fmterror: uses strerror 12964887Schin str*search: use sfiso646() order 12974887Schin strpsearch: add 12984887Schin magic: add Magic_t.mime mime type return for magictype() 12994887Schin mime.h: add 13004887Schin strton: use sfsscanf() 13014887Schin strperm: factor in umask() if no who 13024887Schin pathtmp: add TMPPATH check 13034887Schin libevent: add 13044887Schin magic: add discipline to magicopen() 13054887Schin mime: add discipline to mimeopen() 13064887Schin96-08-31 regex: fix BM fail table generator 13074887Schin96-08-11 mntread: fix mnt.type for SCO variant 13084887Schin conf.tab: add SCO KERNEL_* sysconf() vars 13094887Schin fastfind: add findwrite(), fix findread() FF_OFF omission 13104887Schin ftwalk: reimplement on top of fts 13114887Schin fnmatch,re_comp,regexp: reimplement on top of regex 13124887Schin basename,dirname,fmtmsg,fts,ftw,getdate,getsubopt,glob: add 13134887Schin hsearch,nftw,realpath,strftime,strptime,swab,tempnam: add 13144887Schin tsearch,wordexp: add 13154887Schin getcwd: cache last path for easy test 13164887Schin96-07-17 error: sfsync(NiL) ... write ... sfsync(sfstderr) 13174887Schin astconf: handle readonly *(DEV|DIR) vars 13184887Schin96-04-01 swapop: fix stupid return value bug 13194887Schin features/int.c: fix int_swap generation bug 13204887Schin regnexec,regrexec: fix unsigned underflow init error 13214887Schin ls.h: fix iblocks() to be in units of LS_BLOCKSIZE 13224887Schin96-02-29 magic: space before function is definition with no call 13234887Schin hash: drop hash_info from public interface 13244887Schin hash: OBSOLETE hashlast() 13254887Schin hash: add Hash_root_t.Hash_last_t to public interface 13264887Schin add strsearch() and strnsearch() to complement strlook() 13274887Schin add hashkey.h for keyword->long hash 13284887Schin pathpath: pathpath(0,0,"",0) disables $0 $_ $PWD relative search 13294887Schin sfio: sfstrtod+sfhdr update 13304887Schin regex: fix REG_LENIENT to map BRE \[+?|] to ERE [+?|] 13314887Schin change _std_malloc iffe test so it doesn't hang on alpha 13324887Schin sfhdr.h: features/sfio generates _lib_cvt instead of _i386_cvt 13334887Schin ast_hdr.h: add va_copy(a,b) to copy va_list b to a 13344887Schin getopt: fix stupid getopt() -> optget() bug 13354887Schin sfvprintf: %h? now downcasts 13364887Schin regex: handle strto?l() errno in regcomp() 13374887Schin sfstrtod: _Sfstrtod_already_defined -> _STUB_sfstrtod 13384887Schin ast_std.h: hide valloc() and ignore <strings.h> 13394887Schin sfkeyprintf: pass phony va_list for '2' 13404887Schin regex: change HIT var type from int to size_t in special() 13414887Schin ast.h: add EXIT_STATUS(x) to convert wait() status to sh exit status 13424887Schin96-02-14 regex: add _ to \<...\> isalnum test 13434887Schin regex: fix BM inner loop breakout 13444887Schin features/types: size_t is signed on some systems! => _ast_size_t 13454887Schin sfio: sfrd discipline peek optimization 13464887Schin vmalloc: vmalloc.h malloc family macro upgrade 13474887Schin tokopen: fix newline bug for non-restore open 13484887Schin sfio: no inline for gcc until it emits for -g too 13494887Schin96-02-12 sfio: internal upgrade 13504887Schin96-02-09 regex: Boyer-Moore boundary fix 13514887Schin vmalloc: snarf latest 13524887Schin96-02-06 regex: add regrecord() and regrexec() for Boyer-Moore record filtering 13534887Schin regex: rearrange regnexec() args to match buffer,count arg style 13544887Schin96-01-31 stk: add STK_NULL to stk.h and stk.c 13554887Schin regex: privatize regex.h and fix min re length computation 13564887Schin workaround lazy strdup() implementations in features/lib _std_malloc 13574887Schin fix stkclose() to free(stream) -- purify missed because of sfio links 13584887Schin unused var cleanup 13594887Schin port/mnt.c must include <ls.h> to get <ast_fs.h> 13604887Schin add SF_FINAL to sfio and stk 13614887Schin sfio reads now on natural block boundaries 13624887Schin add #!!! <level> <message> !!! to tokline() 13634887Schin add REX_BM pre-filter to regcomp/regnexec 13644887Schin96-01-22 add regcomp env.paren overflow checks 13654887Schin96-01-11 add Doug McIlroy's regex (converted to C from C++ by gsf) 13664887Schin AT&T Research now 13674887Schin sfgetr optimization 13684887Schin regex buglets 13694887Schin96-01-05 tweak magic.tab for win32 13704887Schin95-12-25 add !(...) -> (...)! to fmtre() 13714887Schin nt tweaks -- functions with no header proto must be defined extern 13724887Schin95-11-24 version 4.1 13734887Schin add mnt.h mntopen mntread mntclose 13744887Schin convert fmtfs to mnt.h 13754887Schin add RE_LEFTANCHOR and RE_RIGHTANCHOR 13764887Schin gcc inlines must also have global library function instantiation! 13774887Schin add hashview() 13784887Schin fix strtape() internal buffer flow 13794887Schin fix mntread() fs/dir transposition for uts mnttab 13804887Schin95-10-31 change features/unistd.c includes to break limits-param cycle 13814887Schin add cdt from kpv 13824887Schin sfio snarf from kpv 13834887Schin add [ht]search for _WIN32 13844887Schin95-10-11 clarify PARANOID pathcheck() warning 13854887Schin fix procopen() LIB_SPAWN environ bug with setenviron() cache 13864887Schin fix setenviron() bug that forgot to reset environ if == 0 13874887Schin add %Z '\0' output format to sfkeyprintf() 13884887Schin sfio snarf for sfvprintf fix 13894887Schin allow multiple hashscan() with scope caveat 13904887Schin add comp/fakelink.h to synthesize a few symlink text patterns 13914887Schin add !<xxx> magic to misc/magic.tab 13924887Schin add FTW_TOP to inhibit recursion (for ftw side effects on top level) 13934887Schin add memfatal() common malloc fatal exception message 13944887Schin add dos \r\n test to misc/magic.c/cklang() 13954887Schin sftmp() O_EXCL+random to avoid collisions 13964887Schin pathtemp() uses sftmp() randomizing 13974887Schin features/fs uses SF_APPENDWR 13984887Schin sftmp() uses pathtemp() -- don't worry, its not circular 13994887Schin a few more _WIN32 compatibility additions 14004887Schin realloc fixed to use VM_RSCOPY|VM_RSMOVE instead of obsolete 1 14014887Schin add hashlook(tab, oldname, HASH_RENAME, newname) 14024887Schin a few more tweaks to satisfy port warnings 14034887Schin add _SFIO_INLINE_PRIVATE to provide real function too 14044887Schin fix <dirent.h> installation test 14054887Schin oops object / shared library compat with _sfgetl2 _sfgetu2 14064887Schin95-09-11 add getopt() compatibility 14074887Schin add fstat,lstat,mknod,stat fixes for _x versions in sys/stat.h 14084887Schin add getconf CONFORMANCE - posix for things that aren't ast default 14094887Schin sfio_t.h: #ifndef _SFIO_H #include "sfio.h" #endif 14104887Schin snarf vmalloc from kpv 14114887Schin95-08-11 fix malloc bug in magic 14124887Schin update linux and bsd 386 magic entries 14134887Schin error_info.auxilliary returns new level, |=ERROR_OUTPUT if msg done 14144887Schin drop fnmatch from strmatch for sparc (solaris) until it collates 14154887Schin95-07-17 fix port/astconf universe initialization 14164887Schin fix misc/optget opt_info.nopt initialization 14174887Schin drop tmset() TZ=... because it only worked when TZ=... was ignored 14184887Schin95-05-09 mongo <ast.h> namespace cleanup 14194887Schin drop > 2 year old obsolete interfaces 14204887Schin sfvprintf.c fix for (char:8 short:16 int:32 long:64) architectures 14214887Schin TMP_MAX back into conf.tab 14224887Schin pathbin() and pathshell() now use astconf() 14234887Schin fix pathtemp() to not cache getenv("TMPDIR") 14244887Schin fix ftwalk() metaphysical to handle non-dirs too 14254887Schin initialize *_info = { 0 }; for ancient ld semantics (NeXT) 14264887Schin fix magic() to do vmfree() 14274887Schin astconf(X_OK) must prefix lines with "getconf" 14284887Schin use <wchar.h> and wctype in strmatch() if available 14294887Schin _lib_utime_now checks utime(path,0) 14304887Schin _lib_poll_notimer checks poll(x,0,timeout) 14314887Schin add another _lib_utime_now check to port/touch.c 14324887Schin fix dd_buf cast in dir/opendir.c 14334887Schin split getconf.h into conftab.h and conftab.c for :READONLY: 14344887Schin use mbtowc() only if MB_LEN_MAX>1 14354887Schin sfio char* -> Void_t* cleanup 14364887Schin handle old syntax in misc/magic.c 14374887Schin sigdata.c holds readonly signal strings 14384887Schin pathcheck() does AT&T checks for tools matching PARANOID - yuk 14394887Schin unused var cleanup 14404887Schin deprecate hash_info in favor of hashlast() 14414887Schin fix bad conf.sh ksh integer interactions 14424887Schin dll cleanup 14434887Schin magic.c falls back to malloc for now 14444887Schin add environ to <ast.h> -- C library global data syms are *RESERVED* 14454887Schin sfhdr.h memccpy(1,2,3,size_t) prototype 14464887Schin95-04-01 version 4.0 14474887Schin convert to vmalloc 14484887Schin allow sigcritical() nesting mismatch to work around vfork() bug 14494887Schin add strexpr() primitive for streval() with user handle (like ftwalk) 14504887Schin add <magic.h> and magic.c file command magic interface 14514887Schin update magic mail message entry 14524887Schin fix keyprintf() invisible char count nesting bug 14534887Schin add sfstrnew(SF_READ|SF_WRITE) for alternate sfstropen() modes 14544887Schin sfstrnew(SF_READ) but reading requires sfseek(), sfreserve() 14554887Schin add conf.tab and conf.sh to nail C/POSIX limits/unistd macros 14564887Schin add getconf() string interface to *conf* 14574887Schin _DLL_INTERMEDIATE_DATA for systems that require indirect globals 14584887Schin _DLL for building shared libraries with _DLL_INTERMEDIATE_DATA 14594887Schin vecfile() restricted to S_ISREG() 14604887Schin add spawnveg() for job control 14614887Schin convert procopen() PROC_PGRP(id) to spawnveg() 14624887Schin fmterror() returns error text given errno (strerror() does same) 14634887Schin fmtsignal() returns signal text given errno (strsignal() does same) 14644887Schin {sig_name,sig_text,SIG_MAX} -> sig_info.{name,text,sigmax} 14654887Schin liberror("",...) omits [%s library] prefix 14664887Schin update features/signal.c table 14674887Schin add vmdisc() and change vmnewof() to use vmresize() 14684887Schin fix conf.sh to allow refs to previously defined limits 14694887Schin fix undefined entries in getconf() 14704887Schin magic data in magic.tab 14714887Schin fix stropt() pointer cast 14724887Schin vmalloc() exception handler replaces nomalloc() 14734887Schin merge sigdata.c into fmtsignal.c -- sun link needs function w/ data! 14744887Schin sftmp() bug fix 14754887Schin drop local <unistd.h> even with _POSIX_SOURCE 14764887Schin fix vmstrdup() macro arg miscount 14774887Schin fix conf.sh to handle enum'd symbolic constants in unistd.h 14784887Schin drop malloc() et.al. prototypes from vmalloc.h 14794887Schin fix sfvprintf() %d argument reference 14804887Schin add OSF/1 AES symbol(s) to conf.tab 14814887Schin determine standards prefix from conf.tab 14824887Schin add _CS_SHELL to conf.tab 14834887Schin getpath() default is confstr(_CS_PATH) 14844887Schin getshell() default is confstr(_CS_SHELL) 14854887Schin unify keyprintf user function args (should have learned by now!) 14864887Schin add quad type to magic 14874887Schin add astfeature() to unify universe style dynamic features 14884887Schin add ftwflags() to determine FTW_* flags from astfeature() 14894887Schin95-03-11 fix stropt() to not modify its *const* arg 14904887Schin handle "'\ quotes and chresc() in stropt() values 14914887Schin , treated like :space: between stropt() options 14924887Schin fix procopen() fd dup to ignore self-dups 14934887Schin add library id[] to misc/state.c 14944887Schin add ftwalk(FTW_METAPHYSICAL) for posix -H 14954887Schin sfvprintf() now handles balanced () in %() 14964887Schin add tmfmt() with buffer size check to replace tmform() 14974887Schin add fmttime() calling tmfmt() to fit fmt*() mold 14984887Schin add <keyprintf.h> and keyprintf() to support %(...)? in commands 14994887Schin add Hash_table_t for size==0 in stropt() 15004887Schin add EXTTYPE extended header to tar.h 15014887Schin95-02-14 sfmove() buffer size overflow fix 15024887Schin add _SFSTDIO_H to sfio.h 15034887Schin rename setenv() to setenviron() -- posix finally decided 15044887Schin rename <option.h> opt_* to opt_info.* 15054887Schin update features/unistd.c for _SC_* and _PC_* posix additions 15064887Schin95-01-19 (char*)uchar cast in fmtesc() 15074887Schin fix hash bucket memory leak in hashlook() [via John Mocenigo] 15084887Schin update strings/strtape() 15094887Schin fix optget()/optjoin() to handle leading + 15104887Schin add ALIGN_ prefix to <align.h> identifiers 15114887Schin95-01-11 change tm/*.c tmset(0) to tmset(tm_info.zone) to keep user setting 15124887Schin fix tmform() %Z null pointer dereference 15134887Schin95-01-01 add this RELEASE file 15144887Schin fix strperm() to properly handle "644 file" 15154887Schin fix tokline() to return last '\0' terminated line in string 15164887Schin fix tokscan() to properly handle \\n splice 15174887Schin add fmtesc() to complement stresc() 15184887Schin add LS_NUMBER to fmtls() 15194887Schin drop spurious optusage() ' ' 1520