ast-base package
This package is a superset of the following packages: ast-make ast-ksh ksh ast-ast; you won't need these if you download ast-base. 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.DLL) ast 4.0 :LIBRARY: ast.c strmatch.cIn this case if the compiler supports shared libraries (aka dlls) 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.
twtwlists the directory hierarchy under the current directory, tw chmod go-rwxchanges the mode of all files in the directory hierarchy under the current directory by calling chmod as few times as the exec arg limit allows. tw -d /usr/src -e "name=='*.[chly]'" grep FOOBARgreps for FOOBAR in all the C source files in /usr/src. tw efficiently prunes the file tree search; it follows symbolic links by default (logical walk). The getconf variable PATH_RESOLVE controls the default behavior for all advsoft commands: getconf PATH_RESOLVE - physicalsets the default to not follow symbolic links, logical to follow, and metaphysical to follow only command line symbolic links (corresponding to the -P, -L and -H command options that override the default). tw -P -e type==LNKdoes a physical walk that lists all symbolic links. tw -e "mtime>='yesterday morning'"lists all files modified since yesterday morning. The magic file types from the file command are available in tw expressions (tw and file use the same library routine in libast): tw -e "(mode & 'u+s') && magic == '*script*'" chmod u-sfinds all setuid scripts and turns off the setuid mode bit. The magic file also contains MIME types: tw -e "mime == '*/exe'"lists all executable programs (a.out's).
release change log
All recorded changes follow.
ksh93 changes05-01-11 --- Release ksh93q --- 05-01-11 A bug in the integral divide by zero check has been fixed. 05-01-11 The -l option has been added to cause /etc/profile and $HOME/.profile, if they exist, to be read before the first command. 05-01-11 An argument parsing bug that caused `kill -s x -- n' to fail has been fixed. 05-01-11 The .paths file, introduced in ksh93m, which can appear in any directory in PATH, now allows a line of the form 'BUILTIN_LIB=.' When a command is searched for this directory, and the full path matches the path of the built-in version of the command (listed by the 'builtin' comman) then the built-in version of the command is used. When ksh is built with SHOPT_CMDLIB_DIR=1 then all libcmd functions become builtins with the '/opt/ast/bin/' directory prefix. 05-01-10 A bug in which a nameref to a compound name caused a core dump has been fixed. 05-01-09 A bug in which some SIGCHLD interrupts (from child processes exiting) caused a fatal print/echo error diagnostic has been fixed. 04-12-24 A bug in which some SIGCHLD interrupts (from child processes exiting) corrupted the internal process/job list, sometimes causing the shell to hang, has been fixed. 04-12-01 A bug in which typeset -Fn truncated in less than n digits for large numbers has been fixed. 04-11-25 A bug in which standard error could be closed after a redirection to /dev/stderr has been fixed. 04-11-17 A bug in which an expansion of the form ${array[@]:3} could expand to ${array[0]} when ${array[3]} was not set has been fixed. 04-10-22 The -E or -orc command line option reads ${ENV-$HOME/.kshrc} file. 04-10-22 `-o foo' equivalent to `+o nofoo', `-o nobar' equivalent to `+o bar'. `--foo' equivalent to `-o foo', `--nofoo' equivalent to `+o foo' 04-10-05 The .paths file, introduced in ksh93m, which can appear in any directory in PATH, now allows a line of the form 'BUILTIN_LIB=libname'. When a command is searched for this directory, the shared library named by libname will first be searched for a built-in version of the command. 04-09-03 <<< here documents now handle quotes in the word token correctly. 04-08-08 The maximum size for read -n and and read -N was increased from 4095 to 32M. 04-08-04 printf %q was modified so that if an no operand was supplied, no no output would be generated rather than a quoted empty string. 04-08-01 The -n and -N options of the read builtin has been modified when reading variables with the binary attribute so that the data is stored directly rather than through assignment. 04-08-01 The shcomp command has been modified to process alias commands under some conditions. 04-07-31 The .sh.match variable added in ksh93l, now works like other indexed arrays. 04-07-08 A loop optimizer bug which occurs when typeset is used in a for or while loop inside a function has been fixed. 04-06-24 The number of subexpressions in a pattern was increased to 64 from the current number of 20. 04-06-17 The -t option to read was modified to allow seconds to be specified as any arithmetic expression rather than just an integral number of seconds, for example even -t 'sin(.5)' is now valid. 04-06-16 Two small memory leak problems were fixed. 04-06-15 A bug in ${var/pattern/"string"} which occured when string contained pattern matching characters has been fixed. 04-05-08 printf $'%d produced an erroneous error message and has been fixed. 04-05-24 A bug in which an associative array without any elements could cause a core dump when a script with an associative array with the same name was declared in a script invoked by name has been fixed. 04-05-11 A bug in which an exec statement could close the script that is being proccessed in a script that is run by name causing a failure has been fixed. 04-04-28 If the first character of assigment to an integer variable was 0, the variable had been treated as unsigned. This behavior was undocumented and has been removed. 04-04-05 A bug in which the positioning of standard input could be incorrect after reading from standard input from a subshell has been fixed. 04-03-30 A bug in the for loop optimizer which in rare cases could cause memory corruption has been fixed. 04-03-29 The preset alias source='command .' has been added. 04-03-29 A bug introduced in ksh93p on some systems in which invoked by name with #! on the first line would not get the signals handling initialized correctly has been fixed. 04-03-29 A bug introduced in ksh93p in which a HUP signal received by a shell that is a session group leader was not passed down to its children has been fixed. 04-02-28 --- Release ksh93p --- 04-02-28 The ability to apply an append discipline to any variable has been added. 04-02-14 A bug in which the exportall option (set -a) would cause incorrect results for arrays has been fixed. 04-02-02 A bug in which an exported array would pass more than the first element to a script invoked by name has been fixed. 04-02-02 A bug on some systems in which name=value pairs preceding a script invoked by name was not getting passed to the script has been fixed. 04-01-20 A bug in which an unset discipline function could cause a core dump on some systems has been fixed. 04-01-12 A bug in which a continue or break called outside a loop from inside a function defined with name() syntax could affect the invoking function has been fixed. 04-01-08 If a command name begins with ~, only filename completion will be attempted rather than pathname completion using the builtin editors. 04-01-08 A bug in the vi edit mode in which the wrong repeat count on multiple word replacements with the . directive has been fixed. 04-01-06 Backspace characters are now handled correctly in prompt strings. 04-01-06 The getopts builtin has been modified to accept numerical arguments of size long long on systems that support this. 04-01-06 A bug in which unsetting all elements of an associative array would cause it to be treated as an indexed array has been fixed. 03-12-15 A bug in which a quoted string ending with an unescaped $ would delete the ending $ in certain cases has been fixed. 03-12-05 A bug in which the shell could hang when set -x tracing a command when an invalid multibyte character is encountered has been fixed. 03-12-05 On some systems, if the KEYBD trap is set, then commands that use the meta key were not processed until return was hit. This has been fixed. 03-12-05 A problem which occured when the login shell was not a group leader that could cause it to fail has been fixed. 03-12-05 A problem in which a shell could core dump after receiving a signal that should cause it to terminate while it was in the process of acquiring more space has been fixed. 03-12-05 If ENV is not specified, the shell will default to $HOME/.kshrc for interactive shells. 03-11-21 A bug introduced in ksh93o in which the DEBUG trap could get disabled after it triggered has been fixed. 03-11-04 A bug in which using arithetic prefix opertors ++ or -- on a non-lvalue could cause a core dump has been fixed. 03-11-04 A bug in which leading zeros were stripped from variable expansions within arithmetic compution to avoid being treated as octal constants when they should not have, has been fixed. 03-10-08 A bug introduced in ksh93o in which a large here document inside a function definition could get corrupted has been fixed. 03-09-22 A bug in which the .get discipline function was not being called when a string variable was implictly referenced from within a numerical expression has been fixed. 03-09-22 A bug in which a script without a leading #! could get executed by /bin/sh rather than the current shell on some systems has been fixed. 03-09-12 To improve conformance with ksh88, leading zeros will be ignored when getting the numerical value of a string variable so that they will not be treated as octal constants. 03-09-03 The builtin kill command now processes obsolete invocations such as kill -1 -pid. 03-09-02 The restriction on modifying FPATH in a restricted shell (sh -r) has been documented. 03-09-02 The restricted shell (sh -r) has been modified to disallow executing command -p. 03-08-07 A bug in which the KEYBD trap was not being invoked when characters with the 8th bit set has been fixed. 03-08-02 A parser bug introduced in ksh93o which caused the character after () in a Posix function definition to be skipped when reading from standard input has been fixed. 03-08-01 A bug in which "${foo#pattern}(x)" treated (x) as if it were part of the pattern has been fixed. 03-08-01 The command -x option has been modified so that any trailing arguments that do expand to a single word will be included on each invocation, so that commands like command -x mv * dir work as expected. 03-07-20 --- Release ksh93o+ --- 03-07-20 A bug in which could cause memory corruption when a posix function invoked another one has been fixed. 03-07-15 A bug in which a file descriptor>2 could be closed before executing a script has been fixed. 03-07-15 A parsing error for <() and >() process subsitituions inside command substitution has been fixed. 03-07-15 A parsing error for patterns of the form {...}(...) when used inside ${...} has been fixed. 03-07-15 An error in which expanding an indexed array inside a compound variable could cause a core dump has been fixed. 03-07-15 A bug in which under on rare ocassions a job completion interrupt could cause to core dump has been fixed. 03-06-26 A bug in which process substitution embeded within command substitution would generate a syntax error has been fixed. 03-96-23 A bug in which ${@:offset:len} could core dump when there were no arguments has been fixed. 03-96-23 A bug in which ${X[@]:offset:len} could core dump when X was unset has been fixed. 03-06-22 The -x option was added to the command builtin. If this option is on, and the number of arguments would exceed ARG_MAX, the command will be invoked multiple times with a subset of the arguments. For example, with alias grep='command -x grep, any number of arguments can be specified. 03-06-14 A bug in which could cause a core dump on some systems with vi and emacs editors with the MULTIBYTE option has been fixed. 03-06-06 A bug in which the shell could core dump when a script was run from its directory, and the script name a symlink to a file beginning with .., has been fixed. 03-06-05 A bug in which the shell could core dump when a child process that it is unaware of terminates while it is calling malloc() has been fixed. 03-06-02 An option named globstar (set -G) has been added. When enabled, during pathname expansion, any component that consists only of ** is matches all files and any number of directory levels. 03-05-30 A bug in which the PATH search could give incorrect results when run from directory foo and PATH contained .:foo:xxx has been fixed. 03-05-29 Some changes were made to the code that displays the prompt in edit mode to better handle escape sequences in the prompt. 03-05-27 I added = to the list of characters that mark the beginning of a word for edit completion so that filenames in assignments can be completed. 03-05-20 A bug in which read -N could hang on some systems when reading from a terminal or a pipe has been fixed. 03-05-19 A bug in which the ouput of uname from a command substitution would go to the standard output of the invoking command when uname was invoked with a non-standard option has been fixed. 03-05-19 A job control bug which would cause the shell to exit because it hadn't take back the terminal has been fixed. The bug could occur when running a function that contained a pipeline whose last element was a function. 03-05-19 A job control timing bug introduced in ksh93o on some systems which could cause a pipeline to hang if the first component completed quickly has been fixed. 03-05-13 The read builtin has been modified so that the builtin editors will not overwrite output from a previous incomplete line. 03-05-13 A bug in which the name of an identifier could have the string .sh. prefixed to it after expanding a variable whose name begins with .sh. has been fixed. 03-05-13 A bug in the expansion of $var for compound variables in which some elements would not be output when the name was a prefix of another name in the compound variable has been fixed. 03-05-08 The last item in the ksh93o release on 03-01-02 has been altered sligthly to preserve the leading 0's when the preceding character is a digit. Thus, with typeset -LZ3 x=10, $(( 1$x)) will be 1010 whereas $(( $x) will be 10. 03-04-25 A bug in which if x is a name reference, then nameref y=x.foo did not follow x has been fixed. 03-03-18 --- Release ksh93o --- 03-03-18 A -N unary operator was added to test and [[...]] which returns true if the file exists and the file has been modified since it was last read. 03-03-18 The TIMEFORMAT variable was added to control the format for the time compound command. The formatting description is described in the man page. 03-03-06 A -N n option was added to read which causes exactly n bytes to be read unlike -n n which causes at most n bytes to be read. 03-03-03 Three new shell variables were added. The variable .sh.file stores the full pathname of the file that the current command was found in. The variable .sh.fun names the current function that is running. The variable .sh.subshell contains the depth of the current subshell or command substitution. 03-03-03 When the DEBUG trap is executed, the current command line after expansions is placed in the variable .sh.command. The trap is also now triggered before each iteration of a for, select, and case command and before each assignment and redirection. 03-02-28 Function definitions are no longer stored in the history file so that set -o nolog no longer has any meaning. 03-02-28 All function definitions can be displayed with typeset -f not just those stored in the history file. In addition, typeset +f displays the function name followed by a comment containg the line number and the path name for the file that defined this function. 03-02-28 A bug in which the value of $LINENO was not correct when executing command contained inside mult-line command substitutions has been fixed. 03-02-19 Since some existing ksh88 scripts use the undocumented and unintended ability to insert a : in front of the % and # parameter expansion operators, ksh93 was modified to accept :% as equivalent to % and :# as equivalent to # with ${name op word}. 03-02-14 A bug which could cause a core dump when reading from standard error when standard error was a pty has been fixed. 03-02-14 The shell arithmetic was modified to use long double on systems that provide this data type. 03-02-09 A bug in which a function located in the first directory in FPATH would not be found when the last component of PATH was . and the current directory was one of the directories in PATH has been fixed. 03-02-07 The trap and kill builtin commands now accept a leading SIG prefix on the signal names as documented. 03-02-05 A bug in the expansion of ${var/$pattern}, when pattern contained \[ has been fixed. 03-02-05 A bug in which .sh.match[n], n>0, was not being set for substring matches with % and %% has been fixed. 03-01-15 A bug in which getopts did not work for numerical arguments specified as n#var in the getopts string has been fixed. 03-01-09 A bug in which using ${.sh.match} multiple times could lead to a memory exception has been fixed. 03-01-06 A bug in the expansion of ${var/pattern/$string} in the case that $string contains \digit has been fixed. 03-01-02 A -P option was added for systems such as Solaris 8 that support profile shell. 03-01-02 For backward compatibility with ksh88, arithmetic expansion with ((...)) and let has been modified so that if x is a zero-filled variable, $x will not be treated as an octal constant. 02-12-05 --- Release ksh93n+ --- 02-11-30 A bug that can show up in evaluating arithmetic statements that are in an autoloaded function when the function is autoload from another function has been fixed. 02-11-30 An optimization bug in which an expansion of the form ${!name.@}, which occurred inside a for or a while loop, when name is a name reference, has been fixed. 02-11-18 A bug in which modifying array variables in a subshell could leave side effects in the parent shell environment has been fixed. 02-11-18 A memory leak when unsetting an associative array has been fixed. 02-11-14 The code to display compound objects was rewritten to make it easier for runtime extensions to reuse this code. 02-11-14 A change was made to allow runtime builtins to be notified when a signal is received so that cleanup can be performed. 02-10-31 User applications can now trap the ALRM signal. Previously, the ALRM signal was used internally and could not be used by applications. 02-10-31 A bug in which signals received while reading from a coprocess for which traps were set was not handled correctly has been fixed. 02-10-31 A bug in which a file opened with exec inside a subshell could be closed before the subshell completed has been fixed. 02-10-21 A bug in which setting PATH or FPATH inside a function might not take effect has been fixed. 02-10-21 A bug which could cause a core dump when a local SECONDS variable is defined in a function has been fixed. 02-10-15 A bug in which the associate array name operator ${!array[@]} could return the same name multiple times has been fixed. 02-10-15 A bug in which the zero'th element of an associative array was not getting set when an assignment was made without a subscript specified has been fixed. 02-09-30 --- Release ksh93n --- 02-09-30 The maximum indexed array size was increased to 16Megs. 02-09-30 A bug which could cause a core dump when changing attributes of associative array has been fixed. 02-09-30 A bug in which exporting an array variable would not export the 0-th element has been fixed. 02-09-30 A bug in which an array assignment of the form a=($a ...) would unset 'a' before the right hand side was evaluated has been fixed. 02-09-27 A bug in which the error message for ${var?message} when var was null or unset did not contain the variable name var has been fixed. 02-09-27 A bug in which closing file descriptors 0 through 2 could cause a subsequent here document to fail has been fixed. 02-09-14 A bug in whence which occurs when the specified name contained a / has been fixed. 02-09-14 A bug in the parser for strings of the form name$((expr))=value has been fixed. 02-09-14 A for loop optimization bug in which the number of elements in an array was treated as an invariant has been fixed. 02-09-09 A bug in which redirection or closing of a file descriptor between 3 and 9 could cause a subsequent here document to fail has been fixed. 02-09-09 A bug in which a background job was not removed from the job list when a subshell completed has been fixed, for example (prog&). 02-09-03 A bug in which an assignment of the form name=(integer x=3) could be interpretted as an array assignment rather than a compound variable assignment has been fixed. 02-08-19 A command completion bug which occurred on file systems that are case insensitive has been fixed. 02-08-19 A bug which could lead to an exception on some systems (for example FREEBSD) which occurred when setting PATH has been fixed. 02-08-11 A bug in arithmetic rounding in which a value input as a decimal string would output as a rounded version of the string has been fixed. 02-08-11 A bug in which the last character could be deleted from shell traces and from whence when called from a multibyte locale has been fixed. 02-08-01 A bug which could cause a core dump to occur when a shell script is executed while a coprocess is running that has closed the output pipe has been fixed. 02-08-01 A bug in which command completion in multibyte mode could corrupt memory for long command lines has been fixed. 02-06-17 --- Release ksh93n- --- 02-06-17 A bug in which user defined macros could cause a core dump in with MULTIBYE mode has been fixed. 02-06-17 A bug in which printf format specifiers of the form %2$s were causing a core dump has been fixed. 02-06-17 A bug in which setting stty to noecho mode did not prevent the echoing of characters by ksh when emacs or viraw mode was enabled has been fixed. 02-06-17 A bug in which background job completion could cause the sleep builtin to terminate prematurely has been fixed. 02-06-17 A bug in which the shell could core dump if getopts was called when the OPTIND variable contained a negative value has been fixed. 02-06-10 The edit mode prompt has been modified to handle escape sequences. 02-06-10 A bug which occurred for interactive shells in which the builtin cat command was used in command substitution on a file whose size was larger than PIPE_BUF has been fixed. 02-06-10 A bug in which the trap on ERR was not being processed when set inside a function has been fixed. 02-06-07 A bug in which function definitions could cause the history count to be decremented by one (and even become negative) has been fixed. 02-06-05 A bug in read in which share mode could be enabled has been fixed. 02-05-28 A bug which could occur when the last command of a script was a case statement and the action selected ended in ;& instead of ;; has been fixed. 02-05-23 A bug with unary + introduced in ksh93k has been fixed. 02-05-07 A bug in substitutions of the form ${var/pattern/string} in which a backslash was inserted in the replacement string when it contained a special pattern character has been fixed. 02-05-01 A bug in the emacs edit mode which occurred in versions compiled for multibyte character sets which occurred when a repeated search was requested after a long line had been returned for the previous search has been fixed. 02-04-02 vi and emacs edit modes were modified so that tab completion is disabled when invoked from the read built-in. 02-03-26 --- Release ksh93m+ --- 02-03-26 A bug in which was not handled correctly when used in file expansion has been fixed. 02-02-18 A bug in which lines beginning with a # were deleted from here documents when the here-document delimiter was followed by a comment has been fixed. 02-12-06 An optimization bug in which ${!x[@]) was treated as invariant in a for loop has been fixed. 02-02-06 A bug in which the ERR trap is not cleared for a script invoked by name from within a function has been fixed. 02-01-08 A bug in which a shell script executed from within a subshell could cause this script to have an invalid pointer leading to a memory fault has been fixed. 02-01-07 Added here documents of the form <<< word (as per zsh) which is equivalent to << delimordelim. 02-01-07 A bug in which the first word of a compound assignment, x=(word ...), was treated as a reserved word has been fixed. 02-01-07 A bug in the handling of when noglob was enabled and a substitution of the form ${word op pattern} occurred in the same word has been fixed. 02-01-07 A compilation option, CMDLIB_BLTIN in the file OPTION, has been added. When this options is set, all commands implemented in libcmd become shell builtin commands by default. 02-01-07 A bug in which builtin foo, where foo is already a builtin would result in the builtin foo getting removed has been fixed. 02-01-07 A bug which the shell executed a command found in the current directory when PATH have no valid directories has been fixed. 01-11-28 The value of $? was not being set when called with exit. 01-11-28 If the last command was of the form (...) and a trap on EXIT or ERR was set, and the command inside () modified the trap, then the original trap wasn't executed. 01-11-26 The value for 0 is now preceded by the base number when the base was not 10. 01-11-26 The default has compilation mode has been changes so that viraw mode will always be on. 01-10-31 --- Release ksh93m --- 01-10-31 A for loop optimizer bug for subshells contained withing for loops has been fixed. 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 expand 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 handles 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 occurred 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 substitution 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 invariants 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 changes04-12-25 bio.c: fix (*putheader)() return value logic, especially for ENOSPACE 04-12-08 listformat now handles high resolution time 04-12-01 tv.h,tv.c,features/tv move to libast 04-09-25 bio.c: fix ap->io->count for skipped data -- wow pax-rpm.c: fix header padding logic 04-09-01 bio.c: fix bread() seek logic 04-08-11 pax.c,options.h,options.c: add -C,--chmod=mode to control header modes 04-08-05 bio.c: fix bread() pointer arith 64 bit assumption (pax#15) 04-08-01 delta.c: fix checksum 32-bit logic (pax#11) (testpax#01) 04-07-19 delta.c,format.c,pax-tar.c: { O_RDONLY O_WRONLY O_RDWR } are values 04-03-17 pax-tar.c: add tar_putepilogue to *all* tar variants format.h: let pax-tar.c determine tar variant order bio.c: fix a few printf format long long mismatches: %ld => %I*d format.c: map ident buffer CC_ASCII => CC_NATIVE 04-02-29 format.c: drop ap->format=0 for possible deltaverify() format.c: handle CC_ASCII=>CC_NATIVE getprologue() header translation options.h,options.c: add --forceconvert to force --from 04-02-25 pax.c: regcomp REG_SHELL => REG_LEFT|REG_RIGHT 04-02-24 pax.c: add --action copy.c: fix file list peek premature ' => ' ' bug pax.tst: add --action,--checksum,--filter,--install tests 04-02-21 file.c: fix VPATH state.pwd corruption 04-02-14 add -F --fsync to call fsync(2) for each copied file 04-01-27 bio.c: fix bget() buffer size alignment/mismatch overflow 04-01-24 pax-*.c: use paxlib.h interfaces 04-01-03 pax-cab.c: move to paxlib/cab as standalone plugin pax-calib.c: move to paxlib/calib as standalone plugin 04-01-01 add --passphrase=passphrase, -E 03-12-24 pax-zip.c: move to paxlib/zip as standalone plugin 03-12-18 paxlib.h: add paxpart(), link with -lcodex for paxlib plugins 03-12-05 pax-zip.c: fix EXT header logic 03-12-01 rename OPT_delta_size to OPT_uncompressed: !=0 => compressed list compression % in delta op field 03-11-25 paxlib.h: add external format dll interface 03-11-20 pax-calib.c: add file suffix heuristics 03-11-19 pax-calib.c: convert ibm -INC [edit comment] to COPY [REPLACING] pax-calib.c: handle line size > 80 03-11-11 pax-pds.c: add mvs pds listing 03-11-06 regression tests finally pass after Format_t method switch 03-10-31 Format_t converted to true method 03-10-20 initial readonly ca-librarian support 03-10-01 add pax delta format -- groundwork for vcdiff deltas 03-09-23 pax.tst: change test file names for same ascii/ebcdic sort pax.c: extended header values with length need no quoting 03-09-11 default output format now ustar -- should eventually be pax format rename: tar=>oldtar, ustar=>ustar|tar add --testdate=date regression test hook add --uid=id --gid=id ascii vs. ebcdic cleanup 03-09-10 private static cleanup 03-09-09 xopen sync and { pax ustar } format fixes, <tv.h> interface 03-06-21 format.c: add ccode conversion check to putheader() 03-05-28 file.c: fix -vrw directory double list update to new <ccode.h> interface 03-03-05 pax.c: tgz => ustar:gzip, tbz => ustar:bzip 03-02-28 pax.c: handle a few common -x aliases 03-01-14 misc.c: fix meter sign overflow for sizeof(off_t)==sizeof(int) 02-12-13 format.c: fix TNEF bug that did bget(n) for n>buffersize 02-10-23 misc.c: fix meter buffer overflow 02-10-20 pax: drop experimental OMF; use ardirlist() to list ar types pax: add -t for x/open 02-10-18 pax: add tar/ustar swap and inter-volume junk block checks 02-09-09 format.c: handle all 11 octal digits in cpio format size 02-09-05 file.c: fix chmod() loop at exists=0011 on case ignorant filesystems 02-08-19 pax: cmd line patterns applied before -i or -s path edits pax: add posix -c for --invert 02-08-06 pax: change --meter to use * instead of non-portable inverse video 02-07-17 pax: handle gnu tar largefile size extension 02-06-26 pax: fix regsubexec() edited symlink text buffer clobber 02-05-24 pax: update to use regsubcomp(),regsubexec() 02-05-07 pax: use <ardir.h>,-lardir for library archives 02-04-23 pax: add dos omf library read 01-12-07 pax: fix --meter to retain paths containing " -- " 01-12-06 pax: fix --meter to stop at 100% (don't tell coach) 01-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 changes05-02-01 mm2html.sh: IFS may be unset! 05-01-11 mm2html.sh: add --top 04-12-22 mm2html.sh: fix .xx link unverified rm 04-08-01 htmlrefs.c: symlink only if different mtime 04-06-18 htmlrefs.c: add -S,--symlink to symlink() rather than copy 04-04-26 troff2html: handle .ta 04-04-04 mm2html: .xx link|text separated by tab for table entry urls 04-02-29 mm2html: .TS box => void lines 03-08-11 mm2html: handle man .TH args>2 03-03-25 mm2html: table border size '' => 0 03-02-06 troff2html.c: fmtquote() FMT_ALWAYS update 02-10-24 mm2html: viewgraph link target is _top too 02-10-15 mm2html: ident footer is now a TABLE instead of a DIV 02-08-30 mm2html: .AL with no args is equivalent to .NL 02-08-26 mm2html: fix .VL mark indent logic 02-08-19 mm2html: ignore .fp 02-06-09 mm2html: expand mailto address pattern match 02-05-31 mm2html: check .vG arg count before shift mm2html: \ => \ 02-03-17 mm2html: add .SG no-op mm2html: check .EX figure# label args mm2html: add .so/.sn dir search to .BP 02-03-15 mm2html: add LC_NUMERIC=C for floating point constants 02-02-14 mm2html: shorten indentation 02-01-16 mm2html: handle .so and .xx in getline mm2html: .sn and .so look in dir of including file 01-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 changes04-10-24 sear.sh: note in docs that ratz options apply to sear .exe's 04-10-22 proto.tst: add array arg prototype tests 04-10-01 proto.c: add CPL docs 04-09-24 sear.sh: add cc -c to avoid nativepp "ratz.c" message 04-05-20 proto.tst: add `int fun __P((int));' test 04-03-19 proto.c: add { .cpp .hpp }, fix standalone -c parse 04-02-29 proto.tst: add -f -p option tests 04-01-14 proto.c: add suffix-comment table 04-02-11 proto.c: default comment style set to match file suffix 03-06-21 proto.tst: add T_INVALID ? splice bug test 02-07-31 sear.sh: make sure output files has a suffix 02-03-12 proto.c: add type=free 02-01-07 proto.tst: add TEST 05 -- no fix yet 01-12-12 sear.sh: fix rc ICON path escapes 01-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 changes02-02-14 bzip2.c: fix uwin core dump 02-01-24 bzip2.c: use _PACKAGE_ast touch(3) instead of <utime.h> bzip2.c: fix strstr() loop 01-01-01 bzip2.c: include bzlib.h first 99-01-01 package for ast
tw changes05-01-11 tw.c: --local test for directories only 04-12-24 tw.c: cmd non-zero exit status causes tw to terminate 04-12-08 find.c: fix `option ... path ... option' logic *again* 04-08-01 find.c: really fix -size 04-04-15 tw.tst: add %s scanf tests 04-04-01 find.c: handle `-sort -KEY' and `-sort KEY' find.tst: add `-sort -name' for uniform results -- duh 04-02-26 tw.tst: add scanf tests 03-12-02 find.c: -print does not require leaf stat -- duh 03-11-16 find.tst,tw.tst: add leading . pattern match tests 03-11-14 updatedb.sh: add /proc to default prune paths 03-09-23 tw.c: -L => ~FTS_SEEDOTDIR 02-01-10 tw,find: add sfsync(sfstdout) check 02-11-07 tw: add type==DOOR (solaris S_ISDOOR) find: add -type D (solaris S_ISDOOR) 02-07-17 updatedb.sh: add --local to skip non-local directories 02-04-18 find: fix lookup() bug that dumped on unknown keys 02-04-03 find: add FTW_DELAY logic, fix directory -empty tw: add FTW_DELAY logic 02-01-16 tw: add symlink to EXPRESSIONS doc 01-10-31 tw,find: add slocate(1) refs 01-07-17 xargs: fix -e -i -l option parse for backwards compatibility cmdarg(): fix CMD_INSERT copy that omitted leading chars 01-05-02 tw: fix -a to use CMD_POST instead of CMD_INSERT 01-02-06 tw,find: move --local test fslocal() 01-01-01 find: fix -newer -anewer -cnewer -perm 00-11-14 updatedb: add --dir-format (it was already the default) 00-08-11 tw: add --recursive 00-05-23 cmdarg: fix -a strchr loop (thanks dr ek) 00-05-01 find: add [f]printx and %[xX] -- or use tw 00-03-12 find: fix multiple PRINT with -print imbeded in ( ) -o ( ) 99-10-11 tw: tighten up --generate exit codes updatedb: add a few options 99-08-11 find: fix -size find: undef NOGROUP NOUSER -- (net)bsd stomps again 99-07-17 xargs: newline *and* space separated args -- duh 99-05-24 find: fix PRINT!=0 enum logic bug find.tst,tw.tst: add 99-05-21 tw: fix print --man 99-05-09 tw,xargs: sfopen(sfstdin,0,"rt") file list 99-04-01 find: get -o -or and -a -and disambiguation order correct find: -*time -*min fix find: -exec {} malloc bug fix find: fix exit status xargs: long options, \r fix exit status tw: long options, fix exit status 99-03-11 find: convert to optget() 99-03-03 tw: CMD_INSERT instead of CMD_POST, fix `-' file list on stdin find: FTW_SEEDOTDIR, CMD_INSERT instead of CMD_POST 99-02-14 cmdarg: use astconf("ARG_MAX") find: -fast to execute() just like tw find: -xargs command ';' 99-01-23 locate,updatedb: add cmdarg: fix bug that did not 0 last terminator in file list 98-11-11 find: -ls => ls -lis find,tw: add astconf("PATH_ATTRIBUTES") and strmatch(STR_ICASE) 98-08-11 tw: add 32x4 file content checksum cmdarg: fix off-by-1 bug that lost 1 arg per cmdflush() 98-07-01 tw: fix expr convert disc 98-05-28 find: add -magic pattern and -mime pattern 98-03-11 tw: fix p=pwd initialization bug tw: fix -m interaction bug with action 98-02-14 find: add -icase for -fast ignorecase tw: add -I for -f ignorecase use FTW_MULTIPLE to get ordering on cmd arg dir list too pass dir list to findopen(read) tw: -G now takes format arg 98-02-04 find: add -fast primary to handle std `find x' == `find x -print' 97-05-09 tw: mime && magic now use PATH(ftw) 96-11-28 find: add optget() 96-10-11 find: fix multiple -exec bug tw: strdup() compile time strings! 96-10-01 update for magic discipline 96-05-09 add find and xargs tw,find,xargs now use cmdarg.[ch] for exec arg limits tw: add -F codes to read/write fast find codes 96-02-29 use EXIT_STATUS() to properly report command exit status 95-05-09 add string magic field add -X (don't cross device boundaries) 95-03-11 create this file add -H for FTW_META|FTW_PHYSICAL
tests changes05-01-04 date.c: add ``FMT time format answer'' 04-10-31 date.dat: add { hours days weeks months } ago tests 04-10-27 opt.tst: TESTs 9? for astsa (stanadalone ast) 04-09-14 date.dat: add %| and %& tests 04-09-08 opt.tst: add :!value: omitted optional arg value TEST 47 04-04-15 date.dat: add specific and ordinal day tests 04-04-01 vmalloc: snarf vmalloc tests from kpv 04-02-29 sfio/tscanf.c: add %! test opt.tst: add html escape test 04-02-04 sfio/texcept.c: add sfraise(0,a,b) test 04-01-14 sfio/tmmap2read.c: fix mmap() override for linux/bsd 03-10-12 strtoi.tst: add strton[ll] suffix multiplier tests 03-09-23 opt.tst: more optstr() tests 03-09-11 opt.tst: add n:=v tests 03-09-05 opt.tst: [f:l*?] test 43 update 03-08-11 date.dat: add arithmetic tests 03-05-25 opt.tst: add optstr() ???* internal option tests 03-05-11 strtoi.tst: add malformation tests 03-05-06 opt.tst: add getopt_long() compatibility tests 03-04-22 date.dat: add last, this, next tests 03-03-21 date.dat,datey2k.dat: add %Q/recent/distant/ opt.tst: add trailing '*' option and option args tests 03-02-13 base64.c: add base64encode()/base64decode() tests 02-10-04 strtof.tst: add simple cases 02-09-15 sfio/tscanf.c: add NaNS test 02-09-05 opt.tst: add .fp 5 CW for *roff tests 02-08-21 strelapsed.tst,strelapsed.c: add 02-07-27 sfio/tpoll.c: fix for rw pipes 02-06-26 opt.tst: fix debug locale message numbers 02-05-16 date.dat: add '60+n min/sec ago' tests for n min/sec after the hour data.dat,datey2k.dat: update for %u addition to tmfmt() 02-03-14 opt.tst: update <.>..< >--keys tests > 02-02-02 sfio/(tclose|ttpopenrw|ttell).c: add alarm to handle hung coproc 02-01-27 sfio/terror.h: handle non-idempotent <varargs.h> 02-01-12 date.dat,date2k.dat: fix EST/EDT %z tests 01-12-18 date.dat,datey2k.dat: update for %z change from SHH to SHHMM date.dat: add YYYY/MM/DD tests 01-11-24 opt.tst: update --?+SECTION tests 01-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 changes05-02-01 3d.sh: IFS may be unset and { ash bsh } don't on startup -- wow 05-01-01 sys.tab,utimets3d.c: add utimets() intercept 04-12-15 pathreal.c: "..." should fail if no lower view -- doh 04-10-01 features/syslib: _exit test now uses SIGKILL (openbsd abort() hangs) 04-07-26 3d.sh: update runtime docs 3d.1: drop in deference to the 3d.sh runtime docs 04-07-20 3d.h: undef _BLD_DEBUG to avoid raw libast symbols 04-07-19 fs.c,lib.c,open3d.c,vcs_3d.h: { O_RDONLY O_WRONLY O_RDWR } are values 04-07-19 dir3d.c: rewinddir643d() must call seekdir643d() (not seekdir64()) 04-07-01 3d.tst: TMP => TWD to match regress(1) 04-06-16 3d.tst: coordinate $TMP with regress(1) 04-06-14 lib.c: fix fs3d() 2d return value 04-06-11 3d.tst: fix test and error counts 04-05-04 open3d.c: create missing lower level dirs for O_CREAT ... file paths 03-08-15 mount3d.c: change 3d intercept test to handle NiL || "" 03-06-11 ast.c: add _map_malloc checks for _ast_malloc => malloc 03-06-05 pathreal.c: fix ancient multiple relative|.. symlink bug 03-06-04 3d.sh: change `shift $OPTIND-1' to `set x "@"; shift $OPTIND' 03-03-28 dir3d.c,rmdir3d.c,syscall3d.c: add D_FILENO and D_TYPE ifdefs 03-03-25 dup3d.c: fix bug that cleared Dir_t pointer just after allocation 03-03-07 ftruncate3d.c,lseek3d.c,truncate3d.c: check _typ_off64_t 02-10-18 features/syscall.sh: handle pseudo files in cc -E line syncs 02-07-17 syscall3d.c: clean up user level intercept code 02-06-25 open3d.c: fix bug that created 0 mode file with only O_RDWR 02-06-14 ast_3d.h,cs.c: move fmttime() macro override to cs.c 02-06-06 dir3d.c: fix rewinddir() bug that did not decrement intercepted count 02-04-01 Makefile,cs.c,cs_3d.h,ast_3d.h: _WIN32 tweaks 01-11-26 pathreal.c: empty path is an error 01-11-16 ftruncate3d.c,truncate3d.c: use lseek3d indirection via sysfunc() 01-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 changes03-03-04 add state.remote=CS_REMOTE_SHELL 01-12-12 resolve SETSHELL local vs. global conflict -- its both ignore attr now really ignores host -- duh 01-12-11 add global maxidle=0 to ignore idle split readonly and user settable values in `g' command output 00-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 changes04-10-01 cpp.tst: adjust for hidden line patch 04-08-11 cpp.tst: adjust for ppproto.c patch 03-12-12 cpp.tst: add empty macro actual tests 03-11-25 cpp.tst: add -D-d test 03-11-12 cpp.tst: add #if expression tests 03-06-21 cpp.tst: add T_INVALID ? splice bug test 03-05-19 cpp.tst: add stray SKIPMACRO test 03-05-18 cpp.tst: add SYS_FUNCTION ungetchr() bug fix test 03-04-30 cpp.tst: add pp:mapinclude tests 02-11-07 cpp.c: exit() => return for lame linters 02-10-10 cpp.tst: add does not end with `newline' tests 02-05-24 cpp.tst: add TEST 15 pragma space canonicalization tests 02-03-15 cpp.tst: add TEST 14 for libpp/ppproto.c memory fault fix 01-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 changes02-10-02 tst.c: tmform() => fmttime() 01-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
mam changes04-02-29 self-document
msgcc changes02-03-11 msgcc: fix merge replacement threshhold logic msggen: convert { \a \b < > >\r \v } back to C escapes msgcpp: set pp:modern 02-02-14 msggen: add -f to list printf format signatures 01-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 changes05-01-01 --- release 5.0 --- high resolution time stamps 04-12-25 Makerules.mk: handle cc-,a=b Makerules.mk: check for -I. after -I- Makerules.mk: add MVFLAGS=-f for install actions Makerules.mk: relax .PACKAGE.INIT. PACKAGE_%_INCLUDE search Makerules.mk: fix list.manifest recursion Makerules.mk: add experimental --recurse=combine Scanrules.mk: assert .LCL.INCLUDE before .PREFIX.INCLUDE :T=G: bind msgcat.mk: fix _PACKAGE_ID bind.c: disable bindalias() for unbound files -- doh misc.c: fix { %C %S } core dump (after a warning!) parse.c: drop CON_scan for over all rules; $(...) does it parse.c: drop { .ASSERT .ASSIGN } lists, add { .ASSERT. .ASSIGN. } state.c: ignore file timestamp subsecond truncation -- willya fix ext3 04-12-08 Scanrules.mk: add .SCAN.iffe for `include previous-iffe-output' Scanrules.mk: fix $(prefixinclude:?...) => $(-prefix-include:+...) Makerules.mk: no -g CC.LIB.TYPE (in ar name) if CC.OPTIMIZE also set rule.c: don't propagate .DONTCARE .IGNORE to bound rule parse.c: association pattern ending in % is appended expand.c: fix :P=A: 3d logic to retain pwd prefix -- doh expand.c: fix makefile scan to ignore lib*.[hH] bind.c: fix bug that missed bind dir for x given explicit d/x (edit#18) misc.c,option.c: *,*=* is a target/prereq, not a (scoped) var assignment 04-12-01 object.c,state.c: tmsleep() on statefile time for 1 sec granularity 04-11-25 expand.c: handle :T=<op>=<ops>: for all <op> command.c: maintain error state for cancelled actions command.c: add .AFTER .FAILURE to capture action errors Makerules.mk: LEX = $(FLEX) if flex exists Makerules.mk: add :YYPREFIX: fallback to previously generated 04-10-22 Makerules.mk: check for package-pwd in LICENSEFILES Makerules.mk: mam ${(debug|strip)...} => ${-(debug|strip)-symbols...} Makerules.mk: add $(LICENSECLASS) Makerules.mk: add $(package.license.class) pattern for .LIST.PACKAGE.* Makerules.mk: add $(.SELECT.EDIT.) for omitting .RECURSE subdirs expand.c: fix recursive order logic 04-10-01 metarule.c: metaget assumes % target for ... : % .NULL (-Q0x08000000) scan.c: add \T token match for (\D|\V) Makerules.mk: :PACKAGE: --option checked first, "set" by default Scanrules.mk: .SCAN.cob COPY has "\T" lead-in instead of " \D" 04-09-28 expand.c: fix operator separator parse (edit#17) option.c: fix $(-c) option flag lookup (option#14) 04-09-24 option.c: optcheck() after each option table change 04-09-21 add --option prereq scope with getopt() style "--" terminator expand.c: :P=A: now acts like :P=L!: Makerules.mk: fix $(-static) => $(-static-link) Makerules.mk: /bin/cat.exe => "%.exe : % .NULL" 04-09-09 expand.c: add :T=QO: (isoption()) and :T=QR: (!!getrule()) object.c: finally stomp the complist() panic via compcheck() object.c: fix loadstring() to detect early EOF option.c: add isoption(), --name[[-+&|^]=value] option.c: fix set option table format to handle future extensions Makerules.mk: drop PACKAGE_LOCAL definition -- not used anywhere Makerules.mk: add rules options, syn with options.c Makerules.mk: this version incompatible with make < 2004-09-09 04-09-01 Makerules.mk: add .LIST.PACKAGE.RUNTIME Makerules.mk: fix recursive .LIST.PACKAGE.EDIT. make.h,options.h,option.c,command.c: add --serialize, state.serialize expand.c: sync :W: 2d and 3d logic option.c: add --option values subarg for optget(3) value list read.c: fix MAKERULES vs. explicit rules statement logic variable.c: change $(+) to $(--[name]), add $(-?[name]) 04-08-31 debug.mk: fix -D-d vs -dD logic 04-08-11 expand.c: :W=O: scans INIT files too -- duh expand.c: fix :P=H: sufix checks expand.c: handle :P!=S: command.c: fix .JOBDONE rule arg (internal#05) command.c: fix --targetcontext directory commit logic metarule.c: add --targetprefix=prefix to handle source base clashes parse.c: fix local ( a ... ) $(%) (statement#10) Makerules.mk: fix :PACKAGE_INSTALL: to use .ACCEPT (e.g. for proto) Makerules.mk: fix .MAMEDIT. initialization for 2d vs. 3d Makerules.mk: YACCFIX now applies proto to y.tab.h Makerules.mk: ignore VERSION==- for default output file names Makerules.mk: fix :DLL: to work -- wow Makerules.mk: fix synthesized rule names to avoid .. canonicalization Makerules.mk: fix :PACKAGE: to handle `foo=bar' rhs Makerules.mk: add .LIST.PACKAGE.LICENSE Makerules.mk: add separateinclude=1 to override CC.DIALECT=-I- Makerules.mk: handle --targetprefix 04-08-10 rules-win32.mk: add :PACKAGE: { atl crt mfc } support -- puke 04-07-27 msgcat.mk: move :: related files to msg specific action 04-07-22 tests/*.tst: more test additions 04-07-17 archive.c: --regress enables ranlib for all archive types bind.c: fix binding guess for unbuilt targets bind.c: fix overzealous dir HASH prune for 2d views bind.c: allow D_source&P_target to inherit lower view (assert#29) expand.c: add :T=B..: unbind pre-op main.c: move the .INIT trap after candidate state variable freeze main.c,read.c: update MAKECONVERT to handle 'file1:file2 action ...' make.c: let joint prereq share sibling frame for binding (assert#34) make.c: fix require_p loop detection object.c: add objectfile() to unify with statefile() object.c: fix lower view state var time propagation object.c: -nbf file inhibits frozen var check object.c: use complink() skip logic in comprule() -- wow option.c: --writestate and --writestate can specifiy dir only rule.c: add .GLOBAL and internal.global state.c: drop leads/lags warning for --regress Makerules.mk: handle multiple :LINK: lhs Makerules.mk: fix .DO.INSTALL.DIR view logic with .DO.TOP.LEVEL Scanrules.mk: add ".ATTRIBUTE.%.h : .SCAN.c" for .PARAMETER files Scanrules.mk: .SCAN.sh: add $'...' quotes 04-06-30 parse.c: pass blank lines at all input levels to preserve numbering parse.c: no space indent warning for blank lines parse.c,syntax-08: handle quote after expansion in expression 04-06-28 make.c: preserve joint metarule prereq list order diagnostics.tst: add 04-06-21 Makerules.mk: make options env ignored if MAKE_OPTIONS set make.h: add state.import with increment/decrement semantics options.h,options.c,variable.c,object.c: add import state option parse.c: fix here action parse to honor quotes and nesting parse.c: retain blank/hidden action lines for line number consistency trap.c: fix functional vs. obsolete virtual interrupt logic assert.tst,automatics.tst,interrupts.tst,syntax.tst: add 04-06-20 dump.c: drop dumprule() trailing ' ' by adding "state" status expand.c: skip tst=='F' for :T=XG: make.c: maketop() rule rename disabled (what did that do?) misc.c: handle %o in printext() -- oops misc.c: %t %T calls tmdate() if not a number parse.c: D_scope prereqs do not set P_target Makerules.mk: if ! "$(CC.DIALECT:N=-I-)" then no -I- -- duh 04-06-19 implicit.tst: add 04-06-18 rule.c: add nametype() to unify is*() name type macros 04-06-17 options.h: add -q, --regress to massage output for testing misc.c: add numtime() for mam/regress/trace numeric times prereqs.tst: add 04-06-12 assignment.tst: add 04-06-11 Makerules.mk: fix per-target +l vs. -l nmake.tst: split into attributes.tst edit.tst options.tst options.c: recode to pass options.tst 04-06-10 nmake.tst: initialize in 2d with no VPATH 04-06-08 Makerules.mk: drop :PACKAGE: nolibrary => -l%:.VIRTUAL 04-06-06 rule.c: fix associate() .SCAN match 04-06-04 Makerules.mk: add :PACKAGE: foo:notype bar:type=-p --type=-g Makerules.mk: fix .REQUIRE.* to handle libfoo.a etc. scan.c: add 'O' option to inhibit scan override warning parse.c: debug=7 for active statements, debug=8 for skipped 04-05-31 Makerules.mk: fix :PACKAGE: version logic Makerules.mk: add .FLAGSINIT, called in .MAKEINIT Makerules.mk,Scanrules.mk: strip to generic cobol expand.h,expand.c: add ^ edit op sep 04-05-20 Makerules.mk: fix .OFFICIAL to not diff dirs 04-05-19 parse.c: make the read builtin interruptable 04-05-18 rule.c: move b_*() builtins here, add b_syscall() 04-05-11 mam.c: add "bind ..." to match the mam doc make.c: add "meta ..." to match the mam doc Scanrules.mk: tweak cobol sql scan scan.c: fix ancient dup pattern prefix bug 04-05-06 Makerules.mk: fix CCLD CCLDFLAGS semantics 04-04-15 expand.c: fix :V: operand check expand.c: check var alternation only before first delimiter expand.c: add :P=F: to recursively expand dir hierarchies expand.c: fix ancient $(...) non-tokenizing edit op bug parse.c: fix dup scope prereq value append bind.c: check for consistent ../* bound directory rebind Makerules.mk: fix :PACKAGE: :noinclude:nolib:noroot Makerules.mk: add :P=F: to .MANIFEST. Makerules.mk: add :INIT: Makerules.mk: drop obsolete MAKESKIP var definition Makerules.mk: proto notice generation disabled unless LICENSE=="*=*" Makerules.mk: package/PACKAGE.(lic|pkg) on PKGDIRS inhibits "not found" Makerules.mk: "test" action checks for gnu "check" Makerules.mk: fix recurse action target selection Scanrules.mk: fix .INCLUDE.cob to search lower and upper case suffixes rules-win32.mk: add SYSDIR 04-04-14 Makerules.mk,Scanrules.mk: add COBOLIPF,COBOLSQL 04-04-12 Makefile: add STDCHMOD (for osf.alpha cmd :LIBRARY:) 04-04-04 bind.c: don't alias 2d directories -- duh 04-04-01 Makerules.mk: .BIND.+l% checks .REQUIRE.-l% for disable 04-03-31 expand.c: add :VB: for VAL_BRACE { ... } Makerules.mk: fix .SHARED.LIST. again Makerules.mk: add :PACKAGE: noCC.* CC.*=value probe overrides 04-03-30 Makerules.mk: omit -L*/local/* if in CC.STDLIB (00-03-17 repeal) 04-03-25 pkg-X11.mk: drop openbsd.i386 -lc_r workaround Makerules.mk: fix .SHARED.BIND. CC.SUFFIX.STATIC -l* expansion bug 04-03-17 expand.c: check { :: :LIBRARY: } lhs option.c: fixed bug that looped on `-' or `+' arg -- wow Makerules.mk: atom arg disables foo => .FOO checks for subsequent args Makerules.mk: fix .LIST.PACKAGE.BINARY :P=A: misplacement Makerules.mk: fix inappropriate .BIND.-l% CC.SUFFIX.ARCHIVE .IGNORE Makerules.mk: fix .SHARED.REF.* to bind before return Makerules.mk: :NOTHING: now does `exit 0' -- almost nothing Makerules.mk: I not appended to ARFLAGS if .def :LIBRARY: rhs pkg-X11.mk: handle /usr/include/X11R* /usr/lib/X11R*, deprecate contrib 04-02-29 state.c: fix `another make running' message to handle <=0 elapsed time Makerules.mk: CC.LD.RUNPATH used only if LDRUNPATH set (. to kick in) Makerules.mk: mam ${MAKE} => ${NMAKE}, ${MAKEFLAGS} => ${NMAKEFLAGS} Makerules.mk: localize plugin DLLDIR and CC.SHARED.REGISTRY Makerules.mk: do not install plugin CC.SUFFIX.SHARED libs Makerules.mk: fix CC.SUFFIX.SHARED CC.SUFFIX.ARCHIVE clash variable.c: mam $(-): $MAKEFLAGS => ${NMAKEFLAGS} nmake.tst: 001 now ebcdic immune 04-02-14 scan.c: add class identifier match action 'C' expand.c: add :P=E: for PATH independent executable name expand.c: static mam :P=A: expands ``.'' for pwd expand.c: :N=pat: now uses regcomp() instead of strmatch() expand.c: :T=F: lstat() (as always) :T>F: pathstat() read.c: extend new vs. old makefile type check parse.c: add <<'end' ... end for literal actions Makerules.mk: let proto -c '' determine .LIST.PACKAGE.* comment style Makerules.mk: add $(CC.EXPORT.DYNAMIC) to default cobol LDFLAGS Makerules.mk: add $(CC.SHARED.LD) to differentiate -r and $(CC.SHARED) option.c: add --writeobject[=file] --writestate[=file] 04-02-11 Makerules.mk: .LIST.PACKAGE.* generates top view relative paths Makerules.mk: add $(CC.AR) for ar option.c: fix optget() usage bug that treated --nofoo as --foo 04-02-02 Makerules.mk: :LIBRARY: plugin static still installs req Makerules.mk: fix :PACKAGE: foo:nolibrary Scanrules.mk: ignore C++ include <foo> (no suffix) object.c: retain reference .IGNORE in state option.c: non-0 exit for invalid command line options parse.c: don't check D_scope for D_dynamic rule.c: add external.order for .ORDER, :W=[OPR]:, :PACKAGE: X:order scan.c: null map means ignore; handle |A.IGNORE| 04-01-30 Makerules.mk: add .LIBRARY.CLEANUP.* to clean up after plugin renam Makerules.mk: :PACKAGE_INIT: lhs for pre-installed $(BINDIR) files 04-01-28 Makerules.mk: add ``lib version plugin=id :LIBRARY: ...'' expand.c: :W=[OPR]: now favors make if its in the mix 04-01-22 Makerules.mk: add .PREQUIRE check to ensure up to date *.req 04-01-20 expand.c: :T=F: includes triggered time==0 targets 04-01-01 --- release 4.4 --- 03-12-31 Makerules.mk: $(LDRUNPATH) overrides defaults for CC.LD.RUNPATH 03-12-19 expand.c: add `foolib:foo:libfoo' to :W=[OPR]: 03-11-25 Makerules.mk: CC=c++ not found => search for any existing c++ compiler 03-11-19 Scanrules.mk: default cobol include suffix is .CPY (or .cpy) 03-09-29 Makerules.mk: fix $(PACKAGES) logic inversion typo (:VARIANT: bug) 03-09-22 Makerules.mk: don;t clobber $(CATALOG).msg 03-09-19 Makerules.mk: fix %.sh USAGE_LICENSE quoting expand.c: fix :T=E: quoting 03-09-16 archive.c: inhibit `member newer than archive' for ranlib time skew 03-08-27 Makerules.mk: honor explicit :MAKE: rhs order 03-08-11 make.c: change -T0x00300000 to -Q0x00300000 as documented 03-07-17 archive.c: add arupdate() state.c: don't skew sync archives (avoids possible ranlib interference) 03-06-21 parse.c: fix expr() quote recursion bug Makerules.mk: fix .DLL.INSTALL logic object.c: add initcode() to initialize the ccode maps early enough main.c: add initcode() startup call 03-06-11 Makerules.mk: reinstate install .a on .dll+.lib systems rules-win32.mk: inhibit libast.a install since cc does implicit ast.lib Makerules.mk: drop DIALECT==CLOSURE check for new -l* binding Makerules.mk: add --mam ${mam_cc_FLAGS} to handle user CCFLAGS override Makerules.mk: fix :DLL: to honor CCFLAGS Makerules.mk: add -D_BLD_DEBUG to mam CCFLAGS 03-06-10 debug.mk: add libpp(3) -D-d to %.i rules 03-06-09 main.c: wait for jobs to finish before making .DONE expand.c: change `V edit op value' error to be a warning Makerules.mk: fall back to flex if lex not found 03-06-06 expand.c: add :VFU: to expand unbound internal var names Makerules.mk: use .SHARED.LIST. to generate -l* +l* list 03-06-02 ppcc.sh: -o C++ implies -o PPLD for link time instantiation 03-05-21 Makerules.mk: fix %.sh=>% :T=E: echo quote bug 03-05-19 Makerules.mk: runtime check for flex -[oP] and bison -[op] Makerules.mk: add strip=1 ala debug=1 03-05-11 rule.c: fix MAKEPATH=$PWD:$PWD loop 03-05-09 command.c: add "init TARGET CURTIME" dynamic mam command.c: add CURTIME to mam "code TARGET STATETIME CURTIME ..." 03-05-07 Makerules.mk: add COBOL COBOLFLAGS COBOLMAIN COBOLLIBRARIES .SUFFIX.cob Scanrules.mk: add .SCAN.cob, `*( MAIN )*' for main source scan.c: add \D (0 or more digits), \V (0 or more variable chars) 03-04-27 Makerules.mk: don't build dlls in subdir for CC.SUFFIX.SHARED==".x" 03-04-22 rules-win32.mk: drop :PACKAGE: Xm override -- handled by uwin 03-04-15 mam.c: output P_ignore attribute Makerules.mk: fix the mam .DO.INSTALL to compare before mv to .old!! 03-04-05 expand.c: add :W=P: for ordered recursive prereqs Makerules.mk: add recurse=prereqs pkg-X11.mk: add openbsd.* -lc_r pthread workaround Makerules.mk: add .PACKAGE.$(P).found:=1 if package lib or header found Makerules.mk: optional :PACKAGE: rhs must now be marked :dontcare Makerules.mk: pure recursion makefiles make .RECURSE first by default Makerules.mk: .NORECURSE inhibits default .RECURSE first Makerules.mk: fix .DO.INSTALL directory prereq omission Makerules.mk: add .BELIEVE for initialization, e.g., after mamake bind.c: fix rebind alias bug misc.c: limit `mtime after the epoch' warnings to { S_ISREG S_ISDIR } 03-03-28 Makerules.mk: eliminate CC.STDINCLUDE before -I- too 03-03-27 Makerules.mk: add :PACKAGE: *:attributes:* pkg-X11.mk: fix CC.REQUIRE.Xm rules-win32.mk: add :PACKAGE: Xm:attributes:static 03-03-21 command.c,object.c: always emit target name for --mam=dynamic 03-03-19 expand.c: add :W=R: for true :MAKE: recursion order state.c: add test 0x00040000 to set failed event to staterule event nmake.tst: add first regression tests since 1984 -- yes, I'm ashamed Makerules.mk: change :W=O: to :W=R: Makerules.mk: use CC.LD.RUNPATH for LDRUNPATH and non-std dirs Makerules.mk: drop MAKEDIRS .RECURSE.OFFSET. -- not needed with :W=R: 03-03-15 Makerules.mk: fix debug=1 to delete $(CC.OPTIMIZE) from CCFLAGS expand.c: fix SORT_* comparison function selection 03-03-11 expand.c: add ~ edit op sep expand.c: limit edit op [~!<>=] sep to one occurrence expand.c: add :H=[FINUV]: alternative to edit sep overload expand.c: add :L~: to use version comparison Makerules.mk: use :H=[FINUV]: and :L~: Makerules.mk: add pkgconfig(1) .pc file support in :PACKAGE: Makerules.mk: fix %.sh=>% :T=E: misquote (ancient!) 03-03-03 Makerules.mk: .MAM.INIT handles debug=1 for CC.DEBUG vs. CC.OPTIMIZE Makerules.mk: add 'test : .DONTCARE .ONOBJECT' Makerules.mk: another prefixinclude fix -- my head hurts Makerules.mk: pass recursive $(=) by value ( $(=:V) ) misc.c: fix :F=[LUV]: translation 03-02-28 Makerules.mk: YACCFIX workaround for bison yytoken addition Makerules.mk: include $(LDLIBRARIES) in %.req Makerules.mk: fix .BIND.-l% comparison on CC.PREFIX.SHARED debug.mk: handle .o scope prereqs variable.c: fix $(!) internal.val conflict 03-02-24 option.c: drop --mismatch alias for --corrupt 03-02-12 Makerules.mk: handle multiple lhs for :INSTALLDIR: 03-02-06 pkg-freetype.mk: add 03-01-31 Makerules.mk: mark .PACKAGE.LIBRARIES. hints .DONTCARE Makerules.mk: :PACKAGE: add to .PACKAGE. first, then include pkg-*.mk 03-01-23 Makerules.mk: more prefixinclude tweaks 03-01-11 Makerules.mk: CATALOG default is $(.CATALOG.NAME.) 03-01-10 Makerules.mk: parameterize all silent => $(SILENT) 02-12-21 --- release 4.3 --- 02-12-18 Makerules.mk: :NOOPTIMIZE: "..."'d operator arg shenanigans 02-12-16 Makerules.mk: disable .ARCOPY for linked targets 02-12-06 Makerules.mk: sync CC.MAKE.OPTIONS,nativepp,prefixinclude logic 02-12-04 Makerules.mk: fix contorted .so editing for - and n.n.n versions Makerules.mk: parameterize CC/cc suffixes in { .SUFFIX.c .SUFFIX.C } Makerules.mk: use { .SUFFIX.c .SUFFIX.C } in :cc: list generation Makerules.mk: parameterize fortran suffixes in { .SUFFIX.f .SUFFIX.r } Makerules.mk: %.f is now equivalent to %.F Scanrules.mk: use { .SUFFIX.c .SUFFIX.C .SUFFIX.f .SUFFIX.r } Scanrules.mk: change .SCAN.F to .SCAN.fql -- who cares? 02-12-03 rule.c: don't .UNBIND M_bind rules (questionable=0x02000000) 02-12-02 Makerules.mk: prefixinclude=0 if CC.DIALECT has -I- make.c: add mutually dependent requirement loop check (for -l loops) 02-11-28 main.c: don't close error_info.fd in startup 02-11-21 Makerules.mk: dll version "-" bug that removed the installed dll! 02-11-20 Makerules.mk: fix :cc: to handle all C source suffixes 02-11-12 Makerules.mk: handle CC.LD.ORIGIN and CC.LD.STRIP 02-10-31 main.c: change exit()=>return for pedantic lint 02-10-28 bind.c: add GLOB_NOTDIR optimization to gl_dirnext 02-10-25 eliminate a few uninitialized variable references 02-10-20 Makerules.mk: add :NOTHING: (:ALL: or ...) 02-10-16 Makerules.mk: fix :MAKE: for rhs files 02-10-02 state.c: (-Q0x01000000) $(>) use min(r->time,state(r)->time) misc.c: tmform() => fmttime(); %K default time format 02-09-22 Makerules.mk: drop ${mam_cc_STATIC} for +l binding expand.c: fix mam $(FOO|BAR) => ${mam_cc_FOO-${mam_cc_BAR}} conversion 02-09-11 make.probe,probe.win32: move to INIT src to share with mamprobe Makerules.mk: add a few more mam_cc_* refs (mamprobe mostly complete) Makerules.mk: don't install .a only on .dll+.lib systems Makerules.mk: add :PACKAGE: :ignore=dir:, PACKAGE_IGNORE Makerules.mk: .PACKAGE.INIT. always initializes .PACKAGE.GLOBAL. Makerules.mk: add STDCMP to MAM install action 02-09-07 Makerules.mk: disable lib REQUIRE closure if from CC.REQUIRE.* 02-09-05 Makerules.mk: drop .NO.STATIC foo.a => foo-static.a rename 02-09-01 Makerules.mk: add RMRECURSEFLAGS=-r Makerules.mk: assume mkdir -p (handled by INIT install) 02-08-30 make.c: modified .JOINT siblings now trigger action 02-08-06 make.h: { setbit shquote } macro rename to appease netbsd -- barf 02-07-17 make.c,parse.c: allow keepgoing to be set by .QUERY 02-06-11 Makerules.mk: :F=%(...)S: => :F=%(...)s: misc.c: %S %C obsolete warning variable.c: fix $(!) that improperly skipped !rule.scan && PREREQS.scan 02-06-07 state.c: stat() after close() instead of fstat() before for cygwin 02-06-06 Makerules.mk: fix $(output) to handle -$(VERSION) already in $(PWD) 02-05-28 probe.win32: updates for { mingw } 02-05-24 probe.win32: updates for { digital-mars borland lcc } 02-05-20 expand.c: update to use regsubcomp(),regsubexec() 02-05-09 expand.c: fix cross() so / X foo generates /foo, not //foo 02-05-07 archive.c: use <ardir.h>,-lardir for library archives 02-05-06 probe.win32: add more win32 compilers 02-04-15 Makerules.mk: fix .DO.INSTALL ln-s to use proper source path 02-03-29 Makerules.mk: CC.SUFFIX.SHARED==".lib" => CC.SUFFIX.DYNAMIC==".dll" make.probe: cygwin CC.PREFIX.SHARED=lib CC.SUFFIX.SHARED=.dll.a 02-03-27 Makerules.mk: fix .BIND.-l% and .REQUIRE.-l% recursion checks 02-03-23 Makerules.mk: ensure that _BLD_<variant> is valid identifier Makerules.mk: add .LIST.INSTALLED for existing files only Makerules.mk: add $(LICENSEFILE) to .FILES. 02-03-14 variable.c: add label to --mam "setv" 02-02-14 makerules: add and use CMPFLAGS makerules: add win32 ar I flag only when installing .a makerules: iffe { CC CCFLAGS LDFLAGS } => { IFFECC ... } scan.c,variable.c: .SCAN.IGNORE must ignore state prereqs too main.c: fix final message sequence for .ERROR intercept state.c,variable.c: fix $(?x) when state(x) exists but rule(x) doesn't makerules: add .SHARED.UNIQ. to .COMMAND.o (required by sgi.mips3) 02-02-02 makerules: mark :VARIANT: target .SPECIAL makerules: use STDED & STDEDFLAGS to differentiate from ED=vi makerules: drop ED & EDFLAGS Makeinstall.mk: add STD* probe with possible execrate(1) makerules: inhibit lib/lib closure for CC.DIALECT==CLOSURE probe.win32: add CC.DIALECT CLOSURE to inhibit .lib closure option.c: -S => -S0 makerules: fixed .SHARED.UNIQ. to ignore .MULTIPLE -- duh 02-02-01 makerules: fix .IFFE.REF. for \rsystems -- barf 02-01-22 makerules: ARFLAGS += I for CC.DLL on win32.* 02-01-15 makerules: fix $(CC.PREFIX.DYNAMIC) logic in .BIND.-l% makerules: mark $(CC.SUFFIX.DYNAMIC) .SCAN.IGNORE 02-01-11 makerules: fix $(CC.SUFFIX.LD) prereqs for :LIBRARY: dlls make.probe: add .ign to cygwin CC.SUFFIX.LD 02-01-10 makerules: add proto -e arg to lhs of :INSTALLPROTO: probe.win32: add .ign to CC.SUFFIX.LD 02-01-08 makerules: initialize HOSTCC to $(CC) 02-01-07 makerules: fix .LIBRARY.STATIC.* binding 02-01-04 makerules: .REQUIRE.-l% includes pkg-%.mk of lib+prereqs before bind 01-12-26 makerules: .REQUIRE.-l% includes pkg-%.mk if it exists 01-12-24 pkg-X11.mk: add CC.REQUIRE.Xaw3d 01-12-20 makerules: fix .RECURSE.INIT to use only first match of $(MAKEFILES) 01-12-19 makerules: foo :VARIANT: ... implies _BLD_foo==implies _BLD_foo==1 01-12-18 makerules: sync .SOURCE.a between .BIND* and .PACKAGE* (again!) 01-12-15 command.c: fix bug that discarded a running job twice 01-11-30 command.c: exit 128 silently marks job error but continues 01-11-25 command.c: add .JOBDONE(target status user sys) .FUNCTION 01-10-31 makerules: adjust .SOURCE.mk to ensure user specified dir order makerules: search MAKERULESPATH for ppcc rather than just MAKELIB makerules: 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: _BLD_foo==1 only for foo :LIBRARY: source 01-10-20 makerules: fix --mam bug that didn't parameterize HOSTCC makerules: 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: 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: :YYPREFIX: invert case for macro prefix 01-09-28 makerules: 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: include debug.mk by default makerules: .dll+.lib rule now passes .dll suffix to $(CC.LD) make.probe,makerules: add CC.PREFIX.(ARCHIVE|DYNAMIC|SHARED) make.probe,makerules: change CC.SYMPREFIX to CC.PREFIX.SYMBOL makerules: fix .RECURSE and .ONOBJECT to hit sub :MAKE: levels 01-09-17 makerules: 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: add *.a prereqs to dll link 01-09-04 makerules: +l* bind conditioned on .LIBRARY.LIST. for dll builds 01-08-11 makerules: reference $(CC.DLL.LIBRARIES) last and in link args only makerules: +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: fix :LIBRARY: to honor LDLIBRARIES 01-06-21 misc.c: fix strtoll and strtoull macro rename 01-06-10 makerules: add CC.NATIVE for native objects 01-06-07 command.c: fix job deadlock bug that improperly broke the loop 01-05-31 makerules: add option rhs to :DLL: makerules: :PACKAGE: add :(optimize|space|time) for PACKAGE_OPTIMIZE makerules: 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: 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: null out cctype and .CC.PROBE. for --base makerules: fix .REQ. bug that missed :LIBRARY: targets 01-04-25 makerules: add variants=pattern to select cc- variants makerules: add .VARIANTS alias for .CC- option.c: fix bug that omitted readonly option values in .mo 01-04-24 makerules: :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: 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: add LDRUNPATH and CC.LD.RUNPATH support makerules: 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 changes02-10-30 probe.c: reset proc->rfd after sfnew() to avoid close() error 02-09-21 probe.c: handle strlen(base) != BASE_MAX 02-09-11 probe.c: add more override docs 02-01-30 probe.c: add probe.ini check to match libast/pathprobe() 01-12-03 probe.c: return HOME relative path if readonly/non-suid fs 00-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 changes04-07-22 ssd.c: access() => eaccess() 03-07-29 ssd.c,features/cmd: add utmpx support 99-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 changes05-01-11 sfio/sfmove.c: try to seek(fr) when fw==0 comp/omitted.c: intercept utimes() too comp/omitted.c: add DOSPATHVARS env var path value conversions features/tvlib,tm/tvtouch.c: check for utimets() misc/optget.c: handle '-' or '_' option word separators sfio/_sfopen.c: allow stream mode changes after initialization sfio: sync with kpv: SF_SYNCED fix for ksh input loss bug 05-01-09 tm/tmxfmt.c: fix %6N for n<100000000 05-01-08 regex/regcomp.c: conj() => con() to avoid C99 clash 05-01-05 tm/*: fix { %U %V %W } logic -- my head hurts 04-12-30 tm/tmxtime.c: fix tm_isdst<0 loop 04-12-23 vmalloc/vmbest.c: fix vmresize bug that didn't 0 new data 04-12-19 misc/optget.c: broaden - long option match 04-12-09 string/strtoi.h: fix terabyte 't' suffix math string/strmatch.c: flush cache on locale change 04-12-01 tm/tmsleep.c: add tv.h,tv*.c,tv.3: move from pax tmx.h,tmx*.c,tmx.3: add high resolution tm(3) counterparts features/lib: add *another* sgi linux.ia64 memccpy bug check 04-10-31 Makefile: __OBSOLETE__ now computed <6 months ago year>0101 ccode.h,ccmapid.c: add ccmaplist(Ccmap_t*) iterator option.h,optesc.c: add 3rd arg, 1 => quote '?' too misc/magic.c: fix bug that terminated `string a' at misc/magic.c: handle vcodex() via decompose() misc/magic.tab: add vcodex magic features/stdio: handle _LARGEFILE64_SOURCE -- oops stdio/(fseek|ftell|fseeko|fsetpos|fgetpos|ftello).c: oops^2 04-10-28 string/swapop.c: size==-4 => size=4 and extend op=3 to op=7 tm/tmfix.c: fix tm_mon<0 logic 04-10-22 tm/tmdate.c: handle 'final day feb 2004' port/astlicense.c: add query=all|id|${...}${...} port/astlicense.c: "free" => "mit" comp/omitted.c: revert to the open source license string/stropt.c: drop siz==0 => tab is hash table include/sfio.h: incorporate <sfstr.h> include/sfstr.h: drop disc/sfstrtmp.c: drop -- use sfstrbuf() 04-10-20 misc/magic.tab: update tar magic 04-10-18 ufc-crypt.h,crypt_util.c: drop GPL code crypt.c: add BSD code pathpath.c: disable { $0 $_ $PWD } related root search 04-10-01 normalize ident stamps port/astlicense.c: add type=cpl -- yeah 04-09-25 string/swapop.c: return op < size -- duh 04-09-23 comp/spawnveg.c: :NOOPTIMIZE: -- volatile sometimes ignored 04-09-21 comp/spawnveg.c: exec_errno_ptr is volatile -- duh 04-09-14 tm/tmscan.c: add %| alternation and %& => tmdate() 04-09-08 misc/optget.c: add :!value: omitted optional arg value misc/optget.c: fix --noNAME ambiguous option logic 04-08-26 string/strperm.c: add who^mode to propagate least restrictive up astmath.c: add { frexpl ldexpl } checks for ast.req port/astlicense.c: ignore first option if non-assignment include/ast_dir.h: move d_fileno map before struct defs -- duh 04-08-24 vmalloc/vmbest.c: add {VM_region} VMCHECK=+r for region segment checks misc/recfmt.c,include/recfmt.h: add 04-08-23 vmalloc/vmbest.c: add {VM_primary VM_secondary} VMCHECK=-s for primary features/common: punt to <stdarg.h> for unknown va_list 04-08-11 vmalloc: sync _UWIN libposix hooks 04-07-27 features/common,features/limits.c: ULL suffix for unsigned _ast_int8_t 04-07-22 include/ast.h,comp/eaccess.c: add eaccess() for effective access() 04-07-19 comp/open.c,sfio/_sfopen.c: { O_RDONLY O_WRONLY O_RDWR } are values 04-06-28 misc/error.c: check level after error_info.auxilliary 04-06-24 string/strmatch.c: strgrpmatch() match[] now variable size array 04-06-17 features/common: change _DLL null define to (the standard ast) 1 04-06-11 misc/optget.c: allow optional [-|+|--|++] optstr() option prefix misc/optget.c: reset optstr() state on 0 return misc/optget.c: text()=>textout() linux.ppc symbol hijack workaround 04-05-31 sfio/sfreserve.c: no side buffer if user buffer is large enough 04-05-27 string/fmtbuf.c: handle one concurrent buf > sizeof(buf) 04-05-24 regcomp.c: fix no-advance initialization 04-05-05 conf.tab,conf.sh: update to align with standards magic.tab: ms suffix update 04-05-04 port/lcgen.c: fix territory initialization 04-04-15 tm/tmdate.c,include/tm.h: fix specific and ordinal days 04-04-08 astconf: retain { HOSTTYPE LIBPATH LIBPREFIX LIBSUFFIX } strict vals 04-04-07 vmalloc/vmbest.c: fix alpha tiny block bug vmalloc/malloc.c: re-enable on alpha 04-03-30 tm/tminit.c: GMT => UCT only if tz.daylight not defined 04-03-25 vmalloc/malloc.c: _AST_std_malloc=1 for __alpha path/pathprobe.c: per-user probe dir => $HOME/.probe/$HOSTTYPE 04-03-23 regex/reglib.h: fix isw*() redefines 04-03-17 features/stdio: no __FILE override for __CYGWIN_ (sys/reent.h clash) sfio/sfhdr.h,sfio/sfsetbuf.c: lower sfmove() default buf size 4x 04-02-29 comp/omitted.c: move env trace after PATH fixup comp/omitted.c: cygwin spawn _P_DETACH => _P_NOWAIT+setpgid(pid,0) misc/optget.c: fix html mailto: match port/astlicense.c: add type=test for fixed 2001 date features/float: check local NaNQ first vmalloc/vmhdr.h: fix _vmextern_ vm_truncate return type misc/magic.tab: add elf s390 index=22 04-02-26 vmalloc: VMCHECK a:assertions c:arena-check w:warn-instead-of-abort sfio/sfvscanf.c: fix extf arg selection 04-02-24 features/dirent: set nodefine to avoid ast_std.h _typ_off64_t undef disc/sfkeyprintf.c: only case pattern must be ()[] balanced 04-02-14 include/sfio_t.h: add SF_DCDOWN, SFDCNEXT(), SFDCPREV() 04-02-13 string/strmatch.c: fix bug that didn't save one-time sub[] size vmalloc: -g: export VMCHECK=1 enable malloc/free checks vmalloc: -g: free(0) to check and disable malloc/free checks vmalloc: -g: free(1) to check and enable malloc/free checks 04-02-11 Makefile: add :P=A: to conf and lcgen exec for cross-compile regex: use MBSIZE() instead of mbsize() to grab 1 char on err vmalloc/vmbest.c: updated to do more comprehensive DEBUG tests 04-02-04 sfio/sfraise.c: add sfraise(0,a,b) to iterate over all streams 04-02-01 vmalloc/vmbest.c: _BLD_DEBUG free(0) checks the arena 04-01-31 features/vmalloc: fix typo that missed _mmap_zero 04-01-23 string/strerror.c: handle real strerror() return value overwrite 04-01-11 path/pathpath.c: fix size vs. sizeof(buf) typo 03-12-22 misc/magic.tab: dos EXE tweaks 03-12-05 vmalloc: sync with kpv, adding exceptf announcements 03-12-04 port/astlicense.c: fix expand() loop sentinel bug 03-12-02 include/ast.h: mbchar() advances by 1 on mbtowc() error misc/fts.c: increase MINNAME to 32 03-11-21 vmalloc/vmbest.c: export VMCHECK=1 to enable $(CC.DEBUG) vmcheck() vmalloc/vmbest.c: export VMCHECK=2 to disable KPVCOMPACT misc/magic.c: add { cobol copybook pl1 } and suffix preference 03-11-12 features/stdio: drop cuserid,getopt for SUSV3 03-11-11 vmalloc/*: merge kpv update -- this should stomp the compaction bug 03-10-23 comp/iconv.c: fix sfreserve lock fallback 03-10-20 sfio/_sfopen.c: add to allow user sfopen() intercept 03-10-17 regnexec.c: fix exec time REG_LEFT, \x.... => wctomb() 03-10-12 string/strtoi.h: fix strton '.' overconsumption 03-10-12 comp/iconv.c: identity is always (iconv_t)0 03-10-09 string/fmtesc.c: fix FMT_SHELL to check for all shell magic chars 03-10-01 port/astlicense.c: unknown authors copied verbatim (instead of ignored) 03-09-30 string/chresc.c: handle \u..., \x... consumes all trailing hex digits string/stresc.c: \u... and \x... > UCHAR_MAX => wctomb() 03-09-29 fnv.h: add 03-09-23 modedata.c: table is for external modes, so no arch specific hacks optget.c: fix option prefix match translation bug optget.c: add `<length> <name>=<value> to optstr() features/lib: add memcmp() test for sgi optimzation bug 03-09-22 regex.h,regcomp.c: add regncomp() regclass.c: fix for loop dangling ; in regaddclass() 03-09-20 sftable.c,sfvprintf.c: fix SFFMT_CHAR handling to match extf api 03-09-19 sfmode.c: update release to kpv's 03-09-17 regcomp.c: add pedantic backref error checks 03-09-16 regnexec.c: exec time REG_LEFT => don't advance past initial position regclass.c: add regaddclass() for user defined [:class:] regexec.h: REG_VERSION_N2X, add redisc_t {re_map} ccode map regstat.c: add regstat_t 03-09-11 optget.c: --n:=v sets opt_info.assign=':', opt_info.number enabled 03-09-09 disc/sfkeyprintf.c: *pn on lookup is arg separator; lookup "" arg too 03-09-05 optget.c: [f:l*?] preserves user long name past '*' in opt_info.name[] 03-09-03 sfstr.h: add sfstrpend() for #pending bytes in read buffer 03-08-25 regex: add REG_FIRST, optimize bm features/lib: _AST_no_spawnveg==1 falls back to fork/exec 03-08-22 features/stdio,stdio/asprintf.c,stdio/vasprintf.c: add 03-08-21 path/pathnative.c,path/pathposix.c: interix updates features/botched: add cygwin _stat => _stat64 03-08-15 include/ast.h: map out bsd strmode() features/common: add interix _ast_intmax_t workarounds misc/fs3d.c: 3d mount test now uses "" instead of NiL (or cygwin dumps) 03-08-11 string/fmtesc.c: fix optional quoting checks tm/tmdate.c: fix > 1 year of seconds arithmetic tm/tmfix.c: fix leap year adjustments 03-08-01 features/lib: beef up sock_peek test for interix 03-07-29 features/float: add -lm to frexp... test Makefile: fix -lm astmath test sense 03-07-26 features/mem.c: favor _mem_sbrk over _mem_mmap_* 03-07-22 vmalloc/vmbest.c: fall back to sbrk() if mmap() fails features/mem.c: _mem_sbrk means sbrk() and brk() work 03-07-17 regex/regcomp.c: fix bug that treated KRE X{n,m} like {n,m}(X) misc/magic.c: check MAGIC_VERBOSE for all load() messages 03-07-14 misc/optget.c: handle [...]{[...]<.>..<.>..} 03-06-21 misc/sigcrit.c: block SIGCHLD if _lib_sigprocmask || _lib_sigsetmask comp/spawnveg.c,sfio/sfmode.c: use sigcritical() SIG_REG_* macros comp/spawnveg.c: drop ENOEXEC logic vmalloc/*: snarf kpv KPVCOMPACT() fix vmalloc/vmbest.c: export VMCHECK=2 to disable KPVCOMPACT (just in case) string/strdup.c: drop __strdup() etc. intercepts -- malloc gets it features/mem: define _mem_method and _mem_* possible values vmalloc/malloc.c: _AST_mem_method==_mem_* to force mem get method sfio/sfputr.c: __ia64 memccpy is bogus -- how many tries do they get? path/pathshell.c: verify abs path and access(path,X_OK) -- duh vmalloc/vmhdr.h: add private _Vmessage() for non-sfio ASSERT() port/astconf.c: fix bug that always returned the minmax value 03-06-11 comp/*.c: reorder macro hding for mvs.390 and <ast_map.h> features/vmalloc: add _lib_brk and _lib_sbrk verification include/ast_std.h,etc.: add _map_malloc for malloc => _ast_malloc comp/conf.sh: fix SI_* and *_SI_* macro redefs ast.h: VMDEBUG or _BLD_DEBUG enable <vmalloc.h> and VMFL tracing vmalloc/vmtrace.c: _PACKAGE_ast __FUNCTION__ is a string vmalloc/vmtrace.c: set trace file fd FD_CLOEXEC vmalloc/vmbest.c: set /dev/zero mmap fd FD_CLOEXEC features/mmap: fix ancient read() vs. mmap() time arithmetic typo vmalloc/malloc.c: _AST_std_malloc==1 to force standard malloc 03-06-09 comp/omitted.c: add _imp__FUNCTION sybols for __CYGWIN__ static link vmalloc/vmbest.c: handle systems with sbrk() but no brk() 03-06-04 port/astconf.c: drop non-standard diagnostics 03-06-03 comp/conf.sh: rework symbol collision logic 03-05-30 conf.tab,conf.sh,astconf.c: add <sys/systeminfo.h> sysinfo() SI_* 03-05-29 ccode.h: rework for extensibility, drop obsolete mematoe(), memetoa() 03-05-28 regex/*: recode to use isw*() directly when needed, is*() otherwise 03-05-27 features/vmalloc: fix _std_malloc test 03-05-25 misc/optget.c: fix optstr() ???* internal options 03-05-24 misc/optget.c: fix (ancient) argv null dereference 03-05-23 comp/getcwd.c: don't intercept on _WINIX -- unreliable st_ino 03-05-22 sfio/sfsprintf.c: n<0 => don't append ' ' 03-05-18 misc/fts.c: re-stat FTS_DP to update nlink/times misc/fts.c: add FTSENT.stack to eliminate getlist() recursion regex/ucs_names.h: use "..." catenation to placate some cc's 03-05-11 string/strtoi.h: handle "-" "+" "0x" "11#" 03-05-09 vmalloc/vmbest.c: large memory allocation tweaks 03-05-06 misc/optget.c: fix getopt_long() prefix==1 bug that missed short flags 03-04-27 comp/system.c: handle <ast_map.h> 03-04-24 vmalloc/vmmopen.c: drop dup <unistd.h> 03-04-21 tm/tmdate.c: fix next hour/min logic 03-04-15 vmalloc/malloc.c: intercept __malloc() along with __libc_malloc() string/strdup.c: intercept __strdup() along with __libc_strdup() features/mmap: consolidate from features/(lib|sfio|vmalloc) add _NO_MMAP==1 to disable all mmap()/munmap() calls path/pathposix.c: add 03-04-14 comp/setlocale.c: fix debug_mbtowc() return value for *s==0 || n < 1 comp/iconv.c: fix error return errno values 03-04-11 misc/stk.c: fix stkgrow() realloc bug 03-04-05 string/tok.c: support readonly single token input strings disc/sfdcdio.c: fix F_DIOINFO and FDIRECT #ifdef's include/ast_std.h: allow _LARGEFILE64_SOURCE on __hppa features/common: fix `tst _foo_' => `tst foo_' typo features/float: fix `tst _foo_' => `tst foo_' typo features/float: add FLTMAX_(UINTMAX_MAX,INTMAX_MAX,INTMAX_MIN) comp/omitted.c: fix pathconf => _pathconf => _ast_pathconf loop 03-04-03 features/float: add _ast_no_um2fm: no usinged intmax => floatmax cast vmalloc/vmbest.c: add getenv("VMCHECK") to initialize Vmcheck 03-03-28 include/ast_dir.h: add D_TYPE; { D_FILENO D_TYPE } must be #ifdef'd misc/fts.c|getcwd.c|glob.c,preroot/getpreroot.c: add D_FILENO #ifdef's Makefile: make sure _BLD_ast is defined for all compiles 03-03-27 ast_vfork.h: generate from features/vfork to pick up headers/pragmas 03-03-25 comp/omitted.c: drop free() of live environ path/pathshell.c: allow trailing .exe -- pox on that string/strtoi.h: fix bug leading 3 digits before thousands sep bug string/(fmt|str)[gu]id.c: we know root when we see it 03-03-24 misc/optget.c: handle : and ? in := default value 03-03-21 ast_std.h: drop all spawn*() but spawnveg() obsolete/spawn.c: add for dropped spawn*() features/lib: _use_spawnveg if spawnveg() is a win over fork()/exec() features/lib: drop NutForkExecve() and _map_spawnve features/lib: fix memccpy test to clean up /tmp droppings comp/spawnveg.c: call posix_spawn() if implemented comp/omitted.c: add spawnve() intercept comp/getoptl.c: set getopt_long() optind even if no options tm/tmfmt.c: add %Q<delim>recent<delim>distant<delim> misc/optget.c: fix trailing '*' for option and option args sfio/sfmode.c: getenv("_AST_SFIO_OPTIONS") [,]SF_LINE[,] for fd {0,1,2} vmalloc/*: kpv sync for uwin build independent of libast 03-03-18 port/astconf.c: switch to dynamic string values (saves 7K data/bss) string/strmatch.c: switch to dynamic regex cache (saves 3K data/bss) regex/regcoll.c,ucs_names.h: initialize rw tables from smaller ro data features/lib: add vfork test for passing SIG_IGN across exec features/lib: add spawn test for passing SIG_IGN across spawn 03-03-17 comp/omitted.c: unlink() renames to .deleted dir in case file open sfio/sfpopen.c: handle mode "" for spawn with no pipe features/float,comp/frexp.c,comp/frexpl.c: add pow2() table alternative 03-03-12 features/lib: fix linux.ia64 memccpy() tests -- now its their turn features/vmalloc: fix /dev/zero test features/align: _ast_intmax_t and _ast_fltmax_t join the union misc/stk.c: fix struct frame size to align data disc/sfdcdos.c: change sfslen() => sfvalue(f) 03-03-10 misc/optget.c: handle [f<:>x:lll>ddd]?> 03-03-07 port/astconf.c: uninitialized CONFORMANCE + POSIXLY_CORRECT => standard 03-03-05 comp/omitted.c: make sure at least /bin is in PATH to find cygwin dlls 03-03-02 path/pathshell.c: write access to /bin is effectively root 03-02-28 features/float: add (FLT|DBL|LDBL)_U?(LONG|LONGLONG|INTMAX)_(MIN|MAX) 03-02-25 features/lib: change vfork() test to use _exit() instead of exit() 03-02-23 include/error.h: update ERROR_VERSION for error_info.number space 03-02-22 comp/conf.sh: wrap ksh check in eval to avoid premature exit 03-02-21 misc/fts.c: verify chdir(..) to avoid malicious dir rename() 03-02-19 string/strtoip4.c: isspace() instead of ' '||'\t' 03-02-17 regex/regcomp.c: fix stats.l REX_REP logic that botched REX_BM 03-02-13 string/base64.c: handle catenated encodings 03-02-11 features/libpath.sh: change LIBPATH to <dir>[:<env>[:<pat>]][,...] 03-02-07 path/pathfind.c: allow "/dev/null" to be PATH_REGULAR 03-02-06 include/ast.h,fmtquote.c: add FMT_ALWAYS|FMT_ESCAPED|FMT_SHELL|FMT_WIDE 03-02-05 tm/tmdate.c,tm/tmword.c,string/strelapsed.c: '_' treated like ' ' 03-02-01 string/strelapsed.c: handle ps style [day-][hour:]min:sec 03-01-31 port/astlicense.c: fix author=* match 03-01-30 include/tm.h: add tmisleapyear() macro 03-01-29 comp/getopt.h,comp/getoptl.c: add gnu getopt_long(), getopt_long_only() include/ast_getopt.h: for non-gnu part of comp/getopt.h include/ast_std.h: include <ast_getopt.h> instead of <getopt.h> 03-01-28 ast.h,string/base64.c: add base64encode() and base64decode() path/pathfind.c: verify S_ISREG() 03-01-24 path/pathexists.c: fix abs dir bug and deal with case ignorance 03-01-23 path/pathpath.c: honor PATH_ABSOLUTE for the easy case too 03-01-22 path/pathprobe.c: fix search to find both the probe script and command 03-01-17 misc/magic.tab: application/zip => appplication/(gzip|pzip|zip) 03-01-14 misc/optget.c: change href="" to href="." 03-01-10 include/ast_std.h: strtold() import hackery for static __CYGWIN__ 03-01-03 include/regex.h,regex/regcomp.h: add REG_SHELL_GROUP include/ast.h,string/strmatch.c: add STR_GROUP for REG_SHELL_GROUP 02-12-15 include/error.h: errorcontext => Error_context_s (compatible til 2004) 02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptable! 02-12-03 comp/omitted.c,features/omitted: handle cygwin alarm() return botch 02-11-27 misc/swapop.c: op=3,size=4 => op=7 string/strlcat.c,strlcpy.c: fix uwin decl clash 02-11-26 sfio/sfvprintf.c: fix sfsprintf() ' ' termination bug 02-11-22 misc/glob.c: move static struniq() to libast extern string/fmtversion.c,include/ast.h: add fmtversion 02-11-18 string/strncopy.c: add misc/magic.tab: list size for magicid.h magic 02-11-14 sfio/sfvprintf.c: add %#c for C escapes include/error.h: add ERROR_NOTIFY context flag for builtin commands 02-11-11 string/strtoi.h: add S2I_size for strnto*() size_t 2nd arg sfio/sfstrtof.h: add S2I_size for strnto*() size_t 2nd arg comp/putenv.c: add setenv() and unsetenv() wrappers for setenviron() 02-10-31 path/pathfind.c: add dir of including file to the pathinclude() list misc/optesc.c: add 02-10-30 string/strtoip4.c: set next char pointer even on error 02-10-29 comp/resolvepath.c: add (size_t version of realpath()) misc/mime.c: fix mimehead() to ignore null content values 02-10-28 misc/glob.c: add GLOB_STARSTAR for /**/ and GLOB_NOTDIR optimization 02-10-27 string/struniq.c: add 02-10-23 features/common: fix off-by-one loop check 02-10-18 include/ast_std.h: avoid off_t,ftruncate,lseek,truncate redefinitions 02-10-17 misc/mime.c: handle type/* match, fix bogus header parse 02-10-04 sfio/sfstrtof.h: S2F_static <0:export =0:private >0:static 02-10-02 features/common: don't define _WIN32; define _WINIX => unix on windows features/tty: finally stomp the bsd _POSIX_VDISABLE redefinition misc/fastfind.c: add more specific findwrite() error messages comp/omitted.c: fix cygwin utime() to update st_ctime comp/strtol.c,strtoul.c: __CYGWIN__ static link workaround XXX string/fmtls.c,fmttime.c: tmform() => tmfmt() 02-09-22 port/astconf.c: return values in fmtbuf() buffer instead of stack port/mnt.c: don't set MNT_REMOTE for win32 ?:paths sfio/sfvscanf.c: _sfdscan() is library global (not static) 02-09-21 path/pathkey.c: add tool arg for mamake compatible hash features/fcntl.c: handle iffe _hdr_lcl_* => _lcl_* change 02-09-15 comp/conf.sh: fix enum vs. macro test cdt: kpv sync 02-09-11 ast.h,features/common: move _WIN32 macro init to features/common features/common: enable __EXTERN__ and __DEFINE__ for _WIN32&!_UWIN features/float: add -lm to _ast_*_nan_init tests vmalloc: kpv sync with vmresizef => vmgetmem features/iconv: must have both <iconv.h> and iconv_open()! features/vmalloc: alloca test must compile *and* link sfio/sfvscanf.c,sfstrtof.h: add flag arg to char get, fix NaN loop 02-09-10 vmalloc/vmhdr.h: enable getpagesize() and sbrk() prototypes features/fcntl.c: enable mmap64() prototype include/ast_windows.h: windows.h wrapper with ast namespace workarounds 02-09-07 misc/mime.c: fix quoted value parse bug that ate the whole line 02-09-05 features/vmalloc: add free() to _std_malloc test include/ast.h: NoF(x) now defines _DATA_x for !_BLD_DLL too tm/tmlocale.c: { C POSIX en } == unix dadgummit 02-08-29 path/pathfind.c: initialize Dir_t.next=0 02-08-28 uwin/rint.c: update features/libpath.sh: "bin" is now the default value 02-08-22 vmtrace.h: add for debugging 02-08-20 misc/magic.c: convert to use <cdt.h> vmalloc/vmresizef.c: add for generic discipline resizef default string/strelapsed.c: allow long time component names 02-08-19 misc/optget.c: add `.fp 5 CW' to --nroff output string/(fmtfs|fmtuid|fmtgid|strgid|struid).c: convert to use <cdt.h> include/dt.h,cdt/dtnew.c: add for dtopen() in specific vm region 02-08-13 comp/omitted.c: fix bzero logic for e.g. unixware.i386 include/ast.h: add fmtbase->fmtbasell; swap in 2003-09-01 02-08-12 regex/regnexec.c: fix REG_MINIMAL REX_DOT mb bug 02-08-08 features/iconv: <ast_common.h> instead of <sys/types.h> <ast_common.h> 02-08-07 regex/regcomp.c: recognize anchors in BRE subexpressions 02-08-06 comp/iconv.c: handle win32 cpNNNN == windows-NNNN aliases 02-08-05 cdt/*: sync with kpv src 02-08-02 features/iconv: include sys/types.h for ast_types.h 02-08-01 misc/magic.c: magic file "." names the default misc/magic.c: handle addr type (from irix string) features/lib: move malloc tests to features/vmalloc features/vmalloc: snarf tests from features/lib vmalloc/*: sync with kpv src comp/libc.c: dropped -- __libc_* intercepts moved to vmalloc/malloc.c 02-07-30 features/lib: handle __libc_malloc() in _std_malloc test vmalloc/malloc.c: add gnu pvalloc() features/vmalloc: fix alloca check 02-07-29 features/limits.c: handle netbsd guards 02-07-27 sfio/sfpoll.c: handle rw pipes 02-07-25 features/iconv: include ast_types.h for size_t in ast_iconv.h 02-07-18 apply LARGEFILE64 header prototype clash patches misc/optget.c: __EXTERN__ _opt_info_ instead of opt_info 02-07-17 ast_std.h: memzero() now defaults to memset() instead of bzero() 02-07-16 ast_std.h: add ast.env_serial misc/setenviron.c: increment ast.env_serial include/tm.h: tmset() now calls tminit() directly tm/tminit.c: check ast.env_serial for env change tm/tmfix.c: speed up for large values of tm_mday 02-07-15 comp/fnmatch.c: fix memory leak caused by missing regfree() comp/strstr.c: fix broken interpretation and implementation comp/iconv.c: intercept (but no-op) null to and from buffer pointers 02-06-27 ast_std.h: map _sysconf => _ast_sysconf for sun 02-06-26 cdt,sfio,vmalloc: kpv sync -- is this ever easy? 02-06-24 sfio: kpv sync, vfwscanf(),fputw() fix (wcslen(x)*sizeof(wchar_t)!!) misc/fts.c: fix symlink chdir() optimzation bug 02-06-11 sfio/sfwrite.c: string to file fix Makefile: __OBSOLETE__==20020101 02-06-01 regex/regcomp.c: REG_DELIMITED now consumes the delimiter 02-05-31 regex/reglib.h,regcomp.c,regnexec.c: null subexpression fixes 02-05-24 misc/fts.c: disable dir link counts in 3d misc/magic.c: fix "*(mkfile)" sh pattern to "*@(mkfile)" 02-05-20 regex.h,regex/regsubcomp.c,regex/regsubexec.c: add regex/regsub.c: deprecate 02-05-16 tm/tmfix.c: fix '60+n min/sec ago' bug for n min/sec after the hour 02-05-14 regex/regsub.c: fix (^|x) null match early termination bug 02-05-13 dir/dirlib.h: drop errant extern==__EXPORT__ features/uwin: add uwin lib tests uwin/*.c: check features/uwin for stubs features/float: add nan representation generation sfio/sftable.h: used _ast_*_nan_init for huge values 02-05-09 misc/fts.c: fix virtual top to force ``child'' stat() features/common: define va_copy() only if not in <stdarg.h> 02-05-01 string/strtoip4.c: cisco inverted quad mask must have 4 parts 02-04-30 misc/magic.tab: fix pzip version check 02-04-19 string/strtoip4.c: handle cisco inverted quad mask n.n.n.n/i.i.i.i 02-04-18 misc/fts.c: add chdir() verification stat() optimizations path/pathkey.c: check PROBE_ATTRIBUTES for list of vars 02-04-12 port/astlicense.c: type=open tweak, fix author list spacing 02-04-11 regex/regcomp.c: check for pattern number overflow 02-04-05 tm/tmfmt.c: add %u 02-04-04 sfkeyprintf.c: fix %c numeric value path/pathpath.c: check plain path first -- duh 02-04-03 misc/fts.c: fix (FTS_PHYSICAL|FTS_NOSTAT) stat optimizations ftwalk.c: only clear FTW_DELAY if FTW_CHILDREN ftwalk.h: add FTW_NSOK for FTW_DELAY 02-03-29 ast.h: drop strerror() prototype -- already in <ast_std.h> features/stdio: check for _SFIO_H redundant _Sfstd* declarations 02-03-26 misc/glob.c: fix GLOB_LIST gl_flags values 02-03-24 port/mnt.c: update bsd fstype name and mount option logic 02-03-23 Makefile: add ast_wchar.h to the .check.hdr list (for mamake) 02-03-17 features/stdio: hack around g++ 3.* clashes Makefile: add ast_nl_types.h to the .check.hdr list (for mamake) string/strtoip4.c: fix validity check bug that only checked last part 02-03-14 misc/optget.c: fix --keys to not expand inline <.>..\f 02-03-12 port/astlicense.c: add type=free path/pathaccess.c: sibling ".." search ignores relative dirs sfio/sfvscanf.c: sfstrtof get() must return 0 on eof 02-03-11 path/pathexists.c: check path by pairs checking {ENOTDIR,ENOENT} 02-02-14 features/float: copy local min/max macros to avoid printf roundoff features/wchar: include <ast_common.h>, not <ast_std.h> misc/magic.c: match[]=>matches[] to fix K&R match() macro conflict include/vmalloc.h: include <stdlib.h> for !_PACKAGE_ast uwin/mini.sym: add sprintf (now required by features/common) regex/regnexec.c: truncate wide chars for <ctype.h> functions Makefile: fix MAM ast_common.h sequencing bug by making it first cdt/dthash.c: fix DT_DELETE memory leak (DT_DETACH typo) cdt/dthash.c: fix DT_DELETE double free (dt->data->here typo) regex/regcomp.c: fix recomb() to reject RE with backref features/iffeio: explicitly generate stdio.lcl stdio: add {fcloseall,f(get|put)s_unlocked,fmemopen,getdelim,getline} tmmake,tmtime: allow negative time_t if native localtime/gmtime do tmdate: allow years before 1969 fmtfmt: add include/ast.h: add { PATH_TOUCH_CREATE PATH_TOUCH_VERBATIM } Makefile: add std/*.h for std header iffe overrides comp/iconv.c: fix non-C win32 sfreserve() loop 02-02-11 features/common: separate long long / long double tests features/common: verify printf handles long long / long double 02-02-02 include/ast_std.h,sfio/sfhdr.h: drop _hdr_locale tests -- always on now include/ast_std.h: trust _UWIN <unistd.h> 02-01-31 port/mnt.c: add aix options field 02-01-30 comp/strstr.c: add for ancient s5 stdio/_flsbuf.c: only on systems that transfer to native (e.g., uwin) string/strtoi.h: cat min/max error return values 02-01-28 features/tty: add cf[gs]et[io]speed macros for <termio.h> comp/rename.c: punt to (ancient) /usr/lib/mv_dir on EISDIR 02-01-24 sigcrit.c: fix SIGCLD!=SIGCHLD interrupt loop sfvprintf.c: convert fast io macros to functions for uts.390 cc string/strtoi.h: drop #pragma prototyped for standalone sfio sfdcsubstr.c: rename from sfdcsubstream.c for 14 char fs 02-01-22 execlp,execvp,execvpe,spawnlp,spawnvp,spawnvpe: fix __EXPORT__ spawnlp,spawnve,spawnvp,spawnvpe: handle ms mode arg -- barf sftable.c: ifdef hacks for _WIN32&_ALPHA_ fp exception _stdfun.c: add _UWIN&_ALPHA_ iob map 02-01-18 sfio/sfstrtof.h: drop #pragma prototyped for standalone sfio 02-01-17 features/hdr: don't include <stddef.h> after it doesn't check out! 02-01-16 misc/magic.c: add version type for YYYYMMDD or [a.][b.]c.d misc/magic.c: recode mime %s parse -- sensible and no buffer overflow 02-01-15 misc/magic.tab,magicid.h: add generic binary magic number and header 02-01-12 tm/tmlocale.c: override win32 default date for {C,POSIX,en} locales comp/omitted.c: fix cygwin workaround logic bugs 02-01-09 stdio/fseeko.c,ftello.c: add from UNIX98 02-01-08 comp/conf.sh: use $cc instead of cc 02-01-07 string/strlcat.c,string/strlcpy.c: add bsd api 01-12-18 comp/conf.tab: fix LFS_CFLAGS default for sun _CS_LFS_CFLAGS botch features/common: add hdr stdarg test tm/tmdate.c: handle YYYY/MM/DD 01-12-10 misc/magic.tab: add generic 0x00010203 binary magic 01-12-03 path/pathprobe.c: return HOME relative path if readonly/non-suid fs 01-11-30 misc/optget.c: add simple cache for repeat offenders (like ksh read) sfio/sfhdr.h: preserve errno across SFMMSEQON-SFMMSEQOFF 01-11-29 magic.tab: fix GIF version number listing 01-11-28 string/fmtbase.c: p!=0 => base always included in output 01-11-26 misc/fts.c: empty path is an error 01-11-14 misc/optget.c: fix --?+SECTION queries to include paragraphs 01-11-20 regex/regnexec.c: fix REG_MINIMAL character class match bug 01-11-19 features/lib: retain _lib_confstr for all solaris releases 01-11-16 comp/setlocale.c: fix !_lib_setlocale typo 01-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,
libardir changes03-09-17 ardir.c: rewind initial peek to open position in case its /dev/stdin 03-04-05 ar-port.c: fix bug that skipped initial long name entry ar-port.c: handle netbsd.i386 ' <long-index>' vs. '/<long-index>' 03-02-05 ar-port.c: handle solaris TYPE_port variation 03-01-30 ar-port.c: handle member name length == 16 (no terminator) 02-10-20 ardir.c: add ardirlist() 02-08-09 ardir.c: ardiropen() fails if !S_ISREG unless ARDIR_FORCE 02-06-11 ar-port.c: handle 4.4BSD `#1/size' long names 02-06-06 #ifndef EILSEQ => EINVAL 02-05-07 first release
libcmd changes05-01-11 cat.c: restore output stream to binary mode on exit 04-12-15 cp.c: add --preserve high resolution time support 04-12-08 date.c: add high resolution time support 04-12-01 cmp.c: fix %6I*ld => %6I*d -- doh fmt.c: handle "n operands n" head.c: handle -cN -nN, N > 4Gb 04-11-22 cmp.c: handle >2G chars/lines 04-11-18 fold.c: add --prepend=text, --append=text 04-10-31 tail.c: use SF_LOCKR macro 04-10-28 tail.c: use strtol() for old stype [+-]number[suffix] -- doh 04-10-22 cp.c: check rename() errno==ENOENT to retain destination 04-10-11 fmt.c: fix -o,--optget sublist bugs tail.c: use strton() for number conversion 04-10-08 pathchk.c: add empty path and -p - first component char 04-10-01 fmt.c: add -o,--optget concatenated usage string format stty.c: context is ERROR_INTERCATIVE rm.c: restore 3d before exit 04-09-24 pathchk.c: fix docs 04-09-14 date.c: add %| and %& --parse docs 04-08-27 cp.c: add FTW_DC check -- duh 04-08-01 fmt.c: handle last char != ' 04-07-22 date.c,uname.c: access() => eaccess() 04-07-01 fmt.c: handle large input lines -- ouch 04-06-11 id.c: fix -r to output something! 04-05-27 expr.c: fix `:' op subexpression output 04-04-15 chmod.c: follow symlink for relative mode 04-04-12 Makefile: add STDCHMOD (for osf.alpha) 04-03-19 tail.c: handle -f sfreserve() large chunk failure 04-02-29 cp.c: decouple -f and -i for standard CONFORMANCE cp.c: mv now attempts rename() before remove()+rename() date.c: -f format or +format disables system clock set 04-02-14 cp.c: add -F --fsync to call fsync(2) for each copied file 04-01-05 head.c: -s now uses opt_info.number for >2Gb skip 03-09-18 tail.c: add --log 03-09-11 rm.c: add --unconditional 03-08-11 fold.c: add --delimiter=c to break at c 03-07-28 features/time: change settimeofday() test to 2nd arg of (void*)0 expr.c: add {match,substr,index,length,quote} 03-07-15 fmt.c: fix trailing space bug 03-06-20 uname.c: fix -p constant string overwrite 03-06-04 stty.c: add undef to control assignment docs 03-05-31 uname.c: add -f and sysinfo()/confstr() compatibility via astconf() 03-05-27 rm.c: fix inappropriate "/.." append path overflow cut.c: snarf from dgk 03-05-18 rm.c: check st_nlink to verify progress w.r.t. ftwalk/fts 03-05-15 join.c: fix stealth -v2 bug (thanks ahs) 03-05-04 wc.c: drop trailing space for `wc -l < file' 03-03-21 date.c: add %Q/recent/distant/ docs 03-02-19 date.c: fix %+|!flag docs 02-11-14 update for cmdinit() 4th arg and ERROR_NOTIFY for interrupt cleanup 02-10-02 date.c: tmform() => tmfmt() 02-09-30 date.c,uname.c: change execv() calls to procrun(): exec|exit => bad 02-09-06 wclib.c: fix 1 char-at-a-time miscount bug 02-08-19 chgrp.c: convert to use <cdt.h> 02-07-23 join.c: fix comm snarf typo 02-04-05 date.c: add %u 02-01-24 stty.c: ifdef a few more macros for uts (yes, its still running) 01-12-14 date.c: clarify %z doc 01-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 changes04-10-01 dllfind.c: drop ksh "builtin" workaround dllscan.c: directory prefix in name limits search to dir and siblings 04-07-22 dllscan.c: access() => eaccess() 04-01-30 dllfind.c: dllplug(error_info.id) then dllplug(0) 04-01-28 dllscan.c: update for new plugin scheme: lib/foo/bar.xxx dllplug.c: add dllplug() for plugin dllfind() 03-03-12 dllfind.c: dlopen() with RTLD_GLOBAL|RTLD_PARENT defaults 03-02-11 dllscan.c: change LIBPATH to <dir>[:<env>[:<pat>]][,...] 03-01-08 dllscan.c: hack version logic again -- is consistency rocket science? 03-01-07 dlfcn.c: fix darwin.ppc dlopen/dlsym/dlclose 02-11-18 dllfind.c: add path,size args (with backwards compatibility checks) 02-11-15 dllfind.c: check for ./path if '.' in path but no '/' 02-08-30 dllfind.c: fix a bug that returned uninitialized value on not found 02-08-28 dllscan.c: handle and display bin as a sibling dir 02-07-31 dllscan.c: add dllsopen,dllsread,dllsclose dllfind.c: use dllsopen,dllsread,dllsclose 02-07-26 dllfind.c: add dllinfo() 02-06-27 dllnext.c: define _GNU_SOURCE to enable RTLD_NEXT 02-03-17 dllfind.c: fix dll prefix search (for cygwin) 02-01-11 features/dll: include <dlfcn.h> only if _hdr_dlfcn&&_lib_dlopen 01-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 changes05-01-11 Makefile: fix exop.h generation to handle spurious #define's 04-12-14 exeval.c: handle printf "%% %x" 04-04-15 exeval.c: handle scanf %s -- forgot that regression test! 04-04-01 exparse.y: drop #pragma prototyped 04-02-26 add scanf() and sscanf() 02-10-02 exeval.c: tmform() => fmttime(), static nmbuf[] => fmtbuf() 02-09-11 expr.h: move exbuiltin[] to private exlib.h 99-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 changes04-10-31 rsmerge.c: fix EOF detection 04-10-15 rs-copy.c: add 04-10-11 recsort.h: change int count to Sfulong_t count 04-09-28 recsort.h: add { RS_TERMINATE RS_DELETE RS_ACCEPT RS_INSERT } rsprocess.c,rswrite.c: initial RS_INSERT code -- not right yet 04-08-11 rskeydump.c: list key.nproc if >1 04-06-15 rsprocess.c: fix V format record read 04-02-11 rskey.c: fix old ast reclen:fieldlen:offset parse 03-10-11 recsort.h: add RS_IGNORE Rs_t.type hint 03-09-18 rswrite.c: fix RS_WRITE exceptions 03-09-06 rskey.c: add 'Z' key_z_code for zoned decimal 03-09-04 rsprocess.c: rs->disc->data==-1 => ibm v format records 03-09-03 rslib.c: rslib() separator expanded to [,\t\r#0093; 03-09-01 recsort.h: add rslib(), discipline stack, extra event arg 03-08-29 recsort.h: add RS_READ and RS_WRITE events 03-08-15 rskey.c: add -Jseed for random shuffle (jumble) 03-05-27 rskey.c: add Ci[o] code set [conversion] 03-05-26 rskey.c: add 'p' packed decimal (bcd) 03-05-23 recsort.h: add Rskey_t.code for global ccode index 03-05-22 rskey.c: handle -k.reclen -k.position.length 03-05-21 recsort.h: add events mask to Rsdisc_t, change Rskey_t disc to pointer rsnotify.c: add 03-03-07 Makefile: generate dll for dr. ek 03-01-21 rsmerge.c: fix typo that kicked in on large (~100K) record sizes 01-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)
libsum changes04-02-29 Makefile: compile with $(CC.PIC) for codexlib/sum $(CC.DLL) 03-12-16 add { crc prng } generic methods and maps[] to these methods 03-12-16 sum.h,sumlib.c: add sumdata() 03-09-29 sumlib.c: fix FNV to use ^ instead of + 03-04-28 sumlib.c: drop md5 `zeroize' for performance sumlib.c: add FIPS 180-1 SHA-1
libuu changes03-01-07 uulib: check UU_HEADER in bx_header() 01-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
libvdelta changes04-03-14 vdelta.h: #if !_DLL => #if !defined(_DLL) to handle empty value 08/11/95 version 2.0 -- new delta layout but old update recognized 04/24/95 back out of latest version -- incompatible deltas generated
libbz changes03-05-13 sfdcbzip.c: add SF_DBUFFER exception, SF_SHARE before sfreserve() 02-02-14 blocksort.c: drop -O for msvc 02-01-24 bzhdr.h: rename from bzlib_private.h for 14 char fs 01-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 changes04-02-14 sfdcgzip.c,sfdclzw.c: add SFDCNEXT()/SFDCPREV() calls 03-05-13 sfdcgzip.c,sfdclzw.c: add SF_DBUFFER exception, SF_SHARE+sfreserve() 03-03-13 gzio.c: eliminate fixed gzprintf() buffer size via sfio string stream 03-01-20 zlib.h,gzio.c: add gzreopen() 02-09-11 zlib.h: move 64 bit counts to internal_state 02-08-05 add z_off64_t, gzseek64() etc. to preserve old binary interface work around 2^32 file size limitations 02-06-11 add uSize == unsigned _ast_intmax_t; fix header size check 02-05-22 zconf.h: fix __32BIT__ logic 02-03-11 infblock.c: apply double free patch 02-03-09 gzio.c: add stream->fatal to mark fatal errors previously ignored sfdcgzip.c: fix exception return values and mark SF_ERROR on fatal 02-01-30 minigzip.c: error() => mgzerror() to avoid ancient ld dup sym error minigzip.c: [uU] in executable base name => gunzip, otherwise gzip 01-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 changes04-09-22 cowait.c: remove CO_SERIALIZE temporaries after listing -- duh 04-09-01 co*: add CO_SERIALIZE 04-07-22 system.c: access() => eaccess() 04-02-11 coinit.c: fix CO_CROSS PATH initialization 02-10-30 coclose.c: fix reference-after-free bug in coclose() 02-01-31 codata.c,coopen.c: fix CO_MSGFD parameterization 02-01-24 coopen.c: fix small memory leak 01-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 changes04-07-22 csopen.c,cssend.c,csauth.c,cslocal.c: access() => eaccess() 04-07-19 cslocal.c: call spawnveg() for standalone 3d 04-03-25 csrecv.c,cssend.c: OPEN_MAX_CEIL => OPEN_MAX 03-08-01 csdata.c: add NoF pure data workaround, drop const + prototyped 03-03-28 msglib.h: add D_FILENO ifdef 02-10-02 features/lib,genlocal.sh: add ssh, pid to hang warning msglist.c: tmform() => fmttime() 01-12-12 cssfd: CS_POLL_CLOSE now close()'s if not dropped -- double duh csstat: change down test to avoid unsigned long overflow 01-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 changes05-01-11 ppargs.c: fix -I-S docs ppinput.c: ppproto() only for COMPATIBILITY or PLUSPLUS 04-10-22 ppproto.c: handle `type var[x][y]' arg prototype 04-10-01 pplex.c: really fix directive hidden newline logic 04-08-31 pplex.c: fix directive hidden newline logic ppcall.c: fix '(' peek bug that missed the MARK 04-08-30 add pragma pp:pragmaflags PP_PRAGMAFLAGS, pp:system_header 04-08-11 ppproto.c: intercept "#(define|undef) extern" for __(EX|IM)PORT__ 04-07-23 probe.win32: generalize #include dir order search 04-07-22 ppsearch.c: access() => eaccess() 04-05-20 ppproto.c: don't __PROTO__ `int fun __P((int));' 04-04-15 probe.win32: sync up with uwin 2003-08-06 master -- oops 04-04-01 pp.probe: add stdinclude usrinclude path cleanup 04-02-29 ppproto.c: fix bug that skipped prototyped check during notices check ppproto.c: recognize `Copyright nn' 04-02-14 ppproto.c: comment[0]==0 => no notice 04-02-11 Makefile: fix %.yacc to handle cross-compile 04-01-28 pp.h,pplib.h,ppop.c: add PP_RESET to restore original pp.symtab scope 03-12-12 ppcall.c: missing macro actual warned but expanded 03-11-12 ppexpr.c: fix premature #if expression token strip 03-06-21 ppproto.c: fix T_INVALID ? splice bug that did 0?val => 0?vaL 03-06-10 ppargs.c: add -D-d and -D-m ppargs.c: add gnu options { -dD -dM -imacros -include -lang-* -lint } 03-05-19 pplex.c: fix stray SKIPMACRO bug 03-05-18 ppcall.c: add SYM_FUNCTION '(' peek to avoid inappropriate ungetchr() 03-04-30 pp:mapinclude hosted <std.h>="." will search only hosted dirs pp.probe: add pp:mapinclude probe for namespace incursions 03-04-29 ignore()=>ppmapinclude(), add pp:mapinclude 03-03-25 ppop.c: PP_RESERVED now deletes old symbol before redef with lex value 03-03-14 pp.probe: fix the #include_next probe 03-02-28 ppsearch.c: fix -MM bug that missed prefix include hosted mark 03-02-18 pplex.c: handle COMPATIBILITY 03-01-23 probe.win32: mingw32 tweaks 02-12-17 ppargs.c: document -I-! 02-12-06 -I- pp:noprefix otherwise pp:prefix default 02-11-29 probe.win32: added __INTSIZE, drop dm pp:noallmultiple 02-11-26 pp.def: add STDC_HOSTED probe.win32: add C95 and C99 STDC predefined macros 02-10-30 ppfsm.h: add boundary check to IDSTATE() 02-10-18 probe.win32: update for mingw 02-10-15 ppsearch.c: if PLUSPLUS && not found && no suffix then try with .h 02-10-10 pplex.c: fix does not end with `newline' bugs 02-10-01 ppop.c,ppargs.c: -I-I => -I-M with proper docs; -I-I for PP_IGNORE 02-09-21 pp.probe: add pp:nocatliteral test 02-09-10 pp.tab: add pp:passthrough to match -D-P docs 02-08-30 probe.win32: fix for borland cc -E 02-08-22 ppexpr.c: add __SOURCE__ and #match(string,pattern) 02-06-25 ppproto.c: fix pragma search bug that stopped after 8 comment lines 02-06-11 ppsearch.c: fix ... next include search to skip *all* intermediates 02-05-28 probe.win32: updates for { mingw } ppsearch.c: don't use inherited prefix for <...> -- duh 02-05-24 ppcontrol.c: simplify getline() space canonicalization probe.win32: updates for { digital-mars borland lcc } 02-05-20 ppcontrol.c: update to use regsubcomp(),regsubexec() 02-05-09 ppcontrol.c: inhibit `EOF in directive': newline warning will catch it pplex.c: inhibit `newline in character constant' for hosted directives 02-05-06 probe.win32: add more win32 compilers 02-04-15 probe.win32: handle long long unsigned int 02-04-12 ppproto.c: fix NOTICED check 02-03-15 ppproto.c: fix cpp pp:compatibility double line sync memory fault 02-03-11 pplex.c: add pp:modern to emit \a \v instead of octal forms 02-02-14 ppargs.c: fix -D or -U as last arg core dump 02-01-24 pplib.h: use vmalloc(Vmregion) if _std_malloc 02-01-23 probe.win32: add more msvc predefined macro candidates 02-01-14 ppproto.c: #pragma prototyped noticed -- has notice comment 02-01-10 ppproto.c: fix PROTO_FORCE|PROTO_PASS bug that disabled PROTO_FORCE 02-01-08 pplex.c: fix HEADEREXPAND|HEADEREXPANDALL logic 01-11-22 pplex.c: add pp:headerexpandall for gcc vs. msvc <...> expand diff pp.probe: add pp:headerexpandall test 01-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 -----
libcodex changes04-02-14 codex.c: SFDCNEXT() and SFDCPREV() now provided by <sfio_t.h> 04-01-11 codex.c: top level composition parse, handle CODEX_INVERT 04-01-10 codex.c: use CODEX_FLUSH to disable SF_SYNC before initf 04-01-09 prepare codex.h for possible { decodef encodef } addition 04-01-04 codexcmp.c: fix return value to match strcmp(3) 03-12-30 codexmeth.c: case-sensitive match on qualified name 03-12-26 add CODEX_OPTIONS='trace=method-name-pattern debug' 03-12-25 codex.c: pop intermediate disciplines on error 03-12-22 add "RETAIN" option for CODEX_RETAIN add "SIZE=size" and alternative codexsize() for expected output size 03-12-18 add to ast -- still working on relationship with { -lvcodex -lz -lbz } 03-12-16 codexlib.c: add cache to codex() 03-12-15 { rot13 qp uu iconv } working 03-12-11 first code
|