The AT&T Software Technology ast-ksh package from AT&T Labs
Research contains ksh and support libraries. This is the
minimal set of components needed to build ksh.
Components in this package:
ksh93 | libast | libcmd | libdll |
|
This package is a superset of the following package: ksh; you won't need this if you download ast-ksh.
The software is covered by this license:
Individual components may be covered by separate licenses;
refer to the component source and/or binaries for more information.
A recent
release change log
is also included.
KSH-93 is the most recent version of the KornShell Language
described in
"The KornShell Command and Programming Language,"
by Morris Bolsky and David Korn of AT&T Bell Laboratories, ISBN 0-13-182700-6.
The KornShell is a shell programming language,
which is upward compatible with "sh" (the Bourne Shell),
and is intended to conform to the IEEE P1003.2/ISO 9945.2 Shell and
Utilities standard.
KSH-93 provides an enhanced programming environment in
addition to the major command-entry features of the BSD
shell "csh". With KSH-93, medium-sized programming tasks can be
performed at shell-level without a significant loss in performance.
In addition, "sh" scripts can be run on KSH-93 without modification.
The 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:
-
Enhanced Command Re-entry Capability: The KSH-93 history
function records commands entered at any shell level and stores
them, up to a user-specified limit, even after you log off.
This allows you to re-enter long commands with a few keystrokes
- even those commands you entered yesterday.
The history file allows for eight bit characters in
commands and supports essentially unlimited size histories.
-
In-line Editing: In "sh", the only way to fix mistyped
commands is to backspace or retype the line. KSH-93 allows you
to edit a command line using a choice of EMACS-TC or "vi"
functions.
You can use the in-line editors to complete filenames as
you type them.
You may also use this editing feature when entering
command lines from your history file.
A user can capture keystrokes and rebind keys to customize the
editing interface.
-
Extended I/O Capabilities: KSH-93 provides several I/O
capabilities not available in "sh", including the ability to:
-
specify a file descriptor for input and output
-
start up and run co-processes
-
produce a prompt at the terminal before a read
-
easily format and interpret responses to a menu
-
echo lines exactly as output without escape processing
-
format output using printf formats.
-
read and echo lines ending in "\".
-
Improved performance: KSH-93 executes many scripts faster
than the System V Bourne shell. A major reason for this is
that many of the standard utilities are built-in.
To reduce the time to initiate a command, KSH-93 allows
commands to be added as built-ins at run time
on systems that support dynamic loading such as System V Release 4.
-
Arithmetic: KSH-93 allows you to do integer arithmetic in any
base from two to sixty-four. You can also do double
precision floating point arithmetic.
Almost the complete set of C language operators are available
with the same syntax and precedence.
Arithmetic expressions can be used to as an argument expansion
or as a separate command.
In addition there is an arithmetic for command that works
like the for statement in C.
-
Arrays: KSH-93 supports both indexed and associative arrays.
The subscript for an indexed array is an arithmetic expression,
whereas, the subscript for an associative array is a string.
-
Shell Functions and Aliases: Two mechanisms - functions and
aliases - can be used to assign a user-selected identifier to
an existing command or shell script.
Functions allow local variables and provide scoping
for exception handling.
Functions can be searched for and loaded on first reference the
way scripts are.
-
Substring Capabilities: KSH-93 allows you to create a
substring of any given string either by specifying the starting
offset and length, or by stripping off leading
or trailing substrings during parameter substitution.
You can also specify attributes, such as upper and lower case,
field width, and justification to shell variables.
-
More pattern matching capabilities: KSH-93 allows you to specify
extended regular expressions for file and string matches.
-
KSH-93 uses a hierarchal name space for variables.
Compound variables can be defined and variables can
be passed by reference. In addition, each variable
can have one or more disciplines associated with
it to intercept assignments and references.
-
Improved debugging: KSH-93 can generate line numbers on execution
traces. Also, I/O redirections are now traced.
There is a DEBUG trap that gets evaluated after each command
so that errors can be localized.
-
Job Control: On systems that support job control, including
System V Release 4, KSH-93
provides a job-control mechanism almost identical to that of
the BSD "csh", version 4.1.
This feature allows you
to stop and restart programs, and to move programs between the
foreground and the background.
-
Added security:
KSH-93 can execute scripts which do not have read permission
and scripts which have the setuid and/or setgid set when
invoked by name, rather than as an argument to the shell.
It is possible to log or control the execution of setuid and/or
setgid scripts.
The noclobber option prevents you from accidentally erasing
a file by redirecting to an existing file.
-
KSH-93 can be extended by adding built-in commands at run time.
In addition, KSH-93 can be used as a library that can
be embedded into an application to allow scripting.
Documentation for KSH-93 consists of an "Introduction to KSH-93",
"Compatibility with the Bourne Shell" and a manual page and a
README file. In addition, the "New KornShell Command and Programming
Language," book is available from Prentice Hall.
All recorded changes follow.
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 q quoted string ending with an unescaped $ would
delete the ending $ in certain cases has been fixed.
03-12-05 A bug in which the shell could hang when set -x tracing a command
when an invalid multibyte character is encountered has been fixed.
03-12-05 On some systems, if the KEYBD trap is set, then commands that use
the meta key were not processed until return was hit. This
has been fixed.
03-12-05 A problem which occured when the login shell was not a group
leader that could cause it to fail has been fixed.
03-12-05 A problem in which a shell could core dump after receiving a signal
that should cause it to terminate while it was in the process
of acquiring more space has been fixed.
03-12-05 If ENV is not specified, the shell will default to $HOME/.kshrc
for interactive shells.
03-11-21 A bug introduced in ksh93o in which the DEBUG trap could get
disabled after it triggered has been fixed.
03-11-04 A bug in which using arithetic prefix opertors ++ or -- on a
non-lvalue could cause a core dump has been fixed.
03-11-04 A bug in which leading zeros were stripped from variable
expansions within arithmetic compution to avoid being treated
as octal constants when they should not have, has been fixed.
03-10-08 A bug introduced in ksh93o in which a large here document inside
a function definition could get corrupted has been fixed.
03-09-22 A bug in which the .get discipline function was not being
called when a string variable was implictly referenced from
within a numerical expression has been fixed.
03-09-22 A bug in which a script without a leading #! could get executed
by /bin/sh rather than the current shell on some systems has
been fixed.
03-09-12 To improve conformance with ksh88, leading zeros will be ignored
when getting the numerical value of a string variable so that
they will not be treated as octal constants.
03-09-03 The builtin kill command now processes obsolete invocations
such as kill -1 -pid.
03-09-02 The restriction on modifying FPATH in a restricted shell (sh -r)
has been documented.
03-09-02 The restricted shell (sh -r) has been modified to disallow
executing command -p.
03-08-07 A bug in which the KEYBD trap was not being invoked when
characters with the 8th bit set has been fixed.
03-08-02 A parser bug introduced in ksh93o which caused the character
after () in a Posix function definition to be skipped
when reading from standard input has been fixed.
03-08-01 A bug in which "${foo#pattern}(x)" treated (x) as if it were
part of the pattern has been fixed.
03-08-01 The command -x option has been modified so that any trailing
arguments that do expand to a single word will be included
on each invocation, so that commands like command -x mv * dir
work as expected.
03-07-20 --- Release ksh93o+ ---
03-07-20 A bug in which could cause memory corruption when a posix
function invoked another one has been fixed.
03-07-15 A bug in which a file descriptor>2 could be closed before
executing a script has been fixed.
03-07-15 A parsing error for <() and >() process subsitituions inside
command substitution has been fixed.
03-07-15 A parsing error for patterns of the form {...}(...) when
used inside ${...} has been fixed.
03-07-15 An error in which expanding an indexed array inside a compound
variable could cause a core dump has been fixed.
03-07-15 A bug in which under on rare ocassions a job completion interrupt
could cause to core dump has been fixed.
03-06-26 A bug in which process substitution embeded within command
substitution would generate a syntax error has been fixed.
03-96-23 A bug in which ${@:offset:len} could core dump when there
were no arguments has been fixed.
03-96-23 A bug in which ${X[@]:offset:len} could core dump when X
was unset has been fixed.
03-06-22 The -x option was added to the command builtin. If this
option is on, and the number of arguments would exceed ARG_MAX,
the command will be invoked multiple times with a subset of
the arguments. For example, with alias grep='command -x grep,
any number of arguments can be specified.
03-06-14 A bug in which could cause a core dump on some systems with
vi and emacs editors with the MULTIBYTE option has been fixed.
03-06-06 A bug in which the shell could core dump when a script was
run from its directory, and the script name a symlink to a file
beginning with .., has been fixed.
03-06-05 A bug in which the shell could core dump when a child process
that it is unaware of terminates while it is calling malloc()
has been fixed.
03-06-02 An option named globstar (set -G) has been added. When enabled,
during pathname expansion, any component that consists only of ** is
matches all files and any number of directory levels.
03-05-30 A bug in which the PATH search could give incorrect results when
run from directory foo and PATH contained .:foo:xxx has been fixed.
03-05-29 Some changes were made to the code that displays the prompt in edit
mode to better handle escape sequences in the prompt.
03-05-27 I added = to the list of characters that mark the beginning of
a word for edit completion so that filenames in assignments
can be completed.
03-05-20 A bug in which read -N could hang on some systems when reading
from a terminal or a pipe has been fixed.
03-05-19 A bug in which the ouput of uname from a command substitution
would go to the standard output of the invoking command when
uname was invoked with a non-standard option has been fixed.
03-05-19 A job control bug which would cause the shell to exit because
it hadn't take back the terminal has been fixed. The bug
could occur when running a function that contained a pipeline
whose last element was a function.
03-05-19 A job control timing bug introduced in ksh93o on some systems
which could cause a pipeline to hang if the first component
completed quickly has been fixed.
03-05-13 The read builtin has been modified so that the builtin editors
will not overwrite output from a previous incomplete line.
03-05-13 A bug in which the name of an identifier could have the string
.sh. prefixed to it after expanding a variable whose name begins
with .sh. has been fixed.
03-05-13 A bug in the expansion of $var for compound variables in which
some elements would not be output when the name was a prefix
of another name in the compound variable has been fixed.
03-05-08 The last item in the ksh93o release on 03-01-02 has been
altered sligthly to preserve the leading 0's when the
preceding character is a digit. Thus, with typeset -LZ3 x=10,
$(( 1$x)) will be 1010 whereas $(( $x) will be 10.
03-04-25 A bug in which if x is a name reference, then nameref y=x.foo
did not follow x has been fixed.
03-03-18 --- Release ksh93o ---
03-03-18 A -N unary operator was added to test and [[...]] which returns
true if the file exists and the file has been modified since it
was last read.
03-03-18 The TIMEFORMAT variable was added to control the format for
the time compound command. The formatting description is
described in the man page.
03-03-06 A -N n option was added to read which causes exactly n bytes
to be read unlike -n n which causes at most n bytes to be read.
03-03-03 Three new shell variables were added. The variable .sh.file
stores the full pathname of the file that the current command
was found in. The variable .sh.fun names the current function
that is running. The variable .sh.subshell contains the depth
of the current subshell or command substitution.
03-03-03 When the DEBUG trap is executed, the current command line after
expansions is placed in the variable .sh.command. The trap
is also now triggered before each iteration of a for, select,
and case command and before each assignment and redirection.
03-02-28 Function definitions are no longer stored in the history file so
that set -o nolog no longer has any meaning.
03-02-28 All function definitions can be displayed with typeset -f not
just those stored in the history file. In addition, typeset +f
displays the function name followed by a comment containg the
line number and the path name for the file that defined this function.
03-02-28 A bug in which the value of $LINENO was not correct when executing
command contained inside mult-line command substitutions has been
fixed.
03-02-19 Since some existing ksh88 scripts use the undocumented and
unintended ability to insert a : in front of the % and # parameter
expansion operators, ksh93 was modified to accept :% as equivalent
to % and :# as equivalent to # with ${name op word}.
03-02-14 A bug which could cause a core dump when reading from standard
error when standard error was a pty has been fixed.
03-02-14 The shell arithmetic was modified to use long double on systems
that provide this data type.
03-02-09 A bug in which a function located in the first directory in FPATH
would not be found when the last component of PATH was . and the
current directory was one of the directories in PATH has been fixed.
03-02-07 The trap and kill builtin commands now accept a leading SIG prefix
on the signal names as documented.
03-02-05 A bug in the expansion of ${var/$pattern}, when pattern contained
\[ has been fixed.
03-02-05 A bug in which .sh.match[n], n>0, was not being set for substring
matches with % and %% has been fixed.
03-01-15 A bug in which getopts did not work for numerical arguments specified
as n#var in the getopts string has been fixed.
03-01-09 A bug in which using ${.sh.match} multiple times could lead to
a memory exception has been fixed.
03-01-06 A bug in the expansion of ${var/pattern/$string} in the case that
$string contains \digit has been fixed.
03-01-02 A -P option was added for systems such as Solaris 8 that support
profile shell.
03-01-02 For backward compatibility with ksh88, arithmetic expansion
with ((...)) and let has been modified so that if x is a zero-filled
variable, $x will not be treated as an octal constant.
02-12-05 --- Release ksh93n+ ---
02-11-30 A bug that can show up in evaluating arithmetic statements that
are in an autoloaded function when the function is autoload from
another function has been fixed.
02-11-30 An optimization bug in which an expansion of the form ${!name.@},
which occurred inside a for or a while loop, when name is a name
reference, has been fixed.
02-11-18 A bug in which modifying array variables in a subshell could leave
side effects in the parent shell environment has been fixed.
02-11-18 A memory leak when unsetting an associative array has been fixed.
02-11-14 The code to display compound objects was rewritten to make
it easier for runtime extensions to reuse this code.
02-11-14 A change was made to allow runtime builtins to be notified when
a signal is received so that cleanup can be performed.
02-10-31 User applications can now trap the ALRM signal. Previously,
the ALRM signal was used internally and could not be used
by applications.
02-10-31 A bug in which signals received while reading from a coprocess
for which traps were set was not handled correctly has been fixed.
02-10-31 A bug in which a file opened with exec inside a subshell could
be closed before the subshell completed has been fixed.
02-10-21 A bug in which setting PATH or FPATH inside a function might not
take effect has been fixed.
02-10-21 A bug which could cause a core dump when a local SECONDS variable
is defined in a function has been fixed.
02-10-15 A bug in which the associate array name operator ${!array[@]}
could return the same name multiple times has been fixed.
02-10-15 A bug in which the zero'th element of an associative array was
not getting set when an assignment was made without a subscript
specified has been fixed.
02-09-30 --- Release ksh93n ---
02-09-30 The maximum indexed array size was increased to 16Megs.
02-09-30 A bug which could cause a core dump when changing attributes
of associative array has been fixed.
02-09-30 A bug in which exporting an array variable would not export the
0-th element has been fixed.
02-09-30 A bug in which an array assignment of the form a=($a ...) would unset
'a' before the right hand side was evaluated has been fixed.
02-09-27 A bug in which the error message for ${var?message} when var was
null or unset did not contain the variable name var has been fixed.
02-09-27 A bug in which closing file descriptors 0 through 2 could
cause a subsequent here document to fail has been fixed.
02-09-14 A bug in whence which occurs when the specified name contained
a / has been fixed.
02-09-14 A bug in the parser for strings of the form name$((expr))=value
has been fixed.
02-09-14 A for loop optimization bug in which the number of elements in
an array was treated as an invariant has been fixed.
02-09-09 A bug in which redirection or closing of a file descriptor between
3 and 9 could cause a subsequent here document to fail has been
fixed.
02-09-09 A bug in which a background job was not removed from the job list
when a subshell completed has been fixed, for example (prog&).
02-09-03 A bug in which an assignment of the form name=(integer x=3)
could be interpretted as an array assignment rather than a
compound variable assignment has been fixed.
02-08-19 A command completion bug which occurred on file systems that
are case insensitive has been fixed.
02-08-19 A bug which could lead to an exception on some systems (for
example FREEBSD) which occurred when setting PATH has been fixed.
02-08-11 A bug in arithmetic rounding in which a value input as a decimal
string would output as a rounded version of the string has
been fixed.
02-08-11 A bug in which the last character could be deleted from shell
traces and from whence when called from a multibyte locale
has been fixed.
02-08-01 A bug which could cause a core dump to occur when a shell script
is executed while a coprocess is running that has closed the
output pipe has been fixed.
02-08-01 A bug in which command completion in multibyte mode could
corrupt memory for long command lines has been fixed.
02-06-17 --- Release ksh93n- ---
02-06-17 A bug in which user defined macros could cause a core dump in
with MULTIBYE mode has been fixed.
02-06-17 A bug in which printf format specifiers of the form %2$s were causing
a core dump has been fixed.
02-06-17 A bug in which setting stty to noecho mode did not prevent the
echoing of characters by ksh when emacs or viraw mode
was enabled has been fixed.
02-06-17 A bug in which background job completion could cause the sleep
builtin to terminate prematurely has been fixed.
02-06-17 A bug in which the shell could core dump if getopts was called
when the OPTIND variable contained a negative value has been fixed.
02-06-10 The edit mode prompt has been modified to handle escape sequences.
02-06-10 A bug which occurred for interactive shells in which the builtin
cat command was used in command substitution on a file whose
size was larger than PIPE_BUF has been fixed.
02-06-10 A bug in which the trap on ERR was not being processed when
set inside a function has been fixed.
02-06-07 A bug in which function definitions could cause the history count
to be decremented by one (and even become negative) has been fixed.
02-06-05 A bug in read in which share mode could be enabled has been fixed.
02-05-28 A bug which could occur when the last command of a script was
a case statement and the action selected ended in ;& instead of ;;
has been fixed.
02-05-23 A bug with unary + introduced in ksh93k has been fixed.
02-05-07 A bug in substitutions of the form ${var/pattern/string} in which
a backslash was inserted in the replacement string when it contained
a special pattern character has been fixed.
02-05-01 A bug in the emacs edit mode which occurred in versions compiled
for multibyte character sets which occurred when a repeated search
was requested after a long line had been returned for the previous
search has been fixed.
02-04-02 vi and emacs edit modes were modified so that tab completion is
disabled when invoked from the read built-in.
02-03-26 --- Release ksh93m+ ---
02-03-26 A bug in which was not handled correctly when used in file
expansion has been fixed.
02-02-18 A bug in which lines beginning with a # were deleted from here
documents when the here-document delimiter was followed by
a comment has been fixed.
02-12-06 An optimization bug in which ${!x[@]) was treated as invariant in
a for loop has been fixed.
02-02-06 A bug in which the ERR trap is not cleared for a script invoked
by name from within a function has been fixed.
02-01-08 A bug in which a shell script executed from within a subshell
could cause this script to have an invalid pointer leading
to a memory fault has been fixed.
02-01-07 Added here documents of the form <<< word (as per zsh) which
is equivalent to << delimordelim.
02-01-07 A bug in which the first word of a compound assignment,
x=(word ...), was treated as a reserved word has been fixed.
02-01-07 A bug in the handling of when noglob was enabled and a
substitution of the form ${word op pattern} occurred in the
same word has been fixed.
02-01-07 A compilation option, CMDLIB_BLTIN in the file OPTION, has
been added. When this options is set, all commands implemented
in libcmd become shell builtin commands by default.
02-01-07 A bug in which builtin foo, where foo is already a builtin
would result in the builtin foo getting removed has been fixed.
02-01-07 A bug which the shell executed a command found in the current
directory when PATH have no valid directories has been fixed.
01-11-28 The value of $? was not being set when called with exit.
01-11-28 If the last command was of the form (...) and a trap on EXIT or
ERR was set, and the command inside () modified the trap, then
the original trap wasn't executed.
01-11-26 The value for 0 is now preceded by the base number when
the base was not 10.
01-11-26 The default has compilation mode has been changes so that
viraw mode will always be on.
01-10-31 --- Release ksh93m ---
01-10-31 A for loop optimizer bug for subshells contained withing for
loops has been fixed.
01-10-16 typeset without arguments no longer outputs variable names
that do not have any attributes that are set.
01-10-16 A bug introduced in ksh93l in which assignments specified with
the exec built-in were not being expanded properly has been
fixed.
01-10-11 An optimization bug in which ${!x) was treated as invariant in
a for loop has been fixed.
01-10-11 Unsigned integer variables in bases other than 10 are printed now
expand in that base with the base prefix.
01-10-10 A number of typos in the self generating man pages for shell
built-ins have been fixed.
01-10-04 The self generated man pages for hist and fc were not working
correctly and have been fixed.
01-10-03 Yet another optimizer bug in which shell patterns were
treated as invariants has been fixed.
01-09-27 Two bugs relating to multibyte history searches and to find
have been fixed.
01-09-27 A bug introduced in ksh93k in which the PATH searching was
not restored after running a command with an assignment list
has been fixed.
01-09-26 A bug in which a zero filled field was treated as octal when
converted to integer has been fixed.
01-09-26 Yet another bug in the optimization of for loops related to
recursive functions with break or continue statements has been fixed.
01-09-25 The exponentiation operator ** was added to the shell arithmetic
evaluation. It has higher precedence than * and is left
associative.
01-09-25 The code was modified to use the ast multibyte macros
and functions for handing multibyte locales.
01-09-25 The expansion ${parameter:offset:length} now handles negative
offsets which cause offsets to be measured from the end.
01-09-25 Some spelling errors in the documentation were corrected.
01-09-24 The /dev/tcp/host/port and /dev/udp/host/port now allow
the ports to be specified by service name.
01-09-24 The change staring with ksh93g in which the the appropriate
library path variable is prepended with a corresponding library
directory has been modified. With the new method, only the
library path defined in the file named .paths in the directory
where the executable is found will be modified. See the
man page for more details.
01-09-23 The .fpath file (see ksh93h) is no longer looked for in each
directory on the path to locate function directories. The
file named .paths is used instead.
01-09-23 A bug in which IFS was not being restored after being changed in
a subshell has been fixed.
01-09-16 With the vi and emacs edit modes, after a list of command
or functions is generated with = or M-= respectively,
any element from the list can be pasted on the command line
by preceding the = or M-= with a numeric parameter specifying
the position on the list.
01-09-16 A bug in ksh93l caused command completion not to find aliases
and functions. Command listing from the edit mode was presented
in reverse order. This has been fixed.
01-09-13 Another bug in the optimization of for loops related to subshells
when traps were set has been fixed.
01-09-07 A change in ksh93l caused brace expansion to stop working
and this has been fixed.
01-09-04 A bug introduced in ksh93k in which an arithmetic statement
within a function that used name references did not follow the
reference has been fixed.
01-09-04 A bug introduced in ksh93l in which export -p did not prefix
each export with the word export has been fixed.
01-08-29 A bug in multibyte input which occurred when a partial multibyte
character was received has been fixed.
01-08-29 A bug introduced in ksh93l which could cause a core dump
when an assignment list containing PATH is specified inside
command substitution has been fixed.
01-08-09 Another bug in the optimization of for loops in ksh93l caused
errors in recursive functions using local variables that
contained for loops has been fixed.
01-07-27 A bug in which IFS would be unset after a command substitution
inside a here document has been fixed.
01-07-26 To conform to the POSIX standard, if you invoked ksh name,
and name does not contain a /, it will first try to run
one in the current directory whether it is executable or not
before doing a path search for an executable script. Earlier
versions first checked for an executable script using the
PATH variable.
01-07-23 A bug in which unset -f invoked in a subshell could unset a
function defined in the parent has been fixed.
01-07-16 A bug in the optimization of for loops in ksh93l caused
name references to be treated as invariants has been fixed.
01-07-09 A bug in which a discipline function applied to a local variable
could cause a shell exception has been fixed. Discipline
functions can only be specified for global variables.
01-06-18 --- Release ksh93l ---
01-06-18 A bug in assigning integers larger than can be represented as
long integers to floating point variables has been fixed.
01-06-18 A bug in the handling of unsigned integers (typeset -ui) has
been fixed.
01-06-04 The evaluation of the PS1 prompt no longer effects the value
of the $? variable.
01-06-01 A small memory leak from subshells has been fixed.
01-05-22 A bug in which attributes for variables that did not have
values would be lost after a subshell has been fixed.
01-05-22 The %R format has been added to convert a shell pattern into
an extended regular expression.
01-05-22 The escape sequences \, X, \C[.collating-element.], and
\x{hex} have been added to ASCII-C strings and to printf format
strings.
01-05-20 Patterns of the form {n}(pattern) and {m,n}(pattern) are now
recognized. The first form matches exactly n of pattern whereas,
the second form matches from m to n instances of pattern.
01-05-20 The shell allows *-(pattern), +-(pattern), ?-(pattern),
{m,n}-(pattern}, and @-(pattern) to cause the minimal
match of pattern to be selected whenever possible rather
than the maximal (greedy) match.
01-05-20 The character class [:word:] has been added to patterns.
The word class is the union of [:alnum:] and the character _.
01-05-20 Inside (...) pattern groups, the character is now treated
specially even when in an enclosing character class. The
sequences, \w, \d, \s are equivalent to the character classes
word, digit, and space respectively. The sequences \W, \D,
and \S are their complement sets.
01-05-20 The shell now recognizes pattern groups of the form
~(options:pattern) where options or :pattern can be omitted.
Options use the letters + and - to enable and disable options
respectively. The option letters g (greedy), i (ignore case)
are used to cause maximal matching and to cause case
insensitive matching respectively. If :pattern is also
specified, these options are only in effect while this
pattern is being processed. Otherwise, these options remain
in effect until the end of the pattern group that they are contained
in or until another ~(...) is encountered. These pattern groups
are not counted with respect to group numbering.
01-05-14 When edit completion, expansion, or listing occurs in the
middle of a quoted string, the leading quote is ignored when
performing the completion, expansion, or listing.
01-05-14 A small memory leak from subshells has been fixed.
01-05-10 A bug in which open files were not restored after a subshell
that had used exec to replace a file has been fixed.
01-05-10 Redirection to a null file name now generates an error message.
01-05-09 The shell now rejects some invalid parameter substitutions that
were previously processed in undefined ways.
01-05-09 A bug in which the output of select was not flushed before the
read when input did not come from the terminal has been fixed.
01-05-08 A bug in which job ids would not be freed for interactive shells
when subshells ran built-ins in the background has been fixed.
01-05-08 The FPATH variable now requires an explicit . to cause the
current directory to be treated as a function directory.
01-05-08 A bug in read -n when echo mode was disabled has been fixed.
01-05-07 A bug in which function definitions could be listed as part
of the history has been fixed.
01-04-30 This release uses a new and often much faster pattern matcher than
earlier releases.
01-04-30 An optimizer now eliminates invariant parameter expansions from
for while and until loops.
01-04-30 The variable .sh.match is set after each pattern match (# % or /)
in a variable substitution. The variable .sh.match is an
indexed array with element 0 being the complete match.
The array is only valid until the next subsequent pattern
match or until the value of the variable changes which ever
comes first.
01-04-30 A self generating man page has been added to shcomp. Also,
shcomp now stops compiling when it finds an exit or exec
command and copies the remainder so that it can be used
for standard input.
01-04-30 The shcomp command was modified so that it can work in an
EBCIDIC environment and that binary scripts are portable
across environments.
01-04-30 A bug in the handling of a trailing : in PATH has been fixed.
01-04-30 A bug in which the builtin version of a command would get invoked
even though the full pathname for the command was specified
has been fixed.
01-04-30 A bug in which read would loose the last character when
reading the last line of a file that did not contain a new-line
character has been fixed.
01-04-23 A bug on some systems in which in vi mode the end of file
character and end of line character could be swapped has
been fixed.
01-04-23 A bug on some systems in which invoking a shell script that
did not have execute permission could set the exit value to
127 rather than 126 has been fixed.
01-04-20 A bug in which read -n from a pipe would block if fewer than
n characters was received has been fixed.
01-04-09 A bug in which invalid patterns, for example, ) by itself,
was not treated as a string has been fixed so that if i=')',
then [[ $i == $i ]] is true.
01-04-09 The shell arithmetic now interprets C character constants.
01-04-09 A bug in which a non-zero return from a function defined
with the function reserved word did not trigger the ERR
trap or exit with set -e has been fixed.
01-04-02 A bug on some systems, in which characters above 127 were
not displayed correctly in vi or emacs edit mode has been fixed.
01-04-02 A bug on some systems, introduced in the 'k' point release, in
which the erase character in viraw mode was moving the cursor
to the left without erasing the character has been fixed.
01-04-02 On some systems the wcwith() function was returning a wrong
value for characters and caused characters to be displayed
incorrectly from the shell edit modes. A work around for
this problem has been added.
01-03-26 A bug in which valid scripts could produce syntax errors
when run with locales that considered characters such as "'"
to be space characters has been fixed.
01-03-20 A bug in which an syntax error in an arithmetic expression
entered interactively could cause the shell to go into
an infinite loop outputting the error message has been fixed.
01-03-10 ksh93 accepts -l as a synonym for -L in test on systems for
which /bin/test -l tests for symbolic links.
01-03-10 A bug in parsing scripts in which { and } are used in place of
in and esac in case statements embedded in compound commands
has been fixed. Use of { and } for in and esac is obsolete.
01-03-06 A bug in which an argument of the form foo=bar was not
being passed correctly to a traced function whose name
was foo has been fixed.
01-03-02 Using $(trap -p name) did not print the name of the current
trap setting for trap name.
01-02-26 Exported floating point variables gave incorrect results
when passing them to ksh88. This has been fixed.
01-02-25 A race condition in which a coprocess which completed too quickly
would not allow subsequent coprocesses to start has been fixed.
01-02-25 The 'g' format specifier is now handled by printf. It had
inadvertently been omitted.
01-02-20 The + was not being displayed during an execution trace
with the += assignment operator.
01-02-19 The error message which occurs when the interpreter name
defined on the #! line does not exist is more informative.
01-02-19 A bug in which $0 would not be set correctly when a
script with #! was invoked by full pathname from the
directory of the script has been fixed.
01-02-19 A shell script did not always pick up tty mode changes
made by external commands such as stty which could
effect the behavior of read.
01-02-19 The -u, -g, and -k unary tests did not give the correct
results when used with negation and this has been fixed.
01-02-05 --- Release ksh93k+ ---
01-02-05 The sequence \<newline> inside $'...' was not incrementing
the line count and this has been fixed.
01-02-05 Modified expansion of "${@-}" so that if no arguments are set
it results in null string rather than nothing.
01-02-02 memory leak problem with local variables in functions fixed.
01-01-25 allow arithmetic expressions with float%int and treat them
as ((int)float)%int rather than as an error.
01-01-19 read -n1 was not working and has been fixed.
01-01-17 ksh now handles the case in which a here document in command
substitution $() is terminated by the trailing ). Previously,
a new-line was needed at the end of the delimiter word.
01-01-02 A bug in which a KEYBD trap would cause a multi-line token
to be processed incorrectly has been fixed.
00-12-10 Arithmetic integer constants can now have L and U suffices.
00-12-10 A bug in the processing of arithmetic expressions with compound
variables when the -n option is on has been fixed.
00-12-08 A bug in M-f and M-b from emacs mode has been fixed. This
bug only occurs when ksh93 is compiled without MULTIBYTE enabled.
00-11-29 A bug in which jobs -p would yield 0 for background
jobs run in a script has been fixed.
00-11-21 A bug in integer arrays in which the number of elements is
incorrect when the ++ operator is applied to a non-existing
element has been fixed. For example, integer x; ((x[3]++)).
00-11-20 A timing bug in which the shell could reset the terminal
group to the wrong value in the case that the a new process
changes the terminal group during startup has been fixed.
00-10-27 --- Release ksh93k ---
00-10-27 Using tab for completion now works only when applied
after a non-blank character at the end of the current line.
In other case a tab is inserted.
00-10-27 A bug in the emacs edit mode for ^X^E has been fixed.
The ^X^E sequence is supposed to invoke the full editor
on the current command.
00-10-18 A bug in which expansions of the form ${var//pattern/string}
did not work correctly when pattern was '/' or "/" has
been fixed.
00-10-18 The output format for indexed arrays in compound variables
has been modified so that it can be used as input.
00-10-18 Assignments with name references (typeset -n) will now
implicitly unreference an existing name reference.
00-10-17 A bug the += append operator when a single array element
is appended to a variable that is not an array has been fixed.
00-10-16 A bug in which the SIGCONT signal was being sent to
each process will kill -0 or kill -n 0 has been fixed.
00-10-12 The arithmetic evaluation portion has been rewritten to
perform a number of optimizations.
00-10-10 A bug in which name prefix matching ${!name.*} was not
checking name to see if it was a name reference has been fixed.
00-09-26 A bug in the multibyte version in which the width of for
non-printing characters was not correct has been fixed.
00-09-12 Made changes to get multibyte editing work on UWIN for windows
00-09-12 A bug in which multibyte characters would be displayed incorrectly
has been fixed.
00-08-08 Removed build dependency on iswprint() and iswalph().
00-07-20 In some cases the read builtin would read more than a single
line from a pipe on standard input and therefore leave the seek
position in the wrong location.
00-07-05 If the directory / is on the path, a / will not be inserted
between the directory and the file name during path searching
to avoid searching // for systems that treat this specially.
00-06-26 A bug in which on rare occasions wait could return before all
jobs have completed has been fixed.
00-06-21 A bug in which backspace did not work correctly during the
R replace directive in vi-mode has been fixed.
00-06-12 Added variable name completion/expansion/listing to the set of
completions. Variable name completions begin with $ or "$ followed
by a letter.
00-05-09 --- Release ksh93j ---
00-05-09 Modified command substitution to avoid using /tmp files when
run on read-only file systems.
00-04-17 Modified printf to handle '%..Xc' and '%..Xs' options where X
is not an alpha character. Previous versions core dumped with this.
00-04-10 Changes to multibyte editing code were made to use standard
ISO C functions rather than methods devised before the standard.
00-04-09 Add %H options to printf to output strings with <"'&\t> properly
converted for use in HTML and XML documents.
00-04-07 Modified getopts builtin to handle <.>..< >in usage string >
by invoking specified function.
00-04-04 Added self generating man pages for bg, fc, fg, disown, jobs,
hist, let, ., and ulimit.
00-03-30 The append operator += has been added and can be used
for all assignments, strings, arrays, and compound variables.
00-03-30 Code was modified in several places to support automatic
generation of C locale dictionaries.
00-03-28 A bug in which the set and trap commands invoked with --name
type arguments would terminate the invoking script has
been fixed.
00-03-27 A bug in which the library path variable was not updated
correctly on some systems as described in the 'g' point
release has been fixed.
00-03-07 printf now returns a non-zero exit status when one of
its arguments cannot be converted to the given type.
00-03-05 The return value and error message for a command that
was found on the path but was not executable was set
incorrectly.
00-03-05 A prototype for ioctl() was removed from the vi edit mode.
00-01-28 --- Release ksh93i ---
00-01-28 Most of the built-in commands and ksh itself are now
self documenting. Running command --man will produce
screen output. Running command --html produces the
man page in html format.
00-01-28 The getopts builtin can process command description
strings to produce man pages.
00-01-28 A bug in which a script could terminate when getopts
encountered an error when invoked inside a function
has been fixed.
00-01-28 When a symbolic link was specified as the name of
the script to invoke by name, the value of $0 was
set to the real file name rather than the link name
in some cases and this has been fixed.
00-01-28 A bug in which the precision given as an argument
to printf was not working has been fixed.
99-03-31 --- Release ksh93h ---
99-03-31 The PATH search algorithm has been modified to look
for a file named .fpath in each bin directory and if
found, to search for functions in this directory if
it cannot find the command in that directory.
99-03-31 When performing pathname expansion, the shell checks
to see whether each directory it reads is case sensitive
or not, and performs the matching accordingly.
99-03-31 The %T format for printing formatted date/time.
99-03-31 The emacs and vi modes now handle arrow keys when
they use standard ANSI escape sequences.
99-03-31 The TAB key can be used for completion in emacs and viraw mode.
99-03-31 A bug in setting .sh.editchar during the KEYBD trap
for the MULTIBYTE option was fixed in release ksh93h.
99-03-31 A bug in shcomp for compilation of unary operators with [[...]]
has been fixed.
99-03-31 A bug in which the value of $? was changed when executing
a keyboard trap has been fixed.
99-03-31 The handling of SIGCHLD has been changed so that the
trap is not triggered while executing trap commands
to avoid recursive trap calls.
99-03-31 A bug in which a local variable in a function declared readonly
would generated an error when the function went out of
scope has been fixed.
99-03-31 A bug in which \<new_line> entered from the keyboard
with the KEYBD trap enabled has been fixed.
99-03-31 The error message for a misplaced ((, for example print ((3),
was often garbled and has been fixed.
99-03-31 A bug in the KEYBD trap in which escape sequences of the form
<ESC>[#~ were not being handled as a unit has been fixed.
99-03-31 A bug in which ksh would consider expressions like [[ (a) ]]
as syntax errors has been fixed.
99-03-31 A function defined as foo() without a function body
was not reported as a syntax error.
99-03-31 A bug in which ksh could run out of file descriptors when
a stream was repeatedly opened with exec and read from
has been fixed.
98-04-30 --- Release ksh93g ---
98-04-30 The pipefail option has been added. With pipefail
enabled, a pipeline will not complete until all
commands are complete, and the return value will
be that of the last command to fail, or zero if
all complete successfully.
98-04-30 The name-value pair library uses the cdt library rather
than the hash library. This change should be transparent
to applications.
98-04-30 On the U/WIN version for Window 95 and Windows NT,
when a directory beginning with a letter followed by
a colon is given to cd, it is assumed to be an absolute
directory
98-04-30 When an executable is found on a given path,
the appropriate library path variable is prepended
with a corresponding library directory.
98-04-30 A bug in which a name reference could be created to
itself and later cause the shell to get into an infinite
loop has been fixed.
98-04-30 A bug in shcomp relating to compound variables was fixed.
98-04-30 A bug introduced in ksh93e in which leading 0's in -Z
fields caused the value to be treated as octal for arithmetic
evaluation has been fixed.
98-04-30 A bug when a name reference with a shorter name than
the variable it references was the subject of a compound
assignment has been fixed.
98-04-30 A bug which in which assignment to array variables in
a subshell could effect the parent shell has been
fixed.
98-04-30 read name?prompt was putting a 0 byte at the end of the
prompt on standard error.
98-04-30 A bug in [[ string1 > string2 ]] when ksh was run with -x
has been fixed.
98-04-30 A bug in which the escape character was not processed
correctly inside {...} when brace expansion is enabled
has been fixed, for example {\$foo}.
98-04-30 A bug in line continuation in here-documents has been
fixed.
98-04-30 The default base when not specified with typeset -i is
10 in accordance with the documentation. Previously,
the value was determined by the first assignment.
98-04-30 A parsing bug in which a # preceded alphanumeric
characters inside a command substitution caused
a syntax error to be reported has been fixed.
98-04-30 A bug in which a decimal constant represented as 10#ddd
where ddd was more than five digits generated a syntax
error has been fixed.
98-04-30 A bug in here document expansion in which ${...} expansions
were split across buffer boundaries has been fixed.
98-04-30 The sh_fun() function now takes third argument which
is an argument list for the invoked discipline function
or built-in.
98-04-30 A callback function can be installed which will give
notification of file duplications and file closes.
98-04-30 When ksh is compiled on systems that do not use fork()
current option settings where not propagated to sub-shells.
97-06-30 --- Release ksh93f ---
97-06-30 Hostnames in addition to host addresses can be given in
/dev/tcp/host/port virtual file names.
97-06-30 File name completion and expansion now quotes special
characters in file names from both emacs and vi edit modes.
97-06-30 An empty for list behave like a for list with null expansions.
It produces a warning message with sh -n.
97-06-30 The code has been modified to work with EBCDIC as well as ASCII.
97-06-30 A bug which would cause the secondary prompt to be
displayed when a user entered a literal carriage
return has been fixed.
97-06-30 A bug which caused ksh read -s name to core dump was
fixed.
97-06-30 A bug with the expansion of \} and \] inside double
quoted strings that also contained variable expansions
has been fixed
97-06-30 Changes in the ksh93e point release caused autoload
functions invoked from within command substitution
to fail. This has been fixed.
97-06-30 A bug in the processing of here-documents that could
prevent variable substitution to occur after $(...) command
substitution for long here documents has been fixed.
97-06-30 A bug caused by a race condition that could cause SIGTERM
to be ignored by a child process has been fixed.
97-06-30 A bug which prevented the startup of a coprocess immediately
after killing a running coprocess has been fixed.
97-06-30 ulimit foobar, where foobar is not an arithmetic
expression, now gives an error message as it did with ksh88
instead of setting the file size limit to 0.
97-06-30 A bug which could cause an interactive shell to terminate when
the last process of a pipeline was a POSIX function was fixed.
97-06-30 A bug which could cause command substitution of a shell script
to core dump has been fixed.
97-06-30 A security hole was fixed in suid_exec.
97-06-30 Arithmetic functions such as pow() that take more than
one argument, did not work if arguments other than the
first contained parenthesized sub-expression.
97-06-30 The error message from a script containing an incomplete
arithmetic expression has been corrected.
97-06-30 A bug which caused a core dump on some machines when
the value of a name reference contained a positional
parameter and the name reference was not defined inside
a function has been fixed.
97-06-30 Arithmetic expressions now correctly handle hexadecimal
constants.
97-06-30 A bug in which integer variables could be expanded
with a leading 10# when declared with typeset -i
multiple times has been corrected.
97-06-30 A bug in which IFS wasn't correctly restored when
set within command substitution has been fixed.
97-06-30 The _ character is now considered as part of a word
with the M-f and M-b emacs directives as it was in ksh88.
97-06-30 A bug in brace pattern expansions that caused expressions
such as {foo\,bar,bam} to expand incorrectly have been fixed.
96-07-31 --- Release ksh93e ---
96-07-31 The math functions, atan2, hypot, fmod, and pow were added.
96-07-31 When a shared library is loaded, if the function lib_init()
is defined in the library, it is invoked the first time that
the library is loaded with builtin -f library.
96-07-31 The k-shell information abstraction database option, KIA,
has been revamped.
96-07-31 Empty command substitutions of the form $() now work.
whence -v foo now gives the correct result after calling
builtin -d foo.
96-07-31 A bug in right to left arithmetic assignment for which
the arithmetic expression (( y = x = 1.5 )) did not
yield 1 for y when x was declared typeset -i was fixed.
96-07-31 printf has been fixed to handle format containing
and/or 145 correctly. In addition, characters following
%b in the format string are no longer displayed when
the operand contains .
96-07-31 A bug in printf that could cause the %E format to
produce unnormalized results has been fixed.
96-07-31 A bug which causes some arithmetic expressions to be
incorrectly evaluated as integer expressions rather
that floating point has been fixed.
96-07-31 Functions defined inside a subshell no longer remain
defined when the subshell completes.
96-07-31 The error message from sh -c ';echo foo' has been
corrected.
96-07-31 The format for umask -S has been changed to agree
with the specification in the POSIX standard.
96-07-31 A bug that caused side effects in subscript evaluation
when tracing was enabled for subscripts using ++ or --
has been fixed.
96-07-31 To conform to the Posix standard getopts has been changed
so that the option char is set to ? when it returns with
a non-zero exit status.
96-07-31 The handling of \} inside ${name...} has been fixed so
that the quotes the }.
96-07-31 A bug that caused the read builtin to resume execution
after processing a trap has been fixed.
96-07-31 [[ -s file ]] has been fixed so that if file is open
by ksh, it is flushed first.
96-07-31 In some cases attributes and sizes for non exported
variables weren't being reset before running a script.
96-07-31 The value of TMOUT was affected by changes make to
it in a subshell.
96-07-31 The jobs command did not reflect changes make by
sending the CONT signal to a command.
96-07-31 The error message for ksh -o unknown was incorrect.
96-07-31 Functions invoked as name=value name, did not use
values from the calling scope when evaluating value.
96-07-31 A bug in which the shell would reexecute previously
executed code when a shell script or coprocess was
run in the background has been fixed.
96-07-31 A bug in which an empty here-document would leave
a file descriptor open has been fixed.
96-07-31 A bug in which $(set -A array ...) would leave a
side effect has been fixed.
96-07-31 A discipline function for a global variable defined
within a function defined with the function keyword,
incorrectly created a local variable of the same name
and applied the discipline to it.
95-08-28 --- Release ksh93d ---
95-08-28 The character was not handled correctly in replacement
patterns with ${x/pattern/replace}.
95-08-28 A bug with read in which the line did not end with
a new-line has been fixed.
95-08-28 A bug in file name generation which sometimes
appended a . for filenames that ended in / has
been fixed.
95-08-28 If a process is waited for after a status has
been returned by a previous wait, wait now
returns 127.
95-08-28 A bug with hist (fc) -e which prevented a command
to re-executed after it had been edited has been fixed.
95-08-28 A bug which prevented quoting from removing the meaning
of unary test operators has been fixed.
95-08-28 A bug with typeahead and KEYBOARD traps with the
MULTIBYTE option set has been fixed.
95-08-28 Builtin functions can take a third argument which is
a void*.
95-08-28 The nv_scan() function can restrict the scope of a walk
to the top scope.
95-04-31 --- Release ksh93c ---
95-04-31 The expansion of "$@" was incorrect when $1 was the null
string.
95-04-31 A bug which could incorrectly report a syntax error in
a backquoted expression when a $ was preceded by
has been fixed.
95-04-31 A bug which prevented the shell from exiting after
reporting an error when failing to open a script
has been fixed.
95-04-31 A bug that could lead to memory corruption when a
large here document that required parameter or command
substitution was expanded has been fixed.
95-04-31 A bug that could cause a core dump on some systems
after ksh detected an error when reading a function
has been fixed.
95-04-31 A bug which could cause a coprocess to hang when
reading from a process that has terminated has been fixed.
95-04-31 A bug which caused a script to terminate when set -e
was on and the first command of and && or || list
failed has been fixed.
95-04-31 A bug with here documents inside $(...) when the delimiter
word is an identifier has been fixed.
95-04-31 A bug which caused $0 to display the wrong value when
a script was invoked as an argument to the . command
and the eval command has been fixed.
95-04-31 A bug that could cause the built-in sleep to hang
has been fixed.
95-04-31 A bug introduces in 12/28/93b which caused the backslash
to be removed when it was followed by digit inside double
quotes in some instances has been fixed.
95-04-31 A bug which could cause a core dump if ksh was invoked with
standard input closed has been fixed.
95-04-31 A bug which could cause a core dump if typeset -A was
specified for an existing variable has been fixed.
95-04-31 Variables that were unset but had attributes such as readonly
and export were not listed with readonly, export and typeset.
95-04-31 Several problems with signals have been fixed.
95-04-31 A bug which prevented ulimit -t from working has been fixed.
Also, a bug in which failed ulimits could cause a core dump
has also been fixed.
95-04-31 A bug in expansion of the form ${name/#pattern/string} and
${name/%pattern/string} has been fixed.
95-04-31 A bug which caused read -r on a line that contained only
blanks to get a non-null value has been fixed.
95-04-31 A bug introduced in the 'a' point release in which
${x='\'} expanded to when x was unset has been fixed.
95-04-31 A bug which prevented a trap on EXIT from being executed
when the last command in a script was a function invocation
has been fixed.
95-04-31 A bug which caused an interactive shell ignore input when
standard error was redirected to a file with exec,
and then restored with exec 2>&1 has been fixed.
95-04-31 An interactive shell turns on monitor mode even when
standard error has been redirected to a file.
95-04-31 A bug which could cause standard input to be incorrectly
positioned for the last command of a script has been fixed.
95-04-31 A bug in the edit modes which allowed walking back in
the history file for more than HISTSIZE commands has
beed fixed.
95-04-31 A bug which could cause a core dump if variable TMPDIR was
changed between two command substitutions has been fixed.
95-04-31. A bug which prevented a trap on EXIT from being cleared
has been fixed.
95-04-31 A bug fixed for the v directive in vi MULTIBYTE has been
fixed.
95-04-31 Code to for IFS handling of multibyte characters has
been added.
95-04-31 The displaying of multibyte strings in export, readonly,
typeset, and execution traces has been fixed.
95-04-31 Variables inside functions are now statically scoped.
The previous behavior was never documented.
95-04-31 Variables inside functions are now statically scoped.
The previous behavior was never documented.
95-04-31 A few changes have been made to the name-value library
that affect built-ins that use disciplines. The
changes allow disciplines to be shared by variables
and should make it possible to add new disciplines
without recompilation.
95-04-31 The name-value library interface has undergone significant
change for this revision. See the new nval.3 man page.
94-12-31 --- Release ksh93b ---
94-12-31 Variables inside functions are now statically scoped.
The previous behavior was never documented.
94-12-31 If IFS contains two consecutive identical characters belonging
to the [:space:] class, then this character is treated as
a non-space delimiter so that each instance will delimit
a field. For example, IFS=$'\t\t' will cause two consecutive
tabs to delimit a null field.
94-12-31 The getopts command has a -a name option that specifies a
name that will be used for usage messages.
94-12-31 A bug which caused unset RANDOM to dump core has been
fixed.
94-12-31 A bug which prevented return for terminating a profile
or ENV file has been fixed.
94-12-31 A bug which prevented standard input from being
directed to /dev/null for background jobs when
monitor mode was turned off has been fixed.
94-12-31 Statements of the form typeset -options var[expr]=value
did not perform substitutions on expr as expected.
94-12-31 A bug which prevented the shell from sending a HUP
signal to some background jobs that were not disowned
has been fixed.
94-12-31 A bug which allowed a script to trap signals that are
ignored at the time that the shell was invoked by exec
has been fixed.
94-12-31 A bug which could cause a core dump when a discipline
function was unset within a discipline was fixed.
94-12-31 The typeset builtin now accepts a first argument of
+ or - for compatibility with ksh88.
94-12-31 For compatibility with ksh88, the results of expansions
of command arguments will treat the extended character
match characters ()|& as ordinary characters.
94-12-31 A bug which caused read to fail on a file that was
open for read/write with <> when the first operation
was print or printf has been fixed.
94-12-31 When a job is suspended, it is put on the top of
the job list as required by the POSIX standard.
94-12-31 The value of OPTARG when an option that required
an argument but didn't have one was incorrect in the
case the the option string began with a :.
94-12-31 A bug which caused the terminal to get into a bad
state with some KEYBD traps in vi-mode has been fixed.
94-12-31 A bug which caused an invalid trap to cause a script
to terminate, rather than just return an error, has
been fixed.
94-12-31 Backreferencing sub-expressions in patterns and replacement
strings now works.
94-12-31 A bug in chmod which caused the -R option to fail has
been fixed.
94-12-31 More signal names have been added for Solaris
94-06-30 --- Release ksh93a ---
94-06-30 An expansion bug which causes portions of a word after
a $((...)) expansion that contains a nested $var expansion
to be lost has been fixed.
94-06-30 A bug that caused a core dump when a script that did not
have PWD set and did a cd inside command substitution
has been fixed.
94-06-30 A bug which caused a core dump on some machines when
the LANG variable was assigned to has been fixed.
94-06-30 A bug which incorrectly handled set disciplines that
performed arithmetic evaluation when the discipline
was called from the arithmetic evaluator has been fixed.
94-06-30 A bug caused by an EXIT trap inside a function that
was executed in a subshell was fixed.
94-06-30 If foo is a function, and not a program, then command foo
now reports that foo isn't found rather than invoking foo.
94-06-30 The previous version incorrectly listed -A as an
invocation option. The -A option is only for set.
94-06-30 A bug was fixed which caused ksh to loop when execution trace
was enabled and the PS4 prompt required command substitution.
94-06-30 A bug which could cause the job control switch character
to be disabled when a script that enabled monitor mode
terminated was fixed.
94-06-30 A bug in the macro expansion global replacement operator //,
when the pattern began with a [ or +( has been fixed.
94-06-30 A bug which prevented ~ expansion from occurring when
it was terminated with a colon inside an assignment
has been fixed.
94-06-30 A bug in the dot command which prevented autoload functions
from working has been fixed.
94-06-30 A bug which caused a variable to be unset if the
its value were expanded inside a set discipline has
been fixed.
94-06-30 Whence -a now longer reports that a defined function
is undefined.
94-06-30 A bug on some systems in which $0 would be incorrect
in scripts invoked by name has been fixed.
94-06-30 Here documents with an empty body now work.
94-06-30 A bug which disabled argument passing and resetting
of options for a script invoked by name inside a
function has been fixed.
94-06-30 A bug in which an EXIT trap set the caller of a function
would be executed if a command called inside a function
was not found has been fixed.
94-06-30 A bug which allowed a script to trap signals that are
ignored at the time that the shell was invoked has
been fixed.
94-06-30 A bug which caused 2<&1- when applied to a shell built-in
to leave standard input closed has been fixed.
94-06-30 A bug which caused the shell to incorrectly parse
$() command substitutions with nested case statements
has been fixed.
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, X == control X, \x{..} == \x..
01-05-09 path/pathtemp.c: pathtemp(0,0,0,"/private",0) for mode S_IRUSR|S_IWUSR
port/touch.c: handle utime(2) EPERM to fix bug that truncated
regex: change REG_MINIMAL to avoid negation -- much faster now
01-05-08 *.h: add some off_t macro guards for suse linux
01-05-03 regcomp.c: optimize ((x)!)* to ((x)!)
wchar: add <wchar.h> and stdio wchar routines
01-05-02 feaures/wchar: add <wchar.h> intercept, add stdio wchar functions
01-05-01 string/strtoi.h: signed strtoi accepts qualified unsigned constants
01-04-30 comp/setlocale.c: fix code that relied on 2 simultaneous getenv()'s
tm/tmlocale.c: check for UTF-8 encoded LC_TIME files
misc/magic.tab: add utf-8 and utf-16 U+FEFF magic
01-04-26 features/common: some cc's have _ast_int8_t but not LL constants
01-04-24 features/lib: add _std_strtod for mac os X
01-04-23 ccode: add CC_sub for ms embedded EOF char on ebcdic -- no joke
01-04-20 iconv: handle ebcdic<=>utf
mc.h,mc.c: add mcindex()
ast_std.h: add AST_MESSAGE_SET
01-04-18 features/libpath.sh: fix mvs probe
*: sundry mvs fixes
glob: fix GLOB_NOCHECK to avoid stat() and properly trim patterns
01-04-01 strtod,strtold: add
strtol,strtoul,strtoll,strtoull,strton,strtonl: handle locale & ERANGE
sfvprintf,sfvscanf: handle locale decimal_point,thousands_sep
sfvprintf,sfvscanf: handle %a,%A
setlocale: add LC_NUMERIC decimal_point,thousands_sep init
ast_std.h: __OPTIMIZE_SIZE__==1 to disable non-std __GNUC__ inlines
pathexists: path cache to cut down pathpath() access(2) calls
features/stdio: __FILE_TAG == _sfio_s for solaris
01-03-23 iconv: fix iconv_move buffer boundary bug that stopped at 1 block
01-03-19 glob: add GLOB_AUGMENTED
regex: REG_SHELL syntax error implies REG_LITERAL match
strto[ln][ll]: add overflow checks
01-03-17 locale: reimplemented to provide canonical locale namespace
locale: add LC_ALL=local for local system user default
tm.h: TM_*_3 => TM_*_ABBREV
tmfmt: handle standard E and O format modifiers
tmlocale: consult nl_langinfo() if defined
fmtquote("
01-03-08 regex: handle multibyte chars and collation classes
strmatch,strgrpmatch: now a wrapper on regex
ast_std.h: add mb*() multibyte and collation support
sfvscanf: handle locale decimal and thousand
proc*,system: handle ignored SIGCHLD
sfkeyprintf: handle %*C
01-03-06 locale: add locale data cache for efficient multiple locale switching
optget: fix LC_MESSAGES!=C --man bug
01-03-01 Makefile: HEADEROPT is not optional for win32.*
comp/syslog.h: comply with the de factos
optget(): fix <.>..< >stack bug that referenced data after pop >
01-02-27 *locale*: a batch of fixes for native LC_MESSAGE&LC_TIME hooks
01-02-22 pathprobe: reprobe test now checks probe.ini too
sfio_s.h: advertize public Sfio_t members with _ prefix
sfio.h,features/stdio: add <sfio_s.h> reference
sfhdr.h: map <sfio_s.h> _foo to foo
sfio.h: SF_APPEND=>SF_APPENDWR, SF_CLOSE=>SF_CLOSING
01-02-14 comp/conf.sh: probe <unistd.h> for _(CS|PC|SC)_* getconf symbols
stdio/*: update for uwin stdio.dll binary compatibility
sfread: finally fixed premature pipe read EOF bug
fmtscale: format tenths for number > 0 && number < 10
01-02-09 _sfmode(),_sftype(),_Sfextern: UWIN binary stdio compatibility exports
01-02-08 sfgetm,sfputm,_sfputm: fix max clash with k&r max() macro
setlocale: undef valid for sun4 k&r valid() macro
01-02-07 catopen.c: don't do native catopen for the debug locale
01-02-06 sfraise.c: add SF_FINAL check to avoid (posibly) freed disciplines
01-01-01 features/common: fix uwin __DEFINE__
sftable: initialize decimal and thousand
magic.tab: add corel wordperfect document
syslog: add LOG_LEVEL, add ' only if needed
include/tm.h: #undef daylight for _WIN32
sfio.h: add _SF_APPEND and _SF_CLOSE for native namespace incursion
ast_std.h: add AST_LC_multibyte for MB_CUR_MAX>1
setlocale: set AST_LC_multibyte
strmatch: check AST_LC_multibyte
features/limits.c: add _BITS_POSIX1_LIM_H guard for linux
features/libpath.sh: fix for aix LIBPATH
procopen,procclose: block SIGCHLD if PROC_FOREGROUND (e.g., system(3))
optget.c: add enumerated option argument values
optget.c: add <!--INTERNAL--> for private --html
optget.c: fix memory leak that hit shell builtins hard
sfio: drop sfread small chunk logic
00-12-25 mnt.c: handle " and ' quoting for fstab
sftmp.c: let pathtemp() open the fd O_EXCL
00-12-15 conf.sh: add -v for verbose trace
features/(limits|unistd).c: no FEATURE/types because of _POSIX_SOURCE
features/time: add default for CLOCKS_PER_SEC
features/lib: std_malloc now handles NeXT
00-12-13 strton: recognize qualifier only if preceded by a digit
features/lib: change return in vfork() test to exit() for linux sparc
fmtquote: fix $'...' quote logic
00-12-11 tmdate: fix cron format bug that mishandled months
00-12-01 optget: handle $Id: ... $ in --?-version
features/fcntl.c: fix _STDPP_ mmap munmap
00-11-27 magic: drop dup sfclose() in load()
optget: handle error_info.id==0
00-11-22 features/stdio: add _FILEDEFED for sol9.sun4
strton,stronll: handle [u|U][l|L][ll|LL] qualifiers
00-10-31 tmdate: add TM_DATESTYLE and mmddHHMM[cc]yy
astlicense.c: #include <hashkey.h> MAM workaround
astlicense.c: check for non-empty CONTRIBUTORS
00-10-26 features/stdio: add _FILE and __FILE for gnu
misc/stk.c: fix stack pointer check off-by-one (dgk does it too!)
00-10-23 syslog.h: sync with bsd values
00-10-18 _STUB_* now functions instead of common symbols
all extern data declared with definition to eliminate common symbols
fastfind: add mac/bsd /var/db/locate.database
00-10-17 features/lib: add apple osX (darwin.ppc) workarounds
00-10-12 add: fmtbuf(), fmtclock(), fmtip4(), strtoip4()
fmt*() now use fmtbuf() for tmp fmt buf allocation
00-10-05 regex: add REG_DISCIPLINE and regdisc_t for alloc/error disc
00-09-29 features/lib: pipe_rw==0 for sgi: boot rw == bin incompatibility
00-09-21 astlicense: handle ' and
00-09-20 sfwrite: fix write() error in sfprintf() loop
00-08-11 hdr,vmhdr.h: check/hide { getpagesize sbrk } prototypes
astlicense: add noncommercial
00-07-31 fflush: don't seek on pipes
sfresize: add
setlocale: fix bad newof() call
00-06-01 strmatch: initialize match.current.beg[0] to avoid dump at line 670
sfio/stdio: a few more errno tweaks
astquery: sfstdin/sfstderr by default
00-05-26 sfmode: errno=EBADF for invalid stream use
00-05-22 rewind: fix for xopen test
00-05-18 mcfind: returns absolute path
00-05-16 optget: --keys must catch <.>..< >too >
translate,mc: errno cleanup
00-05-09 magic: add netbsd binary magic
fts: PATH_RESOLVE!=logical => FTS_SEEDOTDIR
ftwflags: call fts_flags()
astconf: astconf(0,0,0) re-syncs with _AST_FEATURES
00-05-08 optget: --usage & --keys for last -catalog group only
00-05-02 iconv.c: add; use codes[] in ccmapid() and ccmapname(); "" for native
00-05-01 pathtmp: copy env values (libshell or putenv may change)
00-04-01 optget: drop bar from [-foo?bar] for --??keys
sfvscanf: add %X -- duh
features/common: fix va_listval() for power pc
findopen: fix FIND_GENERATE codes file search
magic: add ERROR_translate() and msgcat.key
tmlocale: add for LC_TIME locale info
tmlex: check tm_info.format and tm_data.format
tmfix: fix for tm_wday special case (via nl_langinfo on LC_TIME fields)
strftime: fix for nl_langinfo special case
ast_std.h: provide LC_* defauls if not defined
sfnew: check ${_AST_sfio_bufsize} -- don't tell kpv
catopen,nl_types.h: add intercept to mc* routines
magic.tab: add ast message catalog
strerror: add _ast_strerror intercept with ERROR_translate("errno")
fmtquote: escapes >0177 only if (flags&2)
00-03-17 feof: stdio macro functions only for _UWIN
optget: proper ERROR_translate() calls
astgetconf: add for thread safe error message control
astlicense: fix type=special but with non-null notice
errorx: add for ERROR_translate() support
ERROR_translate: add locale id args for alternate dictionary
option.h: move _OPT_PRIVATE_ to pointer to avoid dll size mismatch
ftwalk: fix FTW_CHILDREN bug that hit top level non-dirs twice
translate.c: default error_info.translate
astconf: fix dup loop thrash that never returns, add _AST_VERSION
00-03-10 ast_std.h: do _LARGEFILE_SOURCE initialization before std headers
fmtquote: handle $'...' quotes
00-03-07 optget: fix numeric option support test
sfkeyprintf: add %q for '...' quoting with ansi escapes
00-03-06 features/stdio: fix _sfflsbuf prototype (dingold@gte.net)
00-02-14 pathtmp: fix pid cache bug that sometimes repeated after ~10 attempts
optget: "..." attribute quote
pathfind: eliminate *: prefix in lib, not type
proc: PROC_FOREGROUND for system(3) semantics (wait status return)
pathtmp: fix mktemp() logic
fts: fix FTS_NOSEEDOTDIR bug that botched ./* in top list
include/ast/prototyped.h includes include/prototyped.h
pathpath: fix strdup(0) bug
optget: --html <foo@bar> => ...mailto:foo@bar...
sscanf: fix sfsscanf => sfvsscanf typo
magic.tab: strengthen tar recognition
00-02-08 conf.sh: fix ifdef for systems that think sysconf(FOO) is const
00-02-04 glob: fix globlist_t.gl_flags
00-02-02 vm*: add NoF() for data only files
00-01-27 fts: fix top level .==.. statp bug (thanks to dr. ek)
00-01-25 conf.tab: fix LFS*_*LAGS typo
00-01-24 astlicense: handle type=verbose, license.notice, author=*
00-01-11 pathprobe: generate info for first probe script on PATH - duh
ast.h: add NoF(x) for files that define no functions
tmpfile: fix implementation
global change for string ERROR_translate() dictionary names
optget: fix new way but no long names off by one
optget: handle [--dictionary?name]
99-11-19 comp/conf.sh: `expr length XXX` is not universal
drop sfstdio; stdio via functions everywhere
drop Makefile conditionals (and follow our own advice for once)
sfio: new stream after atexit() bug fix
tm: Tm_zone_t.daylight=0 for standard time within zone
stdio: fopen => _ast_fopen: only way short of binary compatibility
Makefile: atmain.C falls back to atmain.c
optget: add --keys, s<section> option
stdio: _UWIN check for foreign stdio
99-11-11 astlicense: add
99-10-31 glob: fix regexec pattern; add PATH_ATTRIBUTES case check
pathpath: path==0 means malloc space
99-10-22 tmfmt: %C=2-digit-century, %k=date(1), %y=2-digit-year-in-century
99-10-18 fastfind: expanded default db lookup
99-08-11 magic: fix off by one registry malloc
features/fs: add __RENAME checks for stat familiy (netbsd)
features/fs: major()/minor() fixes for s5
features/libpath.sh: netbsd fix -- ld.so not in std places
misc/fastfind: fix codes path generation bug
optget: beef up --?* description, fix <TR>...</TR> nesting
pathprobe: check for override (writable key file) first
features/time: int tmtimeofday(struct timeval*);
optget: fix opt_info.num, even if opt_info.arg!=0
fts: FTS_PHYSICAL => FTS_SEEDOTDIR, add FTS_CHOP
fastfind: init dir tab with logical and physical name
glob: add gnu GLOB_ALTDIRFUNC
99-07-17 sfio: kpv update and sfhdr.h sync!
99-06-24 stdio: fix fflush() to ignore sfseek(0) return value
99-06-23 magic: '\r' is text not control to placate m$
99-06-08 stdio: fix fseek,ftell semantics
uwin stdio: fflush() => _doflsh() to avoid __cplusplus clash
getopt: call liberror() to avoid error() conflict
tmfmt,tmscan: %N zone type (nation code), %z zone minutes west offset
tmfmt: - no pad _ space pad 0 leading 0 pad
99-05-28 magic: fix 'x' == '*' for any number, magic.tab tweaks
features/lib: verify that stat64 really works
99-05-21 tm*: add TM_WINDOW==69 for consistent century windowing guard year
99-05-18 tmtime: add century leap year calc anticipating unsigned time_t
99-05-17 sfkeyprintf: handle %o and %x!!
99-05-09 pathprobe: $HOME/.probe if not suid and st_uid!=geteuid()
99-04-28 magic,magic.tab: add registry()
99-04-24 regcomp: fix ksh pattern +! parse
regfatalpat: add
optget: make : ? ] double escape consistent in all contexts
99-04-01 features: drop iffeio.h and stdio.h when only printf() used
regex: fix stats() .l and .k count
fmtquote: added; most general fmtesc() form
99-03-22 fmtesc.c,ast.h: add fmtnesq()
optget: --?x works for -x option flag
99-03-17 features/limits.c: workaround solaris __EXTENSIONS__ _timespec bug
workaround limits.h circular prereq with ignore stdio.h
sfvprintf: %04e left-pad zero fixed
99-03-03 fts: uncle already: add FTS_SEEDOTDIR to retain leading ./
regex: REG_MULTIPLE, BM for fixed string alternation
optget: embedded `-' optional in long options, prefix={0,1,2}
99-02-14 fastfind: fix dir format bug that emitted wrong paths
astconf: fix redef off by one bug
99-02-11 pathcanon(): don't cache astconf("PATH_LEADING_SLASHES", NiL, NiL)
99-01-23 optget: move <old_opt.h> back into <option.h>, no open-close
optget: add "[index:long-name:description]" for --long-name
comp/gross: add weak __libc_attr for irix < 6.5 compatibility
features/limits.c: tweak the guards again
99-01-11 fastfind: handle old format count byte order
magic.tab: fix elf to use real phdr offset
magic.c,magic.tab: fix | to act like switch/case
comp/fross.c,features/hack: for gross hacks
features/stdio: avoid sfio namespace pollution
98-12-25 tmdate: yyyy.mm.dd
pathprobe: fix procrun() cmd path bug
fmtesq: add
features/common: win32.alpha va_list
magic: add pc alpha object
98-11-11 strmatch: add STR_ICASE
pathprobe: punt to $HOME/.probe/<key+HOSTTYPE> if not S_ISUID
tmzone,tmdate: handle +-minutes, nn/MMM/yyyy
stropt: fix nested quote pop
tmfmt: add %K => %Y-%m-%d/%H:%M:%S
sfio/stdio: fix fseek() SF_PUBLIC omissions
fmtesc: catch '\' (duh)
vmalloc: vmbest round bug fix
98-11-01 fts.c: no pathcanon() if (fts_flags & FTS_PHYSICAL)
98-10-01 features/stdio prototype fixes
optget: strton() instead of strtol() for #
98-09-22 regcomp: add REG_DELIMITED and REG_ESCAPE delimited re support
98-09-15 fix _LARGEFILE64_SOURCE stuff
ast_std.h: provide mmap() prototype
98-08-11 fix sfpopen() to ignore SIGPIPE by ignoresig() for sfio but not stdio
fix procopen() to ignore SIGPIPE by ignoresig() for PROC_IGNORE
sfio sfpopen/popen update
magic.src: fix ustar entry
98-07-17 fix ftwalk() short by one malloc()
add fts_notify()
98-06-25 sfdcmore,sfdcprefix: add
98-06-19 tokscan: add %f %g
98-06-01 disc/sf*.c: memset(0) after disc malloc()
98-05-11 strelapsed: y==Y
fts: pathcanon() top list
98-04-01 error: error_info.time for all msgs, just after cmd id
error: no sfsync(sfstdin)
sfio: sfpool, Sffmt_t update
magic.tab: sgi core dumps -- why aren't these elf?
stropt: (v+n) for unknown option is option value if n!=0
procopen: fix setsid() for spawnveg() only
98-03-19 malloc: add realloc foreign region check
sfdisc.h: rename to match kpv disciplines
fastfind: fix strcasecmp/strcmp directory prefix mixup
98-03-17 features/fcntl.c,pathtmp,sftmp: add O_TEMPORARY
98-03-01 pathcanon: fix PATH_LEADING_SLASHES to stat() both slashes
pathcanon: add PATH_VERIFIED
tmdate: add skip[] to expand separator char set
fastfind: FIND_OLD for old 7 bit db, FIND_TYPE for new 8 bit typed db
fastfind: default generates gnu LOCATE02 8 bit db
magic: handle %s in mime description
cdt: kpv update
sfio: kpv update
stdio: fpos64_t fseek64(), ftell64(), fgetpos64(), fsetpos64()
stdio: fseek() => sfseek(SF_PUBLIC) to avoid locking
fts: initialize parent stat[bp] from top level *after* statf done
astmath: add -lm requirement test
*: Astlong_t => _ast_*_t
regex: simplify regcollate() (from doug)
tmtime: preserve Tm_t*tm when calling tminit()
astconf: add readonly PATH_ATTRIBUTES=[cirw]
98-02-14 fastfind: add FIND_ICASE to ignore case
tmdate,tmgoff: handle (+|-)hh[[:]mm[[:]ss]] absolute timezone
tmdate: `<n> <part>' now assumes `next <n> <part>' instead of `this'
tmfix: fix leap year bug that forgot to add 1900
proc: add PROC_ZOMBIE
98-02-06 strmatch() char class range bug fix
regex char class range bug fix
98-01-23 _WIN32: changed the #if logic again to accomodate _GNUC_
mnt: grab the mount options too
ast_std.h: hide getopt,getsubopt from stdlib.h
features/limits.c: add gnu guard macros to avoid limits.h recursion
features/mode.c: include "limits.h" instead of "FEATURE/limits.lcl"
98-01-11 sfio.h: use Astlong_t, move Sfio_t Sfdisc_t typedef to top for stdio.h
sfhdr.h: #undef SETLOCAL for hpux
sfvprintf,sfvscanf: %I*x for sizeof(int_arg)
handle ftruncate64 and truncate64
dtopen.c: __hppa dll needs Dtset Dtlist Dttree refs here
97-12-18 fmtnum: add
97-12-11 magic: handle sgi 64 bit core dumps
97-12-07 pathtmp: add override for TMPPATH,TMPDIR and cycling
97-11-11 tm: handle 0 return from gmtime(),localtime() (dos negative time_t)
features/stdio: fix fflush() macro to do physical sync
97-10-31 astconf PATH_RESOLVE is logical if 3d&&!std, metaphysical otherwise
magic: fix #! mime bug
tm: tmtime() now calls tmfix() and adjusts tm_isdst too=>mtime() works
97-10-11 dllfind,dlfcn: move to separate -ldll so -last can link static, duh
Makefile,state.c: move forced header generation state.c => Makefile
sfio: update including SF_WHOLE
97-10-01 sfdostext: add \r=> sfio discipline
stropt: NiL table => p=name for all name=value
97-08-11 pathtmp: check pid to note forks
procopen: FD_CLOEXEC rfd && wfd
fts: fts_close() after fts_children() with no fts_read() now works
97-07-17 error: sfsync(sfstdin,sfstdout,sfstderr) instead of sfsync(NiL)
_sfcvinit: add sfio internal interface to base conversion tables
strton: use _Sfcv* base conversion tables instead of sfsscanf()
sfvscanf: use _Sfcv* base conversion tables
mime: x- permutations now matched if exact fails
mime: original- stripped from content-* headers
tmdate: add yyyy-jjj, yyyy-mm-dd
dllfind: add
ccmapid: fix buf copy loop limit
ccmapname,ccmapcpy: add
sfstrtmp: add
97-05-09 streval: fix up casts for pseudo-ansi cc
features/types: use _ast_int_8 vars to verify support
string/modedata: check for mvs.390 S_IFMT
include/ast(_std).h: add #define __FILE_typedef
magic: add ccode text check
include/ftwalk.h: FTW_PATH=>FTS_NOCHDIR to avoid FTS_AGAIN (duh)
fts: clear status for FTS_AGAIN (fixes rm -r bug)
mnt: add mvs openedition w_getmntent()
sfhdr: _hdr_float && <float.h> for correct MAXDOUBLE
vmalloc/vmbest: if _std_malloc then use malloc()/free() not sbrk()
remove: check _std_remove
procopen: handle pio[{0,1}]=={0,1}
setenviron,features/uinstd: test for mvs.390 dll environ hacks
96-12-25 <sfio_p.h> -> <ast_common.h>
__EXTERN__(type,object)
__DEFINE__(type,object,value)
magic: check strings in !CC_NATIVE code set too
system: cmd==0 means check for shell access (xopen)
sfhdr.h: fix sfrsrv prototype
add __libc_malloc etc for gnu/linux
astconf(NiL,path,name) == astconf(name,path,NiL) + no liberror
fts_open: if toplist() stat fails return 0
ftwalk: handle fts_open()==0 via one phony userf() call
sfmode: S_ISFIFO default is SF_SHARE=0
features/lib: _WIN32 _lib_vfork=1 by default
unsigned<0 comparison and other fixes via sgi.mips4 cc
stk.c: use <align.h> ALIGN_BOUND for stkalloc()
features/lib,vfork: uwin fix
ast_std.h: fix strto[u]ll prototypes with features/types _ast_int_8
getsubopt: add for xopen 4.2 compatibility
drop function __IMPORT__
magic: more magic
change #define FILE from Sfio_t to struct _sfio_s
state.c: add generated includes that may be hit by std for MAM
bytesex: forgot about sizeof(long)=>7; could we fix the name too?
vmalloc.h: fix vmnewof() definition
sfio.h,stdio.h,ast_common.h: pollution cleanup
magic.c: add | op for switch
Makefile: stdio.h was on both HEADERSRC and HEADERGEN -- don't do that
drop pp:notice to get <sfio.h> ... <ast.h> to work
regex: add [[:<:]]==\< and [[:>:]]==\> for bsd compat
mime.c: ignore X-* headers while scanning for Content-*
magic.c: check for negative indirect offsets
magic.tab: fix dos entry that generated negative indirect offsets
vmalloc.h: add vmstrdup() prototype
hash.h: add hashgetbucket() macro
magic.c: MAGIFILE is now a : file list
mnt.c: another 4.4 bsd fix -- users must include <sys/crap.h>
common: fix _WIN32 chicken&egg with va_copy
sfio: forgot to set f->val along with _Sfi in sfexcept()
Makefile: add mini target for uwin libmini.a
sfcvt.c: workaround for flaky long double optimizers
features/common: fix to work with va_list==void*
regexec.c: fix REG_STARTEND subexpression offsets
strmatch.c: don't forget <wctype.h>
regrexec.c: fix REG_INVERT end boundary bug that missed last record
astconf.c: notify(0,0,"a=b") called for each setenviron("a=b")
pathcanon.c: check astconf(PATH_LEADING_SLASHES) to preserve //*
96-11-28 _LARGEFILE64_SOURCE by default if possible: NOTE: assumes xopen
regerror: fix for xopen
getopt: fix for xopen
magic: add ciao virtual database
astconf: posix/strict/xopen implies "standard" conformance
fs3d.h: hide mount prototype
ast_std.h,mnt.c,features/fs: ncr port tweaks
96-10-31 version 5.0
add strtoll() strtoull()
sfkeyprintf: upgrade to int_max args
ast.h: add ssizeof() to work around unsigned botch
conf.sh: add shell actions to conf.tab
_DLL*: drop for _BLD_<lib> + __EXPORT__ + __IMPORT__
sfio,cdt,vmalloc: kpv update
96-10-11 <ccode.h>: add character code map support
procclose: return shell style exit status
features/fs: pun statvfs.f_basetype to statvfs.f_reserved7 for mvs
uwin: add subdir for uwin additions
ast_std.h: swab() is from <stdlib.h>
sfio.h: <ast_std.h> if _PACKAGE_ast
magic.tab: add mips[1-4], 64-bit
port tweaks for sol.sun4 and sun4
96-09-06 strerror: add
fmterror: uses strerror
str*search: use sfiso646() order
strpsearch: add
magic: add Magic_t.mime mime type return for magictype()
mime.h: add
strton: use sfsscanf()
strperm: factor in umask() if no who
pathtmp: add TMPPATH check
libevent: add
magic: add discipline to magicopen()
mime: add discipline to mimeopen()
96-08-31 regex: fix BM fail table generator
96-08-11 mntread: fix mnt.type for SCO variant
conf.tab: add SCO KERNEL_* sysconf() vars
fastfind: add findwrite(), fix findread() FF_OFF omission
ftwalk: reimplement on top of fts
fnmatch,re_comp,regexp: reimplement on top of regex
basename,dirname,fmtmsg,fts,ftw,getdate,getsubopt,glob: add
hsearch,nftw,realpath,strftime,strptime,swab,tempnam: add
tsearch,wordexp: add
getcwd: cache last path for easy test
96-07-17 error: sfsync(NiL) ... write ... sfsync(sfstderr)
astconf: handle readonly *(DEV|DIR) vars
96-04-01 swapop: fix stupid return value bug
features/int.c: fix int_swap generation bug
regnexec,regrexec: fix unsigned underflow init error
ls.h: fix iblocks() to be in units of LS_BLOCKSIZE
96-02-29 magic: space before function is definition with no call
hash: drop hash_info from public interface
hash: OBSOLETE hashlast()
hash: add Hash_root_t.Hash_last_t to public interface
add strsearch() and strnsearch() to complement strlook()
add hashkey.h for keyword->long hash
pathpath: pathpath(0,0,"",0) disables $0 $_ $PWD relative search
sfio: sfstrtod+sfhdr update
regex: fix REG_LENIENT to map BRE \[+?|] to ERE [+?|]
change _std_malloc iffe test so it doesn't hang on alpha
sfhdr.h: features/sfio generates _lib_cvt instead of _i386_cvt
ast_hdr.h: add va_copy(a,b) to copy va_list b to a
getopt: fix stupid getopt() -> optget() bug
sfvprintf: %h? now downcasts
regex: handle strto?l() errno in regcomp()
sfstrtod: _Sfstrtod_already_defined -> _STUB_sfstrtod
ast_std.h: hide valloc() and ignore <strings.h>
sfkeyprintf: pass phony va_list for '2'
regex: change HIT var type from int to size_t in special()
ast.h: add EXIT_STATUS(x) to convert wait() status to sh exit status
96-02-14 regex: add _ to \<...\> isalnum test
regex: fix BM inner loop breakout
features/types: size_t is signed on some systems! => _ast_size_t
sfio: sfrd discipline peek optimization
vmalloc: vmalloc.h malloc family macro upgrade
tokopen: fix newline bug for non-restore open
sfio: no inline for gcc until it emits for -g too
96-02-12 sfio: internal upgrade
96-02-09 regex: Boyer-Moore boundary fix
vmalloc: snarf latest
96-02-06 regex: add regrecord() and regrexec() for Boyer-Moore record filtering
regex: rearrange regnexec() args to match buffer,count arg style
96-01-31 stk: add STK_NULL to stk.h and stk.c
regex: privatize regex.h and fix min re length computation
workaround lazy strdup() implementations in features/lib _std_malloc
fix stkclose() to free(stream) -- purify missed because of sfio links
unused var cleanup
port/mnt.c must include <ls.h> to get <ast_fs.h>
add SF_FINAL to sfio and stk
sfio reads now on natural block boundaries
add #!!! <level> <message> !!! to tokline()
add REX_BM pre-filter to regcomp/regnexec
96-01-22 add regcomp env.paren overflow checks
96-01-11 add Doug McIlroy's regex (converted to C from C++ by gsf)
AT&T Research now
sfgetr optimization
regex buglets
96-01-05 tweak magic.tab for win32
95-12-25 add !(...) -> (...)! to fmtre()
nt tweaks -- functions with no header proto must be defined extern
95-11-24 version 4.1
add mnt.h mntopen mntread mntclose
convert fmtfs to mnt.h
add RE_LEFTANCHOR and RE_RIGHTANCHOR
gcc inlines must also have global library function instantiation!
add hashview()
fix strtape() internal buffer flow
fix mntread() fs/dir transposition for uts mnttab
95-10-31 change features/unistd.c includes to break limits-param cycle
add cdt from kpv
sfio snarf from kpv
add [ht]search for _WIN32
95-10-11 clarify PARANOID pathcheck() warning
fix procopen() LIB_SPAWN environ bug with setenviron() cache
fix setenviron() bug that forgot to reset environ if == 0
add %Z ' ' output format to sfkeyprintf()
sfio snarf for sfvprintf fix
allow multiple hashscan() with scope caveat
add comp/fakelink.h to synthesize a few symlink text patterns
add !<xxx> magic to misc/magic.tab
add FTW_TOP to inhibit recursion (for ftw side effects on top level)
add memfatal() common malloc fatal exception message
add dos \rtest to misc/magic.c/cklang()
sftmp() O_EXCL+random to avoid collisions
pathtemp() uses sftmp() randomizing
features/fs uses SF_APPENDWR
sftmp() uses pathtemp() -- don't worry, its not circular
a few more _WIN32 compatibility additions
realloc fixed to use VM_RSCOPY|VM_RSMOVE instead of obsolete 1
add hashlook(tab, oldname, HASH_RENAME, newname)
a few more tweaks to satisfy port warnings
add _SFIO_INLINE_PRIVATE to provide real function too
fix <dirent.h> installation test
oops object / shared library compat with _sfgetl2 _sfgetu2
95-09-11 add getopt() compatibility
add fstat,lstat,mknod,stat fixes for _x versions in sys/stat.h
add getconf CONFORMANCE - posix for things that aren't ast default
sfio_t.h: #ifndef _SFIO_H #include "sfio.h" #endif
snarf vmalloc from kpv
95-08-11 fix malloc bug in magic
update linux and bsd 386 magic entries
error_info.auxilliary returns new level, |=ERROR_OUTPUT if msg done
drop fnmatch from strmatch for sparc (solaris) until it collates
95-07-17 fix port/astconf universe initialization
fix misc/optget opt_info.nopt initialization
drop tmset() TZ=... because it only worked when TZ=... was ignored
95-05-09 mongo <ast.h> namespace cleanup
drop > 2 year old obsolete interfaces
sfvprintf.c fix for (char:8 short:16 int:32 long:64) architectures
TMP_MAX back into conf.tab
pathbin() and pathshell() now use astconf()
fix pathtemp() to not cache getenv("TMPDIR")
fix ftwalk() metaphysical to handle non-dirs too
initialize *_info = { 0 }; for ancient ld semantics (NeXT)
fix magic() to do vmfree()
astconf(X_OK) must prefix lines with "getconf"
use <wchar.h> and wctype in strmatch() if available
_lib_utime_now checks utime(path,0)
_lib_poll_notimer checks poll(x,0,timeout)
add another _lib_utime_now check to port/touch.c
fix dd_buf cast in dir/opendir.c
split getconf.h into conftab.h and conftab.c for :READONLY:
use mbtowc() only if MB_LEN_MAX>1
sfio char* -> Void_t* cleanup
handle old syntax in misc/magic.c
sigdata.c holds readonly signal strings
pathcheck() does AT&T checks for tools matching PARANOID - yuk
unused var cleanup
deprecate hash_info in favor of hashlast()
fix bad conf.sh ksh integer interactions
dll cleanup
magic.c falls back to malloc for now
add environ to <ast.h> -- C library global data syms are *RESERVED*
sfhdr.h memccpy(1,2,3,size_t) prototype
95-04-01 version 4.0
convert to vmalloc
allow sigcritical() nesting mismatch to work around vfork() bug
add strexpr() primitive for streval() with user handle (like ftwalk)
add <magic.h> and magic.c file command magic interface
update magic mail message entry
fix keyprintf() invisible char count nesting bug
add sfstrnew(SF_READ|SF_WRITE) for alternate sfstropen() modes
sfstrnew(SF_READ) but reading requires sfseek(), sfreserve()
add conf.tab and conf.sh to nail C/POSIX limits/unistd macros
add getconf() string interface to *conf*
_DLL_INTERMEDIATE_DATA for systems that require indirect globals
_DLL for building shared libraries with _DLL_INTERMEDIATE_DATA
vecfile() restricted to S_ISREG()
add spawnveg() for job control
convert procopen() PROC_PGRP(id) to spawnveg()
fmterror() returns error text given errno (strerror() does same)
fmtsignal() returns signal text given errno (strsignal() does same)
{sig_name,sig_text,SIG_MAX} -> sig_info.{name,text,sigmax}
liberror("",...) omits [%s library] prefix
update features/signal.c table
add vmdisc() and change vmnewof() to use vmresize()
fix conf.sh to allow refs to previously defined limits
fix undefined entries in getconf()
magic data in magic.tab
fix stropt() pointer cast
vmalloc() exception handler replaces nomalloc()
merge sigdata.c into fmtsignal.c -- sun link needs function w/ data!
sftmp() bug fix
drop local <unistd.h> even with _POSIX_SOURCE
fix vmstrdup() macro arg miscount
fix conf.sh to handle enum'd symbolic constants in unistd.h
drop malloc() et.al. prototypes from vmalloc.h
fix sfvprintf() %d argument reference
add OSF/1 AES symbol(s) to conf.tab
determine standards prefix from conf.tab
add _CS_SHELL to conf.tab
getpath() default is confstr(_CS_PATH)
getshell() default is confstr(_CS_SHELL)
unify keyprintf user function args (should have learned by now!)
add quad type to magic
add astfeature() to unify universe style dynamic features
add ftwflags() to determine FTW_* flags from astfeature()
95-03-11 fix stropt() to not modify its *const* arg
handle "' quotes and chresc() in stropt() values
, treated like :space: between stropt() options
fix procopen() fd dup to ignore self-dups
add library id[] to misc/state.c
add ftwalk(FTW_METAPHYSICAL) for posix -H
sfvprintf() now handles balanced () in %()
add tmfmt() with buffer size check to replace tmform()
add fmttime() calling tmfmt() to fit fmt*() mold
add <keyprintf.h> and keyprintf() to support %(...)? in commands
add Hash_table_t for size==0 in stropt()
add EXTTYPE extended header to tar.h
95-02-14 sfmove() buffer size overflow fix
add _SFSTDIO_H to sfio.h
rename setenv() to setenviron() -- posix finally decided
rename <option.h> opt_* to opt_info.*
update features/unistd.c for _SC_* and _PC_* posix additions
95-01-19 (char*)uchar cast in fmtesc()
fix hash bucket memory leak in hashlook() [via John Mocenigo]
update strings/strtape()
fix optget()/optjoin() to handle leading +
add ALIGN_ prefix to <align.h> identifiers
95-01-11 change tm/*.c tmset(0) to tmset(tm_info.zone) to keep user setting
fix tmform() %Z null pointer dereference
95-01-01 add this RELEASE file
fix strperm() to properly handle "644 file"
fix tokline() to return last ' ' terminated line in string
fix tokscan() to properly handle splice
add fmtesc() to complement stresc()
add LS_NUMBER to fmtls()
drop spurious optusage() ' '
04-02-29 cp.c: decouple -f and -i for standard CONFORMANCE
cp.c: mv 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
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
|