ast-base package
This package is a superset of the following package: ast-ksh; you won't need this if you download ast-base. The software is covered by this license: Individual components may be covered by separate licenses; refer to the component source and/or binaries for more information.A recent release change log is also included.
3d3d works in conjunction with ksh88 or ksh93. The 3d command with no arguments enters a 3d shell. The vpath builtin controls the logical filesystem view: vpath dir_1 dir_2mounts the directory hierarchy dir_1 on top of dir_2. Files under dir_1 overlay files under dir_2. Files under dir_2 are readonly; any files under dir_2 that are modified are first copied to the corresponding place in dir_1. vpaths may be chained: vpath dir_2 dir_3vpaths are per-process; every process may have a different view. vpaths are a handy way to separate source and generated files. Typical advsoft users set up 3d at login or xterm time: export HOSTTYPE=$(package) vpath $HOME/arch/$HOSTTYPE $HOMEwith source files in $HOME/src/(cmd|lib)/*. nmake is run in $HOME/arch/$HOSTTYPE/src/(cmd|lib)/* and generated files (objects and executables) are dropped in the top hierarchy. 2d can prefix any command to disable 3d for that command: 2d ls *.c 3d also provides tracing, monitoring and call intercept services. vpm uses monitoring to graph the process and io hierarchy. The cs name server uses pathname call intercepts to translate network pathnames. Try this for any host: cat /dev/tcp/hostname/inet.daytime
coshellcoshell is easy to use and administer. The only privilege required for installation, administration or use is rsh access to the local hosts. coshell does requires a uniform file namespace across all hosts on the local network. nmake and gmake users can take advantage of network execution with no makefile modifications. Shell level access is similar to but more efficient than rsh and allows host expression matching to replace the explicit host name argument. Factor of 5 compilation speedups are typical. To start your local daemon: coshell +To send nmake or gmake actions to coshell at concurrency level 8: export COSHELL=coshell export NPROC=8To run shell commands on a lightly loaded host: coshell -r - 'hostname; sort a > b' & pid=$! # other stuff wait $pidFor interactive coshell status: coshell - coshell> s ... status ... coshell> h ... help ... coshell> qpackage generates static host information and ss lists the dynamic status of hosts on the local network.
ksh93The code should conform to the IEEE POSIX 1003.1 standard and to the proposed ANSI-C standard so that it should be portable to all such systems. Like the previous version, KSH-88, it is designed to accept eight bit character sets transparently, thereby making it internationally compatible. It can support multi-byte characters sets with some characteristics of the character set given at run time. KSH-93 provides the following features, many of which were also inherent in KSH-88:
msgcc
nmake
Most makefiles are just a few lines: :PACKAGE: X11 xgame :: README xgame.6 xgame.h xgame.c xutil.c -lXaw -lXmu -lXtAutomatically generated probe information provides convenient compiler abstractions: CCFLAGS = $(CC.PIC) ast 4.0 :LIBRARY: ast.c strmatch.cIn this case if the compiler supports pic (position independent code) and shared libraries then nmake install will generate libast.a and libast.so.4.0 (or the appropriate shared library suffix determined by CC.SUFFIX.SHARED). There are no nmake makefile generators (because the makefiles are so small), there is no separate make depend (because the files with .SCAN attributes are automatically scanned for implicit prerequisites), and there is no cheating (because all time stamp changes are detected, not just newer-than).
paxTo create a vdelta compressed base archive: tw | pax -w -f base -z -To create a delta archive on the base above (record file changes only): tw | pax -w -f delta -z baseTo read the delta archive: pax -r -f delta -z baseTo create a delta archive from linux-1.2.0 to linux-1.2.5: pax -rf linux-1.2.5.tar.gz -wf 0-5.pax.gz -x gzip -z linux-1.2.0.tar.gzTo create the linux-1.2.5 archive: pax -rf 0-5.pax.gz -z linux-1.2.0.tar.gz -wf linux-1.2.5.tar.gz -x tar -x gzipThe bax script, shipped with pax, combines tw and pax for handy backup control.
proto#pragma prototypedin the first 64 lines are processed; other files are silently ignored. This is how advsoft source is first shipped to foreign architectures. Once advsoft is bootstrapped the non-proto source can be built using the advsoft tools. proto also converts in the other direction by providing extern prototypes for a collection of K&R source files and by converting K&R source files in place. K&R to ANSI is not 100%, but is a good starting point for manual conversion. proto is token based (no C grammar); this allows it to convert before C preprocessing, and also allows proto to be inserted into the standalone cpp. This is how nmake compiles ANSI C source with K&R compilers.
release change log
All recorded changes follow.
ksh93 changes01-10-16 --- Release ksh93m- --- 01-10-16 typeset without arguments no longer outputs variable names that do not have any attributes that are set. 01-10-16 A bug introduced in ksh93l in which assignments specified with the exec built-in were not being expanded properly has been fixed. 01-10-11 An optimization bug in which ${!x) was treated as invariant in a for loop has been fixed. 01-10-11 Unsigned integer variables in bases other than 10 are printed now exxpand in that base with the base prefix. 01-10-10 A number of typos in the self generating man pages for shell built-ins have been fixed. 01-10-04 The self generated man pages for hist and fc were not working correctly and have been fixed. 01-10-03 Yet another optimizer bug in which shell patterns were treated as invariants has been fixed. 01-09-27 Two bugs relating to multibyte history searches and to find have been fixed. 01-09-27 A bug introduced in ksh93k in which the PATH searching was not restored after running a command with an assignment list has been fixed. 01-09-26 A bug in which a zero filled field was treated as octal when converted to integer has been fixed. 01-09-26 Yet another bug in the optimization of for loops related to recursive functions with break or continue statements has been fixed. 01-09-25 The exponentiation operator ** was added to the shell arithmetic evaluation. It has higher precedence than * and is left associative. 01-09-25 The code was modified to use the ast multibyte macros and functions for handing multibyte locales. 01-09-25 The expansion ${parameter:offset:length} now hanles negative offsets which cause offsets to be measured from the end. 01-09-25 Some spelling errors in the documentation were corrected. 01-09-24 The /dev/tcp/host/port and /dev/udp/host/port now allow the ports to be specified by service name. 01-09-24 The change staring with ksh93g in which the the appropriate library path variable is prepended with a corresponding library directory has been modified. With the new method, only the library path defined in the file named .paths in the directory where the executable is found will be modified. See the man page for more details. 01-09-23 The .fpath file (see ksh93h) is no longer looked for in each directory on the path to locate function directories. The file named .paths is used instead. 01-09-23 A bug in which IFS was not being restored after being changed in a subshell has been fixed. 01-09-16 With the vi and emacs edit modes, after a list of command or functions is generated with = or M-= respectively, any element from the list can be pasted on the command line by preceding the = or M-= with a numeric parameter specifying the position on the list. 01-09-16 A bug in ksh93l caused command completion not to find aliases and functions. Command listing from the edit mode was presented in reverse order. This has been fixed. 01-09-13 Another bug in the optimization of for loops related to subshells when traps were set has been fixed. 01-09-07 A change in ksh93l caused brace expansion to stop working and this has been fixed. 01-09-04 A bug introduced in ksh93k in which an arithmetic statement within a function that used name references did not follow the reference has been fixed. 01-09-04 A bug introduced in ksh93l in which export -p did not prefix each export with the word export has been fixed. 01-08-29 A bug in multibyte input which occurered when a partial multibyte character was received has been fixed. 01-08-29 A bug introduced in ksh93l which could cause a core dump when an assignment list containing PATH is specified inside command substitution has been fixed. 01-08-09 Another bug in the optimization of for loops in ksh93l caused errors in recursive functions using local variables that contained for loops has been fixed. 01-07-27 A bug in which IFS would be unset after a command substituion inside a here document has been fixed. 01-07-26 To conform to the POSIX standard, if you invoked ksh name, and name does not contain a /, it will first try to run one in the current directory whether it is executable or not before doing a path search for an executable script. Earlier versions first checked for an executable script using the PATH variable. 01-07-23 A bug in which unset -f invoked in a subshell could unset a function defined in the parent has been fixed. 01-07-16 A bug in the optimization of for loops in ksh93l caused name references to be treated as invariantes has been fixed. 01-07-09 A bug in which a discipline function applied to a local variable could cause a shell exception has been fixed. Discipline functions can only be specified for global variables. 01-06-18 --- Release ksh93l --- 01-06-18 A bug in assigning integers larger than can be represented as long integers to floating point variables has been fixed. 01-06-18 A bug in the handling of unsigned integers (typeset -ui) has been fixed. 01-06-04 The evaluation of the PS1 prompt no longer effects the value of the $? variable. 01-06-01 A small memory leak from subshells has been fixed. 01-05-22 A bug in which attributes for variables that did not have values would be lost after a subshell has been fixed. 01-05-22 The %R format has been added to convert a shell pattern into an extended regular expression. 01-05-22 The escape sequences \,
pax changes01-10-20 pax: describe the 4 operation modes in separate paragraphs 01-10-18 pax: fix --meter for paths containing <\>n\>\r\v 01-09-06 pax: add ms tnef (transport neutral encapsulation format) archive read 01-08-11 pax: fix tar_checksum() w.r.t. CC_NATIVE!=CC_ASCII 01-06-28 pax: fix --from --to bio logic that sometimes double converted 01-04-24 pax: --from & --to now associated with archive instead of global state 01-04-17 pax: --from conversion only done if no control chars in first 256 01-04-01 pax: fix --intermediate to create missing dirs first 01-02-27 pax: add lchmod() and lchown() for symlink() restoration 01-02-08 pax.tst: add -L and -P to symlink edit test 01-02-07 format.c: fix malloc off-by-one for vdb format read 01-02-02 file.c: fix duplicate -s map in addlink() 00-12-20 bio.c: include <sys/ioctl.h> for systems that miss _IOW() etc. 00-10-31 format.c: handle rpm 4.0 and newer 00-09-20 copy.c: always allocate state.tmp.lst! 00-08-31 change paths in delta archive: -rf i -z - -s e -wf o -z - [almost] 00-08-11 copy.c: drop memalign() call for _std_malloc==1 in libast copy.c: save filter path from sfgetr() reset 00-06-01 pax: fix mime format size by dropping last \r 00-05-26 pax: astconf("CONFORMANCE",0,0)=="standard" inhibits some extensions pax: check USTAR file and link name lengths 00-04-01 pax.tst: export TZ=EST5EDT; new tests should be UCT 00-03-11 pax: add encapsulated mime format read pax: fix vdb block count 00-02-14 pax: fix hard link read that didn't apply -s edit pax: logical|physical filter options 00-01-04 pax: fix rpm embedded archive hard seek pax: --filter implies --nodescend pax: add --meter pax: handle ms PORTAR '' => '/' path separator 99-11-19 pax: try `ratz -c' if `gunzip' not found 99-11-11 add --checksum, --install, --local, --preserve=s 99-11-04 fix zip for archives with EXTLOC headers don't generate //* file names 99-10-31 pax: add tgz == tar:gzip, --filter=- 99-08-11 bio: fix end of medium handling 99-06-01 restore -T == --test 99-05-28 pax: add rpm read 99-05-21 pax: fix -rw umask(0) bug 99-05-17 pax: fix chmod() delay for ug+s,+t 99-05-11 nocom: long options 99-05-09 pax: sfopen(sfstdin,0,"rt") for input file list 99-05-01 pax: state.xdev => FTW_MOUNT!! 99-04-01 pax: fix Integral_t for sizeof(long)==8 pax: fix ]] in optget usage 99-03-17 pax: better st_mode preservation 99-03-01 pax: fix dirprefix() prune to work in all cases pax: add savepath() to handle >PATH_MAX paths 99-02-06 pax: update to new optget() 99-01-11 pax: add bzip2 compression support 98-10-01 pax: fix -rw hard link bug pax: fix -o preserve=* option.level inconsistencies 98-08-11 cpio.sh: fix with getopts pax: increase -rw default buffer size pax: use REG_DELIMITED to parse -s 98-04-01 fix tar delta bug that set st_size=0 before consuming delta head/tail pax -<flag> '?' lists help info for flag fix -rw bugs introduced by recent delta fixes testpax: add regression tests fileout: add EIO memalign fallback to track sgi bug 98-03-19 fix tar delta epilogue check fix delta pass checks fix off_t vs. file size mismatches 98-03-17 umask(0) only if -o preserve=* in effect add File_t.ro to mark readonly files/paths 98-02-14 add -o intermediate to copy output to intermediate before commit 98-01-23 use %I#d scanf format to get off_t right 98-01-11 -K == -o keepgoing -x format on read accepts that format only (useful with -o keepgoing) 97-12-07 add 4 NULs to work around gunzip bug that peeks beyond EOF 97-11-11 use PROC_FD_PARENT to let procopen() close parent fd 97-10-31 cab list works; anyone have LZX or QUANTUM decompress code? 97-09-22 fix vdb format write 97-08-11 fix omitted missdir() call 97-07-17 -r attempts chmod u+w along with missdir and remove -rl preserves existing links if possible beginnings of cab file read 97-05-09 fix putepilogue() with off_t boundary 96-12-25 zip archive header magic fix use MTIOCGETBLKINFO to determine default tape blocksize -o eom=!command uses $(command read|write part [file]) for next file -s ',.*,-,' cats to stdout -x pax support for >2GB file size 96-11-28 off64_t tweaks drop -r -w -x order dependency undo ccmaps() in bunread() add explicit O_RDONLY checks (!= 0 on some systems) 96-10-11 change to <ccode.h> from mem[ae]to[ae]() 96-08-11 add -o to={ascii|ebcdic} -o from={ascii|ebcdic} from mvs 96-02-29 enable -rw setfile() -- why was it disabled in the first place? fix stdin file list peek bug that dropped leading files 96-02-09 handle zip archives on input 96-01-18 AT&T Research now switch to <regex.h> 95-11-24 don't check for compressed format if already uncompressing 95-11-18 ignore empty file list lines 95-10-31 fix and compensate for cpio header hard link size bug 95-10-11 drop "blocking ignored in pass mode" message aschk symlink data need not have trailing ' ' 95-09-01 fix nocom handling 95-08-11 builtin nocom for -o filter=nocomment more delta tracing vd02 delta algorithm 95-07-17 fix -w output to stdout initialization bug fix stdin file list peek bug that dropped trailing files 95-05-09 don't check member count unless its really a trailer sfkeyprintf lookup string arg is now the format conversion character initialize output archive for -rw to stdout archive misc.c had putc() and fgets()! unused var cleanup add return to listprintf() fix delta pass missing dir fd bug fix dirprefix for / add bax.sh as an *example* 95-04-01 with proto va_start() must come before any arg references fix delta bug that failed to mark emitted or skipped members allow -z for patch deltas be sure to set ap->format before binit() fix ordering bug that botched most deltas! use file.name (after -s maps) rather than file.path in delta hash fix bget() bug that skipped checksum 95-03-19 first round with POSIX 1003.2 1995 handle file holes on input delta header contains member index and trailer size delta trailer contains member checksum delta epilogue contains member count 95-03-01 internal redesign using Archive_t handles instead of global state -o ordered (-O) allows single pass through base 95-02-14 make -u work with VPATH -x composes gzip,compress,delta,delta88,ignore,patch with real formats -x gzip:tar, -x gzip,tar, -x 'gzip tar' accepted -x delta is equivalent to -z - -o delta deleted fix OPT_owner null dereference fix archive pass bug that didn't update DELTA_create members 95-01-19 detect compress and gzip on input add -f -z grouping with -r -w to support -r -f -z -w -f -z fix a few compress/delta ineraction bugs add -t s[#]k[#] to skip all [#] and/or keep all [#] tape volumes use new <align.h> ALIGN_ identifiers 95-01-11 add s option to -s to stop on success add delta 94 (vdelta) add long option names deprecate most flag options DELTA_TEMP <64K avoids temp file add -o delta=patch for patch archives 94-12-25 add lib/pax/*.fmt args files for unknown formats fix mknod() calls to use the right file type! 94-11-11 fix ar out of phase warning 94-08-11 add -Rh'header' and -Rt'trailer' for vdb write -e now works for -rw 93-08-11 add vdb `virtual database' r/w format 93-06-11 fix bug that didn't output non-regular files -w now uses FTW_POST to preserve dir modes 93-04-01 handle PORTAR long member name table 92-04-01 copy all 0 length files out regardless of read permission 91-08-11 add check for garbage after end tar implementation bug 90-10-01 add mips ar format out of date check 90-08-11 header/trailer alignment now table driven 90-07-20 fix binary output bug that set header size and time to 1 90-06-01 fix misc delta compression bugs 90-05-01 fix DELTA_create bug that did not check COMPRESS 90-03-28 bump regular output block size to 8k 90-02-11 delta changes held off by #if new_delta_format until new libdelta base archive checksums incompatible with previous versions 90-02-06 fix newio() bug that looped when write() returned 0 90-01-25 add proposed posix 1003.1b archive/interchange format tune buffering change -R option for general record support generalize delta id file name -- incompatible with old format prepare for new libdelta and subsequent incompatibilities 89-12-01 add self-delta support, delete -A option (one algorithm with versions) 89-11-18 fix dir mode restoration bug 89-11-11 fix delta update with older file 89-10-31 add portarch and randarch readonly object formats 89-10-11 allow -f with -rwz 89-10-01 add -Bmaxblocks and -C to match latest tar/cpio extensions 89-08-22 align read() buffers to IOALIGN 89-07-27 add EFBIG & EDQUOT checks to newio() 89-07-04 fix cpio binary header mtime and size swab bug fix -rw bug that makes it work now! redo file post processing restoration 89-05-11 handle GNU-tar USTAR format botch missing intermediate directories inherit mode of nearest ancestor fix names on stdin bug that only did -P incorporate lar changes from David Muir expand -R arg syntax handle ansi/ibm D,F,S,U,V formats on output 89-03-28 fix bget() buffer boundary error for reads < buffersize 89-03-01 ignore DELTA_PASS file set*() calls 89-02-22 fix bread bug for 0 count and bget memcpy overlap 89-01-18 fix copyout() rfd<0 delta bug that generated multiple entries 89-01-11 fix dirsize!=0 bug; change ftwalk XDEV implementation 88-12-11 fix symlink->nowhere bug 88-11-22 add vmsbackup readonly format; fix lseek validity checks 88-11-17 add -T040 to simulate tape device blocking on input 88-11-11 add s5r4 asc and aschk formats 88-11-07 hard links and deltas don't cross volumes 88-11-01 add -n to read exact file list 88-10-20 add bread(0,...) to skip, bget() and bput() io optimizations 88-10-11 fix delta ops to use pattern args 88-10-04 fix argc bug that botched -rw with file args 88-10-01 for delta update, verify that untouched files match base archive 88-09-30 fix allocate() bug: malloc() -> calloc() 88-08-23 use libx/memsum() for checksum calculations 88-08-20 add `![command]' to end of medium replies 88-08-18 table of contents output to stdout 88-08-08 update for libx/ftwalk() and libx/strls() 88-07-28 streamline ftwalk() interface 88-07-21 finish up -a and -u tar compatibility 88-07-17 add cpio.sh and tar.sh interface scripts 88-07-15 convert to pax
html changes01-10-20 htmlrefs: fix <!--INTERNAL--> filter delete detection, GLOB_AUGMENTED 01-05-09 mm2html: ignore a few more requests 01-05-04 mm2html: more tbl adjustments from Bruce Lilly 01-05-02 mm2html: tweak tbl column spacing, handle .TH [N] 01-05-01 mm2html: tbl fixes 01-04-27 mm2html: fix .SH,.SH indentation; ignore { .nh .hc .hy } 01-03-22 mm2html,troff2html: ignore { .hw .lw } 01-03-01 troff2html: fix bug that treated 0093;? as #0093;? 01-02-28 troff2html: add and fix macros for y2k -- oops 01-01-31 htmlrefs: fix nul char bug in <!--INTERNAL--> filter 01-01-01 mm2html: fix incorrect \h'... #local refs mm2html: append <!--LABELS-->...<!--/LABELS--> for second pass mm2html: add .xx [no]index to inhibit or restart index labels mm2html: add .xx noFOO, .xx [no]index mm2html: .xx begin|end before <BODY> gets copied to <HEAD> mm2html: identification trailer aligned right htmlrefs: <!--INTERNAL--> in index.html <HEAD> skips file/dir 00-12-14 mm2html: fix tbl colspan 00-12-12 mm2html: ignore bgcolor for table with no box 00-12-07 download: .tar.gz => .tgz htmlrefs: add --delete 00-12-05 mm2html: add .PM mm2html: <id@id.id...> => mailto: 00-11-27 mm2html: --frame is now 1 level instead of 2; no *-body and *-head mm2html: add .IS ... .IE indentation mm2html: .LR foo (1) generates man link htmlrefs: add https support 00-10-31 htmlrefs: remove if internal filter leaves <= 1 line 00-05-25 mm2html: add viewgraph outline and navigation 00-05-11 mm2html: add .vG viewgraph macros 00-03-04 htmlrefs: add <LINK rel=dynamic> 00-02-14 htmlrefs: add .htaccess and <LINK> checks mm2html: add .xx ref=... mm2html: use "..." tag attribute quote instead of '...' mm2html: .BL => <UL> square circle disc 00-02-03 mm2html: fix -o nohtml.ident 00-01-20 mm2html: fix -o quoted arg parse htmlrefs: add --perlwarn for embedded perl constructs 99-08-11 mm2html,troff2html: add .xx begin=x end=x mm2html: handle simple .TS ... .TE; room for improvement mm2html: fix <TABLE><TR>...</TR></TABLE> nesting mm2html: add SEE ALSO hot links mm2html: hot link man name not (section) 99-05-17 download,html2db,mm2html: long options 99-05-13 html2rtf: long options 99-04-01 fix .xx link long options, macro search bug fix 99-01-01 html2rtf: fix </LI> with no <LI> core dump 98-04-01 add company corporation location meta.* organization 97-05-09 info tollbar=path for junk before </BODY> 97-05-01 \h'0...' for hyperlinks 97-04-01 first release
proto changes01-10-31 sear.sh: add sear.ico 01-10-16 sear.sh: _SEA_* => _SEAR_* 01-10-05 sear.sh: rename from sea.sh 01-09-11 sea.sh: add 01-06-26 proto.tst: add another buffer boundary test (large of course) 01-04-01 proto: preserve file mode for -r 01-02-06 proto.tst: add (finally) 99-11-19 add --license, --shell, --copy, --verbose 99-08-11 long options
bzip changes01-01-01 bzip2.c: include bzlib.h first 99-01-01 package for ast
tests changes01-10-31 opt.tst: add --?+SECTION tests 01-10-30 date*.dat: fix cron tests where both mday and wday are specified 01-10-18 strtof.tst: adjust for sfprintf()/printf() rounding 01-10-18 sfio/twchar.c: add wchar_t tests 01-10-11 opt.tst: add example and literal tests, . nroff tests 01-10-10 opt.tst: sync with optget() i18n fixes 01-08-11 test.sf*: need $(LDFLAGS) for -L* library link paths! 01-03-26 test.strtoi,test.strtof: add 01-02-14 sfio: add tmpread 01-01-31 sfio: uniform test exit codes 01-01-01 opt.tst: add enumerated option argument values 00-12-11 date.dat: add a few more crontab(1) forms 00-10-31 date.dat: add date(1) and touch(1) forms sfio: kpv updates to handle mac os X 00-10-17 sfio/thole.c: move large buffer from stack to global 00-10-03 testy2k.dat: `Feb 29 01:02' => `Feb 29 2000' 00-04-01 Makefile: add ../../lib/libast to .SOURCE for features/sfio 00-03-07 opt.tst: add printf +1 bug fix test 00-02-14 opt.tst: fix for "..." attribute quote datey2k.dat: oops: %l fails for old (2000-02-29) NOW 00-01-10 opt.tst: fix USAGE_LICENSE 99-10-22 date: test all % formats 99-08-11 sfio: fix 3 tests for uwin sfio: tscanf for netbsd 99-03-25 :TEST: don't forget about foo.c for foo.tst sfio/testsfio: fix option parse for `-x *,*' and cc.* and *.cc 99-01-23 moved library tests from std to here added optget() tests
3d changes01-10-31 fchdir3d: add along with state.file[].dir to cache open dir paths dir3d.c: add recursive call intercepts error.c: add recursive call intercepts pathreal.c: add buffer size check features/syscall.sh: add bsd syscall __RENAME() checks syscall3d.c: check _lib_syscall before using it! 01-10-30 features/syscall.sh,syscall3d.c: handle -ldl calls back into 3d 01-09-20 3d.sh: drop extra } in USAGE that emitted -} for --? 01-07-17 Makefile: don't link 3d dll against ast dll 01-02-19 close3d: dup reserved fd's higher 01-02-14 add :VARIANT: to build dll's for CC.DLL.VARIANTS 01-01-01 dir_3d.h: real readdir must be struct dirent, not dirent64 00-12-14 3d.sh: fix -c 00-10-31 ast.c add pathtemp.c 00-10-19 init.c: initialize _3d_2d 00-07-17 fix fchown to call MSG_fchown (not MSG_fchown); fixes vim dump! 00-02-14 3d command long options (finally) 99-01-01 --- release 4.0 --- 99-04-01 dll: sfsprintf => _3d_sfsprintf check for __*_nc (osf.alpha) 99-02-14 pathreal: copy to state.path.name if not already there rewinddir3d: just call seekdir(p,0); fixes `top' core dump 99-01-11 lseek3d,syscall3d: add sysfunc() for off_t!=long 99-01-01 --- release 3.0 --- 98-02-14 3d.sh: fix _RLD32_LIST => _RLDN32_LIST typo pathreal: fix (P_LSTAT|P_READLINK) under pwd bug that did phys on . features/syscall.sh: tighten up version __call header grep unlink: trap remove() too features/syscall.sh: favor strong (_ prefix) name for some arch's 98-02-06 syscall3d: handle longjmp with cp->active 98-01-23 features/syscall.sh: check for _xstat vs __xstat 98-01-01 add readdir64 rewinddir64 seekdir64 telldir64 97-10-11 fix lefty's virtual dir touch bug -- recursive doubling on stbuf 97-07-17 CS_INTERFACE=2 97-04-01 features/syscall.sh: fix __exit() test for new sgi 96-12-25 handle stat64() implementations on top of _xstat() 3d.tst must be run under 3d! _SCO_STAT_VER tweaks sgi _RLD_NEXT_PATHNAME fix for -32 -n32 -64 differentiation _*xstat() hacks around proto in *stat3d.c add constant casts for long shift counts fix pathnext() to report version instance level in state.path.level 96-11-28 fix rename() to do physical stat on subject path! 96-02-29 handle syscall loops caused by botched libs like solaris libsocket.so generalize name service interface to handle ifs+vcs catch acl,facl even if not on local sys fix features/syscall.sh bug that set $stdc incorrectly use alloca() in execve() if possible add 3d.tst and test makefile action fix a few important virtual dir / create / append bugs fix null dereference in open3d() for state.in_2d 96-02-14 add NFS acl,facl 96-02-08 fix 2d bug in link,rename,symlink that generated empty arg 1 96-01-30 fix features/syscall.sh for compilers that ignore prototypes 96-01-22 P_TOP only takes effect for files in virtual dir! 95-11-24 optimize exec $shell to eval in 3d.sh 95-11-11 don't fs3d_copy opaqued files 95-10-11 fs3d_mkdir virtual dir fix fix 2d virtual dir test in pathreal() solaris _rename() != weak rename() solaris exit() doesn't call _exit() all static data in state test state.in_2d in link3d() fix opaque.sh that was broken sometime after 91 linux LD_BIND_NOW not needed with ld.so-1.7.9 95-07-17 handle irix-5.3 struct stat64 and off64_t dlsym(__exit) before dlsym(_exit) 95-05-09 fix pathcanon() bug that incremented state.path.level too far on ... percolate inode metadata changes to the top level too (no more EROFS) add P_TOP to truncate() too! feature/syscall.sh does not generate #include, up to *3d.c spawnveg.c must come after spawnve.c in ast.c cspoll.c must come after cs*.c in cs.c fix 3d to work like $SHELL if no shared 3d lib found fix chdir .. symlink bug that set state.pwd to physical path add %n.n.nd to bvprintf ignore a few more non-initialization setcwd() errors 95-01-19 fix undefined var ref for _VER_ hack calls in features/syscall.sh 95-01-11 access W_OK succeeds if on lower view 94-12-01 add /#fs/NAME/load to load shared lib fs add user system call trap() stack VPATH=*::* or VPATH=*:-:* to separate disjoint views change trap() to intercept() 94-07-17 add /#fs/safe 94-06-01 fix symlink() and link() bug that didn't instantiate virtual dir fix [f]statvfs() infinite loop for att hybrids 94-05-11 merge with the real vcs add char*_3d_2d: if _3d_2d!=0&&getenv(_3d_2d)==0 then 2d trailing slash in pathreal() interpreted as slash dot (off/w test=010) 93-05-28 add /#option/limit=n to limit view depth 93-04-01 --- release 2.0 --- 93-03-11 change /dev/3d/* to /#* remove anno and rpl specific hooks add name,monitor,active fs mounts 92-04-01 --- release 1.1 --- 92-02-11 change retained mounts to /dev/3d/dev 92-01-11 add $SHELL and /bin/sh exec() checks to force 3d sh fix checklink() to concatenate relative links with original prefix 91-11-11 --- release 1.0 --- add feature/syscall.sh to handle att s5r4, hp snake, sun 4.1 change umask() 3d state toggle to mount(-,/dev/3d/option/{2d,3d}) fix creat() virtual dir bug for umteenth time link() and rename() now migrate to top instead of EROFS
coshell changes00-12-14 shell is per host attribute 00-02-01 --- release 2.2 --- 99-06-24 cosh: change exit to return 99-06-24 --- release 2.1 --- 97-12-07 update for CS_SVC_SUFFIX 96-12-25 add constant casts for long shift counts 96-05-09 coinit(CO_SERVER) 96-02-29 use <hashkey.h> 96-01-31 AT&T Research 96-01-31 --- release 2.0 --- 95-07-17 add perhost job limit all specific misc attr expr to override idle 95-05-09 convert init script to hostinfo fix indirect bug that forgot to poll the command stream! 95-04-01 change streval() to strexpr() 95-01-01 don't bias out home host with cpu>1 add shell=path to set remote shell path add debug=level to set debug level as an attribute add identify=1 to identify remote command output identify="format with %s" attributes may be set on the command line add COINIT to cosh so .coshrc can check for new coshell add state.grace to g output 94-11-11 csstat() lazy evaluation in expressions 94-07-17 --- release 1.1 --- 94-06-11 add disable=secs to disable hosts of jobs killed by SIGKILL handle shell quoted space in -r strings 94-04-01 add per host access=(expression) to control access add per host bypass=(expression) to bypass min idle add uid, gid, day (monday:1,sunday:7), hour, min to expressions add periodic check for share/lib/cs/access for access control add grace=n for busy job grace running time add scale=n (default == # cpu) load average scale add migrate="command" to override default SIGSTOP for hogs add profile="command" to override default ". .profile" 94-03-11 fix pseudo-float and elapsed-time constant operand conversions add static minidle to disambiguate from dynamic idle fix remote shellopen to work for csh users (there's still some left?) 94-03-01 fix maxload to be pseudo-float 93-10-11 add CO_OPT_ACK coexec() ack add maxload,percpu,perserver,peruser job limits 93-03-11 reschedule jobs queued on hung shells 92-11-11 minor fixes to handle `coshell -' on pipeline 92-09-26 /dev/tcp/* supported as alternative to /dev/fdp/* 92-04-01 --- release 1.0 --- 92-02-29 fix COATTRIBUTES quote bug, handle aaa==bbb@ccc in expressions 92-02-11 add `noattr' to delete misc attributes 91-10-11 add COTEMP temp file base to job environment 91-08-11 jobs queued for shell open now in job table 91-07-17 add heterogenous pool support add % weight for additional cpus fix (type@xxx) expression evaluation 91-03-11 fix handling of down hosts 91-02-11 add string comparisons to attribute evaluation update for new message interface 91-01-31 add -? 90-12-11 if . has idle=0 then local bias entry is ignored 90-11-11 local host not reported down if status missing 90-10-11 . $ENV after .profile in $COINIT add -l <expr> to list hosts matching <expr> change CO_{attr,close,open} msgs to CO_server add load and up readonly attributes 90-10-01 libx/cs -> libcs 90-08-11 check auto=0 file attribute fix bug that dropped multiple SHELL job status messages arbitrary attributes and C-style attribute expressions supported ks <job> and kc <job> added to stop and continue jobs signals sent to remote shells use signal name rather than number add shell/job label attribute 90-07-17 add auto=[01] attribute for automatic scheduling pool tune scheduling add server protocol check (narrows unix-domain socket panic window) catch SIGHUP to reconnect connect stream path 90-07-11 bad rank shells dropped from pool more rank tuning 90-06-01 --- release 0.0 ---
cpp changes01-10-20 cpp.tst: add pp:splicespace "..." tests 01-06-01 cpp.tst: add -M* dependency generation tests 01-02-14 cpp.tst: pp:pragmaexpand pp:catliteral # operator interactions 01-02-05 cpp.tst: add (finally) 96-01-31 --- release 2.0 --- 92-04-01 update for new libpp 92-04-01 --- release 1.1 --- 90-10-11 update cpp.1 88-06-08 update makefile to install Makeinstall.mk ALTPP.LINK links 88-02-29 redo PP_INITDIR initialization 87-10-11 update man page 87-09-18 add ppop(PP_DONE) call 87-04-24 recode for updated library interface 87-04-03 add -D-Ttest to enable debugging test code 87-04-02 add -I-Rfile for PP_READ move #include "ppdefault.h" to ppargs.c using PP_READ add -D-I[id] to name line sync directive ("line" if id omitted) 87-03-31 change -Nfilename to -D-Ffilename 87-03-30 add -D-Llanguage for PP_LANGUAGE,language add -D-H for PP_NOHOSTED add -I-H for PP_HOSTED 87-03-24 --- release 1.0 ---
cs changes01-01-01 vcs_src/*: drop old notices, fix signal handler prototype 00-05-09 mbb: add (message bulletin board service) 99-09-22 cs: update for CS_MNT_TAIL 99-05-18 cs,css: long options 98-05-01 css: add 97-05-09 imount: add 96-12-25 cs: fix -i eof logic 96-02-29 nam protocol change add vcs+ifs beta drop getdomainname() call vcs: use ast equivalents for strstr ftruncate realpath 95-12-08 add -r raw interactive mode 95-07-17 add /trust=user when server not in PATH 95-04-01 start this file fix cat server read bug CS_LINE -> CS_EXACT
msgcc changes01-10-10 msgcc: allow some email forms to pass 01-06-10 msgcpp: add proper escapes to OMIT pattern 01-05-29 msgcc: add similar unused message replacement, -M-similar 01-04-22 msgcc,msggen,msgget: use mcindex() 01-01-31 ignore ls generation errors 00-04-20 first release
nmake changes01-10-31 Makerules.mk: adjust .SOURCE.mk to ensure user specified dir order Makerules.mk: search MAKERULESPATH for ppcc rather than just MAKELIB Makerules.mk: delay CC.SHARED.REGISTRY expansion bind.c: add debug=14 directory search order trace make.probe: fix CC.SHARED.REGISTRY probe typo 01-10-30 Makerules.mk: _BLD_foo==1 only for foo :LIBRARY: source 01-10-20 Makerules.mk: fix --mam bug that didn't parameterize HOSTCC Makerules.mk: fix .PACKAGE.INIT. and .BIND.-l% to use the same search! bind.c: foiled alias still allows bind questionable=0x40 expand.c: allow all edit op delimiter combinations (e.g., !>, <>) make.probe: fix CC.DLL probe for gcc __ia64 01-10-18 misc.c: clear SFFMT_LONG for %[cCsS] to avoid wide char conversions 01-10-17 misc.c: add %a %A format, fix unknown format core dump 01-10-15 Makerules.mk: fix .SELECT. bug that improperly dropped .ARCHIVE 01-10-11 make.probe: fix CC.WARN probe for C++ 01-10-10 Makerules.mk,make.probe: add { SHELLMAGIC CC.SHELLMAGIC } 01-10-05 make.c: add -Q0x00800000 to disable r->status=FAILED when errors!=0 !! 01-10-02 Makerules.mk: :YYPREFIX: invert case for macro prefix 01-09-28 Makerules.mk: fix .RWD. and .OWD. usage 01-09-24 fix $(.GETCONF x) builtin 01-09-19 make.probe: add cygwin dll build probes probe.win32: sync with make.probe Makerules.mk: include debug.mk by default Makerules.mk: .dll+.lib rule now passes .dll suffix to $(CC.LD) make.probe,Makerules.mk: add CC.PREFIX.(ARCHIVE|DYNAMIC|SHARED) make.probe,Makerules.mk: change CC.SYMPREFIX to CC.PREFIX.SYMBOL Makerules.mk: fix .RECURSE and .ONOBJECT to hit sub :MAKE: levels 01-09-17 Makerules.mk: fix PACKAGE_OPTIMIZE logic 01-09-11 expand.c: use pathnative() for native fs representation openar(): must open with "b" mode state.c: open state with "b" mode 01-09-08 Makerules.mk: add *.a prereqs to dll link 01-09-04 Makerules.mk: +l* bind conditioned on .LIBRARY.LIST. for dll builds 01-08-11 Makerules.mk: reference $(CC.DLL.LIBRARIES) last and in link args only Makerules.mk: +l* in req list now checks .PACKAGE.*.library for -l* parse.c: fix `r to act like `n' make.h: add FSWINDOWS to include { _WIN32 _UWIN __CYGWIN__ } 01-07-17 Makerules.mk: fix :LIBRARY: to honor LDLIBRARIES 01-06-21 misc.c: fix strtoll and strtoull macro rename 01-06-10 Makerules.mk: add CC.NATIVE for native objects 01-06-07 command.c: fix job deadlock bug that improperly broke the loop 01-05-31 Makerules.mk: add option rhs to :DLL: Makerules.mk: :PACKAGE: add :(optimize|space|time) for PACKAGE_OPTIMIZE Makerules.mk: add CC.HOSTTYPE != CC.EXECTYPE for IFFEFLAGS make.probe: add CC.EXECTYPE make.probe: fix { ld nm size strip } search make.probe: adjust probe_shared order for linux.arm gcc option.c: add --cross to not run generated executables 01-05-30 make.probe: add CC.NATIVE 01-05-28 make.probe: add CC.STRIP and CC.STRIP.FLAGS Makerules.mk: add PACKAGESTRIP check for .LIST.PACKAGE.BINARY 01-05-26 expand.c: add :T=Y: for mime type 01-05-09 --- release 4.2 --- make.h: isdynamic,isglob,isstatevar: functions to factor out strmatch() expand.c: add T=XQ[S[AV]|V[I]] to factor out strmatch() in base rules rule.c: speed up associate() by factoring out attributes 01-05-01 expand.c: order() now handles :PACKAGE: foo:command 01-04-26 Makerules.mk: null out cctype and .CC.PROBE. for --base Makerules.mk: fix .REQ. bug that missed :LIBRARY: targets 01-04-25 Makerules.mk: add variants=pattern to select cc- variants Makerules.mk: add .VARIANTS alias for .CC- option.c: fix bug that omitted readonly option values in .mo 01-04-24 Makerules.mk: :DLL: sets VARIANT=DLL 01-04-18 object.c: fix CC_NATIVE!=CC_ASCII buffer overflow make.probe,makerules: mvs.390 adjustments for CC.LIB.DLL=symbol 01-04-01 scan.c: fix * scan match bug that gave up too soon 01-03-08 printext: handle %*C 01-02-26 makerules: CC.SUFFIX.STATIC get .ARCHIVE attribute makerules: add .NO.ARPROFILE to defer to dll prereqs for dll target pkg-X11.mk: check libXmu.sa for openwin 01-02-14 make.probe,makerules: add CC.DLL.LIBRARIES, CC.DLL.ALTERNATES make.probe: linux needs CC.DLL.LIBRARIES=-lc for binary compatibility probe.win32: change to CC.STATIC=-Bstatic, dynamic is now the default makerules: drop .SCAN.IGNORE for .DO.INSTALL.DIR makerules: fix .SHARED.BIND. to pull in dynamic refs makerules: change .OFFICIAL diff style to -u mam: add `bind -lX [dontcare]' to simplify library binding command.c: fix job deadlock bug that used archive before it built 01-02-07 Scanrules.mk: add .cxx for C++ 01-02-02 makerules: bias package search to viewpath and make installroot makerules: *.req can be down the view 01-01-01 --- release 4.1 --- expand: fix :D: to preserve leading / -- how long has this been wrong? makerules: fix .PACKAGE.INIT. for dir == / makerules: $(PACKAGE_PATH) is list of default package root dirs makerules: add recurse=list to list recursion order and exit makerules: _BLD_DLL==1 when building dll's makerules: link dll with static -l* makerules: check =l% bound dir in .REQUIRE.-l% PACKAGE_%_LIB expand: eliminate loops from :W=O: parse: add exit [code] bind: eliminate dups for 2d glob 00-12-25 makerules: add header arg to :YYPREFIX: makerules: add :T=AF: for .ARCOPY probe.win32: add cc path *and* args to first line to avoid hash clash 00-12-18 ppcc: check for old bash 00-12-15 makerules: handle uwin $(CC.DLL) => -D_BLD_DLL change 00-12-14 main: initialize version with fmtident() 00-12-12 makerules: bias :PACKAGE: search for $(INSTALLROOT) make: use stat() instead of access() for better NFS behavior 00-12-11 makerules: _BLD_DLL only for _DLL lib members 00-12-03 debug.mk: add %.inc for -H include nesting 00-10-31 option: --corrupt={accept|error|ignore}, --mismatch => --corrupt makerules: req file must be seen at of before the lib makerules: fix AWK and NAWK default definitions makerules: physical=1 => 2d iff in 3d pkg-tcl.mk: add CC.DLL, don't clobber TCLROOT makerules: define _PACKAGE_foo in .PACKAGE.INIT. makerules: add .VIEW to .MAMEDIT and .MAMACTION 00-10-28 makerules: drop MAKEFILES filter on .SELECT. (why was it there?) 00-10-26 make.c: fix .JOINT sync bug makerules: add $(PACKAGES expr) and :VARIANT: rhs expr expand.c: add :T=F[BCFLPR]: to test file type makerules: cut down the number of --mam -L options for .req 00-10-25 makerules: set +x => set - makerules: add set - to .req MAM action for zsh 00-10-24 makerules: add :PACKAGE: name:lib=lib:include=include name:command makerules: add :VARIANT: to cc-% 00-10-18 C+probe: mac os10 additions add cc.darwin.ppc for max os10 00-10-16 object.c: don't compile makefile prereqs if state.base 00-10-12 misc.c: add %x and %X formats to printf extension 00-10-04 makerules: fix bug that passed -I- to non--I- CC 00-10-03 makerules: add :YYPREFIX: 00-09-21 expand.c: add libxxx and xxx to makefile ordered prereqs 00-09-07 makerules: handle rhs a=b in :LIBRARY: 00-08-11 archive.c: add aix <bigaf> archive format bind.c: add glob() gl_intr check 00-07-17 makerules: fix $(cctype) freeze in makerules.mo 00-06-20 makerules: mam_lib_* always checks lib/lib/* file 00-06-19 makerules: generate dll in lib.so/libNN.dll 00-06-01 main,state: a few _UWIN tweaks for W98 FAT 00-05-31 shquote: fix for `foo == bar' 00-05-26 option: fix scanargs() bug that skipped some targets before options 00-05-22 makerules: drop .ORIGINAL.ALL 00-05-11 makerules: add :PACKAGE: { a b } to pick first of a b (thanks Dr. ek) 00-05-01 makerules: add $(STDCAT) initialization 00-04-01 makerules: add skeleton=1 to mkdir virtual directories in 2d makerules: add CATALOG and ERROR_CATALOG 00-03-17 make.probe: fix CC.NMEDIT to grab only external text symbols makerules: add :NOOPTIMIZE: makerules: allow N.Ntag :LIBRARY: versions (and dll.custom) makerules: insert $(*FLAGS_DEFAULT) on *FLAGS makerules: don't omit -L*/local/* even if in CC.STDLIB parse.c: `unknown operator' now a warning 00-03-07 pkg-X11.mk: add -lXaw candidate required libraries 00-03-06 add probe.lcl check 00-02-14 --- release 4.0 --- 00-02-10 Makerules: add CC.DLLBIG, :PACKAGE_INIT: Makerules: add .ARCHIVE.OMIT. to .ARCLEAN.LIST. Makerules: adjust :PACKAGE: search for X11 => X Makerules: add .COMMON.SAVE to .LIST.PACKAGE.* source actions Makerules: fix setv PACKAGE dirs Makerules: add $(PACKAGE_LOCAL) and package_local=arch cmd prefix Makerules: apply %.X>% for `f :: b.X' state.c: add local skew test for touch(3) { utime(2) or utimes(2) } make.c: don't apply metarule if lhs has dir and metarule doesn't 00-02-08 believe if state.believe>0 and view level >= (state.believe-1) pkg-X11.mk: add PACKAGE_X11_VERSION=6 for X11R6 installations pkg-X11.mk: add -ldnet_stub for osf.alpha Makerules: fix .REQUIRE.-l% 00-01-31 Makerules: add $(CC.SUFFIX.LD) in .SHARED.REF.lib 00-01-25 Makerules: add _MAKE_PROBE_WORKAROUND_ for broken cc -G like sco.i386 00-01-11 Makerules,probe.win32: -Bwhole-archive + -Bstatic -- whew! Makerules: make $(LICENSEFILES) for --mam Makerules: add $(DICTIONARY) to USAGE_LICENSE make.probe: hosttype now in C.probe expand: fix :P=L: path buffer overrun 99-11-11 expand: add :P=W: for astlicense() expand: :P=N: null input generates null (not '') bind: fix 2d globv() and bindfile() by adding state.view[].root - wow bind: fix 2d :P=L=*: mam: capture important empty exec make-done pairs main: make sure external.pwd is valid Makerules: iffe --static=x => iffe -S x Makerules: explicit :INSTALL: inhibits :: install Makerules: add MM2HTML Makerules: install cc- => cc-install Makerules: add .MAM.CCFLAGS to handle .CC.NOOPTIMIZE option.c: clean up --errorid option.c: add set readonly for state.readonly hook Makerules: use set readonly for INSTALLROOT and PACKAGEROOT make.probe: sco CC.WARN=-w3 make.probe: CC.MEMBERS => CC.LIB.ALL CC.LIB.DLL CC.LIB.UNDEF expand: add :U[!]: for uniq [file equality] list Makerules: IFFEFLAGS initialized in .MAKEINIT rule: make sure PWD and VPATH are both logical or physical parse: add "x" <|>[=] "y" Makerules: add LDLIBRARIES to .SHARED.lib 99-10-31 Makerules: add :PACKAGE: => :package: if lhs Makerules: :MAKE: with no rhs driven by MAKEDIRS and MAKESKIP Makerules: add :Q: to "::" assertion scope items (yuk) Makerules: add LICENSE hooks, USAGE_LICENSE expand.c: add :P=G: to do viewpath glob, :W=O: to order subdir descent expand.c: add :O=N: expand.c: pretty up :Q: expand.c: add :P=V0: for top view logical name of bound file rule.c: add globv() for rhs patterns -- strictly . relative down view make.probe: fix nmflags logic (for aix -p, portable not) 99-10-01 Makerules: add %.iffe make.c: handle metarule .ACCEPT 99-07-17 mam.c: outer make...done for virtual joint target command.c: fix job deadlock detection Makerules: don't pp probe if CC.CC == "" Makerules: allstatic=1 for +l propagation, 0 for item only Makerules: fix $(.SHARED. ...) usage Makerules: :INSTALL*: now handles dir on rhs Makerules: add %.cxx Makerules: add .ti to clobber list Makerules: cc-: `~' => space if specified, otherwise `,' => space Makerules: add recurse_enter and recurse_exit misc.c: add %[eFfFgG] print formats expand.c: generate() lists primary and secondary by default Makerules: add .author and PROTOID to PROTOCOPYRIGHT Makerules: allow state on :INSTALL*: rhs Makerules: .CC.MEMBER: jobs>0 workaround: a bug coverup Makerules: add :PACKAGE: debug profile CC.LIB.TYPE expand.c: fix putptr(0) base addr switch .SCAN.IGNORE: don't block on these - duh 99-07-17 --- release 3.6 --- 99-06-24 Makerules: fix .SHARED.ON. test 99-06-15 make.probe: shlib before others, /var/shlib, -none == ! -all 99-06-14 Makerules: +lfoo applies to self, not to .req members 99-05-09 option: separate usage string stream 99-05-01 main: long options 99-04-22 Makerules: fix :LIBRARY: for version "-" (no version) 99-04-01 Makerules: -mam cleanup Makerules: %.req version bug fix Makerules: :PACKAGE: :nolibrary means it -- don't pull it in Makerules: .REQ. fix Makerules: fix .req -mam cc script expand: regfatalpat() for regcomp() pattern in error messages option: first optget() interface -- could be more complete 99-03-17 Makerules: %.req just binds -- duh Makerules: .RECURSE clears .RWD. Makerules: handle `lib - :LIBRARY: ...' => no VERSION make.probe: CC.DEBUG CC.HOSTTYPE CC.OPTIMIZE CC.STRICT CC.WARN main.c: command line scripts done after .MAKEINIT main.c: test 0x00020000 to close openfd before coexec make.c: D_scope prereqs take effect in make() too 99-03-01 Makerules: add :P=C: to .MANIFEST. 99-02-14 make.probe: move some init stuff from C.probe make.probe: deal with gcc/ld writing errors to stderr with 0 exit code trap: clean up .INTERRUPT interface Makerules: :PACKAGE: -l* .MULTIPLE Makerules: fix :: :LIBRARY: for cmd and lib by same name object.c: retain D_global in load() Scanrules: fix .PFX.INCLUDE test 99-01-23 Makerules: *.req.REQUIRE : .IGNORE Makerules: add -f $(MAKEFILE) to .RECURSE $(MAKE) args Makerules: .REQUIRE.-l% checks $(PACKAGE_%_LIB)/lib/% first Makerules: make :PACKAGE: search picky about version Makerules: handle :PACKAGE: -lfoo Makerules: PACKAGE_%_VERSION defined make.probe: use full path for NM, etc. make.probe: libpath not added to CC.STDLIB 99-01-11 Makerules,make.probe: CC.MEMBERS.UNDEF Makerules: fixed .SHARED.lib wrt :PACKAGE: make.probe: tweak CC.STDLIB 98-12-25 Makerules: :LIBRARY: initializes VERSION var if not set Makerules: add tgz, tarball; drop update*; pax and tgz recursive Makerules: tarball uses VERSION Makerules: `:: dir' adds dir to manifest Makerules: arch-$(_hosttype_).mk architecture specific additions Makerules: $(CC.DLL) uses local *.lib expand: add :P=N: for 'native-path' expand: :P=S=subdir: to handle recursive manifest parse: fix splice bug that activated rules direcive rule: .READONLY external support bind: (P_readonly|P_terminal) does not get attribute assoc bind: add rule_compare() and rule_hash() for case hacks option: -o writeobject (on by default) expand: regcomp(REG_SHELL) needs REG_LEFT|REG_RIGHT -- duh rule: include + "file" to include file as global makefile make,rule: fix state.force and P_force for P_dontcare 98-12-25 --- release 3.5 --- 98-11-11 expand: :G=x: tokenized add ms %.def:%.sym make: recheck require_p prereqs 98-11-01 expand: fix ignorecase bug in :L: 98-08-11 probe: add probe.ini for arch specific shortcuts probe: add opional CC.MAKE.OPTIONS Makerules: check CC.MAKE.OPTIONS bind.c,scan.c: a few more uwin file path workarounds parse.c: readline() now converts \r=> variable.c: V_functional looks for "v->name" and ".v->name." rule 98-07-17 Makerules: check before assuming /usr/lib or /lib command.c: fix P_before P_repeat FAILED bug Makerules: add .UNBIND to .PACKAGE.LIBRARIES. (must be a better way) Makerules: add static=1 to favor lib instead of dll (except for std) 98-05-26 make.probe: add /usr/lib /lib verification 98-05-01 rule.c: add .RUN .WAIT for background job control rule.c: add .MAKEPROMPT .MAKERUN sequence points rule.c: add .RESET to reset rule info to start state parse.c: interactive sfpoll sfstdin and state.coshell->msgfp 98-04-01 expand: plug leak by calling regfree() for :C: Makerules: adjust .IFFE.REF. fix to not include package being built Makerules: add %.cpp for C++ scan.c: don't tokenize quoted implicit prereqs! 98-03-17 Makerules: fix .IFFE.REF. to expand package include dirs 98-02-14 Makerules: fix .IFFE.REF. to expand required libraries 98-01-23 Makerules: add _hosttype_ to .MAM.INIT Makerules: :PACKAGE: x attempts include - "pkg-x.mk" Makerules: handle :LIBRARY: rhs +l* pkg-tcl.mk: initial release 98-01-11 Makerules,probe: add CC.SHARED.REGISTRY and CC.SHARED.REGISTRY.PATH 97-10-31 Makerules: CC.PIC not that easy to deprecate! Makerules: fix -L option for *.req rule Makerules: LDRUNPATH unset by default Makerules: no CC.SUFFIX.LD to AR 97-10-11 Makerules: fix :LIBRARY: *.req prerequisites probe: fix ld probe, add CC.SUFFIX.LD=".def .exp" for uwin make.c: REQUIRE map => - marks rule virtual 97-08-11 Makerules: .BASE.DATE.FORMAT. for y2k Makerules: drop weird xxx.a install in .SHARED.DEF.lib Makerules: add $(.sh.) as non-frozen version of $(sh) 97-07-17 Makerules: move $(MAKELIB) to the front of PACKAGE search Makerules: required libraries linked with dll too version.c: tighten initdynamic[] loop termination 97-05-09 Makerules: /usr/local/arch/$(_hosttype_) first in LCLDIRS Makerules,make.probe: add mvs.390 dll support expand: don't :T=A: if .SCAN.IGNORE variable: allow `export name=value' Makerules: allow `:MAKE: name=value' => `export name=value' Makerules: bias package binding to fully qualified PATH dirs Makerules: IFFEFLAGS uses CCLDFLAGS instead of LDFLAGS Makerules: don't change -Wl., in cc-% (hack alert) Makerules: CC.PIC deprecated for CC.DLL Makerules: _INSTRUMENT_ deprecated for _BLD_INSTRUMENT Makerules: _TRACE_ deprecated for _BLD_DEBUG command: -t attempts to touch fs .o as well as .a/.o 96-12-25 --- release 3.4 --- add CC.LD.DYNAMIC and CC.LD.STATIC to make.probe and makerules add .PROBE.LOAD and .PROBE.SPECIAL. to catch/start early probe addfile(xxx) for xxx.exe on _WIN32 bind.c: check for _WIN32 C:/ prefix parse.c: -FUNCTIONAL now clears var.functional too Makerules: .CC.MEMBERS. fixed for small ARG_MAX systems Makerules: OFFICIAL file now in lower view Makerules: drop -G* from CC.PROFILE Makerules: remove global +lxxx => -lxxx==+lxxx archive.c: add `/*/' to SYMDIR_port (for sgi.mips4) Makerules: if $(CC.PROFILE) and $(CC.PIC) then don't install .ARCHIVE make.c: relax `modifying lower view file' message via dontcare Makerules: fix +lxxx MAM bind Makerules: fix :LIBRARY: req file generator Makerules: fix :PACKAGE: LIBDIR search ppcc: install in $(MAKELIB) ARG_SCRIPT: fix bug that mishandled `+' and `&' in cmd line targets Makerules,probe: add CC.SUFFIX.LD and ldscript for ld scripts Makerules: add $(sh command): where has this been hiding a:-TARGET now works .ARCHIVE not scanned if rule.scan==.SCAN.IGNORE :LIBRARY: sets .MAIN.TARGET. too make.probe: don't automatically place /usr/lib last make.probe: add CC.SUFFIX.LD Makerules: handle cc-opt1,-opt2 by splitting options on , bind.c,metarule.c: handle _WIN32 directory ignorecase Makerules: add :DLL: .DLL for dll generation Makerules: fix .MAKEINIT premature :T=F: that botched .SOURCExVPATH object.c: fix to handle 01/24/89 format objects (yes it still works) ppcc,Makerules.mk: generalize $(CC.DIALECT) option passing metarule: case sensitive match for patterns matching `[-+]*' archive.c,object.c: (Sfoff_t) for K&R compilers MAKEFILES=Nmakefile:nmakefile:Makefile:makefile -- thanks bill MAKEARGS=Nmakeargs:nmakeargs:Makeargs:makeargs -- thanks again bill probe: add CC.LD.RUNPATH Makerules.mk: add LDRUNPATH and CC.LD.RUNPATH support Makerules.mk: tone down PTR prereq scan .GETCONF: first builtin function 96-11-28 ccmaps .mo for ascii/ebcdic compatibility 96-10-31 outstanding bug reports addressed :LIBRARY: defines _BLD_<lib>==1 use PATH=$(STDDIRS):$PATH to find STDRM etc. in Makerules.mk add CC.SUFFIX.DYNAMIC for win32 .dll .lib .a 96-10-11 metarule rhs prefix dir check even if rhs has prefix questionable=0x8 alias check path suffix in bindfile questionable=0x10000 add more instrument guesswork .PFX.INCLUDE headers must be .TERMINAL fix $(...) bug that let some unselected items slip through 96-10-01 update make.probe for probe_libdir to catch alpha /usr/shlib 96-09-09 add CC.PROBEPP to override pp probe info add $(INCLUDEDIR) and $(LIBDIR) to .SOURCE* from $(ancestor_list) 96-08-11 --- release 3.3 --- 96-07-17 don't pass -D-* to cc in ppcc add ``X|external-scan $(%)'' external scan clean up makerules/probe readonly 96-05-31 fix $(".":P=L*) for no views 96-05-09 make.probe: drop multiple / in stdlib try to stat non-readable files 96-04-22 fix staterule()->scan assignment evaluation order ambiguity in scan.c 96-02-29 -lxxx binds to +lxxx if +lxxx bound first add pkg to OPTDIRS cut off botched metaclose recursion unless questionable=0x100 `.XXX : .USE .IMMEDIATE .ATTRIBUTE' -> `xxx yyy' -> `xxx : yyy' fix :PACKAGE: search bug that forced package name to be in root path add REGRESS + REGRESSFLAGS aliases may produce more than one :P=D: bound dir fix nonterminating D_scanned loop in scan() handle -L* on :LIBRARY: rhs 96-02-14 $(CC.SUFFIX.COMMAND) appened only if no suffix :PACKAGE: xxx:version=n.m:static:dynamic:nolibrary:noinstall: 96-02-07 archive scan handles multiple port|rand meta entries rescan check on (s|alt)&P_force scan A action can now set (.+) or clear (-) attributes 96-01-31 :PACKAGE: libs now .DONTCARE fix touch bug that kept the blasted libast conf*.[ch] out of date 96-01-01 AT&T Research uwin Makerules.mk and make.probe tweaks :I<: for literal intersection, otherwise pathname intersection convert to <regex.h> condition LN on _feature_=ln 95-12-08 fix :LIBRARY: -lxxx probe add uwin dll to make.probe and :LIBRARY: BINED -> ED 95-11-24 . :INSTALLDIR: does not add to all or man 95-11-11 installed CC.SUFFIX.SHARED are now readonly CC.SUFFIX.SHARED==CC.SUFFIX.OBJECT expands -l* CC.SUFFIX.SHARED installed readonly CC.SUFFIX.SHARED hard linked to CC.SUFFIX.SHARED.major.minor P_target && D_dynamic does not imply generated (questionable=0x4000) 95-10-11 fix :TABLE: options `no' and `NO' entries D_source is now cleared in make object for .SOURCE cross product $(^) subject to localview() too fix :WORKAROUND: for in-place changes set include=dir appends to .SOURCE.mk .ASSERT intercepts not applied to .IMMEDIATE targets -d4 lists make object prerequisite file info fix state.targetcontext expand bug that dropped too many marks add %.o:%.S to makerules/scanrules intersect() now handles invented :P=D: .. dirs not in .SOURCE* drop $(CC.REPOSITORY:@?-l??) from PPCC add sun -[Qq](dir|option|path|produce) to ppcc add proto -x to :INSTALLPROTO: fix compvar() V_oldvalue bug that put command line def in .mo internal.export -> internal.exported for proto export keyword :T=G: never matches non-target .TERMINAL 95-10-01 add :TABLE: novariables to inhibit leaf variable assignments add preliminary long edit op names and converter D_global if not P_target (questionable=0x800 for old behavior) alias if !streq(name,r->name) (questionable=0x1000 for old behavior) fix scanrules .PREFIX.INCLUDE. handling of ../* more aggressive putbound() in bindalias() (-Q0020000 for old) `.FORCE : x' sets P_force too longest metarule patterns applied first more alias fixes move scan attribute/property additions before staterule() call :INSTALLMAP: ... scan now more selective .UNBIND now sets rule.time=0 95-07-17 --- release 3.2 --- :F=%x: sfio 'u' internal format now handled fix .PTR.OPTIONS. initial condition fix .ERROR to work like 2.2 if !.FUNCTIONAL .FUNCTIONAL .ERROR return value: new level, no msg if already printed 95-06-28 add *.ii to .CLOBBER. for EDG C++ 95-05-09 add SYMDIR_strict for strict ranlib uptodate check change $(!$(*:O=1)) to $(!$(*)) since lists are ok now drop .SAVE. since :: already handles it add old value to state variable changed explanation add .DO.READONLY.-xMerge unused var cleanup another make.probe preroot workaround add .CC.NOOPTIMIZE local scope handle `t {}' and strip lead space in {...} fix r==0 dereference in :P=B: don't force CCFLAGS=-g for instrument=purify fix .BIND.-l% version interactions with -lxxx.[0-9] add -o noalias to diable directory aliasing (for .INSTALL.LIST) make.probe pic test must check linker too calm down +([a-z]) => .+([A-Z]) conversion for :ALL: and .ARGS &error_info cannot be in a static initializer .OFFICIAL uses .MANIFEST. instead of .SOURCES. fix scope var bug that appended twice add - stack debug command to query drop extra .so's from ship.list.bin state.mam.out && !state.mam.port doesn't rebind after build 95-04-01 `:: xxx' marks xx .TERMINAL fix recursion bug in :G: define PACKAGE_* vars if !mam too fix ciadb to exclude headers that may generate %.o (e.g., *.c) fix stray M_mark bug caused by expand() inside intersect() fix :INSTALLMAP: with no lhs :PACKAGE: is a little less restrictive on package root search use $(CCLDFLAGS) in %:%.s change :T=G: to check .TERMINAL state before .TERMINAL fix ppcc.sh pattern match ksh93ism for bsh compatibility fix PROTOFLAGS expansion with :Q: generated .SCAN.c do not get .PFX.INCLUDE scan prereqs for .JOINT targets are in staterules(PREREQS) change obsolete MAM -expandview ref to static*,port* fix trap bug that used elementsof(int*caught) makerules PTRMUST -> PTRMKDIR alpha archive symbol directory has word size embedded _64E[BL]E[BL]_ fix in output of recursive print -um fix bindfile() .. test for terminal directories [via Rich Drechsler] tablook() prototype tweak fix putbound() test in bindfile [via Dan Tiernan] beef up makerules $SHELL -n test drop newlines from PROTOCOPYRIGHT for MAM 95-03-19 fix .AFTER job freelist bug in trigger() [via Rich Drechsler] add makerules STDDIRS; SYSRM -> STDRM {cmp,cp,ln,mv,rm} clean up makerules INSTRUMENT_* interface -v no longer turns on ppcc verbose fix cc- MAKEPATH override by $(=) 95-02-14 fix targetcontext mkdir() test fix printarg() for proper sfio interface 95-01-19 add CC.ARFLAGS for $(CC) that generates libraries add CC.DIALECT=PTRIMPLICIT for implicit C++ ptr dir name add CC.DIALECT=PTRMKDIR if C++ local ptr must exist add CC.DIALECT=PTRCOPY if C++ PTRMKDIR contents copied fix CC.READONLY probe to cast the const pointer assignment punt() now assumes oldmake has mam if options set add a few .SPECIAL's in :: fix rule.time update for .NULL action in trigger() add A_* flags instead of assertion() set.clear, etc. OP_NONE assertions are A_special x :LIBRARY: makes x virtual prereq of .ALL "local" statement mods for operator and function arg handling local same-name same-name gives dup name initial value of 1 local name=value now accepted local -[n] arg ... sets $(1) ... [empties missing up to n] local (formal ...) actual ... sets formals from actuals $(;) returns the state data (formerly $(#)) $(#) is the arg count from local -[n] | (formal ...) ... add TABLE.mk for :TABLE: table and map lookup add SS.mk for :SS: directory hierarchy subsystems don't forceread if global (questionable=0x400 for old behavior) add -o targetcontext to expand action in target dir context add state.context and MARK_CONTEXT for state.targetcontext fix a few more alias bugs .MAKE .LOCAL actions can contain parent scope assignments add base and delta common actions for pax -z support add :SYSTEM: to :SS: in SYSTEM.mk and delete SS.mk fix rebind to first clear D_entries|D_scanned add "*.[sS]|*.[aA][sS][mM]" to ppcc source list 95-01-01 fix .CLOBBER $(-global) expansion .NULL metarule now provides equivalence for :G: avoid multiple entries in make.probe CC.REQUIRE.++ 94-12-25 ppcc, MAM -l<shared>, probe tweaks fix port/rand ar touch bug that modified member terminator fix .DO.INSTALL bug that asserted x : x avoid a few more 'not compiled' panics add -o mam=<type>[,noport] to inhibit porting hints drop mam_port and use noport mam option fix V_retain bug that took value from lowest view statefile fix PACKAGE .SOURCE.(h|a) that blew the CC.STD(INCLUDE|LIB) order fix .REBIND to work like .UNBIND on directories PACKAGE lib not .DONTCARE by default 94-11-11 --- release 3.1 --- detect loops in complete() to avoid `did not complete' fix D_entries|D_scanned propagation in merge() fix .BIND. view and state.targetview propagation add :WORKAROUND: for external distribution workarounds merge(MERGE_ALL) does not propagate rule.scan==SCAN_NULL .OFFICIAL diffs changed files into ./OFFICIAL fix scan attribute propagation interaction with dirscan() fix uninitialized od reference in bindfile() fix ppcc -O over shift and empty rm 94-10-01 CC.DIALECT DOTI : *.i accepted as preprocessed input CC.DIALECT TOUCHO : cc link may touch *.o $(CCC) dropped in favor of simpler $(PPCC) $(FEATURE) changed to $(IFFE) add -o mam=<type>[,dontcare] to list dontcare targets too fix staterule() to accept top view state if time matches fix bindfile()+putbound() for .. fix VOFFSET,VROOT for non-3d fix bindstate() recursion fix metaclose() bug that forced artificial metarule ordering 94-08-11 add state.questionable mask (looks like it should go but not sure) move some state.test bits to state.questionable add MAM generated attribute add fs3d view loop test Os option arguments must be specified 94-07-17 --- release 3.1 --- 94-06-11 add -o believe=level (-B level) for 2d -b no longer implies -c -b implies no makerules uncouple state.keepgoing from state.mam (should have learned by now!) dirscan() sets rule.bound and rule.time add .SYNC : file [edit-select] fix .QUERY longjmp active frames and error trap hold fix pattern association parse that botched ../*%* avoid pathcanon() in metarule makerule() calls change include from control statement to immediate rule use rule in include list uses action as include file filter add makerules mam_port=0 to inhibit -o mam=static ${mam_*} mappings promote lower view state to top on load if no previous top iview state 94-05-22 virtual preview not propagated fix nested loops in file input fix unalias() bug that dropped original binding fix merge() bug that called bind() while bind in progress fix -ptr *again* for CC 3.0.3 add $(^) for current line in scan :A>pattern: matches rule prereqs fix statevar stateview search that unnecessarily forced re-scan .PARAMETER file checks now done after .INIT update CIA rules to use DOT instead of DAG 94-04-01 .ERROR made for levels > 0; return 1 inhibits message print $(.ERROR) set to level and message text inside .ERROR stateview() now binds before searching state views fix CC.SO install for live replacement add .COMPDONE to fit the .INIT+.DONE pattern add rule.mark and M_* to eliminate mark clashes add .INTERRUPT.<signal> for signal specific handlers add .ALARM:<elapsed> immediate rule to set alarm add $(.ALARM) to be absolute time for next alarm, 0 for no alarm add .SYNC immediate rule to sync statefile maketop() now resets property when complete maketop(P_ignore) temporarily sets keepgoing=1 xxx -> .XXX immediate test for all `no operator on line' statements .FORCE : xxx forces xxx to be new { action } -> .ALWAYS :$("t")action immediate a b c -> .IMMEDIATE : a b c attribute a b c -> a b c : .ATTRIBUTE a b c { action } -> a : b c$("t")action :MAKE: allows rhs a/b .DO.l.CC dropped -- let C++ fend for itself (<id>*)<stuff> can appear as target $("":D) no longer produces ``.'' print -n -u[0-9m] -f "format" +-[io] path -p command data ... read -n -u[0-9m] +-i path +-o path -p command variable -uxxx may appear in $(INSTALLROOT)/lib/lib/<LIB> fix scan | ... % | bug that forced trailing space replace CC.OBJ and CC.SO with CC.SUFFIX.* .MAKE .OPERATOR prereqs made before operator applied add .PROBEINIT to .MAKEINIT and "::" .SHARED. now links with CC.SUFFIX.SHARED sibling library if it exists fix alias .UNBIND 94-03-01 unify mam with gmake (additions done by gsf) -o mam={dynamic|regress|static}[:file[:[label][:root]]] -M no longer implies -nF -o mamtrace=file (-m) dropped -o regress=root dropped -o never (-N) added to override .ALWAYS fix scan bug that assigned strategy before binding frozen V_functional always causes .mo recompile add oldname(r) to fix unbind bug that omitted putbound(r,0) ``else if'' now accepted for ``elif'' complain about extra chars after else and end add :T=Z[CERS]: for {cancel,event,relative,state} time fix circular implicit prereq actions fix aix shared library probe finish now handles errors in .MAKEDONE and .DONE fix stray D_mark unbind with D_markbind,D_markprereq,D_markscan fix :READONLY: probe for mips base rules unbound after reading (so make can install them!) delay statefile load until after makefile read add complete() for MAKING implicit prereq add CC.REPOSITORY with repository dir value delete PTREPOSITORY from CC.DIALECT stop .INSERT|.APPEND from adding duplicate prereqs unless .MULTIPLE .QUERY now pushes an active frame (shows up in $(<)) fix state view resolution in stateview() fix :G=a/b: with no % 94-02-14 warn about implicit reference while action in progress add print -opath 94-01-31 .CLEAR now checks staterule before freeing prereq list .UNBIND now clears D_global, D_regular and preview add :F=%(time-format)T: add :F=%(invert|lower|upper|variable)S: change :F=[LUV]: to :F=%(lower|upper|variable)S: with obsolete warning fix .MEMBER view/preview mismatch that triggerred unnecessary actions 94-01-11 $("":T=R) operates on current date add print -n -u[12m] -f "format" fix \<newline> action parse 93-12-01 --- release 3.0 ---
probe changes00-08-11 probe: fix non-suid generation check 00-01-11 probe: fix -t with writable info 99-09-01 probe: add --override 99-05-09 probe: long options
ss changes99-05-18 ss: long options 97-08-11 ssd: fix now used before defined bug 95-05-09 fix ssd nlists feature tests add a few more utmp file macros from <utmp.h> 95-02-14 fix an extremely botched since() macro 95-01-19 fix user idelt time check that broke loop too soon checks every 10s, updates every CS_STAT_FREQ if not interesting
libast changes01-10-31 regex/ucs_names.h: add string catenation to keep line length low misc/fastfind.c: handle gnu slocate db read misc/optget.c: add --?+SECTION queries comp/fnmatch.h: add FNM_NOSYS 01-10-30 tm/tmdate.c: fix cron specs when both wday and mday are specified 01-10-20 misc/glob.c: fix bug that called trim() twice on same path misc/glob.c: fix trim() bug that restored / to wrong position string/fmtre.c: fix { ^ . $ } translations misc/optget.c: use original string if translation fails -- duh sfio/sfhdr.h: assume <errno.h> assigns proper atttibutes to errno comp/regcmp.c: __ia64 workaround fixed by proper CC.DLL probe comp/getdate.c: __ia64 workaround fixed by proper CC.DLL probe features/lib: add lib getdate 01-10-18 features/lib: check for strtod static link collision features/float: add another signed cast for old bsd cc features/wchar: add <stdlib.h> <stdio.h> before <wchar.h> for old bsd 01-10-17 sfio/sfcvt.c: limit max precision to { FLT_DIG DBL_DIG LDBL_DIG } sfio/sfcvt.c: fix %[aA] format to always have leading 0[xX]1. sfio/sfvprintf.c: handle %C %lc %S %ls for wchar_t args sfio/sfvscanf.c: handle %C %lc %S %ls for wchar_t args string/fmtmode.c: fix bug that omitted trailing ' ' 01-10-12 misc/optget.c: . => . for --??nroff comp/wc.c: fix mbstate_t initialization typo features/float: fix max integer / float loop termiation features/float: fix LDBL_UINTMAX_MAX typo that did DBL_UINTMAX_MAX 01-10-11 include/sfio.h: fix _Sfstd* import/export features/common: fix _UWIN __DYNAMIC__() definition 01-10-06 features/fcntl.c: { O_BINARY O_TEXT } default to 0 features/omitted: add for comp/omitted.c sfio/sfopen.c: O_BINARY default for _WIN32&&!_UWIN 01-10-05 misc/glob.c: fix `\(x/*' GLOB_NOMATCH bug that returned `(x' misc/optget.c: fix localization lookup that didn't drop doubled : ? ] 01-10-04 comp/setlocale.c: handle sizeof(wchar_t)!=4 in debug locale comp/conf.sh: handle sytems where _SC_* is both an enum and a macro 01-09-25 astconf: add LIBPREFIX 01-09-20 features/common: add __DYNAMIC__() for dll externs 01-09-19 cdt: kpv update mb*() macros: update for ksh conversion, extend debug locale 01-09-16 tm/tmlocale.c: add compiled in defaults for C locale misc/glob.c: add gl_nextdir callback for GLOB_COMPLETE 01-08-14 clarify _WIN32 vs. _UWIN vs. __CYGWIN__ tminit: fix standard & daylight initialization 01-09-11 pathnative.c: add for native fs representation regex.h: fix regerror_t prototype 01-09-04 regex/regnexec.c: fix REG_ICASE for multi-char collating elements tm/tmlocale.c: fix old ascii LC_TIME load locale*: add new LC_* categories comp/omitted.c: add CYGWIN workarounds features/lib: add CYGWIN workarounds 01-08-11 features/common: some compilers have long long but no LL constants! features/lib: add mmap64 implementation test (for linux.s390) regex/regcomp.c: fix in [...] parse setlocale: retain user locale spelling in setlocale() return value features/limits.c: don't include ./limits.h -- duh fmtesc: don't escape multibyte chars tm/tmlocale.c: fix native C locale default 01-08-08 features/float: some compilers (msdev) forget long long vs. double 01-07-31 misc/optget.c: handle suboptions 01-07-27 cdt.h: add DTDISC() 01-07-17 iffeio.h: move to include for stdio bootstrap iffe workarounds 01-06-25 regex: perl extensions added and tested 01-06-21 misc/error: add ERROR_OPTIONS=prefix=string for message processing 01-06-15 string/chresc: only 2 hex digits max for \xxx regex/regsub: handle REG_SHELL ~(nnn) rhs backrefs 01-06-11 regex: handle embedded in pattern and subject string regex: add (?nnn) for backrefs > 9 comp/fnmatch: add FNM_LEADING_DIR for gnu compatibility features/float: _ast_flt_unsigned_max_t for bsd.i386 omission 01-06-06 misc/optget.c: add o option for old ps,ar,tar with optional leading - regex/regcomp.c: REG_LENIENT|REG_DELIMITED \<newline> => <newline> regex/regcomp.c: REG_LENIENT 00 => NUL 01-06-04 features/dirent: replace Makefile hack with iffe semi-hack regex/regnexec.c: negation must also check REG_SHELL_DOT 01-06-03 sprintf.c: change buf size from SF_BUFSIZE to INT_MAX 01-05-31 glob: fix gl_fignore to ignore leading . by default features/lib: add botch_d_ino_dirent64 for linux botch 01-05-25 port/lc.tab: add a few missing language_territory's 01-05-23 string/chresc: \C[.collation-element.] fmtmatch,fmtre: update for <regex.h> syntax extensions 01-05-21 regex: add perl extensions, unicode names for collation elements 01-05-11 string/chresc: \ == \E == escape,
libcmd changes01-10-31 mkdir.c: mkdir() on existing dir could fail with errno!=EEXIST uname.c: add execve() loop check for unknown options 01-10-29 tail.c: SF_SHARE on only if not reading through EOF 01-10-11 getconf.c: fix usage typos 01-09-11 cp.c,cmd.h: handle . in argv[0] cp.c: add O_BINARY to all open() calls 01-09-06 tail: input streams must be SF_SHARE -- duh 01-07-16 stty: fix cntl() macro for CC_NATIVE!=CC_ASCII 01-05-31 date: fix /bin/date fallback logic stty: fix a few mismatched flags, -a and -g option logic stty: tone down sane to modify current settings rather than from zero 01-05-01 uname: -i => -h, add sol.sun4 -i, add sgi -R, punt to /usr/bin/uname 01-04-17 date,rm: add 01-03-07 cp: fix readonly string mod on "." 01-01-23 cp: `cp foo' => `cp foo .' only for CONFORMANCE!=standard 00-12-01 cut: multibyte support 00-10-31 mkdir: handle races by checking EEXIST 00-09-20 cp: copy argv to stack before modifying in place 00-05-18 add setlocale(LC_ALL,"") 00-04-30 join: drop wierd opt_info.argv reference 00-03-17 expr: add == operator -- duh cp,ln,mv: delay pathcanon() on destination to verify `cp a b/.' getconf: use astgetconf for proper message control ERROR_translate: dictionary update 00-03-08 tail: handle multiple -f files 00-03-07 fmt: add 00-03-07 dirname: handle PATH_LEADING_SLASHES as documented tail: accept + options 00-02-14 chmod: --ignore-umask to ignore umask(2) in symbolic expressions chmod,chgrp,cp: use FTS_NOSEEDOTDIR for correct path construction cat: fix -n (was ignored, wow) 00-01-27 getconf: add "-a" and "-v spec" for sol7.* compatibility 99-09-09 join: fix -j1 vs. -j 1, add --ignorecase 99-06-22 paste: defualt delim in writable string 99-06-16 cat: fix --dos-ouput typo 99-06-11 cp: tighten chown() diagnostics 99-06-08 expr: nothing for NULL string bug fix 99-05-21 paste: fix missing newline columnize bug 99-05-20 mv: do not check for `mv foo foo' since rename() handles it 99-05-01 cmp,comm,cp/mv/ln,expr,fold,getconf,head: long options join,logname,paste,pathchk,tail,tee: long options 99-04-10 uname: long options, stdize -a chmod,head,tail,rev: long options cut: long options, pass regression test 02 99-04-07 cat: long options, fix O_TEXT modes 99-01-11 tail: fix +n join: another ggs/psm bug join: all 1 and/or 2 to be unseekable 99-01-01 cp: fix -p chmod: drop -l option because of clash with l (lock) mode 98-12-25 cat: add -T to sfopen(,,"rt") 98-11-11 chgrp,chmod: cannot open file stream => not found join: fix another ggs/psm bug; thanks guys 98-10-20 cp: fix cp -rp to update dir times too 98-09-22 join: fix ggs null field bug 98-08-11 join: fix last regression test bug 98-05-29 join: add jp->common to handle boundary conditions 98-03-11 cat,cp,rev,tee: fix sfmove() error checks 98-03-01 join: fix bug that emitted records more than once after eof cp: fix sfmove() error check 98-02-14 cp: -R physical, -[HLP], -r getconf(PATH_RESOLVE) 98-01-11 cp: check sfclose() return value 98-01-07 chown,chgrp,chmod: use fts for -R mkdir: fix -p default mode 97-12-07 mkdir: fix umask() reset 97-11-11 chown,chgrp: proper interpretation of -h,-l for lchown() chown,chgrp: only chown() if uid or gid change 97-10-31 mkdir: do umask right 97-08-11 cmdinit: clear opt_info.index to allow multiple calls cp,ln,mv: add 97-07-17 join: fix a few more -a bugs 97-05-31 expr: optget() only if CONFORMANCE==standard 97-04-01 join: fix a few bugs that make it work! 96-12-25 head: sfset(sfstdin,SF_SHARE,1) Makefile: add -last to cmd lib list drop function __IMPORT__ 96-08-11 tail: check for truncated file and rewind for -f 96-04-08 update <cmd.h> 96-02-29 uname: -a like std, -l for everything id: add -a (default) 96-02-14 wc: speed up inner loop newline breakout 96-01-30 unused var cleanup 96-01-01 AT&T Research now pathchk: handle getcwd(0,0) error expr: switch to <regex.h> 95-11-11 add expr.c fix cut exit code and -s optimization 95-10-11 add extern b_* to cmd.h add void* context 3rd arg to b_main() 95-05-09 add getconf cat -u avoids mmap add chown|chgrp -m uid|gid map file add chown|chgrp -P for systems with lchown(2) chown|chgrp -P => lstat() too! chmod|chown|chgrp -HLP 95-04-01 version 1.2 add rmdir 95-02-14 fix mkdir -p symlink bug fix mkdir '/' skip bug that went one too far
libdll changes01-10-31 dlfcn.c: change hp.pa dlopen() prototype (<dlfcn.h> but no -ldl!) 01-09-25 dllfind: add LIBSUFFIX 01-07-17 dllfind: do at least one dlopen() to prime dlerror() 01-05-29 dlopen: fix dlopen(0,0) for HP 01-04-20 dllfind: use getconf HOSTTYPE LIBPATH LIBSUFFIX 01-02-14 features/dll: fix unbalanced ' quote and ancient hostinfo reference 00-01-26 dlllook: add -- dlsym() with `_' weak prefix fallback 99-04-01 features/dll: drop <stdio.h> -- iffe protos printf 99-03-19 static=1 for all but win32.* 98-06-01 dllfind: fix version search 98-03-11 features/dll: probe for _DLL_RLD_SYM 98-03-01 dllnext: fix to work! 98-01-23 -ldl test moved to lib0ast 98-01-11 update for astconf("LIBPATH") add dllnext(flags) to uncover next layer dllfind() and dllnext() in separate files (for 3d) 97-10-11 move from libast so libast can link static
libexpr changes99-09-22 exparse.y,exeval.c: add for(ID[DYNAMIC]) exparse.y: ref[i].ref 98-12-25 excc: fmtesq() to handle 98-11-11 expr.h: add disc matchf for strmatch exlib.h: fix exeval string mem leak with Expr_t.ve 98-09-11 expr.h: move Exdata_t to last public element of Exnode_t 98-07-17 label: return type INTEGER add exdump() for debugging 98-05-22 STRING * STRING == common chars by position, ' ' for diff 98-05-11 add function args; NOTE: auto's still global 98-04-01 sfprintf Sffmt_t update 98-02-14 fix aggressive freenode 98-02-04 finally drop exstr*() for vmalloc regions 97-12-07 preprint adjusts l count for %[doux] 97-10-31 tweak INTEGER <=> auto conversions 97-10-01 INTEGER is now Sflong_t 97-08-11 add pathfind() add '$' to identifier set eliminate S2B at PROCEDURE level 97-07-17 discipline interface (incompatible but only tw,cql affected) add excc() to generate C expression code drop exinclude() add printf base param (%width.precision.base<format>) 96-12-25 rearrange exparse.y to keep yacc and bison happy 95-08-11 drop exseek(), add exstatement(), exrewind() tune excontext() 95-05-09 drop %token for tokens in %binary,%left,%right to avoid redef errors add EX_CALL and EX_SCALAR to refval|getval|setval elt arg excomp with sp==0 and fp==0 resumes from previous context fix exseek() loosen excast() restrictions fix Oexparse.[ch] generation 95-04-01 add solaris yacc bogus yyact index makefile workaround fix switch newof() size=0! 95-03-19 fix exstore() alignment bug 95-01-11 prepare extoken.c for TRACE_lex==debug-level add exseek() for backup
librecsort changes01-01-01 recsort.h: _RSHDR_H => _BLD_recsort; should have been done years ago 00-08-31 rskey.c: fix code() buffer off by one (too far) 00-03-17 rskey.c: consult RLIMIT_DATA for size limits 00-01-25 rskey.c: win32.i386 optimizer generates bad code for key_n_code 99-11-19 rskeylist.c: add usage 99-07-28 rskey.c: factor number of key fields into rs.disc.key 99-03-03 recsort.h: add RSKEYDISC() to get Rskey_t.keydisc from Rsdisc_t* 98-08-11 add rsmerge() write error detection 96-12-25 add (ulong) for alpha 64 bit << bug (ahem..correct stdc interpretation) add (int) for unsigned char subtracts drop function __IMPORT__ use vmalloc() for all allocations we're getting sick of bsd: <stdlib.h> has a radixsort() prototype! unroll rs-rasp.c for the hp.pa compiler; don't trust it! 96-10-31 sfio,dll update drop MAXFIELD restriction by converting to linked list add -k*a to accumulate fields from dup keys 96-10-22 K&R cast cleanup 96-10-17 iffe test for sizeof(long)==8 96-10-15 oops -- regression test bug let rswrite() bug through 96-10-11 all regression tests pass for all methods 96-10-01 rskey discipline and eventf; remove libast dependencies 96-09-20 rskey(kp,s,obsolete) 96-09-18 first working version with -lsort (ok, so -c and -m don't work yet)
libuu changes01-03-27 uulib: add UU_LOCAL for local path conversion 00-03-06 uulib: !UU_HEADER decode checks for candidate encodings 00-03-04 uulib: add posix decode size check 98-12-25 uu_encode: fix dp->fill usage 98-11-11 uulib: add binhex encode
libbz changes01-01-01 bzlib.h: add _PACKAGE_ast checks 99-09-11 sfdcbzip: return >0 if discipline pushed 99-07-17 sfdcbzip: don't free disc on SF_CLOSE 99-03-17 split library from command, sfdcbzip.[ch]
libz changes01-09-18 zconf.h: include <ast_std.h> for __IMPORT__ and __EXPORT__ 00-09-11 gzio: don't set verified=1 in check_header() for concatenation 99-11-19 gzio: add missing _PACKAGE_ast 99-09-11 sfdcgzip,sfdclzw: return 1 if discipline pushed 99-08-11 gzio: fix gzread() z_err to keep Z_STREAM_END after check_header() 99-07-17 sfdclzw: don't free disc on SF_CLOSE 99-06-23 fix gzread/gzwrite to return -1 on error (fixes sfio disc loop) 99-02-14 fix SFGZ_SETPOS to flush/sync for mode=='w' only 99-02-04 add SF_CLOSE to output trailer before the underlying stream is closed! 98-12-01 drop lzwWrite and lzwSeek in sfdclzw 98-11-01 pushed stream buffer size is SF_BUFSIZE 98-10-01 add SFGZ_GETPOS and SFGZ_SETPOS 98-03-19 sfgzip => sfdcgzip
libcoshell changes01-10-26 coopen.c: hung sfclose(fp) -> close(sffileno(fp)) -- wow 01-09-11 coinit.c: fix coident[] for ancient bsh that die on `test == 1' coinit.c: and fix coident[] to weed out buggy ksh88i trap on exit 01-05-31 co*: add CO_CROSS, expose CO_DEVFD 01-04-23 coquote: add state.type to avoid getenv() overwrite on some systems 01-01-01 cokill: killjob => cokilljob, killshell => cokillshell 00-12-18 coinit: CO_OSH ? "${!-$$}" : "${!:-$$}" 00-10-25 codata: $ZSH_VERSION is not ksh 00-02-14 procrun,system: system(3) returns wait() status (not shell status) 99-11-19 co*: add CO_OSH for bsdi lack of times(1) coexec: CO_IGNORE for all but real ksh 98-06-22 coinit: quote cd path arg
libcs changes01-10-31 cssend,csrecv: use msg_accrights over msg_control cspath: don't check /dev/fd/* -- duh 01-05-11 csserve: sync cs.* with css->* csspoll: handl cspoll() EINTR that doesn't set cs.interrupt 01-01-01 cspoll: fix getmsg() flag arg csaddr: fix local host addr initialization 00-06-01 csopen: handle dynamic ip assignment underfoot 00-05-11 csopen: handle /dev/tcp/local/9876/FOO/other 00-05-09 cssfd: CS_POLL_WRITE implies O_NONBLOCK 00-02-14 cschallenge(): add stat() to verify touch() 00-02-03 features/lib: add sys/types.h to htons etc. header refs 00-01-25 genlocal: use package instead of hostinfo 99-10-07 csbind: NODELAY for CS_ADDR_NOW only 99-09-22 cs*: add CS_MNT_TAIL for multi-char mount files css: _UWIN workaround for st_ino verification 99-07-17 csaddr: clear more state->flags bits to avoid prev csopen() carryover 99-05-20 msg*: handle f_basetype and f_fsid for redhat 6.0 linux -- boo 99-05-13 css: fix disc.wakeup logic cspoll: add debug=6 poll trace 99-04-23 csaddr: check for 127.0.0.[01] from hostname lookup == local 98-06-29 cs.h: add Cs == (&cs) 98-06-03 csserve: fix SIGCHLD exit bug 98-02-14 csopen: add PROC_ZOMBIE for systems that don't fork() in csdaemon() 97-11-27 csopen: /dev/tcp/*/inet.*/user for client inet.* authentication css.h: add CSS_AUTHENTICATE for server inet.* authentication 97-11-11 csread: add CS_RESTART to restart on interrupt cslib: CS_AUTH_MODE for authentication file mode cs.h: drop CS_SVC_SERVICE, add CS_SVC_SUFFIX SERVICE.mk: executable name changed from server => `service'.svc csopen: rm CS_MOUNT_PROCESS if no connect and pid invalid 97-07-17 add css.h, csserve() on top of css CS_INTERFACE=2 for thread safe state instead of global cs.* cspoll(CS_POLL_WRITE) events cleared on write csspoll(timeout,CSS_INTERRUPT|CSS_ERROR) cs.h,msg.h: fix dll import/export 97-05-09 cslib.h: check _hdr_netdb,_hdr_netinet_in,_hdr_netinet_tcp features/lib: statvfs.f_fstr msglib.h: <ast.h> before "cs_lib.h" 97-04-01 csport: htons() done too soon 96-12-25 genlocal: add correct nslookup query fix sizeof(long)==4 assumptions install genlocal and genshare in $(INSTALLROOT)/lib/$(ID) 96-02-29 use <hashkey.h> add csport() drop CS_MOUNT_*; use csvar(CS_VAR_*,trust) instead CS_VAR_PROXY ($CS_MOUNT_PROXY) names proxy connect stream csopen() attempts proxy open on local failure hold CS_PROC_FD_TST cssend() fds until next cssend() csread(CS_LINE) really means 1 line fix cslocal() and csopen() fdp initiate timing bug 96-01-31 add warning to local rather than generate on install 96-01-22 no <sys/uio.h> on linux (defined(MAX_IOVEC)) 95-11-11 trap 127.0.0.[01] local address alias in cspath() and csntoa() 95-10-31 CS_MNT_OTHER '.' -> '#' to placate NT (trailing . ignored -- thanks) 95-10-11 export -> coexport add dirsize() to cslib.h check _mem_d_reclen_dirent for d_reclen 95-08-11 (done)(handle,EXIT_TERM(signal)) called on csserve() interrupt 0 return ignores signal csserve() now creates local auth dir if not there, duh fix genlocal hostinfo timeout 95-07-17 fix remote auth off by one error 95-05-09 add linux /proc/<pid>/fd/<fd> to cssend()-csrecv() add bsd4.4 msghdr.msg_accrights -> msghdr.msg_control mods bsd4.4 thinks S_ISFIFO() and S_ISSOCK() are the same! features/cs.c now uses sfio 95-04-01 convert genlocal.sh to hostinfo 95-03-19 bsd4.4 stole devname(), so use devpath() in cspath() 94-12-15 csinfo("-",0) gets standard info
libpp changes01-10-20 pplex.c: fix pp:splicespace inside "..." 01-09-11 ppinput.c: use pathnative() for native fs representation 01-08-31 pp.probe: handle -Dmacro(args)=value 01-08-11 ppcontrol: fix ... and __VAR_ARGS__ for C99 ppsearch: fix SEARCH_NEXT bug that skipped the include stack 01-08-06 ppproto: preserve #! first line for # comments 01-07-17 gentab.sh: fix ksh test to omit pdksh (typeset -u fails) 01-06-26 ppproto.c: fix another buffer boundary bug that didn't preserve OTHER 01-06-06 ppsearch.c: list PP_FILEDEPS headers once 01-06-01 pp.h,ppop.c,ppsearch.c: allow multiple PP_FILEDEPS (-M) 01-05-24 pp.probe: fix pp:hostedtransition probe: only suncc can __STDC__==1? 01-04-25 pp.probe: split macro probe files for compilers that have #line limits 01-04-19 pp.h,pplex.c,ppproto.c: fix { \a \E \v } EBCDIC translations 01-04-16 pp.tab: add pp:splicespace for mvs jcl decks -- the 60's live on 01-04-13 ppbuiltin: add __FUNCTION__ cache for functions that span the buffer 01-03-08 pp.tab,ppbuiltin,ppcontrol,probe: add pp:hostedtransition 01-02-22 pp.tab,ppfsm,pplex,pp.probe,probe.win32: add pp:zeof for ^Z => EOF 01-02-14 ppcall.c: fix macro(tuple*) bug that truncated macro arg expand buffer pplex.c: fix # inside pp:pragmaexpand gentab.sh: change ksh test for openbsd /bin/sh ppproto.c: fix buffer boundary bug that lost call nesting ppproto.c: add realloc prototype and memcpy=>memcopy strcpy=>strcopy 01-02-09 ppsearch.c: fix another pp.include null dereference 01-02-07 ppcall.c: fix stack inequality checks ppcall.c: handle trailing in macro args 01-02-06 fix readonly buffer write (cpp test 07:2873) 01-02-04 fix -M* to properly handle .cxx .cpp .C input fix IN_BUFFER pop bug that did not reset the token pointer 01-01-01 pp:headerexpand: space ok if not IN_MACRO ppcall: hide if IN_FILE|IN_MACRO|IN_EXPAND pplex: don't complain about ^L or ^Z as last char in file ppsearch: fix #include <.../foo.h> loop ppcontrol: manulally increment IN_RESCAN error_info.line 00-12-25 add EXPOSE to expose hidden macros (for #import ...) probe.win32: add cc path *and* args to first line to avoid hash clash pp.probe: filter out invalid symbols for predefined macro scan, duh pp:headerexpand: limit expansion to IN_MACRO 00-10-31 __STDC__==0 if HOSTED && _UWIN 00-10-26 pplib.h: change SEEK_SET to O_RDONLY for aix 00-10-17 pp.probe: __IMPORT__ => __STDPP__IMPORT__ 00-09-18 add __FUNCTION__=#(FUNCTION), #define <a b> c pp.probe: add probe_longlong probe.win32: add #define <long long> 00-09-11 add pp:noproto (NOPROTO pp.option) to disable ppproto() 00-09-01 ppproto: fix buffer slide bug 00-08-11 pplb.h: check for <unistd.h> already included for PROTOMAIN pragma: add pp:pragmaexpand to expand pragma args ppcontrol: always disable pp:* pragma expansion ppcall: fix pp:hide buffer clash 00-06-01 pplex: fix "" and "" 00-05-22 ppsearch: fix uwin #include <C:/foo/bar.h> 00-05-16 probe.win32: update reserved word list 00-05-09 ppcontrol: fix C++ macro >+> invalid fuse ppcontrol: 'macro' expansion only for COMPATIBILITY | TRANSITION c9x: up to date with proposed standard 00-04-01 pp.tab: add allpossible and ALLPOSSIBLE ppmacref: fix ref inside literal catenation 00-02-14 pppopen(): general comments with "bme" (begin middle end) string 00-01-11 pp.probe: hosttype now in C.probe 99-11-19 is[a-z]*( => ppis[a-z]*( ppproto: "..." [A-Z_]+ "..." ignores [A-Z_]+ if PROTOMAIN 99-11-11 ppproto: use astlicense() 99-10-31 ppproto: add PROTO_SHARP, update license parse pplex: fix some MARK bugs seen by #define X "A B <C@D>" 99-10-01 add pp:stringsplit for "......" => "..."..." add pp:lineid to match PP_LINEID 99-07-17 ppbuiltin: fix getline() canon spacing for numbers ppsearch: fix FILEDEPS not found print pplex: fix spurious FILEDEPS '.' empty character constant message ppargs: fix usage error call and error_info.id default value ppproto: fix up copyright notice for ksh93 style .author file ppproto: check if notice text if file path 99-06-02 ppproto: add __MANGLE_package_DATA__ & __MANGLE_package_FUNC__ 99-05-26 ppcontrol: all pragmas but prototyped need pp: 99-05-25 ppargs: long options 99-05-22 ppproto: changes for full ast vs. PROTO_STANDALONE 99-05-09 ppinput: add #pragma pp:native and (pp.option&NATIVE) for native paths 99-04-22 ppproto: finish type=open notice 99-02-11 #define __STDC__ #(STDC); demote __STDC__ to 0 for HOSTED (thanks sun) 99-02-04 pplex: joined strings separated by n 99-01-11 probe.win32: add _UWIN predef 98-10-20 pplex: a few more (HOSTED|RELAX) checks -D:preserve throws a bunch of stuff -- great for imake (yuk) 98-05-11 pplex: fix "..." off by one line count 98-02-14 ppcontrol: fix HEADEREXPAND missing NUL 98-01-23 ppproto: add _GNUC_ to _WIN32 check ppfsm: don't optimize for hp.pa 97-11-11 ppcontrol: fix recursive use of pp.hdrbuf for HEADEREXPAND 97-10-31 ppmacref,pp.h: add ppmacref sum arg -- some parts assumed it! 97-10-01 pplex: loosen HEADEREXPAND check 97-08-11 pplex: fix COMPILE pplex() bug that did not reset NEWLINE for S_MACRO pplex: PP_PRESERVE does not pp.pragma <token> ... # <pragma-stuff> pp.def: add UWIN ppcall: fix macro actual arg error checks 97-07-17 ppproto.c: C++ __INLINE__ prefixed with extern __MANGLE__ ppop.c: fix PP_RESERVED T_* lookup 97-05-09 pp.def: add MVS :architecture: ppfsm.c: change C_* pseudo codes to not clash with ebcdic pp.probe: fix stdc.$src sed script 97-04-01 ppcontrol.c: fix tokop() for PP_RESERVED 96-12-25 add ms #@ charize to complement # stringize pp.probe now detects preincludes ppproto: allow #ifdef'd function definions before { ppproto: NoN() is not a function pp.key,ppkey.h: add int64 ppargs.c: fix -M{DGM}* 96-12-06 add pp:headerexpand for ms that expands macros in expanded <...> 96-10-31 a few more line sync tweaks for EDG C++ 96-10-11 fix pp:macref off by one for standalone pp (big suprise) 96-10-01 -D:macref -D-L -> #line (n-2)pragma pp:macref ... 96-08-11 fix transition macro expansion compatibility 96-02-29 use <hashkey.h> drop ungetchr() in ppcall that modified macro values tighten the DEBUG PANIC case in ppcontrol.c unify #architecture() and #machine() probe add POSIX,WIN32,X86 to pp.sym tweak pp.probe 96-02-14 pp:noallmultiple works on hosted files too fix #define /* EOF loop 96-01-31 fix ## as arg to stringize macro to have ## value, not # add nonstopux and SYSTYPE_SVR4 to pp.def 96-01-01 AT&T Research now fix catliteral line sync line number bug ppproto() converts non-directive <num>u to (unsigned)<num> switch to <regex.h> 95-10-31 fix PP_COMPILE PP_TRANSITION bug that didn't allow space before # fix PP_TRANSITION wline in definition complaint 95-10-11 fix ppproto() PROTO_PLUSPLUS bug change ignored pp.incref PP_SYNC_POP to PP_SYNC_IGNORE add PP_PEDANTIC to handle gnu oversights (can't beat em ...) add memfatal() call relax newline in quote semantics proto inline -> __INLINE__ fix __INLINE__ proto def for __GCC__>=2 95-08-11 pp:preserve for easel (aka IFS) and imake fix pp:reguard ## macro output fix MARK PANIC with CATLITERAL PP_INPUT *.(s|S|as|AS|asm|ASM) implies pp:nocatliteral pp:spaceout ppargs() can't use isid() until after FSM_INIT -D#... for assert, -D%... for directives __STRICT_ANSI__ && __GNUC__ requires -pedantic for PP_STRICT #include <.../x> for include_next 95-05-09 fix tokop() bug that concatenated adjacent strings don't concatenate directive string literals in proto split pp.mode into pp.mode and pp.option restrict pp.probe hostinfo output to the first token fix EOB/EOF pplex() nonterminating loop unused var cleanup add pp:reguard to emit #define and #undef (for C++ templates) add a few ppproto '\r's for NT fix T_BUILTIN ppsymbol -> ppsymkey pun fix pp:stringspan `#define x "' hang 95-04-01 fix pp:hide for macros defined before the hide fix pp:map getline space canonicalization fix proto `<digits>[uU]' proto does // comments by default (fixes bug introduced 07/17/94) proto does "..." "..." string literal concatenation spice up proto copyright comments for nonexclusive license add hosttype assertion fix proto `typedef type fun(args)' proto copyright finishing touches fix overzealous "empty character constant" message 95-02-14 pp:nopredefined probe info defines are now pp:builtin clean up pp:hosted conflicts tighten up unknown directive warning PP_INPUT *.(s|as|AS|asm|ASM) implies pp:nocatliteral pp:spaceout change newof(0,char,n,0) to newof(0,char,0,n) if 0 init not needed don't emit unkown directives inside #if 0 ... #endif 95-01-19 *strict-* does not force STRICT token##null-last-variadic-arg consumes token (to match gcc) variadic actuals call be one less than arity (to match gcc) fix PLUSPLUS digraph bug that lost comment state tighten up PLUSPLUS //, /*, */ interaction warnings macro formals in "..." for COMPATIBILITY|TRANSITION macro formals in '...' for COMPATIBILITY|TRANSITION|!STRICT STRINGSPAN allows ' in '... too add PP_SYNC_* flags for pp.incref arg 3 add PP_SYNC_INSERT for invented file references fix C++ fsm bug that popped out of comment in // /* */ ... PP_INPUT *.(s|S|asm|ASM) implies pp:nocatliteral pp:spaceout 95-01-01 avoid string literal concatenation in pp.probe #if #predicate() tests fix pplib.h memcpy,strncmp PROTOMAIN prototypes (its a nop tho) 94-11-11 fix readonly memory reference in refill add C++ digraphs (digraph = --trigraph) add C++ T_EXPLICIT -- did dos take over C++? fix improper ppproto() C++ __PARAM__ expansion 94-11-01 allow #include string header arg concatenation (yes, its not ansi) #macdef macros are recursive 94-10-01 fix C++ } loop in ppfsm/refill T_NOISES consumes symbol and optional paren group __builtin_* T_NOISES by default fix "..." "...MARK..." join fix STANDALONE */*comment*/ 94-09-11 fix pp.probe cp+strip with chmod u+w 94-08-11 add -I<vdb-archive> to handle pax -x ppar header archives fix -D-Q header checkpoints add `pp:chop prefix' to chop prefix/ from include prefix/*/* add pp:keyargs for key=value macro formals/actuals (not for C!) 94-06-01 fix ppcontrol/tokop() that botched pp:id, etc. add pp:plussplice to handle cfront // \<newline> ignorance inhibit trigraph conversion for pp:compatibility, duh new C++ keywords enabled by pp:keyword proto: int fun xxx((yyy)) is macro call, not decl fix !ALLMULTIPLE pp:load to SKIP between duplicated line syncs fix PP_DUMP for pp:noallmultiple, optimize pp:load format fix CPP CACHEOUTX() buffer boundary bug 94-04-01 drop warnings for -X* fix ppproto() %% in comment bug for yacc proto PP_COMMENT now truncates comments to MAXTOKEN-4 94-03-01 no pp:truncate for #pragma pp:macref 94-01-01 fix STANDALONE+PP_TRUNCATE fsm macro bug drop __VOID__ from ppproto.c 93-12-01 release 93-11-11 fix PP_COMPILE+PP_TRUNCATE=8 bug for continue,unsigned,etc. add PP_LINEBASE for compilers that botch long line sync paths fix #if unsigned promotions aggressive interactive line splice flush fix #else inside multiline null dereference fix "..." newline space # COMPATIBILITY CATLITERAL bug fix m(a)b compatibility token pasting [cpp/test/ess.01.c] fix nested @X mark bug [cpp/test/net.02.c] 93-10-11 add FSM_COMPATIBILITY for floating point hex -- yo ansi, anybody home add #else if|ifdef|ifndef for COMPATIBILITY but with warning drop PP_HOSTED, add ppop(PP_CDIR|PP_HOSTED,"-",n), -D-I for pp:cdir 93-10-01 add pp:opspace to tokenize <binop><space>= to <binop>= 93-08-11 drop ancient BCD constant (`...`) detection -- wake up cfront fix PP_TRUNCATE macro fsm bug that missed some expansions fix stringize bug that choked if space preceded # fix <function-like-macro> <identifier> bug that omitted space 93-07-17 minor transition mode fix for string concatenation fix standalone macdef line sync buffer bug pp:noline turns off linesync, pp:line restores it 93-06-22 add pp:prefix to control prefix include compatibility 93-04-01 use probe_verbose in predefined symbol probe 93-03-11 close fd after last file block read -- relaxes open fd limit remove pp.control nesting limit add `#rename old new' __STDC__ not defined for plusplus (until they figure it out) 93-01-22 fix ansi macro args recursion bug 93-01-11 fix '\377'<0 for signed char compilers add RELAX for __STDPP__directive directives 92-12-25 fix #include guard test that omitted IN_tokens for CPP=1 92-12-11 fix pp:truncate for STANDALONE and COMPILE fix pp:allmultiple again! 92-11-30 add pp:final, pp:initial add __STDPP__directive and #(directive) as ??= alternative relax obsolete macro expand warning for _xxx||xxx retain quoted wline when PP_LINEID != "" fix CATLITERAL hidden newline line sync 92-11-11 fix COMPATIBILITY EOF in macro arg list and # in macro body fix [?\] on 4K buffer boundary bug that lost next refill() fix ppproto bug that botched -ih comments 92-10-31 fix standalone -C bug that duplicated output buffer add pp:stringspan to handle gnu "<newline>" extension 92-10-12 fix T_X_GROUP asm bug allow `#define a "b' pp:compatibility hack 92-08-11 add PP_PLUSCOMMENT, pp:pluscomment probe add #(default v,d) #(empty v) #(iterate m,...) compatibility allows #define f(a,,b) for 2 args! probe now handles gcc -E -g3 to get gnu predefines 92-07-17 fix pp:multiple again, fix ppproto() out of bounds PP_STANDARD is always PP_CDIR and PP_HOSTED 92-07-11 add #import and #include_next probes 92-06-11 fix bug where comments dissappeared after disabled macro in standalone COMPATIBILITY macro recursion bug fix may cause some to be missed PP_MACREF or -D-L- ignores #line until #line with file arg 92-06-01 add pp:ignore fix probe of stdpp to handle -I[-+][CH] 92-05-11 add pp:hide <id>, pp:note <id>, noticed(<id>), exists(<...>) add defined(__STDPP__<pragma>) feature test add PP_CDIR, pp:cdir for C++ extern "C" { ... } include wrapping pp.probe now handles predefines with values other than 1 92-04-11 add inverse proto (K&R -> prototype) to ppproto 92-04-01 release 92-02-29 #include <...> inside <xxx.h> gets next xxx.h on -I list non-libpp generated symbols containing ' ' are not truncated 92-02-11 conversion to new lexer brings time close to reiser (esp. w/gcc -O) combine standalone (ppcpp) tokenizing (pplex) and proto lex tables recode ppproto for standalone operation via PROTOMAIN add PP_NOHASH for PP_COMPILE front ends that rehash T_ID anyway delete PP_NOQUOTE delete #option(strict) test in probe in favor of non-hosted warnings add unsigned to ppexpr() 91-10-11 add pp:truncate <len> for non-flexname compilers 91-09-11 fix ppproto aggression on f(*y); -> f __PROTO__((*y)); 91-08-11 switch seterror() to error_info.* add pp:linefile to force file name in line sync add pp:spaceout for probed compilers that don't allow pp override 91-06-11 fix ignored -I/usr/include bug 91-04-11 set SYM_INIT in pp.macref for -U on cmd line 91-01-31 replace pp:pragma and pp:directive with pp:map replace #assert and #unassert with #define #... and #undef #... #assert and #unassert compatibility retained via pp:map replace -D#directive with -D%directive (because of #assert change) add pp:splicecat for \<newline> #define token paste fix \<newline> bug that added space in COMPATIBILITY quoted strings 90-12-11 fix #pragma pp:multiple 90-11-11 generalize handling of non-standard keywords for COMPILE replace pp:identifier/PP_IDENTIFIER with pp:reserved/PP_RESERVED pp*keys* -> ppkey add PP_NOISE (gag) handle msdos paths by changing to / and retrying on failure (gag) handle msdos :> operator by pplex() '+' return add #pragma prototyped and ppproto.c for prototype conversion add unsigned long arg to PP_MACREF for hashed macro arity+value 90-10-11 0f is not a float constant change -I-M to -I-I, file just lists include files to be ignored fix ppprobe for __STDC__==0 hybrids add pp.flags and PP_[a-z0-9]+ for exported state info 90-10-01 fix standalone ppmacref for directives add `try' to C++ keywords fine tune a few COMPILE error messages privatize pp.h 90-08-11 use opt_again in cmdargs() option parsers (gag) add pp:macref macro reference pragma to handle CC preprocessors (gag) add pp:spaceout to handle ansi + asm hacks 90-07-17 remove spaces from macdef line sync (blew sun cc) 90-06-11 add internal ppsymkey to avoid ppsymbol.value pun for SYM_KEYWORD 90-05-01 fix catliteral bug of `"..." << ' -> `"..." <=' 90-04-01 fix `ifndef-define-endif' include wrapper test 90-03-27 add setpreroot() to ppop() [ sleazy but well hidden ] 90-03-22 pp.macref called for all undef's 90-03-20 add <prefix>cpp checks to ppprobe add pp:hostdir before pp:include in ppprobe fix PP_HOSTDIR op with no dir arg 90-03-15 System V CCS compatibility update add PP_ASSERT add -A for PP_ASSERT and -YI,dir for PP_STANDARD add ppincref.c and -H to use it -Xa defines __STDC__ to 0 (gak) 90-03-09 duplicate macro formals cause level 2 error 90-03-01 add #(ARGC) for (variadic) macro arg count 90-02-11 fix line sync number bug in pppush() 89-12-01 ignore leading = in pragma map for old pragma compatibility check for NEWLINE on first macdef line sync 89-11-11 add -1 arg to pp.incref -- include skipped STRICT 0x7e-macro is T_INVALID per standard 89-10-31 put all C keys in ppckeys.c, C++ keys in pppkeys.c add pp:identifier pragma to selectively undo PP_COMPILE keywords add tokop() to ppcontrol to support multi-valued pragmas add #ifndef...#endif include optimization for STRICT 89-10-27 use REF_NORMAL, REF_IF, REF_UNDEF for pp.macref arg2 89-10-17 fix c(x)y compatibility pasting bug #line 1 "f" now marks "f" included 89-10-11 enable -I. during initialization 89-10-01 inhibit pp:linetype syncs for top level #line directives ----- see HISTORY -----
November 14, 2001 |