ast-ksh package
This package is a superset of the following package: ksh; you won't need this if you download ast-ksh. A recent release change log is also included.
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:
release change log
All recorded changes follow.
ksh93 changes07-11-05 --- Release ksh93s+ --- 07-11-05 A bug in which printf %d "'AB" did not diagnose unconverted characters has been fixed. 07-11-05 printf %g "'A" support added for all floating point formats. 07-11-01 A bug in which typeset -f fun did not display the function definition when invoked in a subshell has been fixed. 07-10-29 The sleep builtin was fixed so that all floating point constants are valid operands. 07-10-10 A bug in which the locale was not being restored after LANG=value command has been fixed. 07-09-20 A bug in which a nameref to a compound variable that was local to the calling function would not expand correctly when displaying is value has been fixed. 07-09-19 A bug which cause cause a core dump if .sh.edchar returned 80 characters or more from a keyboard trap has been fixed. 07-09-14 A bug in which could cause a core dump when more than 8 file descriptors were in use has been fixed. 07-09-10 A bug in which creating a name reference to an instance of an array when the array name is itself a reference has been fixed. 07-09-10 The file completion code has been modified so that after an = in any word, each : will be considered a path delimiter. 07-09-06 A bug in which subprocess cleanup could corrupt the malloc() heap has been fixed. 07-08-26 A bug in which a name reference to an associatve array instance could cause the subscript to be evaluated as an arithmetic expression has been fixed. 07-08-22 A bug in which the value of an array instance was of a compound variable was not expanded correctly has been fixed. 07-08-14 A bug which could cause a core dump when a compound assignment was made to a compound variable element with a typeset -a attribute has been fixed. 07-08-08 A bug in which a trap ignored in a subshell caused it to be ignored by the parent has been fixed. 07-08-07 A bug in which the set command would generated erroneous output for a variable with the -RZ attribute if the variable name had been passed to a function has been fixed. 07-08-02 A bug in which read x[1] could core dump has been fixed. 07-08-02 A second bug in which after read x[sub] into an associative array of an element that hasn't been assigned could lead to a core dump has been fixed. 07-07-31 A bug in which a pipeline that completed correctly could have an exit status of 127 when pipefail was enabled has been fixed. 07-07-09 The SHOPT_AUDIT compile option has been added for keyboard logging. 07-06-25 In vi insert mode, ksh no longer emits a backspace character before the carraige return when the newline is entered. 07-06-25 A bug in which pipefail would cause a command to return 0 when the pipeline was the last command and the failure happened on a component other than the last has been fixed. 07-06-25 A bug in the expansion of ${var/pattern/rep} when pattern or rep contained a left parenthesis in single quotes has been fixed. 07-06-18 The braces for a subscripted variable with ${var[sub]} are now optional when inside [[...]], ((...)) or as a subscript. 07-05-28 A bug in brace expansion in which single and double quotes did not treat the comma as a literal character has been fixed. 07-05-24 The -p option of whence now disables -v. 07-05-23 Several bug fixes in compound variables and arrays of arrays have been made. 07-05-15 A bug in which the %B format of printf was affected by the locale has been fixed. 07-05-14 A bug in which was not removed in the replacement pattern with ${var/pattern/rep} when it was not followed by or a digit has been fixed. 07-05-10 A bug in which ksh -R file core dumped if no script was specified has been fixed. it not displays an error message. 07-05-07 Added additional Solaris signals to signal table. 07-04-30 A bug in which a pipeline with command substitution inside a function could cause a pipeline that invokes this function to hang when the pipefail option is on has been fixed. 07-04-30 Added -q to whence. 07-04-18 A small memory leak with each redirection of a non-builtin has been fixed. 07-03-08 A bug in which set +o output command line options has been fixed. 07-03-08 A bug in which an error in read (for example, an invalid variable name), could leave the terminal in raw mode has been fixed. 07-03-06 A bug in which read could core dump when specified with an array variable with a subscript that is an arithmetic expression has been fixed. 07-03-06 Several serious bugs with the restricted shell were reported and fixed. 07-03-02 If a job is stopped, and subsequently restarted with a CONT signal and exits normally, ksh93 was incorrectly exiting with the exit status of the stop signal number. 07-02-26 M-^L added to emacs mode to clear the screen. 07-02-26 A bug in which setting a variable readonly in a subshell would cause an unset error when the subshell completed has been fixed. 07-02-19 The format with printf uses the new = flag to center the output. 07-02-19 A bug in which ksh93 did not allow multibyte characters in identifier names has been fixed. 07-02-19 A bug introduced in ksh93 that causes global compound variable definitions inside functions to exit with "no parent" has been fixed. 07-02-19 A bug in which using compound commands in process redirection arguments would give syntax errors <(...) and >(...) has been fixed. 07-01-29 A bug which caused the shell to core dump which can occur when a built-in exits without closing files that it opens has been fixed. 07-01-26 A bug in which ~(E) in patterns containing that are not inside () has been fixed. 06-12-29 --- Release ksh93s --- 06-12-29 A bug in which the value of IFS could be changed after a command substitution has been fixed. 06-12-22 /dev/(tcp|udp|sctp)/HOST/SEVRICE now handles IPv6 addresses on systems that provide getaddrinfo(3). 06-12-19 A -v option was added to read. With this option the value of the first variable name argument will become the default value when read from a terminal device. 06-11-20 A bug in which "${foo[@]:1}}" expands a null argument (instead of no argument), when foo[0] is not empty has been fixed. 06-11-16 The discipline functions have been modified to allow each subscript to act independently. Currently the discipline function will not be called when called from a discipline function of the same variable. 06-11-14 A bug which could cause a core dump if a file descriptor for an internal file was closed from with a subshell has been fixed. 06-10-30 The redirections <# pattern, and <## pattern have been added. Both seek forward to the beginning of the next line that contains the pattern. The <## form copies the skipped portion to standard output. 06-10-26 On systems that support stream control transport, the virtual file name /dev/sctp/host/port can now be used to establish connections. 06-10-26 The printf modifier # when used with d produces units in thousands with a single letter suffix added. The modifier # when used with the i specification provides units of 1024 with a two letter suffix. 06-10-24 The value of $! is now set to the process id of a job put into the background with the bg command as required by POSIX. 06-10-23 A bug in which the value of $! was affected by a background job started from a subshell has been fixed. 06-10-23 A bug in ${var:offset:len} in multibyte locales has been fixed. 06-10-15 The remaining math functions from C99 were added for any system that supports them. 06-10-13 The klockwork.com software detected a few coding errors that have been fixed. 06-10-12 A bug when skipping over `...` with ${x:=`...`} when x is set has been fixed. 06-10-11 A bug in process floating constants produced by the %a format of printf has been fixed. 06-10-06 A bug in which IFS was not being restored correctly in some cases after a subshell has been fixed. 06-10-06 A bug in which pipefail was not detecting some failures in pipelines with 3 or more states has been fixed. 06-10-03 A bug in the processing of >(...) with builtins which could cause the builtin to hang has been fixed. 06-10-03 A bug in the for loop optimizer which causes >(...) process substitution to be ignored has been fixed. 06-09-17 The -a option was added to typeset for indexed arrays. This is only needed when using the ([subscript]=value ...) form. 06-09-06 The showme option was added. Each simple command not beginning with a redirection and not occurring with in the while, until, if, select condition can be preceded by a semi-colon which will be ignored when showme is off. When showme is on, any command preceded by a colon will be traced but not executed. 06-08-16 As a new feature, a leading ~(N) on a pattern has no effect except when used for file expansion. In this case if not matches are found, the pattern is replaced by nothing rather than itself. 06-08-11 A bug in the expansion of ${.sh.match[i]:${#.shmatch[i]}} has been fixed. 06-08-10 The read builtin options -n and -N have been modified to treat the size as characters rather than bytes unless storing into a binary (typeset -B) variable. 06-07-27 When the here document operator << is followed directly by a # rather than a -, the first line of the here-document determines how much whitespace is removed for each line. 06-07-26 A bug in the C-shell history (enabled with set -H) in which the history event !$ was not processed has been fixed. 06-07-21 A bug on some systems in which assigning PATH on a command line would not take effect has been fixed. 06-07-20 Add ksh93 and rksh93 as allowable names for ksh binaries. 06-07-20 Removed the SHOPT_OO compilation option which was only partially implemented. 06-07-20 The ability to use egrep, grep, and fgrep expressions within shell patterns has been documented. 06-07-17 A bug with arithmetic command expressions for locales in which the comma is a thousands separator has been fixed. 06-07-13 The default HISTSIZE was increased from 128 to 512. 06-07-13 A multibyte problem with locales that use shift codes has been fixed. 06-06-23 A number of bug fixes for command, file, and variable completion have been mode. 06-06-20 Floating point division by zero now yields the constant Inf or -Inf and floating functions with invalid arguments yield NaN. 06-06-20 The floating point constants Inf and NaN can be used in arithmetic expressions. 06-06-20 The functions isinf(), isnan(), tanhl() have been added for arithmetic expressions. 06-06-13 Internal change to use ordering for variables instead of hashing to speed up prefix matching. 06-06-13 A window between fork/exec in which a signal could get lost and cause a program to hang has been eliminated 06-06-13 A bug in edit completion with quoted strings has been fixed. 06-06-07 The restricted options can now be enabled by set as well as on the command line. Once set, it can not be disabled. 06-06-04 Modified built-in binding so that for systems for which /bin and /usr/bin are the same, a builtin bound to /bin will get selected when either /bin or /usr/bin is scanned. 06-06-04 Added literal-next character processing for emacs/gmacs mode. This change is not compatible with earlier versions of ksh93 and ksh88 when the stty lnext is control-v. The sequence escape-control-v will display the shell version. 06-05-31 Modified emacs and vi mode so that entering a TAB after a partial TAB completion, generates a listing of possible completions. After the second TAB, a number followed by a TAB will perform the completion with the corresponding item. 06-05-19 Modified arithmetic so that conversions to strings default to the maximum number of precision digits. 06-05-16 Bug fixes for multibyte locales. 06-05-10 The =~ operator was added to [[...]] and [[ string ~= ERE ]] is equivalent to [[ string == ~(E)ERE ]]. 06-04-25 A bug in the vi edit mode which could cause the shell to core dump when switching from emacs mode. 06-04-17 A bug in which using LANG or LC_ in assignment lists with builtins did not restore the localed correctly has been fixed. 06-04-04 A bug in which discipline functions could not be added to variables whose names started with .sh has been fixed. 06-03-28 The -s option to typeset was added to modify -i to indicate short integers. 06-03-28 A bug in which variables assignment lists before functions defined with function name were not passed on the functions invoked by this function has been fixed. 06-03-28 A bug in which name references defined within a function defined with function name could not be used with compound variables has been fixed. 06-03-27 A bug in which read <&p (print >&p) would cause the coprocess input (output) pipe to close before reading from (after writing to) it has been fixed. 06-02-28 A bug in which stopping a job created with the hist builtin command would create a job that could not be restarted has been fixed. 06-01-24 --- Release ksh93r --- 06-01-24 A bug in which running commands with standard output closed would not work as expected has been fixed. 06-01-23 A bug in which print -u<n> could fail when file descriptor <n> was open for writing has been fixed. 06-01-19 The ?: arithmetic operator fixed to work when the operation after the colon was an assignment. 05-12-24 A bug which could lead to a core dump when elements of a compound variable were array elements, i.e. foo=(bar=(1 2)), has been fixed. 05-12-13 An arithmetic bug in which x+=y+=z was not working has been fixed. 05-12-13 An arithmetic bug in which x||y was returning x when x was non-zero rather than 1 has been fixed. 05-12-07 The aliases for integer and float have been changed to use attributes -li and -lE to handle long long and long double types. 05-12-07 The histexpand (-H) option has been added which allows C-shell style history expansions using the history character !. 05-12-07 The multiline option was added which changes that way the edit modes handle lines longer than the window width. Instead of horizontal scrolling, multiple lines on the screen are used. 05-12-05 The whence builtin now returns an absolute pathname when the command is found in the current directory. 05-11-29 A bug which caused ksh -c '[[ ! ((' to core dump rather than report a syntax error has been fixed. 05-11-29 A bug when reading fixed length records into typeset -b variables which caused a zero byte to terminate the value has been fixed. 05-11-22 The ability to seek to an offset within a file has been added with the new I/O redirection operators, <# and >#. Currently, these redirection operators must be followed by ((expr)) but in a future release, it should be able to used to seek forward to the specified shell pattern. In addition $(n<#) expands to the current byte offset for file descriptor n. 05-11-22 The .sh.match array variable is now set after each [[ ... ]] pattern match. Previously it was only set for substring matches. 05-10-17 A bug in which the library path variable could be prefixed with a directory when a .path file was not encountered in the directory of the executable has been fixed. 05-09-15 A for/while loop optimizer bug in which $OPTIND was not correctly expanded has been fixed. 05-09-05 A bug in which a history command that invoked a history command could go into an infinite loop has been fixed. 05-08-31 In the case that IFS contains to adjacent new-lines so that new-line is not treated as a space delimiter, only a single new-line is deleted at the end of a command substitution. 05-08-19 When a tilde substitution expands to the / directory and is followed by a /, it is replaced by the empty string. 05-08-16 A bug in which n<&m did not synchronize m has been fixed. 05-08-16 A bug in which process substitution ( <() and >() ) was not working within for and while loops has been fixed. 05-07-24 A bug in which the pattern ~(E)(foo|bar) was treated as a syntax error has been fixed. 05-07-24 A bug in completion with <n>=, where n was the one of the previous selection choices has been fixed. 05-07-21 A bug with multibyte input when no edit mode was specified which caused the input line to shift left/right has been fixed. 05-06-24 A race condition which could cause the exit status to get lost on some fast systems has been fixed. 05-06-21 A bug in which nested patterns of the form {m,n}(pat) would cause syntax errors has been fixed. 05-06-21 A bug in the macro expander has been fixed which could cause a syntax error for an expansion of the form ${x-$(...)} when x is set and the command substitution contained certain strings. 05-06-08 On systems for which echo does not do System V style expansions, the -e option was added to enable these expansion. 05-06-08 A bug in which ${var op pattern} to not work when inside an arithmetic expression has been fixed. 05-05-23 An extension to shell patterns that allows matching of nested groups while skipping over quoted strings has been added. 05-05-18 A bug in which the line number for errors was not correct for functions loaded from FPATH has been fixed. 05-04-18 A bug in which the exit status $? is not set when a trap triggered by the [[...]] command is executed has been fixed. 05-04-08 Redirection operators can be directly preceded with {varname} with no intervening space, where varname is a variable name which allows the shell to select a file descriptor > 10 and store it into varname. 05-04-08 SHOPT_CMDLIB_BLTIN=1 now includes <cmdlist.h> generated table. 05-04-07 [[ -o ?option ]] is true if "option" is a supported option. 05-04-05 A bug in handling file completion with spaces in the names has been fixed. 05-03-25 The SIGWINCH signal is caught by default to keeps the LINES and COLUMNS variables in sync with the actual window size. 05-03-25 Building ksh with SHOPT_REMOTE=1 causes ksh to set --rc if stdin is a socket (presumably part of a remote shell invocation.) 05-03-25 Building ksh with SHOPT_SYSRC=1 causes interactive ksh to source /etc/ksh.kshrc (if it exists) before sourcing the $ENV file. 05-03-25 {first..last[..incr][%fmt]} sequences added to brace expansions when braceexpand is enabled. 05-03-03 A bug where a SIGCHLD interrupt could cause a fifo open to fail has been fixed. 05-02-25 A bug in which a builtin command run in the background could keep a file descriptor open which could cause a foreground process to hang has been fixed. 05-02-24 A bug where builtin library commands (e.g., date and TZ) failed to detect environment variable changes has been fixed. 05-02-22 The read builtin and word splitting are now consistent with respect to IFS -- both treat IFS as field delimiters. 05-02-22 The read builtin no longer strips off trailing delimiters that are not space characters when there are fewer variables than fields. 05-02-17 A builtin bug on systems where dlsym(libcmd) returns link-time bindings has been fixed. 05-02-12 A bug in which the lib_init() function for .paths BUILTIN_LIB libraries was not called has been fixed. 05-02-06 A bug on some systems in which moving the write end of a co-process to a numbered file descriptor could cause it to close has been fixed. 05-02-06 A bug in the vi-edit mode in which the character under the cursor was not deleted in some cases with the d% directive has been fixed. 05-02-06 A bug where external builtin stdout/stderr redirection corrupted stdout has been fixed. 05-02-04 A bug where times formatting assumed CLK_TCK==60 has been fixed. 05-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 read /etc/profile and $HOME/.profile, if they exist, 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' command) 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 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 occurred 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 processed in a script that is run by name causing a failure has been fixed. 04-04-28 If the first character of assignment 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 occurred 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 arithmetic prefix operators ++ 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 computation 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 implicitly 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 substitutions 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 occassions a job completion interrupt could cause to core dump has been fixed. 03-06-26 A bug in which process substitution embedded 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 output 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 slightly 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 containing 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 \,
libast changes07-10-31 regex/regcomp.c: fix REX_COLL_CLASS node allocation size 07-10-31 sfio/sfcvt.c: use signbit() if available 07-10-31 features/isoc99: _ISOC99_SOURCE tests 07-10-31 port/astmath.c: add -DN=8 for signbit() 07-10-31 sfio/sfstrtod.h: don't forget about -0.0 07-10-26 features/map.c: add { optopt optarg optind opterr } 07-10-26 features/stdio: add _filbuf => _ast__filbuf 07-10-26 comp/getsubopt.c: fix #undef that interfered with <ast_map.h> 07-10-26 regex/regcomp.c: fix bug that missed ')' in ~(F)... 07-10-12 port/astconf.c: fix CONF_ALLOC 16 bit overflow 07-10-12 misc/fts.c: fix fts_close() to free the handle -- doh 07-10-11 comp/setlocale.c: second and subsequent setlocale(*,"") reverts to previous 07-10-11 path/pathprobe.c: add vfs ST_NOSUID check 07-10-10 comp/conf.tab: add a few more xpg6 deferrals 07-09-28 astsa: update to share with mainline src via _PACKAGE_astsa 07-09-25 sfio/sfgetr.c: no limit on string stream line size 07-09-25 sfio/sfextern.c: increase _Sfmaxr to 256*1024 07-09-18 misc/procopen.c: tighten up SIGCHLD logic between parent/child 07-09-18 misc/signal.c: unblock SIG_DFL after setting handler, sig<0 => don't unblock 07-09-13 misc/fs3d.c: no $LD_PRELOAD => no 3d and avoids invalid mount(2) call 07-09-11 vmalloc: vmstat(0,0)==1 => region in use, drop VM_primary|VM_secondary 07-09-05 misc/recstr.c: handle [lL] gobbled by strtol() -- ouch 07-08-17 path/pathprobe.c: handle '\r' in VERSION string 07-07-17 regex/regcache.c: regcache(0,n,0) extends cache to size n (no shrinking) 07-07-16 tm/tmdata.c: add 2005-12-31, drop 1999-12-31 (where did that come from?) 07-05-21 tm/tmxfmt.c,tmxscan.c: %F => %L (TM_DEFAULT); %F => %Y-%m-%d 07-05-15 sfio/sfvprintf.c: %h? and SFFMT_SHORT => raw bytes 07-05-09 features/signal.c,features/siglist: use kill -l & strsignal() 07-04-25 misc/optctx.c: add for opt_info switching 07-04-24 misc/cmdarg.c,include/cmdarg.h: add CMD_CHECKED, CMD_SILENT 07-04-24 misc/procopen.c,include/proc.h: add PROC_CHECK 07-04-24 misc/procrun.c: add flags arg (current use PROC_ARGMOD) 07-04-24 misc/cmdarg.c,include/cmdarg.h: move from src/cmd/tw 07-04-20 port/(lclang.h|lc.c|mc.c|lclib.h|lcgen.c): separate lctab.c 07-04-20 comp/conf.sh: defer to systems without 'grep -q' -- sigh 07-04-20 comp/conf.sh: probe for LL integer constant initializer suffix 07-04-20 include/syslog.h: <namval.h> => <ast_namval.h> for win32 07-04-20 ast_namval.h: add as copy of include/namval.h for win32 07-04-19 comp/conf.tab: fix SVID SI entries to probe SI_* (not _SI_*) 07-04-13 tm/tmxdate.c,tm/tmzone.c: handle [-+]0000 UTC zone offset 07-04-11 sfio/sfvprintf.c: add %F, propagate SFFMT_UPPER 07-04-11 sfio/sfcvt.c: handle SFFMT_UPPER => nan/inf vs. NAN/INF 07-04-02 comp/conf.tab,comp/conf.sh: add C/POSIX <stdint.h> symbols 07-03-28 misc/optget.c: fix l10n --?- 07-03-25 features/common: fix { ast_std.h ast_map.h stdint.h } logic 07-03-21 error.h: move from error_info to (*_error_data_) 07-03-21 misc/error.c: add errorctx() for error_info switching 07-03-21 option.h: move from opt_info to (*_opt_data_) 07-03-19 regex/regdecomp.c: fix REX_ONECHAR escapes and add REX_KMP 07-03-11 tm/tmxscan.c,regex/regnexec.c: fix strict-alias transgressions 07-02-27 comp/conf.sh: handle native getconf invalid numeric values 07-02-21 comp/conf.sh,comp/conf.tab: handle SSIZE_MAX vs _POSIX_SSIZE_MAX 07-02-20 sfio/sfvprintf.c: handle SF_WCWIDTH justification 07-02-14 features/common: cover <stdint.h>, move to int_(bits)_t 07-02-14 include/int.h: drop 07-02-14 include/sfio.h: add SF_WCWIDTH 07-02-12 comp/conf.sh: fix CONF_LIMIT bug that missed ULONG_MAX etc. 07-02-12 comp/conf.tab: *LONGLONG* => *LLONG* to match posix 07-02-12 features/float: *LONGLONG* => *LLONG* to match posix 07-02-12 port/astconf.c: handle CONF_LIMITS_DEF with no deferral 07-02-12 stdio/vasprintf.c: add trailing ' ' -- doh 07-02-04 string/fmtelapsed.c: fix naive multi month/year logic 07-02-02 misc/optget.c: add --??posix for getopts(1)/getopt(3) 07-01-26 string/chresc.c: use mbchar() 07-01-26 misc/optget.c: handle "o:-:" usage for old-style long options 07-01-22 sfio/sfdisc.c,sfpool.c: handle push on streams with pending peek 07-01-22 include/sfio.h: mv Sfieee_t to sfio/sfhdr.h 07-01-17 tm/tmxfmt.c: fix terminating nil logic which clobbered size-1 07-01-11 misc/stk.c: a 2 day marathon bug fix (can we release now dr ek?) 07-01-05 comp/spawnveg.c: posix_spawnattr_setflags(POSIX_SPAWN_SETPGROUP) 07-01-05 misc/error.c: fix multibyte vs. printable logic 07-01-01 comp/conf.sh: LC_ALL=C 06-12-26 tm/tmxdate.c: handle nn*.nnnn* == sec.ns 06-12-20 features/libpath.sh: generalize sol.* LIBPATH patterns 06-12-18 comp/setlocale.c: include ast_standards.h and ast_wchar.h ! 06-12-12 string/strperm.c: octal modes are absolute! 06-12-11 comp/conf.tab: always defer ARG_MAX 06-12-07 Makefile: fix conftab.c generation CCFLAGS to match build - doh 06-12-04 sfio/sfcvt.c: fix (int) vs. (long) cast mismatches 06-12-01 comp/conf.tab: add changes to cover solaris { bin xpg4 xpg6 } 06-12-01 regex/reginit.c: adjust { SRE KRE } escaped (){}*? inside [...] 06-12-01 sfio/sfcvt.c: add signbit/copysign tests 06-11-22 comp/spawnveg.c: fix _real_vfork logic to work with 3d 06-11-20 features/common: bias _ast_int8_t "long long" before "__int64" 06-11-20 string/strperm.c: fix X to work with all ops (not just +) 06-11-15 astconf.c,conf.tab: add CONF_DEFER_* for variable constants 06-11-11 port/astconf.c: validate path arg w.r.t. underlying calls 06-11-11 comp/conf.sh: fix S CONF_STANDARD bug, add D to defer to native 06-11-11 comp/conf.tab: add D to defer to native 06-11-01 include/vmalloc.h: avoid VM_FLAGS sys/v*.h clash 06-11-01 include/ast.h: add FMT_PARAM for fmtquote() 06-10-31 disc/sfdcseekable.c: add SFSK_DISCARD for seekable window control 06-10-31 comp/spawnveg.c,features/lib: handle posix_spawn exit status 127 06-10-30 features/lib: fix posix_spawn() fork() prototype conflicts 06-10-30 string/fmtscale.c: fix 1024 rounding bugs 06-10-27 disc/sfkeyprintf.c: handle 'i' (=='d') -- oops 06-10-26 sfio/sfvprintf.c: %#d => fmtscale(1000), %#i => fmtscale(1024) 06-10-26 features/map.c: _map_libc cleanup 06-10-26 features/fcntl: add to the circle of trust 06-10-26 features/sys: add <sys/socket.h> socklen_t 06-10-26 include/regex.h: handle include before <ast_map.h> 06-10-25 astconf "SHELL" => "SH" to avoid _POSIX_SHELL conflict 06-10-25 comp/conf.*: drop no-op duplicate conftab.c entries 06-10-18 string/fmtscale.c: 1000: n[.]n[n](kMGTPE), 1024: n[.]n[n](KMGTPE)i 06-10-11 ast_std.h: now implies <sys/stat.h> (did on most before anyway) 06-10-11 strtoi.h: ignore sign for 0, validate scale shift 06-10-11 strdup.c,vmstrdup.c: handle 0 arg 06-10-11 add sfstruse()/sfstropen() error checks 06-10-10 misc/procopen.c: envv==environ => don't modify environ 06-10-10 misc/procclose.c: return valid exit(1) status 06-10-06 port/astconf.c,comp/conf.sh,comp/conf.tab: play nice with getconf(1) 06-10-01 comp/conf.tab: SHELL default checks { _CS_PATH } X { ksh ksh93 sh } 06-10-01 comp/conf.sh: export CONF_getconf to shell actions 06-10-01 comp/putenv.c: always enable setenv() for procopen() 06-10-01 misc/procopen.c: use pathshell() or astconf("SHELL",0,0) if PARANOID 06-10-01 path/pathshell.c: localize the shell path patterns and accept ksh93 06-09-28 Makefile: avoid ast <stdio.h> vix iffe -X ast -- doh 06-09-27 regex/regdecomp.c: add 06-09-26 regex/regcomp.c: handle KRE ~(...)<invalid-kre> 06-09-25 reorganize to avoid native header intercepts 06-09-15 uwin/crypt.c: _UWIN only! 06-09-14 Makefile: tweak the ast_common.h bootstrap again (finally?) 06-09-14 misc/optget.c: noncommercial => OPT_proprietary 06-09-12 string/strelapsed.c: fix multi-char qualifier parse 06-09-12 string/strtoi.h: drop [cClLqQwW] multipliers 06-09-11 misc/optget.c: add numeric arg validity check 06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialzed var refs 06-09-05 path/pathprobe.c: add version header verification 06-08-01 Makefile: handle iffe vs FEATURE/common vs ast_common.h 06-08-31 Makefile: add ast_map.h to the bootstrap list 06-08-30 misc/glob.c: fix ~(E)re bug that stripped ~(E) before regcomp 06-08-30 include/ast.h: add { integralof(x) pointerof(x) } 06-08-27 string/strelapsed.c: fix off-by-one (too little) parse bug 06-08-25 misc/optget.c: 0*<n>.* numeric option args => <n>.* 06-08-22 misc/glob.c: handle ~(...) pattern options 06-08-16 string/strelapsed.c: fix off-by-one (too far) parse bug 06-08-16 regex/regcomp.c: accept but ignore ~(N) 06-08-14 features/libpath.sh: add solaris LD_LIBRARY_PATH_64 check 06-08-05 sfio/sfpool.c: pool SF_READ|SF_WRITE loop fix 06-08-02 misc/fts.c: fix FTS_NOSTAT optimization to check for .. 06-07-28 include/glob.h: add gl_extra for user globlist_t expansion 06-07-27 features/common: #include "ast_map.h" 06-07-26 comp/fnmatch.[ch]: allow <ast_map.h> to map fnmatch() 06-07-22 cdt: snarf from kpv 06-07-17 string/strperm.c: perm==-1 skips umask(1) 06-07-17 sfio/sfvprintf.c: handle format invalid mb seq 06-07-17 regex/regcomp.c: inline REG_SHELL => anchored, otherwise not 06-07-17 regex/regcomp.c: inline B|G:basic E:REG_EXTENDED F|L:REG_LITERAL 06-07-17 regex/regcomp.c: inline l:REG_LEFT r:REG_RIGHT 06-07-17 regex/regcomp.c: inline a:REG_LEFT|REG_RIGHT p:~REG_LENIENT 06-07-17 string/chresc.c: add \Uxxxxxxxx 06-07-17 sfio/sfstrtof.h: ignore thousands sep after decimal 06-07-17 string/tokline.c: splice() => spliceline() for bsd 06-06-27 features/float,sfio/sfcvt.c: fix Nan logic 06-06-27 port/astmath.c: fix long double isnan() test 06-06-27 features/map.c: _map_libc for std => _ast_std 06-06-25 string/strperm.c: handle posix = w.r.t. umask 06-06-19 port/mnt.c,features/fs: handle netbsd getmntent api change 06-06-18 regex/regstat.c: add REG_LITERAL check 06-06-11 cdt/dtview.c: update from kpv 06-05-31 sfio/sfhdr.h: fix _SFOPEN() typo 06-05-09 comp/conf.sh: add native getconf -a names to the mix 06-04-28 misc/optget.c: add solaris long option name compatibility 06-03-09 string/strmatch.c: add REG_ADVANCE => REG_* flags 06-02-14 comp/iconv.c: fix uwin iconv_list() /reg/ generator 06-02-10 port/astconf.c: relax standard prefix filter 06-02-08 sfrd.c,sfsync.c: lock logic bug fix 06-02-01 port/astlicense.c: add { parent incorporation } 06-01-26 port/astconf.c: fix { LIBPREFIX LIBSUFFIX } length 06-01-06 features/lib: change _UNIV_DEFAULT probe to use cross{...} 06-01-04 misc/stk.c: fix n**2 realloc behavior 06-01-01 include/sfio.h: export { _Sfi _Sfmaxr } 05-12-13 string/chresc.c: handle \C-X => control-X, \M- => ESC 05-11-22 regex/regcache.c: add, convert string/strmatch.c to regcache() 05-10-06 string/ccmap.c: update ebcdic-u to be idempotent 05-09-28 vmalloc: snarf from kpv; fixes large block brk() thrashing 05-09-26 misc/magic.c,misc/magic.tab: handle latest vcodex header 05-09-12 misc/optget.c: reset opt_info.offset on error string/strtoi.h: strton() '.' multiplier only if m>1 string/fmtesc.c: add unadvertized FMT_PARM for FMT_SHELL 05-09-09 string/fmtesc.c: fix FMT_SHELL logic w.r.t. [$`] 05-08-11 string/strerror.c: fix { sys_errlist sys_nerr } prototypes 05-08-03 sfio: snarf sfvaprints sfaprints 05-07-21 port/astconf.c: retain most recent synthesized lookup 05-07-20 sfio/sfsetbuf.c: default file io size now 64K on all systems 05-07-17 ccmap*: add microfocus cobol EBCDIC_U 05-06-29 regex/regcomp.c: fix the A & B inline flag logic 05-06-15 include/recfmt.h: add fs format flag to fmtrec() 05-06-14 error.c: add ERROR_OPTIONS { break count match } 05-06-07 features/stdio: drop FEATURE/limits to fix bootstrap circular dep 05-06-02 features/*,Makefile: drop vestigel iffeio.h bootstrap workaround 05-05-31 string/fmtbuf.c: unlock (spin) before each return -- doh 05-05-30 sfio/sfpkrd.c: work around macos 10.4 recv(MSG_PEEK) bug 05-05-27 regex: add REX_NEST (?%[S.][T.][OT]) magic.tab: ammend bsd db magic 05-05-23 regex: REX_NEST (?%[D.][E.][L.][Q.][oc]...) 05-05-21 regex: state.fold[] is now locale specific -- doh 05-05-19 regex: add REX_NEST (?%\\()<>[]""...) %(...) nested match 05-05-15 recfmt.h: add recstr() reclen() fmtrec() 05-05-13 optget.c: allow boolean options to take numeric values 05-05-12 recfmt.c: add to recfmt.h, adjust Recfmt_t encodings 05-04-30 sfio: add sfmaxr(), default 64K 05-04-22 comp/omitted.c: fix magic() logic for files < 512 bytes 05-04-20 cdt: snarf update from kpv; void* Dt_t.user added misc/error.c: library => ERROR_LIBRARY 05-04-19 regex/regcomp.c: handle REG_SHELL [^...] == [!...] 05-04-11 tm/tmxscan.c: handle yyy.mm.dd[-+.]hh.mm.ss.nnnnnn 05-04-07 regex/regnexec.c: fix out of bounds boundary check -- ouch features/align.c: add jmp_buf to the alignment mix (ia64) vmalloc/vmhdr.h: add jmp_buf to the alignment mix (ia64) 05-03-31 misc/optget.c: fix option { - _ } separator matching 05-03-30 misc/glob.c: eliminate superfluous GLOB_NOMATCH stat() calls 05-03-24 port/astwinsize.c: include <sys/ioctl.h> if possible 05-03-23 string/ccmap.c: add ebcdic-m mvs cobol table 05-03-11 comp/omitted.c: handle utime[s](const,const) comp/conf.tab: fix linux PID_MAX probe 05-03-10 comp/setlocale.c: LC_* value "" => unset -- doh misc/optget.c: reorder _PACKAGE_astsa code for msgcc 05-03-08 misc/optget.c: delete leading space in STYLE_nroff output 05-03-07 sfio/sfhdr.h: drop extern _sfdscan -- clashes with sfvscanf.c static 05-03-01 tm/tminit.c: add tmlocaltime() for tzset() getenv() override workaround 05-02-20 features/tvlib: tmsettimeofday only for systems that have settimeofday features/float: fix mvs.s390 NaN tests 05-02-18 tm/tmxmake.c: fix <0 west of GMT bug that warped to 1800's -- wow 05-02-11 port/mnt.c: handle lynxos MOUNTED=/etc/fstab 05-02-08 features/float,sfio.h,sfcvt.c,sftable.c: add INF and fix NAN 05-02-04 features/lib: add _std_strtol (for lynxos) include/ast_std.h: add _std_strtol tests comp/strtod.c: #define S2F_function strtod misc/signal.c: fix ancient bsd SV_INTERRUPT vs. SV_ABORT clash 05-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,
libcmd changes07-10-29 cksum.c: add SUM_LEGACY for -r 07-10-12 cp.c: plug usage string memory leak by using per-builtin state 07-09-21 cksum.c: add sumprint() default scale arg, --scale, --bsd for solaris 07-09-10 chmod.c: add --show,-n 07-07-27 wclib.c: bias <wchar.h> checks for modern unix 07-07-17 cat.c: fix --squeeze-blank to reduce multiple blank lines to *one* 07-05-20 cmd.h: handle msvc's balk at if(0)0=0; 07-05-20 cksum.c: #include <modex.h> 07-05-11 cmd.h: add _CMD_CONTEXT_OK() to verify >= 20070511 context 07-05-09 fds.c: handle ipv6 sockets 07-05-09 cmd.h: <shbltin.h> : cmdquit() => sh_checksig(context) 07-04-25 mkdir.c: force (S_ISVTX|S_ISUID|S_ISGID) after mkdir(2) 07-04-24 procrun.c: add -last intercept => sh_run() and whence -q 07-04-19 uname.c: name operands first checked for CS_NAME, then NAME 07-03-28 date.c: add --unelapsed=scale, -U: fmtelapsed() => strelapsed() 07-03-25 wclib.h: iswspace() requires <wctype.h>! 07-03-11 tty.c: add sysV --line-number, -l 07-02-26 Makefile: sumlib.o: direct extract from +lsum (vcodex someday) 07-02-24 Makefile: tweak cmdext.h action for --mam bootstrap 07-02-09 Makefile: { cmdext.h cmdlist.h } depend on *.c list! 07-02-09 Makefile: +lsum to bring in static -lsum (no dynamic right now) 07-02-07 cksum.c: move from src/cmd/std with ftwalk => fts 07-02-07 getconf.c: handle /bin == /usr/bin in defer logic 07-01-26 chmod.c: don't FTS_FOLLOW if !FTS_PHYSICAL 07-01-23 cut.c: Cut_t variable dimension list[] must be last member 07-01-22 uname.c: fix -h typo that clobbered astconf() state -- ouch 07-01-02 fmt.c: fix buffer splice off by one bug -- what else 06-11-23 cmd.h: because of proto cmdinit cannot be a function like macro 06-11-21 cp.c: fix 06-10-31 const dot[] readonly assignment 06-11-15 cp.c: fix 06-10-31 ln -s enoent bug 06-11-11 getconf.c: let astconf() handle "undefined" vs. "" 06-11-11 getconf.c: fix deferred getconf path search 06-11-11 fmt.c: handle two char { \t } in --usage ouput 06-10-31 global edit to eliminate most non-const static data0 06-10-31 use <cmd.h> for all b_*() implementations; drop <cmdlib.h> 06-10-31 cmd.h: add CMD_ prefix to { BUILTIN DYNAMIC STANDALONE } 06-10-31 join.c: tone down /tmp usage vi SFSK_DISCARD 06-10-31 cp.c,rm.c: update to <fts.h> to accomodate non-static data 06-10-29 date.c: "...%H%..." => "...%H" "%..." to avoid SCCS conflict 06-10-26 fds.c: handle sctp 06-10-18 tail.c: fix invalid suffix infinite loop 06-10-11 chgrp.c,cp.c: add sfstruse() error checks 06-10-10 tee.c: add --linebuffer, -l 06-10-06 getconf.c: preserve native getconf(1) known variable behavior 06-10-04 sync.c: add (thanks to Roland Mainz) 06-10-04 getconf.c: add -v specification => run native getconf(1) 06-09-28 stty.c: static setmode() => set() for darwin.i386 06-09-27 head.c: handle -1c => -c1 06-09-19 pathchk.c: pathconf() => astconf() 06-09-11 tail.c: handle compatibility corner cases 06-09-08 date.c: add output write error diagnostic 06-09-04 tail.c: fix initial position for -n0, no args => no -f 06-08-28 uniq.c: add -D,--all-repeated 06-08-25 wc.c,wclib.c: add -L,--longest-line,WC_LONGEST 06-08-24 wc.c,wclib.c: implement -m and WC_MBYTE 06-08-24 rmdir.c: -sp applies to every message, add gnu -e 06-08-23 rmdir.c: add solaris --suppress, -s 06-08-23 mkdir.c: don't add 0300 to -p final dir mode 06-07-17 cut.c: handle last line with no newline 06-07-17 cut.c: --output-delimiter == --line-delimiter 06-06-25 chmod.c: mask -c output with S_IPERM 06-05-09 uname.c: add -o; change -a to match linux 06-05-03 date.c: add --last -L to list last of multiple time args 06-02-14 tail.c: fix -f bug that lost fast stream data 06-02-11 getconf.c: exit 1 if name invalid -- duh 06-01-28 cp.c,rm.c: fix astquery() 'q' to return and not exit() 05-08-11 fmt.c: fix -o to handle raw --usage strings 05-05-17 cat.c,head.c: disable EPIPE error messages 05-04-14 chgrp.c: -f means all non-syntax error messages 05-04-11 fds.c: add from old internal open(1) 05-04-09 cmdext.h,cmdlist.h: generate from source -- about time 05-03-24 features/symlink: verify { lchmod lchown } implementations 05-03-07 date.c: add --listzones to list the time zone table 05-02-14 chmod.c: add --reference=file 05-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
libsum changes07-10-29 sum.h,sumlib.c: add SUM_LEGACY for legacy output format 07-09-21 sum-sha1.c: reinstate Steve Reid's public domain implementation 07-07-26 sumlib.c: drop GPL sum-sha1.c 05-02-14 sumlib.c: split into sum-*.c 05-02-14 sum-sha2.c: add SHA { 256 384 512 } 04-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
libdll changes06-10-11 dllscan.c: check sfstruse() return values -- doh 06-01-25 dllplug.c: add errorf() library message for dlopen() error 05-02-14 dllscan.c: "" || "-" => NiL 04-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
|