|
ast-ksh-locale packageIt requires the following package: 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.
release change logAll recorded changes follow.
3d changes
03-03-28 dir3d.c,rmdir3d.c,syscall3d.c: add D_FILENO and D_TYPE ifdefs
03-03-25 dup3d.c: fix bug that cleared Dir_t pointer just after allocation
03-03-07 ftruncate3d.c,lseek3d.c,truncate3d.c: check _typ_off64_t
02-10-18 features/syscall.sh: handle pseudo files in cc -E line syncs
02-07-17 syscall3d.c: clean up user level intercept code
02-06-25 open3d.c: fix bug that created 0 mode file with only O_RDWR
02-06-14 ast_3d.h,cs.c: move fmttime() macro override to cs.c
02-06-06 dir3d.c: fix rewinddir() bug that did not decrement intercepted count
02-04-01 Makefile,cs.c,cs_3d.h,ast_3d.h: _WIN32 tweaks
01-11-26 pathreal.c: empty path is an error
01-11-16 ftruncate3d.c,truncate3d.c: use lseek3d indirection via sysfunc()
01-10-31 fchdir3d: add along with state.file[].dir to cache open dir paths
dir3d.c: add recursive call intercepts
error.c: add recursive call intercepts
pathreal.c: add buffer size check
features/syscall.sh: add bsd syscall __RENAME() checks
syscall3d.c: check _lib_syscall before using it!
01-10-30 features/syscall.sh,syscall3d.c: handle -ldl calls back into 3d
01-09-20 3d.sh: drop extra } in USAGE that emitted -} for --?
01-07-17 Makefile: don't link 3d dll against ast dll
01-02-19 close3d: dup reserved fd's higher
01-02-14 add :VARIANT: to build dll's for CC.DLL.VARIANTS
01-01-01 dir_3d.h: real readdir must be struct dirent, not dirent64
00-12-14 3d.sh: fix -c
00-10-31 ast.c add pathtemp.c
00-10-19 init.c: initialize _3d_2d
00-07-17 fix fchown to call MSG_fchown (not MSG_fchown); fixes vim dump!
00-02-14 3d command long options (finally)
99-01-01 --- release 4.0 ---
99-04-01 dll: sfsprintf => _3d_sfsprintf
check for __*_nc (osf.alpha)
99-02-14 pathreal: copy to state.path.name if not already there
rewinddir3d: just call seekdir(p,0); fixes `top' core dump
99-01-11 lseek3d,syscall3d: add sysfunc() for off_t!=long
99-01-01 --- release 3.0 ---
98-02-14 3d.sh: fix _RLD32_LIST => _RLDN32_LIST typo
pathreal: fix (P_LSTAT|P_READLINK) under pwd bug that did phys on .
features/syscall.sh: tighten up version __call header grep
unlink: trap remove() too
features/syscall.sh: favor strong (_ prefix) name for some arch's
98-02-06 syscall3d: handle longjmp with cp->active
98-01-23 features/syscall.sh: check for _xstat vs __xstat
98-01-01 add readdir64 rewinddir64 seekdir64 telldir64
97-10-11 fix lefty's virtual dir touch bug -- recursive doubling on stbuf
97-07-17 CS_INTERFACE=2
97-04-01 features/syscall.sh: fix __exit() test for new sgi
96-12-25 handle stat64() implementations on top of _xstat()
3d.tst must be run under 3d!
_SCO_STAT_VER tweaks
sgi _RLD_NEXT_PATHNAME fix for -32 -n32 -64 differentiation
_*xstat() hacks around proto in *stat3d.c
add constant casts for long shift counts
fix pathnext() to report version instance level in state.path.level
96-11-28 fix rename() to do physical stat on subject path!
96-02-29 handle syscall loops caused by botched libs like solaris libsocket.so
generalize name service interface to handle ifs+vcs
catch acl,facl even if not on local sys
fix features/syscall.sh bug that set $stdc incorrectly
use alloca() in execve() if possible
add 3d.tst and test makefile action
fix a few important virtual dir / create / append bugs
fix null dereference in open3d() for state.in_2d
96-02-14 add NFS acl,facl
96-02-08 fix 2d bug in link,rename,symlink that generated empty arg 1
96-01-30 fix features/syscall.sh for compilers that ignore prototypes
96-01-22 P_TOP only takes effect for files in virtual dir!
95-11-24 optimize exec $shell to eval in 3d.sh
95-11-11 don't fs3d_copy opaqued files
95-10-11 fs3d_mkdir virtual dir fix
fix 2d virtual dir test in pathreal()
solaris _rename() != weak rename()
solaris exit() doesn't call _exit()
all static data in state
test state.in_2d in link3d()
fix opaque.sh that was broken sometime after 91
linux LD_BIND_NOW not needed with ld.so-1.7.9
95-07-17 handle irix-5.3 struct stat64 and off64_t
dlsym(__exit) before dlsym(_exit)
95-05-09 fix pathcanon() bug that incremented state.path.level too far on ...
percolate inode metadata changes to the top level too (no more EROFS)
add P_TOP to truncate() too!
feature/syscall.sh does not generate #include, up to *3d.c
spawnveg.c must come after spawnve.c in ast.c
cspoll.c must come after cs*.c in cs.c
fix 3d to work like $SHELL if no shared 3d lib found
fix chdir .. symlink bug that set state.pwd to physical path
add %n.n.nd to bvprintf
ignore a few more non-initialization setcwd() errors
95-01-19 fix undefined var ref for _VER_ hack calls in features/syscall.sh
95-01-11 access W_OK succeeds if on lower view
94-12-01 add /#fs/NAME/load to load shared lib fs
add user system call trap() stack
VPATH=*::* or VPATH=*:-:* to separate disjoint views
change trap() to intercept()
94-07-17 add /#fs/safe
94-06-01 fix symlink() and link() bug that didn't instantiate virtual dir
fix [f]statvfs() infinite loop for att hybrids
94-05-11 merge with the real vcs
add char*_3d_2d: if _3d_2d!=0&&getenv(_3d_2d)==0 then 2d
trailing slash in pathreal() interpreted as slash dot (off/w test=010)
93-05-28 add /#option/limit=n to limit view depth
93-04-01 --- release 2.0 ---
93-03-11 change /dev/3d/* to /#*
remove anno and rpl specific hooks
add name,monitor,active fs mounts
92-04-01 --- release 1.1 ---
92-02-11 change retained mounts to /dev/3d/dev
92-01-11 add $SHELL and /bin/sh exec() checks to force 3d sh
fix checklink() to concatenate relative links with original prefix
91-11-11 --- release 1.0 ---
add feature/syscall.sh to handle att s5r4, hp snake, sun 4.1
change umask() 3d state toggle to mount(-,/dev/3d/option/{2d,3d})
fix creat() virtual dir bug for umteenth time
link() and rename() now migrate to top instead of EROFS
INIT changes
03-04-22 probe.win32: CC.DIALECT += "LIBPP -I-" for all cc's
03-04-21 package.sh: fix admin write binary tarball snarf
package.mk: package covered *.@(pkg|lic) too
03-04-15 package.mk: don't generate incremental archives for lcl
package.mk: add incremental=[source:1 binary:0] archive control
package.sh: generate $INSTALLROOT/bin/cc wrapper for CC != cc
package.sh: admin must ditto lib/package/*.@(pkg|lic) too
mamake.c: ignore time of ignore prereqs
mamake.c: -D2 lists propagated times
03-04-11 package.mk: tidy up cyg tarballs
package.sh: fix old shell clash between get() and $get
03-04-05 package.mk: restore *.inx generation somehow lost during cyg additions
package.sh: add pthread_num_processors_np() last resort for cpu count
package.sh: use `make believe' to accept mamake generated files
package.sh: handle `make [make-flags] [target ...]'
mamake.c: ignore -e
03-03-21 package.mk: fix cyg old make typo
package.sh: switch to `package setup' instructions
03-03-19 package.sh: add registry checks for `host cpu'
package.sh: `results failed' now lists core dump messages
03-03-17 package.sh: on cygwin verify 'ntsec binmode' in $CYGWIN or die
Makefile: install gcc wrapper if no cc
package.mk: add :DETAILS: { :README: :EXPORT: :INSTALL: :TEST: } ops
03-03-12 package.mk: add :DETAILS: for style-specific details
03-03-11 package.sh: add beta setup/update support
TEST.mk: add (TESTCC) prereq for .sh tests
03-03-07 hurl.sh: add
03-03-06 iffe.sh: fix lib win32 test cygwin vs native incompatibility
iffe.sh: change internal stdio.h guard to handle C++ inline vs. macro
03-03-03 package.sh: check for curl or wget for update
package.sh: add setup action == update read make
package.sh: fix packageroot() typo that showed up in non ~user shells
mamake.c: treat name+=value args like name=value
mamake.c: add ${var?*|value?match?no-match?}
mamake.c: fix archive vs. dynamic bind logic
03-02-28 package.sh: add the "cyg" (cygwin) package type
package.mk: add "cyg" stubs, :CATEGORY: for category name(s)
03-02-25 mamake.c: add -D4 system(3) debug trace
03-02-24 package.mk: change --mismatch to --corrupt=accept
03-02-14 ratz.c: add _WIN32 setmode([01],O_BINARY) and fopen "rb"/"wb"
03-02-12 Makefile: handle getconf LIBPATH with host pattern
03-01-31 package.mk: fix .lic search
03-01-30 package.sh: handle { INIT ksh nmake } already installed elsewhere
package.sh: admin handles command outside of $PACKAGEROOT/bin
Makefile: install $(INSTALLROOT)/lib/make/package.mk
03-01-28 package.sh: admin remote commands on one line to please syslog
03-01-23 probe.win32: borland and mingw32 tweaks
03-01-22 package.sh: fix $CC test to ignore set -x trace -- duh
03-01-16 ditto.sh: tw --chop on by default
03-01-14 package.sh: use /bin/cp to copy previous binaries to bin/ok/
package.sh: admin now initiates remote exec and copy from local host
03-01-12 package.sh: handle admin "xxx:" default root
03-01-03 probe.win32: add /usr/include/borland path truncation workaround
02-12-10 iffe.sh: add <&$nullin >&$nullout to checkread() $cc
02-12-06 probe.win32: fix inlcude => include typo, add lcc lib
probe.win32: CC.MAKE.OPTIONS = nativepp=0
02-12-04 mamake.c: fix ${foo-bar} to expand foo if defined
02-11-28 probe.win32: add C++ and -I- CC.DIALECT checks
02-11-26 package.sh: package release now checks for second level files
02-11-22 package.sh: update action now uses HTTP/1.0
02-11-21 probe.win32: update the vc include dir test
02-11-20 make.probe: fix CC.LD.ORIGIN typo that expanded make var
02-11-13 packahe.mk: fix list.install => list.installed typo
02-11-12 make.probe: add CC.LD.ORIGIN for a.out origin dir relative dll search
make.probe: add CC.LD.STRIP for link time a.out strip
package.sh: fix package_use vs. PACKAGE_USE check
02-10-24 WWW.mk: fix bug that required a :WWWBIN: assertion to post
02-10-23 mamake.c: fix unuinitialized time in make()
ratz.c: fix meter buffer overflow
02-10-20 package.sh: fix lib/probe/C/make/probe update test
02-10-18 probe.win32: update for mingw
make.probe: add bash workaround to SHELLMAGIC test
package.sh: work around yet another cygwin hassle
02-10-17 iffe.sh: short circuit id check for *[-+/#0093;*
02-10-08 regress.sh: unset FIGNORE to avoid rm . errors
package.sh: unset FIGNORE to avoid rm . errors
package.sh: $CC must at least compile and executable hello world
02-10-04 package.sh: $INSTALLROOT/lib/package/tgz=>$PACKAGEROOT/lib/package/tgz
package.mk: $(ED) => $(STDED), $(EDFLAGS) => $(STDEDFLAGS)
iffe.sh: add identifier checks for tests that (implicitly) require them
iffe.sh: disambiguate a few --config macros
02-10-02 iffe.sh: fix shell=bsh `hdr a/b'
02-09-30 package.sh: handle chmod of -* files
package.sh: verify that $SHELL is Bourne compatible
package.sh: tighten PACKAGE_USE logic PATH,LIBPATH,etc. validation
iffe.sh: fix bug that didn't define mac variable on success
02-09-22 package.sh: handle admin_action=ditto
iffe.sh: --config sizeof(foo) macro is SIZEOF_foo
iffe.sh: fix long.long test so it doesn't defeat uwin "typ long.long"
mamprobe.sh: convert $("foo") nmake string constants
02-09-21 mamprobe.sh: "-" info-path writes probe info to stdout
02-09-11 make.probe: move from nmake src to be part of mamprobe.sh
mamprobe: generate from mamprobe.beg C.probe make.probe mamprobe.end
mamake.c: pass cc absolute path to mamprobe
package.sh: generate mamprobe -- yuk (at least its confined to INIT)
iffe.sh: lcl,nxt: drop default sys/ check
ditto.sh: tw --logical by default; add --physical
02-09-10 package.sh: SHELLMAGIC creeps into package too -- duh and fooey
02-09-09 ditto.sh: test that remote .profile exists before sourcing
02-09-06 package.sh: don't ditto nfs junk
ditto.sh: --show now lists directory ops instead of enumerating all
02-09-05 ditto.sh: add --remote={rsh|ssh}
package.sh: add admin [[{rsh|ssh|-}]:]directory
02-09-02 iffe.sh: change 'print -r --' to 'print -r -' for ksh86 compatibility
02-09-01 cc.unix.mc68k: add for ancient 3b1
02-08-22 package.sh: fix component() to test for components -- duh
Makefile: add LICENSE:.DONTCARE to workaround mam
02-08-11 iffe.sh: provide defaults for LD_* additions
02-08-07 ratz.c: change -m to use * instead of non-portable inverse video
02-07-17 mamprobe.sh: close tmp file in trap before rm for cygwin
package.sh: fix "type" to handle i1586 (P4)
package.sh: add the view action
02-06-28 package.sh: handle multiple packages for release action
02-06-27 package.sh: catch sol*.sparc=>sol*.sun4 when CC=gcc
02-06-14 package.sh: fix admin_action to not include qualifiers
package.sh: fix help/html doc typo
02-06-11 package.sh: fix ditto update doc to `PACKAGEROOT field matching *:*'
02-06-07 WWW.mk: change substitute $(") to
02-06-06 package.sh: clarify output streams for help/html
02-05-22 mamake.c: fix executable file check to use (S_IXUSR|S_IXGRP|S_IXOTH)
02-04-04 package.sh: fix update to differentiate *.sun4 and sun4
02-03-27 package.sh: yacc/bison warning only if both missing
02-03-24 mamake.c: all shell actions wrapped with -c to avoid #! problems
02-03-23 package.sh: recover $PACKAGEROOT/bin/package if not in INIT package
package.sh: precheck $CC, not `cc'
package.sh: fix install to use pax -ps to preserve set-uid/gid
package.sh: fix install to use list.installed for existing files only
02-03-17 package.sh: fix PAX initialization that was sometimes omitted for read
package.sh: fix update delta sync fetch
02-02-14 iffe.sh: fix macro{ }end docs to include "
iffe.sh: add dfn to extract #define from headers
iffe.sh: handle nxt #include ok but no line sync
iffe.sh: drop local header clash logic
iffe.sh: add -X, --exclude=dir to exclude -I dirs
iffe.sh: lcl,nxt now generate <...> headers instead of "..."
package.sh: admin.db root dir matching -* disables host
package.mk: fix package.src.pat typo -- too many )
package.mk: add { :COVERS: :DESCRIPTION: :REQUIRES: }
package.sh: handle { :COVERS: :DESCRIPTION: :REQUIRES: }
Makefile: move proto.c generation to the proto component dir
02-02-02 execrate.sh: add for .exe challenged win32 systems/commands
mamprobe.sh: add STD* commands/flags
mamake.c: update mamprobe info when older than mamprobe executable
package.sh: move ed/ex workaround to mamprobe.sh
package.sh: fix `host type' bug that incorrectly assumed sun4 for sol
package.sh: add execrate(1) hooks for challenged systems
package.sh: add check for { cc ar nm yacc/bison } before make
ratz.c: fix "rb" vs. "r" macro tests
iffe.sh: add nxt, similar to lcl but defines _nxt_foo for #include
iffe.sh,package.sh: remove vaibale from sccs,cvs ident strings -- duh
02-01-24 C+probe: check CC.DYNAMIC to handle cc that accept but ignore -B*
iffe.sh: handle 'mem struct.a.b'
02-01-22 iffe.sh: cache (internal) `foo vs. struct foo' test results
package.sh: uts.370 => uts.390
02-01-18 package.sh: fix uts hosttype
02-01-17 package.sh: add 'results failed ...' to list failures only
package.sh: change ARCH internal var to all_types to avoid env conflict
iffe.sh: fix hdr/lib precheck that missed some -- ouch
iffe.sh: fix noexecute test that forgot to check compile first!
02-01-15 ratz.c: fix path[] type typo
02-01-01 package.mk: tighten license search
02-01-08 package.sh: `pwd` => ${PWD:-`pwd`}
package.mk: expand license file pattern match
02-01-04 iffe.sh: fix `exp name "value"' bug that duped "value"
iffe.sh: fix initial <sys/types.h> check to honor --config
01-12-25 iffe.sh: fix bug where -o file restored old file
01-12-23 package.mk: uniq the closure lists
01-12-07 ratz.c: fix --meter to retain paths containing " -- "
01-11-30 ratz.c: use sear_system() to execute; should work on all windows
01-11-28 ratz.c: fix sear_rm_r() to check SetCurrentDirectory() status
01-11-26 ditto.sh: drop n+=v for ksh compatibility
01-11-21 ditto.sh: add rsync script replacement [hey, it works!]
package.sh: add [ditto]:directory notation to admin.db
01-10-31 package.sh: handle *.sum paths with embedded space
package.sh: change executable() to onpath()
package.sh: executable([!] foo) replaces test [!] -x foo (.exe hack)
package.sh: add os2 fix to `host type'
mamake.c: add .exe hack
iffe.sh: fix intrinsic function lib test
mamprobe.sh: update pic probe to match make.probe for linux.ia64
01-10-30 package.sh: make action skeleton view now checks subdirs
01-10-20 package.sh: don't recurse into leaf dirs matching $MAKESKIP
package.mk: tarball package.notice replaces `license accepted' prompt
package.sh: eliminate `license accepted' prompt
package.sh: add update to download latest from a url
package.sh: use builtin arithmetic when we know its ksh
iffe.sh: unkown -> unknown
01-10-18 package.sh: convert to YYYY-MM-DD delta releases instead of NNNN
package.mk: convert to YYYY-MM-DD delta releases instead of NNNN
ratz.c: fix -m for paths containing <\>n\>\r\v
01-10-16 ratz.c: _SEA_* => SEAR_*
ratz.c: preserve stdin for sear_exec()
ratz.c: add recursive sear_rm_r() to sear_exec() tmp dir cleanup
01-10-10 mamprobe.sh: add mam_cc_SHELLMAGIC
package.sh: add nfs wakeup call to admin to avoid stale file handles
01-10-04 cc.darwin.ppc: -flat_namespace is not longer the default (huh)
01-10-01 package make: prepend $INSTALLROOT/bin/ok to PATH
package read: save cpy of bin/package when reading the INIT package
mamprobe.sh: allow cc path with optional arguments
01-09-24 Makefile,package.sh: add $INSTALLROOT/bin/.paths initialization
01-09-19 package.mk: add recurse to list.package.*
package.sh: bootstrap build nmake with _BLD_STATIC for _WIN32
01-09-11 ratz.c: add _SEA_SKIP & _SEA_COMMAND for self extracting archives
01-09-07 package.mk: fix output capture to not generate files names with spaces
01-09-07 package.mk: fix delta release number search
01-08-11 package.mk: handle single gz executable packages (e.g., for ksh)
package.sh: fix package install to require nmake only if no *.sum
iffe.sh: drop ancient menu and prompt actions; check ./hdr.h clash
01-07-17 package: fix use cross compile test to generate files in /tmp
01-06-27 ratz: handle hard and soft links if possible
01-06-07 Makefile: fix :MAPLIB: for sco
01-05-31 crossexec.sh: add
iffe.sh: add -x crosstype to run crossexec
iffe.sh: exp test now handles pass{}end fail{}end yes{}end no{}end
package.sh: add package host canon external-host-type-name
package.sh: fix `use USER' lookup for shells that support ~USER
cc.*: add -dumpmachine to dump target HOSTTYPE
01-05-18 iffe.sh: drop $HOME/tmp/t.sh debug trace -- oops
01-05-01 mamake.c: scan() now handles :PACKAGE: foo:command
01-04-26 *.sh: expand [a-z][A-Z][0-9] for non-contiguous character codes
iffe.sh: fix run *.sh for shells that don't $* across . command
cc.mvs.390: recode for /bin/sh
01-04-25 package.mk: include non cc-g variants by default
package.sh: *[._]* => *?[_.]* for mvs.390 /bin/sh
01-04-24 TEST.mk: no tests for VARIANT=="DLL"
01-04-22 package.mk,package.sh: tarball text members are ascii encoded
01-04-18 package.mk: allow package name to be the same as one of its components
cc.mvs.390: handle .C .cpp .cxx
cc.mvs.390: compensate for -o that does not overwrite
01-04-01 regress: fix SAME that just skipped it -- we should regress regress!
iffe: fix bug that didn't emit _hdr_foo for internal hdr tests
iffe: fix lcl bug for cc -E that doesn't emit line syncs
ratz: add ascii=>ebcdic conversion for text archive members
mamake: fix buffer overlap bug that clobbered the probe file path
01-03-17 iffe: handle : separator as first arg
01-03-15 mamake.c,ratz.c,release.c: add <stdlib.h> and <string.h>
01-02-26 iffe.sh: fix bug that omitted runtime #define for `mac' op
01-02-22 cc.ibm.risc: handle SF_CLOSE clash in <sfio.h>
01-02-14 cc.sgi.mips3,cc.sgi.mips4: handle -mips2 -mips3 -mips4 for cross cc
C+probe: quote "$cc" when its an argument!
mamake: execute actions with $SHELL, ignored signals back to default
package.sh: nmake check error output to /dev/null
package.sh: fix INIT a.out updates for knr cc
package.sh: package list now handles large tgz dirs
package.sh: *-ok executables moved to ok/* for *.dll systems
iffe.sh: change "exec >&-" to "exec >/dev/null" else linux mkdir fails!
mamake: handle `bind -lx [dontcare]'
01-02-12 ratz.c: fix _PACKAGE_ast includes
package.sh: $HOSTTYPE env overrides if $PACKAGEROOT/arch/$HOSTTYPE/
package.sh: $CC ^HOSTTYPE=[A-Za-z_0-9.]*$ overrides HOSTTYPE
iffe.sh: fix dat code that used previous $tmp.exe
iffe.sh: fix dat code for _DLL imports
01-02-09 iffe.sh: add copy() for shells with the dissappearing here doc bug
01-02-08 Makefile: guard against null $(CC.HOSTTYPE)
01-02-06 Makefile: separate out cc,ld,ldd workarounds (so they will be packaged)
01-02-02 package.sh: fix package use for $INSTALLROOT != */$HOSTTYPE
package.sh: create intermediate recursion makefiles when needed
package.sh: add $SECONDS to the DEBUG trace prompt
01-01-01 ratz.c: #ifdef for uwin ncc
iffe.sh,package.sh: check PACKAGE_PATH for local installations
package.sh: add psrinfo for osf.alpha host cpu
package.sh: change pax --meter probe; some hang on /dev/tty
package.sh: fix `install flat ARCH'
mamake: eliminate loops from scan order
C+probe: add probe_verbose -V for aix cc=xlc
cc.ibm.risc,ldd.ibm.risc: add
package.mk: list refs to top-level licenses only
package.mk: add local link table to change log html
00-12-25 package.sh: `no package archives' is a hard error, duh
package.sh: reorder host type logic for lame shells
mamake.c: getcwd => getwd for NeXT -- how about posix==default guys
iffe.sh: really gross workaround for NeXT -lposix stdout null's
iffe.sh: handle cc -E that insists on compiling
00-12-15 iffe.sh: ancient sh function call blows $*; call only when $# == 0
*.sh: `getopts 2>/dev/null` => `(getopts)2>/dev/null` for ancient sh
package.sh: fix LD_LIBRARY*_PATH initialization
cc.next.m68k: add for _POSIX_SOURCE and linker multiply defined syms
00-12-12 ratz: add --meter
package.sh: a few VPATH fixes
Makefile: don't override *.mips* cc if -version not accepted
00-12-11 package.mk: *.inx now contains name=value
00-12-07 package.sh: handle PC netscape . => _ pathname mangle
WWW.mk: .tar.gz => .tgz
00-11-27 package.sh: add checklicense() to do license checks at read time
package.mk: change component list from preformat to table
00-10-31 package.mk: *.pkg must assert closure
package.mk: add cc- variants to list.package.binary
package.sh: omit dups from package list
package.sh: invalid arg gives one line Usage
package.sh: relax checkaout checks for non-owners
package.sh: package use sets NPROC if not already set or [01]
proto.c: add $(INSTALLROOT)/include/ast hack
00-10-26 WWW.mk: add .SOURCE rhs to :WWWPAGE:
00-10-25 package: fix install
package.mk: add list.install
00-10-22 regress: fix VIEW to skip empty dirs
00-10-19 package.mk: $(PACKAGEROOT)/bin/nmake => $(PACKAGEROOT)/bin/manmake
iffe: validate #define identifiers
00-10-18 C+probe: mac os10 additions
package: add DYLD_LIBRARY_PATH initialization
add ldd.$(CC.HOSTTYPE)
00-10-01 iffe: handle -I* -L* options
00-09-21 mamake: add libxxx and xxx to makefile ordered prereqs
00-09-19 C+probe: add probe_longlong
00-09-11 package: drop manmake and $PACKAGEROOT/bin/nmake
00-09-08 iffe: verfiy that $cc is a C compiler
00-06-14 mamprobe: fix win32.* probe
mamake: fix bug that used lower view path for generation
package: don't clobber $PACKAGEROOT/bin/nmake
00-06-01 C+probe: fix stdinclude *again*
package: fix write delta source to use default pax format
package: add disambiguating bias for sgi.mips3 over sgi.mips4
package.mk: fix for directory content packages lib ast-locale
00-05-01 iffe: fix invalid _LIB_ macro identifier
00-04-11 C+probe: uniq stdinclude and stdlib, fix usrinclude
00-04-01 regress: fix explicit OUTPUT bug that didn't compare with expected
00-03-17 package: all archives are .tgz for binary download
package: $(PACKAGEROOT)/LICENSES/* in source and binary archives
package: implement install and verify actions
iffe: add exp, pth file dir ..., fix lib - -lfoo, fix lib - - -la -lb
iffe: -L* must affect LD_LIBRARY* hacks for .exe tests -- yuk
package.mk: add *.pkg :INDEX:
00-03-07 package: add admin action
00-03-06 makefile: install optional make probe override script C+make+probe.lcl
00-02-14 --- release 1.0 ---
ratz: treat "foo/" as a dir, not a regular file
package: clarify source and binary installation instructions
package: fix so binary packages can install without cc
package: "ratz" now a non-archive package (the only one) for bootstrap
package: handle VPATH=a:b arg
package.mk: "ratz" package adjustments
Makefile: use :PACKAGE_INIT: to support binary INIT packages
WWW.mk: add :WWWALL:
C.probe: fix .so check that let .dll slip through
iffe: fix config sh var assignment for HAVE_member_IN_struct
iffe: fix config sh var assignment for symbol_DECLARED
package: delay PATH export until dll hack exports complete
package: don't forget binary package $(INSTALLROOT)/lib(32|64)
package: add delta change log for source packages
00-02-10 mamprobe: add mam_cc_DLLBIG
package: fix spelling typos
package: add html help output
package.mk: beef up source and binary help => html
00-02-08 package: mkdir man/man[138] in the new arch to cover MAM bug
00-01-28 package,release: add -rcount to release
package: fix linux "host cpu" and "host rating"
package: copy *.lic to $PACKAGEBIN for "make" and "write binary"
package: fix 'release change log' case match
00-01-24 package: add copyright action
mamprobe: add -D_BLD_DLL to mam_cc_DLL
00-01-11 package: tsort for package write
package: early verification that $CC works
package: add non-interactive command arg for use action
proto: fix -C intermediate mkdir()
mamprobe: unixware.i386 ksh workaround
C.probe: move hosttype to C.probe (with unixware.i386 workaround)
WWW.mk: fix mm2html option quoting
WWW.mk: add .SCAN.mm
WWW.mk: don't force static=1; grab dll's instead
*.sh: fix getopts test to handle botched implementations like osf.alpha
iffe.sh: fix read -r test
99-12-25 iffe: tweak verbose messages
iffe: hand code non-optget getopts parse
iffe: fix bash quoting bug again
iffe: do test -w . after option parse
package: fix PACKAGEROOT search
99-11-19 --- release 0.2 ---
99-11-19 first working package & friends
99-10-31 change from lib0ast to INIT; add MAM and package bootstrap
hostinfo: gobbled by package
99-10-01 iffe: add --config, yes{...}end no{...}end, fix read -r workaround
99-09-27 iffe: add --all --verbose, --* set options
99-09-22 regress: -v disables long line truncation
99-09-11 WWW.mk: WWWDIR and MM2HTMLINFO are now lists searched in $(HOME)
99-08-11 hostinfo: fix type sgi.mips4
99-06-24 WWW.mk: add
99-06-08 hostinfo.sh: ${TMPDIR:-/tmp}
99-06-07 TEST.mk: add
99-06-01 iffe: add `siz type' for _siz_type == sizeof(type)
99-05-11 hostinfo,iffe,regress,use: long options
99-05-01 C.probe: fix over aggressive stdinclude, e.g., /usr/include/machine
99-04-01 hostinfo: sgi.mips? -o32 and -n32 checks
iffe: check that . is writable
99-03-17 hostinfo: fix for cc not found
dl.c,hello.c,m.c: headers in conditionals to force .DONTCARE
C.probe: extra check for include dirs pulled in by <sys/types.h>
99-03-03 regress: add `UNIT - ...' for extra args
Makefile: add (_hosttype_) prereq for cc
99-01-23 hostinfo: tweak rating, use /proc/cpuinfo if there
99-01-11 C.probe: shlib before lib, /usr before /
98-12-25 iffe: work around win32.alpha intrinsic clash with -O
98-11-11 regress: fix UNIT PATH lookup
98-11-01 regress: add PROG
98-10-01 hostinfo: add unixware.*
use: export PACKAGE_*
98-08-11 C.probe: add /usr/include check (for sco CC)
hostinfo: handle uwin uname update
98-05-01 regress: fix bug sometimes didn't list last test
98-04-01 hostinfo: add cc path arg
hostinfo: now works with /bin/sh
Makefile: strengthed -lm probe
98-01-23 Makefile: check for -ldl -lm
C.probe: handle gcc -v -E phony include dirs
iffe: fix lcl by dropping sort -u -- we need the real first
iffe: `mem x' to test if x is a non-opaque struct
98-01-11 $(INSTALLROOT)/lib32 for sgi.mips3
$(INSTALLROOT)/lib64 for sgi.mips4
add cc.hp.pa
98-01-01 cc.sgi.mips*: turn off ld library multiply defined
97-10-11 regress: add VIEW function for locating data
97-10-01 Makefile: -ldl test moved to libdll Makefile
97-08-11 regress: add MOVE
regress: add SAME
regress: use getopts
regress: `EXEC' repeats previous test
97-07-17 use: tweak PATH and LIBPATH bootstrap order
iffe: fix lcl bug that botched pathnames with embedded spaces
97-06-12 iffe: add npt `needs prototype' test
97-05-09 hostinfo: mvs.* => mvs.390
Makefile: cc.$(_hosttype_) workaround installed here
iffe: fix nolink{ ... }end
iffe: add [no]static{ ... }end for static link test
C.probe: _probe_PATH => _probe_export which must be eval'd
97-04-01 use: _RLD_ROOT set too
97-03-17 mm2html: changed inner loop
mm2html: handle .if|.ie|.el, .so
mm2html: handle different man styles
mm2html: differentiate mm/man in some non-obvious cases
hostinfo: r5000 is not mips4
97-02-14 hostinfo: validate type with cc
96-12-25 C.probe: uwin tweaks
iffe: use `...` instead of $(...) for alpha /bin/sh
iffe: fix `typ' divide by 0
iffe: `lcl' now drops X: prefix
iffe: +l* -> -l*
iffe: eval around ${...#%...} for bsd /bin/sh
use: add sgi.mips LD_LIBRARY<abi>_PATH variants
use: add -e to list exports
iffe: lcl leaves leading [a-zA-Z]: for dos
iffe: fix no{link|output|execute} logic
C.probe: don't automatically add /usr/include for non-hosted compilers
C.probe: don't automatically place /usr/include last
C.probe: check gcc style -v -E for stdinclude usrinclude
96-11-28 iffe: check BASH_VERSION for IFS botch
iffe: typ long.xxx only if sizeof(long xxx) != sizeof(xxx)
hostinfo: fix sgi.mips[234] tests
hostinfo: fix ncr.i386 tests
96-10-31 iffe: work around old bsh here doc bug by running separate sh
96-10-11 iffe: *.iffe and *.iff for iffe src files
hostinfo: tighten sgi.mips cpu type check
96-10-01 C.probe: add probe_libdir to catch alpha /usr/shlib
96-09-17 iffe: fix typ bug that failed for single id types!
96-08-31 hostinfo: handle recent sgi hinv cpu changes
96-07-17 make sure sizeof(long xxx)>sizeof(xxx) for typ long.xxx
96-05-09 C.probe: drop multiple / in stdinclude
96-02-29 use: package root must have bin and lib subdir
mm2html: add
C.probe: probe_members += -whole-archive for gcc
iffe: add + fix the blasted `...'.....'...`
96-01-31 use: add pkg dir
hostinfo: add tandem
96-01-01 hostinfo: windows_nt|windows[0-9][0-9] -> win32
95-11-24 hostinfo: linux-aout.* for non-elf linux
95-11-11 use: add aix LIBPATH
95-10-11 hostinfo: no args prints type
95-08-11 use: add
95-05-09 save original PATH in _probe_PATH
beef up library dir probe
95-04-01 use c source suffix if it still preserves the dialect
add hostinfo
add lib/hostinfo/typemap user type map
add sol.sun4 cpu count
fix C.probe to properly handle C/C++ combined compiler drivers
add NeXT to hostinfo
bummer: mach has /usr/bin/hostinfo
95-03-19 fix dialect executable test
95-03-19 --- release 0.0 ---
at changes02-02-14 atd: add strdup(argv[1]) to workaround argv[1]=>0 mystery 01-06-18 crontab: clarify the command<=>job relationship 01-03-28 atd: fix log file rollover infinite loop 01-02-14 atd: monitor daemon and restart if it dies 01-01-01 atd: add actual and expected info to atx log messages 00-09-28 crontab: update USAGE 00-06-16 atd,atx: use base 36 instead of 64 in job names (now just lower case) 00-05-22 crontab: clarify crontab jobs w.r.t at(1) 00-05-09 atd: ": LABEL; command" sets job label to LABEL atd: roll over log file to AT_LOG_FILE.old each month 00-03-14 at,atd: add at.allow and at.deny checks; tweak uwin verifcations 00-01-22 --- release 1.2 --- 00-01-22 crontab: fix getopts check 99-10-11 at,atd: fix job dictionary bugs 99-08-11 at: fix usage for at+batch at.h: add AT_STRICT 99-06-23 atd: fix job queue handle lookup that dropped jobs 99-06-23 --- release 1.1 --- 99-05-09 tweak uwin FAT checks -- how do you get FAT security? at,batch,crontab: long options 99-04-01 crontab.sh: "..." path vars the official off-by-one bug of the millenium 98-07-17 fix bad scanf base 64 format 98-02-14 get it working add -A for admin commands (all entries, all queues) 97-11-11 atd: use csread(CS_RESTART) to avoid SIGCHLD interrupts atd: add state.atxd in.atxd code for systems with incomplete chmod u+s 97-10-31 fix `at date ...' arg parse bug 96-05-24 --- release 1.0 ---
builtin changes03-04-05 nl.tst: generate test data file 03-02-24 nl.c,nl.tst: add 03-02-14 od.c,tr.c: no error message for EPIPE 03-02-11 dlls.c: add Dllinfo_t.env 02-11-14 what.c: stop on < to catch html/xml update cmdinit() calls for 4th flag arg 02-09-11 dlls.c: add --base & --path 02-09-05 pr.data: eliminate case ignorant file name clashes (for mac os X) 02-08-30 dlls.c: exit 1 if no matching dll found 02-08-28 od.c: check and report write errors -- ouch dlls.c: add --info 02-08-23 dlls.c: add 02-08-19 chown.tst: add chow regression tests 02-04-15 look.c: add look.tst, fix hang 02-03-24 uudecode,uuencode: sfopen "rt" for \r-- puke 02-01-24 look.c: drop <strings.h> ref 01-11-26 what.c: fix doc type, add --matched 01-10-31 what.c: fix omitted file arg doc 01-06-06 who.c: fix entry skip logic that listed too many entries 01-05-31 Makefile: add PACKAGE_OPTIMIZE=space checks 01-05-29 Makefile: if -lcmd is dll then BUILTINS linked to one a.out 01-05-21 tr: regcollate() interface update 01-04-17 date.tst: move from std 01-04-01 uudecode: fix -o decode-file and add regression test 01-03-39 uudecode: add --local for UU_LOCAL 00-12-04 look: add 00-12-01 what: add RCS ident(1) $Id: 00-04-01 uuencode: umask 022 for consistent header comparisons 00-02-14 fmt: move to libcmd 00-01-06 pr: fix empty field in multi-col output 99-11-19 pr: -t == -T 99-10-01 strings: add --long-strings 99-08-11 mime,strings: fix usage[] 99-06-25 who: fix printing of data strings with no 99-06-20 who: fix -i 99-06-17 who: add 99-06-11 pr: fix date failure logic 99-06-08 expr.tst: add -- it needs more too 99-05-21 paste.tst: add -- but it needs more 99-05-01 mime,strings,what: long options 99-04-28 uuencode,uudecode: long options, file arg interpretation fix 99-03-17 od: --swap=0 for testing od: allow space and , in --format, --type==--format 99-03-11 od: add -w number-per-line, long options strings: drop debug error(1) call 99-03-01 tr: fixes for gnu tests, long options join.tst,tr.tst: add gnu tests cut.tst: create from gnu tests 99-01-11 tail.tst 98-12-25 od: fix cform() for fmtesc uuencode.tst: update for uulib/uu_encode fill bug fix 98-11-11 uuencode.tst 98-08-11 uuencode,uudecode: use <uu.h> and -luu 98-07-01 strings: fix for default format! 98-06-01 strings: fix offset format with I* 98-05-29 join.tst: TEST 09 98-05-18 what: change "%s%-*s" to "%s%-.*s" and fix buffer boundary bug 98-03-01 tr: fix char class range bugs tr.tst: add 97-10-01 strings: add -m for multibyte 97-07-17 join: more tests in join.tst uudecode: ignore chars after counted limit uudecode: add binhex (decode only) uudecode: fix posix/ucb uu_decode()! time for uu.tst 96-12-25 od: add od.tst od: off_t -> int_max 96-11-28 uudecode: fix buffer boundary bug in qp_decode 96-09-06 tr: fix [A-Z] [a-z] bug 96-05-09 what: I don't know (third base) uuencode: add uudecode: add tr: add 96-04-15 od: add 95-10-11 grab b_* list from cmd.h add void* context 3rd arg to b_main()
bzip changes02-02-14 bzip2.c: fix uwin core dump 02-01-24 bzip2.c: use _PACKAGE_ast touch(3) instead of <utime.h> bzip2.c: fix strstr() loop 01-01-01 bzip2.c: include bzlib.h first 99-01-01 package for ast
coshell changes
03-03-04 add state.remote=CS_REMOTE_SHELL
01-12-12 resolve SETSHELL local vs. global conflict -- its both
ignore attr now really ignores host -- duh
01-12-11 add global maxidle=0 to ignore idle
split readonly and user settable values in `g' command output
00-12-14 shell is per host attribute
00-02-01 --- release 2.2 ---
99-06-24 cosh: change exit to return
99-06-24 --- release 2.1 ---
97-12-07 update for CS_SVC_SUFFIX
96-12-25 add constant casts for long shift counts
96-05-09 coinit(CO_SERVER)
96-02-29 use <hashkey.h>
96-01-31 AT&T Research
96-01-31 --- release 2.0 ---
95-07-17 add perhost job limit
all specific misc attr expr to override idle
95-05-09 convert init script to hostinfo
fix indirect bug that forgot to poll the command stream!
95-04-01 change streval() to strexpr()
95-01-01 don't bias out home host with cpu>1
add shell=path to set remote shell path
add debug=level to set debug level as an attribute
add identify=1 to identify remote command output
identify="format with %s"
attributes may be set on the command line
add COINIT to cosh so .coshrc can check for new coshell
add state.grace to g output
94-11-11 csstat() lazy evaluation in expressions
94-07-17 --- release 1.1 ---
94-06-11 add disable=secs to disable hosts of jobs killed by SIGKILL
handle shell quoted space in -r strings
94-04-01 add per host access=(expression) to control access
add per host bypass=(expression) to bypass min idle
add uid, gid, day (monday:1,sunday:7), hour, min to expressions
add periodic check for share/lib/cs/access for access control
add grace=n for busy job grace running time
add scale=n (default == # cpu) load average scale
add migrate="command" to override default SIGSTOP for hogs
add profile="command" to override default ". .profile"
94-03-11 fix pseudo-float and elapsed-time constant operand conversions
add static minidle to disambiguate from dynamic idle
fix remote shellopen to work for csh users (there's still some left?)
94-03-01 fix maxload to be pseudo-float
93-10-11 add CO_OPT_ACK coexec() ack
add maxload,percpu,perserver,peruser job limits
93-03-11 reschedule jobs queued on hung shells
92-11-11 minor fixes to handle `coshell -' on pipeline
92-09-26 /dev/tcp/* supported as alternative to /dev/fdp/*
92-04-01 --- release 1.0 ---
92-02-29 fix COATTRIBUTES quote bug, handle aaa==bbb@ccc in expressions
92-02-11 add `noattr' to delete misc attributes
91-10-11 add COTEMP temp file base to job environment
91-08-11 jobs queued for shell open now in job table
91-07-17 add heterogenous pool support
add % weight for additional cpus
fix (type@xxx) expression evaluation
91-03-11 fix handling of down hosts
91-02-11 add string comparisons to attribute evaluation
update for new message interface
91-01-31 add -?
90-12-11 if . has idle=0 then local bias entry is ignored
90-11-11 local host not reported down if status missing
90-10-11 . $ENV after .profile in $COINIT
add -l <expr> to list hosts matching <expr>
change CO_{attr,close,open} msgs to CO_server
add load and up readonly attributes
90-10-01 libx/cs -> libcs
90-08-11 check auto=0 file attribute
fix bug that dropped multiple SHELL job status messages
arbitrary attributes and C-style attribute expressions supported
ks <job> and kc <job> added to stop and continue jobs
signals sent to remote shells use signal name rather than number
add shell/job label attribute
90-07-17 add auto=[01] attribute for automatic scheduling pool
tune scheduling
add server protocol check (narrows unix-domain socket panic window)
catch SIGHUP to reconnect connect stream path
90-07-11 bad rank shells dropped from pool
more rank tuning
90-06-01 --- release 0.0 ---
cpp changes
02-11-07 cpp.c: exit() => return for lame linters
02-10-10 cpp.tst: add does not end with `newline' tests
02-05-24 cpp.tst: add TEST 15 pragma space canonicalization tests
02-03-15 cpp.tst: add TEST 14 for libpp/ppproto.c memory fault fix
01-10-20 cpp.tst: add pp:splicespace "..." tests
01-06-01 cpp.tst: add -M* dependency generation tests
01-02-14 cpp.tst: pp:pragmaexpand pp:catliteral # operator interactions
01-02-05 cpp.tst: add (finally)
96-01-31 --- release 2.0 ---
92-04-01 update for new libpp
92-04-01 --- release 1.1 ---
90-10-11 update cpp.1
88-06-08 update makefile to install Makeinstall.mk ALTPP.LINK links
88-02-29 redo PP_INITDIR initialization
87-10-11 update man page
87-09-18 add ppop(PP_DONE) call
87-04-24 recode for updated library interface
87-04-03 add -D-Ttest to enable debugging test code
87-04-02 add -I-Rfile for PP_READ
move #include "ppdefault.h" to ppargs.c using PP_READ
add -D-I[id] to name line sync directive ("line" if id omitted)
87-03-31 change -Nfilename to -D-Ffilename
87-03-30 add -D-Llanguage for PP_LANGUAGE,language
add -D-H for PP_NOHOSTED
add -I-H for PP_HOSTED
87-03-24 --- release 1.0 ---
cql changes
02-11-12 expr.c: save result before regfree() in cql.sub()
02-09-06 cql: fix field update when old string value is NiL
02-06-27 cql: fix file details 0 dereference when no file name
02-05-20 cql: update to use regsubcomp(),regsubexec()
01-07-17 cql: call dllerror() on dllfind() error
01-02-14 cql: fix bug that didn't propagate details to cdbopen()
cql: add --regenerate to force index regeneration
01-02-07 cql.tst: add -l to TEST 19,20
01-01-01 cql: the field default CDB_SPACE now strips leading/trailing spaces
cql: add SCHEMA.details="nospace" to inhibit field space stripping
cql: add space.cql test
00-12-12 cql: fix 0 pointer deref in commit()
00-09-13 cql: fix state.active repeat lookups (still should avoid generate())
99-11-19 cql: fix cdbimage() logic and "-" workaround in main()
99-10-01 cql: fix up array[n] format
99-09-22 cql: for (member[index]) support
99-08-11 cql: all assignment in end() -- handy to check maps
99-05-25 expr: fix %I* integer output, core dump
99-05-01 cql,cdb: long options
99-03-01 cql,cdb: +ldcb until pzip is opened up
98-12-25 cql: fix ciao closure bug that accesses wrong db file
98-11-11 cql: fix default delimiter/terminator values
98-11-01 cql: fix last outstanding ciao bug
98-10-20 cql: fix closure bugs introduced during <hash.h> => <cdt.h> conversion
98-09-18 cql: add cdb indexf, :sorted key attribute
98-06-04 cql: add terminator='.'
98-05-28 cql: numerous bug fixes (with regression tests!)
98-02-06 cql.tst add test for -lexpr update
hix: fix sizeof(long)>sizeof(int) bugs
97-12-07 long long integer arithmetic update
97-10-01 regression tests pass
cdb->io seeks eliminated
97-09-26 first recode for cdb 2.0
another will come when keys are added to cdb
97-07-17 add first cdb code
expr discipline interface
add -cx.c to generate compiled code
add -cx.so to load compiled code
add -cx.cdb to generate cdb file
add schema.comment='data-comment'
add schema.permanent=<#permanent-fields>
drop -Ldir; -Idir now used to find all files
97-06-06 a few more direct access field optimizations
-n means don't generate indices!
97-05-09 allow 1 field with no delimiters -- duh
handle direct access subfields by manipulating main field indices
96-12-25 hix files now have .hix suffix unconditionally
drop sfset(sfstdin,SF_SHARE,1)
96-01-30 unused var cleanup
96-01-01 AT&T Research now
switch to <regex.h>
95-11-24 fix -l bug that generated incorrect index file name
sftmp(0) -> sftmp(SF_BUFSIZE)
95-10-31 handle empty vdb in hixget()
95-07-17 use local (.) index iff -l
don't generate indices for empty vdb members!
add -f file equivalent to -e "#include 'file'"
-d, -e, -f parsed at same time
add hixerror() for better error messages
95-05-09 minor fixes via Ryan Wallach
forgot <ctype.h> for is*()
fix char* x[y]; schema members
fix -e declarations+expressions
<2M stdin read and hashed
95-04-01 fix hixclose() index generation conflict with multiple hixopen()
95-02-14 fix view overlay in record()
add schema.scanlimit to limit the number of top level scan partitions
95-01-19 fix index file lookup for non local db
95-01-11 fix state.loop conflict caused by CLOSURE
-e can now handle declarations followed by labeled expressions
95-01-01 fix schema/member name conflict
94-12-25 fix indirect here subfield access that lost field boundaries
fix partition database overlays
:: between partition files restricts self-reference to partition
:: between partition files returns duplicates on scans
add closure
fix record bug that stomped on next record
closure must be on edges, not just nodes!
94-11-11 minor fixes
94-08-11 initialize f=0 in expr.c/assign()
94-03-19 fix switch limit check in collapse()
93-10-11 fix views
93-09-20 implement sort={...} by sandwiching around /bin/sort
93-08-11 fix a.b.c reference optimization bug that bound to wrong field
use vdb archive for hash index files - x.DB for x.db
-g for g2 output
93-04-01 fix partition references to remain in same level
economize fd usage via ioopen/ioclose in hix
add -a for (inter)active session on stdin/stdout
92-09-16 add union db
92-09-02 add partition db
92-09-01 add virtual db
create changes97-10-01 add format=cds for tagged format 97-09-22 first release with regression tests
cs changes02-10-02 tst.c: tmform() => fmttime() 01-01-01 vcs_src/*: drop old notices, fix signal handler prototype 00-05-09 mbb: add (message bulletin board service) 99-09-22 cs: update for CS_MNT_TAIL 99-05-18 cs,css: long options 98-05-01 css: add 97-05-09 imount: add 96-12-25 cs: fix -i eof logic 96-02-29 nam protocol change add vcs+ifs beta drop getdomainname() call vcs: use ast equivalents for strstr ftruncate realpath 95-12-08 add -r raw interactive mode 95-07-17 add /trust=user when server not in PATH 95-04-01 start this file fix cat server read bug CS_LINE -> CS_EXACT
diff changesThu Apr 19 14:27:41 2001 Glenn Fowler <gsf@research.att.com> * diff,diff3,sdiff : use negative indices to avoid non-ascii case dups Wed Jul 19 16:01:22 2000 Glenn Fowler <gsf@research.att.com> * diff3 : call execvp() instead of execve() Sat Oct 1 05:24:19 1994 Paul Eggert <eggert@twinsun.com> * Version 2.7 released. * configure.in (AC_HEADER_SYS_WAIT): Add. (AC_CHECK_HEADERS): Remove sys/wait.h. (AC_CHECK_FUNCS): Add tmpnam. * system.h (<sys/wait.h>, WEXITSTATUS): Use simpler scheme now that HAVE_SYS_WAIT_H is not set on hosts that are incompatible with Posix applications. * util.c (dir_file_pathname): Use filename_lastdirchar not strrchr. * sdiff.c (expand_name): Likewise. (private_tempnam): Use tmpnam if HAVE_TMPNAM; this simplifies porting. (exists, letters): Omit if HAVE_TMPNAM. * diff3.c (read_diff): If STAT_BLOCKSIZE yields zero, adjust it to a more reasonable value. Sat Sep 24 20:36:40 1994 Paul Eggert <eggert@twinsun.com> * sdiff.c (exists, private_tempname): Adopt latest GNU libc algorithm. (private_tempnam): Specialize for sdiff to avoid portability problems. Thu Sep 22 16:47:00 1994 Paul Eggert <eggert@twinsun.com> * configure.in (AC_ARG_PROGRAM): Added. (AC_OUTPUT): Add [date > stamp-h]. * Makefile.in (DEFAULT_EDITOR_PROGRAM, DIFF_PROGRAM, LIBOBJS, NULL_DEVICE, PR_PROGRAM, PROGRAMS): New variables. (check, stamp-h.in, cmp.o, util.o): New targets. (edit_program_name): New variable; replaces old binprefix method. (install, uninstall): Use it. (binprefix): Removed. (distfiles): Add stamp-h.in. (clean): Clean stamp-h. (config.hin, config.h): Use time stamp files. (cmp_o): Add $(LIBOBJS). (install): Install info files from srcdir if they're not in `.'. * cmp.c, io.c (word): Don't define if already defined. * comp.c (main): Use setmode, not open(..., O_BINARY); this gets stdin. Use NULL_DEVICE instead of "/dev/null". (cmp): Use %lu instead of %ld when it is more likely to be right. * diff.h (PR_FILE_NAME): Rename to PR_PROGRAM and move to Makefile.in, util.c. * diff3.c (main): Give proper diagnostic if too many labels were given. (read_diff): Use SYSTEM_QUOTE_ARG. * system.h: <string.h>: Include if HAVE_STRING_H, too. <ctype.h>: Include here. All includers changed. (CTYPE_DOMAIN, ISDIGIT, ISPRINT, ISSPACE, ISUPPER): New macros that work around common <ctype.h> problems. (O_BINARY): Remove. (SYSTEM_QUOTE_ARG): New macros. * diff.c: Add comment. * util.c (PR_PROGRAM): Moved here from diff.h. (begin_output): Use SYSTEM_QUOTE_ARG. * io.c (read_files): Set mode to binary before returning 1. * sdiff.c (TMPDIR_ENV): New macro. (DEFAULT_EDITOR_PROGRAM): Renamed from DEFAULT_EDITOR for consistency. (expand_name): Change `isdir' to `is_dir' to avoid theoretical ctype namespace contamination. (main): Use SYSTEM_QUOTE_ARG. (private_tempnam): Don't access "/tmp" directly; use PVT_tmpdir. Tue Sep 13 18:46:43 1994 Paul Eggert <eggert@twinsun.com> * configure.in (AC_FUNC_MEMCHR): Remove. Autoconf didn't adopt this, since we need not worry about an old experimental library where memchr didn't work. (AC_FUNC_MEMCMP): Not needed, since we only test for equality. (AC_REPLACE_FUNCS): Add test for memchr. (AC_CHECK_FUNCS): Check for memchr, not memcpy, since it'll be cached. (AC_CHECK_HEADERS): Add string.h; regex.c uses on some old hosts. * system.h (memcmp): Define in terms of bcmp. Use HAVE_MEMCHR to test for all mem* routines. * Makefile.in (srcs): Remove memcmp.c. We use bcmp if memcmp doesn't work, since we only test for equality. Mon Sep 12 15:52:22 1994 Paul Eggert <eggert@twinsun.com> * configure.in (AC_CONFIG_HEADER): Rename config.h.in to config.hin. (AC_ISC_POSIX, AC_MINIX): Go back to these old names for Autoconf 2. (AC_CHECK_HEADERS): Remove now-redundant check for <string.h>. (AC_CHECK_FUNCS): Check for strchr. (AC_FUNC_MEMCHR, AC_FUNC_MEMCMP, AC_CHECK_FUNCS): Use special-purpose macros when suitable. * memcmp.c: New file. * Makefile.in (CPPFLAGS, DEFS, CFLAGS, LDFLAGS, prefix, exec_prefix): Default to autoconf-specified strings. (COMPILE): Use the defaults. (srcs): Add memcmp.c. (distfiles): Rename config.h.in->config.hin, install.sh->install-sh. (Makefile, config.h, config.hin, config.status): Rework for compatibility with Autoconf 2. * io.c (binary_file_p): Assume non-broken memchr. * memchr.c: Assume compiler understands void *; otherwise we don't match GCC's internal declaration of memchr. * system.h: Use more modern autoconf approach to standard C headers. * version.c: Include <config.h>, not "config.h". * diff.c, diff.h (ignore_some_line_changes): New variable; replaces `length_varies'. (line_end_char): Replace with '; it wasn't being used consistently. * io.c (find_and_hash_each_line): Fix inconsistencies with -b -w -i and incomplete lines. Put incomplete lines into their own bucket. This means line_cmp no longer needs line length arguments, and equivalence classes' line lengths no longer need to include Invoke line_cmp only if ignore_some_line_changes. (prepare_text_end): -B no longer ignores missing newlines. (read_files): Allocate another bucket for incomplete lines. * util.c (line_cmp): Now takes just two arguments. No longer optimizes for common case of exact equality; the caller does that optimization now. The caller is changed accordingly. Optimize for the common case of mostly equality. Use isupper+tolower instead of islower+toupper, for consistency. * waitpid.c (waitpid): Fix typo with internal scoping. Thu Sep 8 08:23:15 1994 Paul Eggert <eggert@twinsun.com> * configure.in: Revamp for Autoconf 2. * memchr.c, waitpid.c: New source files for substitute functions. * Makefile.in (diff_o, diff3_o, sdiff_o): Add $(LIBOBJS). (srcs): Add memchr.c, waitpid.c. (distfiles): Add install.sh, memchr.c, waitpid.c, install.sh. * system.h: Use Autoconf 2 style HAVE_DIRENT_H etc. macros for dirs. * dir.c (dir_sort): Prefer NAMLEN (p) to strlen (p->d_name). Change VOID_CLOSEDIR to CLOSEDIR_VOID for Autoconf 2. * sdiff.c, util.c (memchr, waitpid): Remove; use new substitutes. * diff3.c (read_diff): Use new waitpid substitute. * cmp.c, diff.c, diff3.c, sdiff.c (check_stdout, try_help): New fns. (usage): Just print more detailed usage message; let caller exit. * diff.c (option_help): New variable. (filetype): Add Posix.1b file types. Fri Sep 2 16:01:49 1994 Paul Eggert <eggert@twinsun.com> * configure.in: Switch to new autoconf names. Add sys/file.h test. * Makefile.in (distclean): Clean config.cache, config.log (used by new autoconf). * diff.c, diff3.c, (main), sdiff.c (trapsigs): If we'll have children, make sure SIGCHLD isn't ignored. * diff3.c (DIFF_CHUNK_SIZE): Removed. Get size from STAT_BLOCKSIZE. (INT_STRLEN_BOUND): New macro. * ifdef.c (format_group, groups_letter_value): Use * instead of [] in prototypes. * system.h: Include <sys/file.h> only if HAVE_SYS_FILE_H. (S_IXGRP, S_IXOTH, S_IXUSR): Remove unused macros. * util.c (begin_output): Check fdopen result. The following changes simplify porting to non-Posix environments. * cmp.c, diff.c, diff3.c, sdiff.c, (main): Call initialize_main first. * diff.c (binary_I_O): New variable for --binary option. (main, usage, compare_files): Support --binary option. (compare_files): Use filename_lastdirchar to find last directory char in a file name. * cmp.c (main), diff.c (compare_files), dir.c (compare_names, diff_dirs): Use filename_cmp to compare file names. Use same_file to determine whether two files are the same. * context.c (print_context_label): Check whether ctime yields 0. * diff3.c (read_diff), sdiff.c (cleanup, main, waitpid), util.c (begin_output): Use popen+pclose if !HAVE_FORK. * io.c (sip): If HAVE_SETMODE, test for binary files in O_BINARY mode. * sdiff.c (ck_fdopen): Function removed. (edit): Use system if !HAVE_FORK. (execdiff): Now assumes caller has pushed all args, plus trailing 0. All callers changed. (private_tempnam): Try TMP if TMPDIR isn't defined. Fit temporary filenames into 8.3 limit. * system.h (STAT_BLOCKSIZE): Don't define if already defined. (min, max): Undef if already defined. (filename_cmp, filename_lastdirchar, HAVE_FORK, HAVE_SETMODE, initialize_main O_BINARY, same_file): New macros. Fri Jun 17 11:23:53 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) * Makefile.in (info, dvi, diff.dvi): New targets. (clean): Remove TeX output files. Fri Jun 17 05:37:52 1994 Paul Eggert (eggert@twinsun.com) * cmp.c, io.c (word): Change from typedef to #define, to avoid collision with Unicos 8.0 <sys/types.h>, which also typedefs `word'. Thu Apr 15 00:53:01 1994 Paul Eggert (eggert@twinsun.com) * diff3.c (scan_diff_line), util.c (print_number_range): Don't rely on promotion to make the old-style parameter type agree with the prototype parameter type; this doesn't work on Apollos running bsd4.3. Mon Jan 3 02:05:51 1994 Paul Eggert (eggert@twinsun.com) * Makefile.in (LDFLAGS): Remove -g. Change all link commands to use both $(CFLAGS) and $(LDFLAGS). Mon Dec 13 12:23:27 1993 Paul Eggert (eggert@twinsun.com) * system.h: Don't assume dirent.h exists just because _POSIX_VERSION is defined. Fri Dec 3 18:39:39 1993 Paul Eggert (eggert@twinsun.com) * diff.c (main): allow -pu. Tue Nov 23 03:51:08 1993 Paul Eggert (eggert@twinsun.com) * Makefile.in (distclean): Remove config.h. Wed Nov 10 00:28:27 1993 Paul Eggert (eggert@twinsun.com) * Version 2.6 released. * analyze.c (too_expensive): New variable, for heuristic to limit the worst-case cost to O(N**1.5 log N) at the price of producing suboptimal output for large inputs with many differences. (diff_2_files): Initialize it. (struct partition): New type. (SNAKE_LIMIT): New macro; merely documents already-used number 20. (diag): New `minimal' arg; all callers changed. Put results into struct partition. Apply `too_expensive' heuristic. Tune. (compareseq): New `minimal' arg; all callers changed. Tune. (shift_boundaries): Improve heuristic to also coalesce adjacent runs of changes more often. * diff.c (long_options, main, usage): Add `--help'. (main): Send version number to stdout, not stderr. (usage): Send usage to stdout, not stderr. (compare_files): Initialize `inf' properly. * io.c (word): Change to `int'; it makes a big difference on x86. (sip, slurp): Put off allocating room to hold the whole file until we have to read the whole file. This wins if the file turns out to be binary. * util.c (xmalloc, xrealloc): "virtual memory" -> "memory" (primes): Omit large primes if INT_MAX is small. * sdiff.c (usage): Send usage to stdout, not stderr. (long_options, main, usage): Add `--help'. (main): Send version number to stdout, not stderr. Exit afterwards. * diff3.c (usage): Send usage to stdout, not stderr. (long_options, main, usage): Add `--help'. (read_diff): Detect integer overflow in buffer size calculations. * cmp.c (word): New type. All uses of `long' for word-at-a-time comparisons changed to `word'. (long_options, main, usage): Add `--help'. (usage): Send usage to stdout, not stderr. (main): Add `-v'. Send version number to stdout, not stderr. * configure.in (AC_HAVE_HEADERS): Add unistd.h; remove AC_UNISTD_H. Mon Sep 27 07:20:24 1993 Paul Eggert (eggert@twinsun.com) * diff.c (add_exclude_file): Cast memchr to (char *) to suppress bogus warnings on some nonstandard hosts. * Makefile.in (cmp): Add version.o. * analyze.c (diff_2_files): Work around memcmp bug with size=0. * cmp.c (main, usage, version_string): Add --version option. * system.h (malloc, realloc): Declare only if !HAVE_STDLIB_H. (memchr): Declare only if !HAVE_MEMCHR. These changes are needed to keep some nonstandard hosts happy. * util.c (memchr): Make first arg char const * to match standard. (xmalloc, xrealloc): Cast malloc, realloc to (VOID *) to suppress bogus warnings on some nonstandard hosts. * diff3.c (xmalloc, xrealloc): Cast malloc, realloc to (VOID *) to suppress bogus warnings on some nonstandard hosts. * sdiff.c (xmalloc, xrealloc): Cast malloc, realloc to (VOID *) to suppress bogus warnings on some nonstandard hosts. (lf_copy, lf_skip, lf_snarf): Cast memchr to (char *) to suppress bogus warnings on some nonstandard hosts. (memchr): Make first arg char const * to match standard. Mon Sep 27 00:23:37 1993 Paul Eggert (eggert@twinsun.com) * Version 2.5 released. * analyze.c (diff_2_files): Work around memcmp bug with size=0. * cmp.c (main, usage, version_string): Add --version option. * Makefile.in (cmp): Add version.o. * diff.c (add_exclude_file): Cast memchr to (char *) to suppress bogus warnings on some nonstandard hosts. * sdiff.c (lf_copy, lf_skip, lf_snarf): Likewise. * diff3.c, sdiff.c, util.c (xmalloc, xrealloc): Cast malloc, realloc to (VOID *) to suppress bogus warnings on some nonstandard hosts. * sdiff.c, util.c (memchr): Make first arg char const * to match standard. * system.h (malloc, realloc): Declare only if !HAVE_STDLIB_H. (memchr): Declare only if !HAVE_MEMCHR. These changes are needed to keep some nonstandard hosts happy. * xmalloc.c: Include <sys/types.h> always; some nonstandard hosts need it for size_t even if STDC_HEADERS. Sat Sep 18 01:33:07 1993 Paul Eggert (eggert@twinsun.com) * configure.in (AC_STAT_MACROS_BROKEN): Add. * system.h (S_IS{BLK,CHR,DIR,FIFO,REG,SOCK}): Fix defns if STAT_MACROS_BROKEN. * Makefile.in (diff3, sdiff, cmp): Do not link $(ALLOCA). * analyze.c (discard_confusing_lines): Make defn static, like decl. * sdiff.c (xmalloc): Likewise. * ifdef.c (format_group): Ensure isdigit argument isn't < 0. * side.c (print_half_line): Use isprint, since some hosts lack isgraph. * util.c (output_1_line): Likewise. Ensure its argument isn't < 0. (xmalloc, xrealloc): Remove needless casts. * system.h (volatile, const): Define these before including any system headers, so that they're used consistently in all system includes. (getenv, malloc, realloc): Declare even if HAVE_STDLIB_H, since some <stdlib.h>s don't declare them. (memchr): Likewise for <string.h>. * cmp.c, diff3.c, diff.h, sdiff.c: Include "system.h" first. * diff.c: Remove redundant "system.h" inclusion. * diff3.c (xmalloc): Now static. (xmalloc, realloc): Remove needless casts. (READNUM): Ensure isdigit argument isn't negative. Wed Sep 14 07:14:15 1993 Paul Eggert (eggert@twinsun.com) * Version 2.4 released. * ifdef.c (scan_char_literal): New function, for new %c'x' and %c'\ooo' format specs. (format_group, print_ifdef_lines): Use it. Remove %0 format spec. * cmp.c (cmp): Don't try to read past end of file; this doesn't work on ttys. * system.h, version.c: #include <config.h>, not "config.h", to allow configuring in a separate directory when the source directory has already been configured. * Makefile.in (COMPILE): New defn, with proper -I options so that `#include <config.h>' works. (.c.o, diff3.o, sdiff.o): Use it. Mon Sep 13 06:45:43 1993 Paul Eggert (eggert@twinsun.com) * diff.c (main, longopts): Add --line-format=FORMAT option. (specify_format): Args no longer const pointers. All callers changed. * ifdef.c: Add support for %?c, %(A=B?T:E), PRINTF_SPECn formats. (struct group): New struct. (print_ifdef_lines): Use it to simplify argument passing. Remove the convention that last arg -1 signifies that the lines from file 2 are the same as the lines from file 1; this convention no longer works, now that line numbers might be printed out, since the line numbers may differ. Add first FILE * argument to output to. All callers changed. Use a faster test for the single-fwrite optimization. (format_group, scan_printf_spec, groups_letter_value): New functions. * diff.h (group_format, line_format): No longer const pointers. (format_ifdef): 1st arg is no longer const pointer. * configure.in: Configure HAVE_LIMITS_H, HAVE_STDLIB_H. * system.h <limits.h>, <stdlib.h>, <string.h>: Include only if HAVE_LIMITS_H etc. * system.h (memcmp, memcpy, strchr, strrchr, struct dirent): Prefer these standard names to the traditional names (bcmp, bcpy, index, rindex, struct direct). All callers changed. * system.h (PARAMS, VOID): Define earlier so that malloc decl can use VOID. (STAT_BLOCKSIZE): Simplify ersatz defn; just use 8K. Fri Sep 3 00:21:02 1993 Paul Eggert (eggert@twinsun.com) * diff.c (compare_files): Two files with the same name must be the same file; avoid a needless `stat' in that case. Fri Aug 27 06:59:03 1993 Paul Eggert (eggert@twinsun.com) * Pervasive changes for portability to 64-bit hosts: Add prototypes to function declarations. Use size_t, not int, when needed. * Other pervasive changes: Use `const' more often. Use STD{IN,OUT,ERR}_FILENO instead of [012]. Use 0, not NULL, for portability to broken hosts. * Makefile.in: (srcs, objs, distfiles, cmp): New files cmpbuf.[ch]. (distfiles): New files config.h.in, mkinstalldirs. (.c.o): Add -DHAVE_CONFIG_H. * analyze.c: (diag): Pacify `gcc -Wall' with a useless assignment. (diff_2_files): Use l.c.m., not max, of files' buffer sizes. * cmp.c: Make globals static when possible. (file): Now a 2-element array; replaces `file1' and `file2'. (file_desc, buffer): Likewise, for file[12]_desc and buf[12]. (main): Likewise, for stat_buf[12]. Index these variables with `i'. (ignore_initial): New var. (long_options): Now const. Add `--ignore-initial'. (usage): Sort options and add `--ignore-initial'. (main, cmp): Add `--ignore-initial' support. (main): `cmp - -' now succeeds. When comparing standard input to a file, and using a shortcut (e.g. looking at file sizes or inode numbers), take the lseek offset into account before deciding whether the files are identical. Avoid mentioning `dev_t', `ino_t' for portability to nonstandard hosts. Use l.c.m. of files' buffer sizes, not 8 * 1024. ferror (stdout) does not imply errno has a useful value. If 2nd file is "-", treat it first, in case stdin is closed. (cmp): Always compute `char_number', `smaller' for speed and simplicity. Say `cmp: EOF on input', not `/usr/gnu/bin/cmp: EOF on input', as per Posix.2. (block_compare_and_count): Increment line_number argument. Remove end_char argument; it's always '. All callers changed. Do not assume sizeof(long) == 4; this isn't true on some 64-bit hosts. (block_compare): Minimize differences with block_compare_and_count. (block_read): Coalesce `bp += nread's. (printc): Remove `FILE *' arg; output to stdout. All callers changed. * configure.in: Configure HAVE_SIGACTION, RETSIGTYPE, HAVE_VPRINTF. Configure into config.h. * context.c (print_context_label): Standard input's st_mtime is no longer a special case here, since `compare_files' now sets it to the current time. * diff.c (usage): Sort options. (filetype): New function. (compare_files): Set stdin's st_mtime to be the current time. Leave its name "-" instead of changing it to "Standard Input"; to test whether a file is stdin, we must compare its name to "-" instead of its desc to 0, since if it's closed other file descs may be 0. When comparing standard input to a file, and using a shortcut (e.g. looking at file sizes or inode numbers), take the lseek offset into account before deciding whether the files are identical. Pretend that nonexistent files have the same filetype as existing files. Rename `errorcount' to `failed', since it's boolean. In directory comparisons, if a file is neither a regular file nor a directory, just print its type and the other file's type. * diff.h (Is_space, textchar): Remove. (struct msg, msg_chain, msg_chain_end): Move to util.c. (VOID): Move to system.h. (line_cmp, version_string, change_letter, print_number_range, find_change): New decls. * diff.texi: whitespace -> white space. It now stands for whatever isspace yields. Add --ignore-initial. * diff3.c (VOID): Move to system.h. (version_string): Now char[]. (usage): Sort options. (process_diff): Pacify `gcc -Wall' with a useless assignment. (read_diff): pid is of type pid_t, not int. Use waitpid if available. (output_diff3): Simplify test for ` No newline at end of file' message. * dir.c (struct dirdata): Rename `files' to `names' to avoid confusion with external struct file_data `files'. * io.c (line_cmp): Move declaration to diff.h. (textchar): Remove. (find_and_hash_each_line): Use locale's definition of white space instead of using one hardwired defn for -b and another for -w. * normal.c (change_letter, print_number_range, find_change): Move decls to diff.h. (print_normal_hunk): Now static. * sdiff.c (SEEK_SET): Move to system.h. (version_string): Now char[], not char*. (private_tempnam): Remove hardcoded limit on temporary file names. (exiterr, perror_fatal, main): When exiting because of a signal, exit with that signal's status. (lf_refill, main, skip_white, edit, interact): Check for signal. (ignore_SIGINT): Renamed from `ignore_signals'. (NUM_SIGS, initial_handler): New macros. (initial_action, signal_received, sigs_trapped): New vars. (catchsig, trapsigs): Use sigaction if possible, since this closes the windows of vulnerability that `signal' has. Use RETSIGTYPE not void. When a signal comes in, just set a global variable; this is safer. (checksigs, untrapsig): New functions. (edit): Pacify `gcc -Wall' with a useless assignment. Respond to each empty line with help, not to every other empty line. (private_tempnam): Remove hardcoded limit on temporary file name length. Don't assume sizeof (pid_t) <= sizeof (int). * system.h: (S_IXOTH, S_IXGRP, S_IXUSR, SEEK_SET, SEEK_CUR, STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): New macros, if system doesn't define them. (volatile): Don't define if already defined. (PARAMS): New macro. (VOID): Move here from diff.h. * util.c (struct msg, msg_chain, msg_chain_end): Moved here from diff.h. (message5): New function. (pr_pid): New var. (begin_output): Allocate `name' more precisely. Put child pid into pr_pid, so that we can wait for it later. Don't check execl's return value, since any return must be an error. (finish_output): Detect and report output errors. Use waitpid if available. Check pr exit status. (line_cmp): Use locale's definition of white space instead of using one hardwired defn for -b and another for -w. (analyze_cmp): Avoid double negation with `! nontrivial'. Pacify `gcc -Wall' be rewriting for-loop into do-while-loop. (dir_file_pathname): New function. * version.c (version_string): Now char[], not char*. Thu Jul 29 20:44:30 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) * Makefile.in (config.status): Run config.status --recheck, not configure, to get the right args passed. Thu Jul 22 10:46:30 1993 Paul Eggert (eggert@twinsun.com) * Makefile.in (dist): Replace `if [ ! TEST ]; then ACTION; fi' with `[ TEST ] || ACTION || exit' so that the containing for-loop exits with proper status for `make'. Thu Jul 8 19:47:22 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) * Makefile.in (installdirs): New target. (install): Use it. (Makefile, config.status, configure): New targets. Sat Jun 5 23:10:40 1993 Paul Eggert (eggert@twinsun.com) * Makefile.in (dist): Switch from .z to .gz. Wed May 26 17:16:02 1993 Paul Eggert (eggert@twinsun.com) * diff.c (main): Cast args to compare_files, for traditional C. * side.c (print_sdiff_common_lines_print_sdiff_hunk): Likewise. * analyze.c, diff3.c, sdiff.c, util.c: Don't assume NULL is defined properly. Tue May 25 14:54:05 1993 Paul Eggert (eggert@twinsun.com) * analyze.c (diff_2_files): With -q, do not report that files differ if all their differences are ignored. (briefly_report): New function. * diff.h (ignore_some_changes): New variable. * diff.c (compare_files): Don't use the file size shortcut if ignore_some_changes is nonzero, since the file size may differ merely due to ignored changes. (main): Set ignore_some_changes if we might ignore some changes. Remove unsystematic assignment of 0 to static vars. * io.c (read_files): New argument PRETEND_BINARY says whether to pretend the files are binary. * diff3.c (tab_align_flag): New variable, for new -T option. (main, usage, output_diff3): Add support for -T. Sun May 23 15:25:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) * dir.c (dir_sort): Always init `data' to avoid GCC warning. Sat May 22 15:35:02 1993 Paul Eggert (eggert@twinsun.com) * Makefile.in (dist): Change name of package from diff to diffutils. Don't bother to build .Z dist; .z suffices. Fri May 21 16:35:22 1993 Paul Eggert (eggert@twinsun.com) * diff.c: Include "system.h" to get memchr declaration. * system.h (memchr): Declare if !HAVE_MEMCHR, not if !HAVE_MEMCHR && !STDC_HEADERS. Wed May 19 17:43:55 1993 Paul Eggert (eggert@twinsun.com) * Version 2.3 released. Fri Apr 23 17:18:44 1993 Paul Eggert (eggert@twinsun.com) * io.c (find_identical_ends): Do not discard the last HORIZON_LINES lines of the prefix, or the first HORIZON_LINES lines of the suffix. * diff.c (main, longopts, usage): Add --horizon-lines option. * diff3.c (main, process_diff, read_diff): Invoke second diff with --horizon-lines determined by the first diff. * diff.h, diff3.c (horizon_lines): New variable. Mon Mar 22 16:16:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * system.h [HAVE_STRING_H || STDC_HEADERS] (bcopy, bcmp, bzero): Don't define if already defined. Fri Mar 5 00:20:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) * diff.c (main): Use NULL in arg to compare_files. Thu Feb 25 15:26:01 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * system.h: Declare memchr #if !HAVE_MEMCHR && !STDC_HEADERS, not #if !HAVE_MEMCHR || !STDC_HEADERS. Mon Feb 22 15:04:46 1993 Richard Stallman (rms@geech.gnu.ai.mit.edu) * io.c (find_identical_ends): Move complicated arg outside GUESS_LINES. Mon Feb 22 12:56:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Makefile.in (.c.o): Add -I$(srcdir); put $(CFLAGS) last before $<. Sat Feb 20 19:18:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) * io.c (binary_file_p): Return zero if file size is zero. Fri Feb 19 17:31:32 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) * Version 2.2 released. * system.h [HAVE_STRING_H || STDC_HEADERS] (index, rindex): Don't define if already defined. Wed Feb 17 17:08:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * Makefile.in (srcs): Remove limits.h. Thu Feb 11 03:36:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) * diff3.c (xmalloc): No longer static. * sdiff.c (edit): Allocate buf dynamically. * dir.c (dir_sort): Handle VOID_CLOSEDIR. Wed Feb 10 00:15:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) * limits.h: File deleted (should never have been there). Tue Feb 9 03:53:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile.in (.c.o, diff3.o, sdiff.o): Put $(CFLAGS) last. Wed Feb 3 15:42:10 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) * system.h: Don't #define const; let configure do it. Mon Feb 1 02:13:23 1993 Paul Eggert (eggert@hal.gnu.ai.mit.edu) * Version 2.1 released. * Makefile.in (dist): Survive ln failures. Create .tar.z (gzipped tar) file as well as .tar.Z (compressed tar) file. Fri Jan 8 22:31:41 1993 Paul Eggert (eggert@twinsun.com) * side.c (print_half_line): When the input position falls outside the column, do not output a tab even if the output position still falls within the column. Mon Dec 21 13:54:36 1992 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu) * Makefile.in (.c.o): Add -I. Fri Dec 18 14:08:20 1992 Paul Eggert (eggert@twinsun.com) * configure.in: Add HAVE_FCNTL_H, since system.h uses it. Tue Nov 24 10:06:48 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) * Makefile.in: Note change from USG to HAVE_STRING_H. Mon Nov 23 18:44:00 1992 Paul Eggert (eggert@twinsun.com) * io.c (find_and_hash_each_line): When running out of lines, double the number of allocated lines, instead of just doubling that number minus the prefix lines. This is more likely to avoid the need for further memory allocation. Wed Nov 18 20:40:28 1992 Paul Eggert (eggert@twinsun.com) * dir.c (dir_sort): Plug memory leak: space holding directory contents was not being reclaimed. Get directory size from struct file_data for initial guess at memory needed. Detect errors when reading and closing directory. (diff_dirs): Pass struct file_data to dir_sort. Finish plugging leak. * diff.c (compare_files): Pass struct file_data to diff_dirs. * io.c (find_and_hash_each_line): Don't assume alloc_lines is nonzero when allocating more lines. Thu Nov 12 16:02:18 1992 Paul Eggert (eggert@twinsun.com) * diff.c (main): Add `-U lines' as an alias for `--unified=lines'. * diff3.c (usage): Add third --label option in example. * util.c (analyze_hunk): Fix test for ignoring blank lines. * configure.in, system.h: Avoid USG; use HAVE_TIME_H etc. instead. Mon Nov 9 05:13:25 1992 Paul Eggert (eggert@twinsun.com) * diff3.c (main, usage): Add -A or --show-all. -m now defaults to -A, not -E. Allow up to three -L options. (output_diff3_edscript, output_diff3_merge): Remove spurious differences between these two functions. Output ||||||| for -A. Distinguish between conflicts and overlaps. (dotlines, undotlines): New functions that output `Ns', not `N,Ns'. (output_diff3_edscript, output_diff3_merge): Use them. * io.c (find_identical_ends): shift_boundaries needs an extra identical line at the end, not at the beginning. * sdiff.c (edit): execvp wants char **, not const char **. Mon Oct 19 04:39:32 1992 Paul Eggert (eggert@twinsun.com) * context.c (print_context_script, find_function): Context line numbers start with - file->prefix_lines, not 0. * io.c (binary_file_p): Undo last change; it was a library bug. Sun Oct 18 00:17:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * io.c (binary_file_p): Consider empty file as non-binary. Mon Oct 5 05:18:46 1992 Paul Eggert (eggert@twinsun.com) * diff3.c (main, make_3way_diff, using_to_diff3_block): Don't report bogus differences (for one of -mexEX3) just because the file0-file1 diffs don't line up with the file0-file2 diffs. (This is entirely possible since we don't use diff's -n option.) Always compare file1 to file2, so that diff3 sees those changes directly. Typically, file2 is now the common file, not file0. (output_diff3_merge): The input file is file 0, not the common file. (FC, FO): New macros; they replace FILE1, FILE0 for two-way diffs, to distinguish them from three-way diffs. * diff3.c (using_to_diff3_block): Fold repeated code into loops. * diff3.c (make_3way_diff, process_diff): Have the *_end variable point to the next field to be changed, not to the last object allocated; this saves an if-then-else. * diff3.c (process_diff): Use D_NUMLINES instead of its definiens. * diff3.c: Make fns and vars static unless they must be external. Wed Sep 30 09:21:59 1992 Paul Eggert (eggert@twinsun.com) * analyze.c (diff_2_files): OUTPUT_IFDEF is now robust. * diff.h (ROBUST_OUTPUT_STYLE): Likewise. (default_line_format): Remove. All refs removed. * ifdef.c (print_ifdef_lines): Add %L. Optimize %leven if user specified it, as opposed to its being the default. Tue Sep 29 19:01:28 1992 Paul Eggert (eggert@twinsun.com) * diff.c (longopts, main): --{old,new,unchanged,changed}--group-format are new options, so that -D is no longer overloaded. Set no_diff_means_no_output if --unchanged-{line,group}-format allows it. * diff.h (enum line_class): New type. (group_format, line_format): Use it to regularize option flags. All refs changed. * ifdef.c (format_ifdef, print_ifdef_lines): %n is no longer a format. Mon Sep 28 04:51:42 1992 Paul Eggert (eggert@twinsun.com) * diff.c (main, usage): Replace --line-prefix with the more general --{old,new,unchanged}-line-format options. * ifdef.c (format_ifdef, print_ifdef_lines): Likewise. * diff.h (line_format): Renamed from line_prefix. All refs changed. * diff.h, ifdef.c (default_line_format): New variable. * util.c (output_1_line): New function. (print_1_line): Use it. * ifdef.c: (format_ifdef, print_ifdef_lines): Add %0 format. Sun Sep 27 05:38:13 1992 Paul Eggert (eggert@twinsun.com) * diff.c (main): Add -E or --line-prefix option. Add -D'=xxx' for common lines. Change default -D< format from copy of -D> format to to -D<%<; similarly for default -D> format. * diff.h (common_format, line_prefix): New variables. * ifdef.c (format_ifdef): New function. (print_ifdef_script, print_ifdef_hunk, print_ifdef_lines): Use it for -D'=xxx', -E. * context.c (find_hunk): Glue together two non-ignorable changes that are exactly CONTEXT * 2 lines apart. This shortens output, removes a behavioral discontinuity at CONTEXT = 0, and is more compatible with traditional diff. * io.c (find_identical_ends): Slurp stdin at most once. * util.c (print_line_line): line_flag is const char *. Thu Sep 24 15:18:07 1992 Paul Eggert (eggert@twinsun.com) * ifdef.c (print_ifdef_lines): New function, which fwrites a sequence of lines all at once for speed. (print_ifdef_script, print_ifdef_hunk): Use it. Thu Sep 24 05:54:14 1992 Paul Eggert (eggert@twinsun.com) * diff.c (main): Support new -D options for if-then-else formats. (specify_format): New function. * diff.h (ifndef_format, ifdef_format, ifnelse_format): New variables. * ifdef.c (print_ifdef_hunk): Use the new variables instead of a hardwired format. * side.c (print_1sdiff_line): Represent incomplete lines on output. (print_sdiff_script): Likewise. Don't print 'q' at end, since that doesn't work with incomplete lines. * sdiff.c (interact): Don't assume diff output ends with 'q' line. * diff.h (ROBUST_OUTPUT_STYLE): OUTPUT_SDIFF is now robust. * sdiff.c (lf_copy, lf_snarf): Use memchr instead of index, to avoid dumping core when files contain null characters. (memchr): New function (if memchr is missing). * io.c (sip): New arg SKIP_TEST to skip test for binary file. (read_files): Don't bother testing second file if first is binary. Thu Sep 17 21:17:49 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * system.h [!USG && !_POSIX_VERSION]: Protect from conflicting prototype for wait in sys/wait.h. Wed Sep 16 12:32:18 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * Makefile.in: Include binprefix in -DDIFF_PROGRAM. Tue Sep 15 14:27:25 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * Version 2.0. Sat Sep 12 01:31:19 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * util.c, diff.h, system.h [!HAVE_MEMCHR]: Don't use void * and const when declaring memchr replacement. Declare memchr if !STDC_HEADERS && !USG. Thu Sep 10 15:17:32 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * Makefile.in (uninstall): New target. * diff.c (excluded_filename): Use fnmatch, not wildmat. (usage): Document -x, -X, --exclude, --exclude-from. Makefile.in: Use fnmatch.c, not wildmat.c. Sun Sep 6 23:46:25 1992 Paul Eggert (eggert@twinsun.com) * configure.in: Add HAVE_MEMCHR. * diff.h, util.c: Use it instead of MEMCHR_MISSING. Sun Sep 6 07:25:49 1992 Paul Eggert (eggert@twinsun.com) * diff.h: (struct line_def): Replace this 3-word struct with char *. This uses less memory, particularly for large files with short lines. (struct file_data): New member linbuf_base counts number of lines in common prefix that are not recorded in linbuf; this uses less memory if files are identical or differ only at end. New member buffered_lines counts possibly differing lines. New member valid_lines counts valid data. New member alloc_lines - linbuf_base replaces old linbufsize. linbuf[0] now always points at first differing line. Remove unused members ltran, suffix_lines. Add const where appropriate. (Is_space): New macro, for consistent definition of `white space'. (excluded_filename, memchr, sip, slurp): New declarations. * ed.c (print_ed_hunk): Adjust to diff.h's struct changes. * context.c (pr_context_hunk): Likewise. * ifdef.c (print_ifdef_script): Likewise. * side.c (print_sdiff_script, print_half_line): Likewise. * util.c (analyze_hunk, line_cmp, print_1_line): Likewise. * analyze.c (shift_boundaries): Remove unneeded variable `end' and unnecessary comparisons of `preceding' and `other_preceding' against 0. (diff_2_files): When comparing files byte-by-byte for equality, don't slurp them all in at once; just compare them a buffer at a time. This can win big if they differ early on. Move some code to compare_files to enable this change. Use only one buffer for stdin with `diff - -'. (discard_confusing_lines, diff_2_files): Coalesce malloc/free calls. (build_script): Remove obsolete OUTPUT_RCS code. * diff.c (add_exclude, add_exclude_file, excluded_filename): New fns. (main): Use them for the new --exclude and --exclude-from options. (compare_files): Don't open a file unless it must be read. Treat `diff file file' and `diff file dir' similarly. Move some code here from diff_2_files to enable this. Simplify file vs dir warning. * dir.c (dir_sort): Support new --exclude* options. * io.c (struct equivclass): Put hash code and line length here instead of struct line_def, so that they can be shared. (find_and_hash_each_line): Compute equivalence class as we go, instead of doing it in a separate pass; this thrashes memory less. Make buckets realloc-able, since we can't preallocate them. Record one more line start than there are lines, so that we can compute any line's length by subtracting its start from the next line's, instead of storing the length explicitly. This saves memory. Move prefix-handling code to find_identical_ends; this wins with large prefixes. Use Is_space, not is_space, for consistent treatment of white space. (prepare_text_end): New function. (find_identical_ends): Move slurping here, so it's only done when needed. Work even if the buffers are the same (because of `diff - -'). Compare prefixes a word at a time for speed. (find_equiv_class): Delete; now done by find_and_hash_each_line. (read_files): Don't slurp unless needed. find_equiv_class's work is now folded into find_and_hash_each_line. Don't copy stdin buffer if `diff - -'. Check for running out of primes. (sip, slurp): Split first part of `slurp' into another function `sip'. `sip' sets things up and perhaps reads the first ST_BLKSIZE buffer to see whether the file is binary; `slurp' now just finishes the job. This lets diff_2_files compare binary files lazily. Allocate a one-word sentinel to allow word-at-a-time prefix comparison. Count prefix lines only if needed, only count the first file's prefix. Don't bother to count suffix lines; it's never needed. Set up linbuf[0] to point at first differing line. (binary_file_p): Change test for binary files: if it has a null byte in its first buffer, it's binary. (primes): Add more primes. * util.c (line_cmp): Use bcmp for speed. Use Is_space, not is_space, for consistent treatment of white space. (translate_line_number): Internal line numbers now count from 0 starting after the prefix. (memchr): New function (if memchr is missing). * Makefile.in: Document HAVE_ST_BLKSIZE. Link with wildmat.o. * system.h (STAT_BLOCKSIZE): New macro based on HAVE_ST_BLKSIZE. * configure.in: Add AC_ST_BLKSIZE. * wildmat.c: New file. Fri Sep 4 01:28:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * sdiff.c (xmalloc): Renamed from ck_malloc. Callers changed. Thu Sep 3 15:28:59 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * diff.h: Don't declare free, index, rindex. Tue Aug 11 22:18:06 1992 John Gilmore (gnu at cygnus.com) * io.c (binary_file_p): Use heuristic to avoid declaring info files as binary files. Allow about 1.5% non-printing characters (in info's case, ^_). Tue Jul 7 01:09:26 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * diff.h: Replace function_regexp and ignore_regexp with lists of compiled regexps. * analyze.c, context.c, util.c: Test whether the lists, not the old variables, are empty. * util.c (analyze_hunk), context.c (find_function): Compare lines with the lists of regexps. * diff.c (add_regexp): New function. (main): Use it. * diff3: Add -v --version option. * Makefile.in: Link with version.o. * system.h: New file. * diff.h, cmp.c, diff3.c, sdiff.c: Use it. * diff.h, diff3.c: Include string.h or strings.h, as appropriate. Declare malloc and realloc. * diff3.c (perror_with_exit): Include program name in message. * diff3.c: Lowercase error messages for GNU standards. * sdiff.c [USG || STDC_HEADERS]: Define bcopy in terms of memcpy. * sdiff.c: Use the version number from version.c. * Makefile.in: Link with version.o. * cmp.c error.c xmalloc.c: New files from textutils. * Makefile.in: Add rules for them. * diff.c (longopts): --unidirectional-new-file is like -P, not -N. Rename --file-label to --label (leave old name, but undocumented). * sdiff.c, diff.c (usage): Condense messages and fix some errors. * diff3.c (main, usage): Add long-named options. Fri Jul 3 14:31:18 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) * diff.h, diff3.c, sdiff.c: Change FOO_MISSING macros to HAVE_FOO. Thu Jun 25 16:59:47 1992 David J. MacKenzie (djm@apple-gunkies.gnu.ai.mit.edu) * diff.c: --reversed-ed -> --forward-ed. Wed Feb 26 12:17:32 1992 Paul Eggert (eggert@yata.uucp) * analyze.c, diff.c, diff.h, io.c: For -y, compare even if same file. Fri Feb 14 22:46:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * io.c, diff3.c, analyze.c: Add extra parentheses. Sun Feb 9 00:22:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * diff.h (unidirectional_new_file_flag): New variable. * diff.c (main): Set that for -P. (compare_files): Support -P, somewhat like -N. (longopts): Support long name for -P. Sat Jan 4 20:10:34 1992 Paul Eggert (eggert at yata.uucp) * Makefile.in: Distribute diff.info-* too. * README, sdiff.c: version number now matches version.c. * configure: Fix and document vfork test. * ifdef.c: Don't dump core if `diff -Dx f f'. Mon Dec 23 23:36:08 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) * diff.h, diff3.c, sdiff.c: Change POSIX ifdefs to HAVE_UNISTD_H and _POSIX_VERSION. Wed Dec 18 17:00:31 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) * Makefile.in (srcs): Add sdiff.c. (tapefiles): Add diff.texi and diff.info. * diff.h, diff3.c, sdiff.c: Use HAVE_VFORK_H instead of VFORK_HEADER and VFORK_WORKS. Tue Dec 17 00:02:59 1991 Paul Eggert (eggert at yata.uucp) * Makefile.in (all): Add diff.info, sdiff. * configure, diff.c, sdiff.c: Prefix long options with `--', not `+'. * diff.c: Regularize option names. * configure: Fix check for vfork. * configure, diff.c, diff.h, diff3.c, sdiff.c: Use Posix definitions when possible. * context.c: Align context with tab if -T is given. Tune. * diff.c, diff.h, side.c: Calculate column widths so that tabs line up. * io.c: Add distinction between white space and printing chars. * side.c: Don't expand tabs unless -t is given. * side.c, util.c: Tab expansion now knows about '\b', '<'>, ''>\r', '\v'. * util.c: -w skips all white space. Remove lint. Tune. * sdiff.c: Support many more diff options, e.g. `-', `sdiff file dir'. Ignore interrupts while the subsidiary editor is in control. Clean up temporary file and kill subsidiary diff if interrupted. Ensure subsidiary diff doesn't ignore SIGPIPE. Don't get confused while waiting for two subprocesses. Don't let buffers overflow. Check for I/O errors. Convert to GNU style. Tune. * sdiff.c, util.c: Don't lose errno. Don't confuse sdiff with messages like `Binary files differ'. * sdiff.c, side.c: Don't assume that common lines are identical. Simplify --sdiff-merge-assist format. Mon Sep 16 16:42:01 1991 Tom Lord (lord at churchy.gnu.ai.mit.edu) * Makefile.in, sdiff.c: introduced sdiff front end to diff. * Makefile.in, analyze.c, diff.c, diff.h, io.c, side.c: Added sdiff-style output format to diff. Mon Aug 26 16:44:55 1991 David J. MacKenzie (djm at pogo.gnu.ai.mit.edu) * Makefile.in, configure: Only put $< in Makefile if using VPATH, because older makes don't understand it. Fri Aug 2 12:22:30 1991 David J. MacKenzie (djm at apple-gunkies) * configure: Create config.status. Remove it and Makefile if interrupted while creating them. Thu Aug 1 22:24:31 1991 David J. MacKenzie (djm at apple-gunkies) * configure: Check for +srcdir etc. arg and look for Makefile.in in that directory. Set VPATH if srcdir is not `.'. * Makefile.in: Get rid of $(archpfx). Tue Jul 30 21:28:44 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * Makefile.in (prefix): Renamed from DESTDIR. Wed Jul 24 23:08:56 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) * diff.h, diff3.c: Rearrange ifdefs to use POSIX, STDC_HEADERS, VFORK_MISSING, DIRENT. This way it works on more systems that aren't pure USG or BSD. Don't not define const if __GNUC__ is defined -- that would break with -traditional. * configure: Check for those features. Wed Jul 10 01:39:23 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL). Sat Jul 6 16:39:04 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) * Replace Makefile with configure and Makefile.in. Update README with current compilation instructions. Sat Jul 6 14:03:29 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * util.c (setup_output): Just save the args for later use. (begin_output): Do the real work, with the values that were saved. It's safe to call begin_output more than once. Print the special headers for context format here. * analyze.c (diff_2_files): Don't print special headers here. * context.c (pr_context_hunk, pr_unidiff_hunk): Call begin_output. * ed.c (print_ed_hunk, print_forward_ed_hunk, print_rcs_hunk): * normal.c (print_normal_hunk): Likewise. * ifdef.c (print_ifdef_hunk): Likewise. * util.c (finish_output): Don't die if begin_output was not called. Thu Jun 20 23:10:01 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) * Makefile: Add TAGS, distclean, and realclean targets. Set SHELL. Tue Apr 30 13:54:36 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * diff.h (TRUE, FALSE): Undefine these before defining. Thu Mar 14 18:27:27 1991 Richard Stallman (rms@mole.ai.mit.edu) * Makefile (objs): Include $(ALLOCA). Sat Mar 9 22:34:03 1991 Richard Stallman (rms at mole.ai.mit.edu) * diff.h: Include regex.h. Thu Feb 28 18:59:53 1991 Richard Stallman (rms at mole.ai.mit.edu) * Makefile (diff3): Link with GNU getopt. Sat Feb 23 12:49:43 1991 Richard Stallman (rms at mole.ai.mit.edu) * io.c (find_equiv_class): Make hash code unsigned before mod. * diff.h (files): Add EXTERN. Sun Jan 13 21:33:01 1991 Richard Stallman (rms at mole.ai.mit.edu) * diff.c: +print option renamed +paginate. Remove +all-text. Mon Jan 7 06:18:01 1991 David J. MacKenzie (djm at geech.ai.mit.edu) * Makefile (dist): New target, replacing diff.tar and diff.tar.Z, to encode version number in distribution directory and tar file names. Sun Jan 6 18:42:23 1991 Michael I Bushnell (mib at geech.ai.mit.edu) * Version 1.15 released. * version.c: Updated from 1.15 alpha to 1.15 * context.c (print_context_number_range, print_unidiff_number_range): Don't print N,M when N=M, print just N instead. * README: Updated for version 1.15. Makefile: Updated for version 1.15. * diff3.c (main): Don't get confused if one of the arguments is a directory. * diff.c (compare_files): Don't get confused if comparing standard input to a directory; print error instead. * analyze.c (diff_2_files), context.c (print_context_header, print_context_script), diff.c (main), diff.h (enum output_style): Tread unidiff as an output style in its own right. This also generates an error when both -u and -c are given. * diff.c (main): Better error messages when regexps are bad. * diff.c (compare_files): Don't assume stdin is opened. * diff3.c (read_diff): Don't assume things about the order of descriptor assignment and closes. * util.c (setup_output): Don't assume things about the order of descriptor assignment and closes. * diff.c (compare_files): Set a flag so that closes don't happen more than once. * diff.c (main): Don't just flush stdout, do a close. That way on broken systems we can still get errors. Mon Dec 24 16:24:17 1990 Richard Stallman (rms at mole.ai.mit.edu) * diff.c (usage): Use = for args of long options. Mon Dec 17 18:19:20 1990 Michael I Bushnell (mib at geech.ai.mit.edu) * context.c (print_context_label): Labels were interchanged badly. * context.c (pr_unidiff_hunk): Changes to deal with files ending in incomplete lines. * util.c (print_1_line): Other half of the changes. Mon Dec 3 14:23:55 1990 Richard Stallman (rms at mole.ai.mit.edu) * diff.c (longopts, usage): unidiff => unified. Wed Nov 7 17:13:08 1990 Richard Stallman (rms at mole.ai.mit.edu) * analyze.c (diff_2_files): No warnings about newlines for -D. * diff.c (pr_unidiff_hunk): Remove ref to output_patch_flag. Tue Oct 23 23:19:18 1990 Richard Stallman (rms at mole.ai.mit.edu) * diff.c (compare_files): For -D, compare even args are same file. * analyze.c (diff_2_files): Likewise. Also, output even if files have no differences. * analyze.c (diff_2_files): Print missing newline messages last. Return 2 if a newline is missing. Print them even if files end with identical text. Mon Oct 22 19:40:09 1990 Richard Stallman (rms at mole.ai.mit.edu) * diff.c (usage): Return 2. Wed Oct 10 20:54:04 1990 Richard Stallman (rms at mole.ai.mit.edu) * diff.c (longopts): Add +new-files. Sun Sep 23 22:49:29 1990 Richard Stallman (rms at mole.ai.mit.edu) * context.c (print_context_script): Handle unidiff_flag. (print_context_header): Likewise. (print_unidiff_number_range, pr_unidiff_hunk): New functions. * diff.c (longopts): Add element for +unidiff. (main): Handle +unidiff and -u. (usage): Mention them. Wed Sep 5 16:33:22 1990 Richard Stallman (rms at mole.ai.mit.edu) * io.c (find_and_hash_each_line): Deal with missing final newline after buffering necessary context lines. Sat Sep 1 16:32:32 1990 Richard Stallman (rms at mole.ai.mit.edu) * io.c (find_identical_ends): ROBUST_OUTPUT_FORMAT test was backward. Thu Aug 23 17:17:20 1990 Richard Stallman (rms at mole.ai.mit.edu) * diff3.c (WIFEXITED): Undef it if WEXITSTATUS is not defined. * context.c (find_function): Don't try to return values. Wed Aug 22 11:54:39 1990 Richard Stallman (rms at mole.ai.mit.edu) * diff.h (O_RDONLY): Define if not defined. Tue Aug 21 13:49:26 1990 Richard Stallman (rms at mole.ai.mit.edu) * Handle -L option. * context.c (print_context_label): New function. (print_context_header): Use that. * diff.c (main): Recognize the option. (usage): Updated. * diff.h (file_label): New variable. * diff3.c (main): Recognize -L instead of -t. * diff3.c (main): Support -m without other option. * diff3.c (WEXITSTATUS, WIFEXITED): Define whenever not defined. * diff3.c (bcopy, index, rindex): Delete definitions; not used. (D_LINENUM, D_LINELEN): Likewise. (struct diff_block): lengths includes newlines. (struct diff3_block): Likewise. (always_text, merge): New variables. (read_diff): Return address of end, not size read. Calls changed. Pass -a to diff if given to diff3. current_chunk_size now an int. Detect error in `pipe'. Check for incomplete line of output here. (scan_diff_line): Don't make scan_ptr + 2 before knowing it is valid. No need to check validity of diff output here. Include newline in length of line. (main): Compute rev_mapping here. Handle -a and -m. Error message if excess -t operands. Error for incompatible options. Error if `-' given more than once. Fix error storing in tag_strings. (output_diff3): REV_MAPPING is now an arg. Call changed. Change syntax of "missing newline" message. Expect length of line to include newline. (output_diff3_edscript): Return just 0 or 1. REV_MAPPING is now an arg. Call changed. (output_diff3_merge): New function. (process_diff): Better error message for bad diff format. (fatal, perror_with_exit): Return status 2. * analyze.c (diff_2_files): Report missing newline in either or both files, if not robust output style. * util.c (setup_output): Detect error from pipe. No need to close stdin. * util.c (print_1_line): Change format of missing-newline msg. Change if statements to switch. * io.c (slurp): Don't mention differences in final newline if -B. * io.c (binary_file_p): Use ISO char set as criterion, not ASCII. * io.c (find_identical_ends): Increase value of BEG0 by 1. Other changes in backwards scan to avoid decrementing pointers before start of array, and set LINES properly. * diff.h (ROBUST_OUTPUT_STYLE): New macro. * io.c (find_identical_ends, find_and_hash_each_line): Use that macro. * diff.h (dup2): Don't define if XENIX. * diff.c (main): Check for write error at end. * context.c (find_function): Don't return a value. Use argument FILE rather than global files. * analyze.c: Add external function declarations. * analyze.c (build_script): Turn off explicit check for final newline. * analyze.c (discard_confusing_lines): Make integers unsigned. Tue Jul 31 21:37:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * io.c (find_and_hash_each_line): Correct the criterion for leaving out the newline from the end of the line. Tue May 29 21:28:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * dir.c (diff_dirs): Free things only if nonzero. Mon Apr 16 18:31:05 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.h (NDIR_IN_SYS): New macro controls location of ndir.h. * diff3.c (xmalloc, xrealloc): Don't die if size == 0 returns 0. Sun Mar 25 15:58:42 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * analyze.c (discard_confusing_lines): `many' wasn't being used; use it. Cancelling provisionals near start of run must handle already cancelled provisionals. Cancelling subruns of provisionals was cancelling last nonprovisional. Sat Mar 24 14:02:51 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * analyze.c (discard_confusing_lines): Threshold for line occurring many times scales by square root of total lines. Within each run, cancel any long subrun of provisionals. Don't update `provisional' while cancelling provisionals. In big outer loop, handle provisional and nonprovisional separately. Thu Mar 22 16:35:33 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * analyze.c (discard_confusing_lines): The first loops to discard provisionals from ends failed to step. In second such loops, keep discarding all consecutive provisionals. Increase threshold for stopping discarding, and also check for consecutive nondiscardables as separate threshold. Fri Mar 16 00:33:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff3.c (read_diff): Pass -- as first arg to diff. * diff3.c: Include wait.h or define equivalent macros. (read_diff): Don't use stdio printing error in the inferior. Remember the pid and wait for it. Report failing status. Report failure of vfork. Sun Mar 11 17:10:32 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff3.c (main): Accept -t options and pass to output_diff3_edscript. (usage): Mention -t. (read_diff): Use vfork. (vfork): Don't use it on Sparc. * diff.h (vfork): Don't use it on Sparc. Tue Mar 6 22:37:20 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff3.c (dup2): Don't define on Xenix. * Makefile: Comments for Xenix. Thu Mar 1 17:19:23 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * analyze.c (diff_2_files): `message' requires three args. Fri Feb 23 10:56:50 1990 David J. MacKenzie (djm at albert.ai.mit.edu) * diff.h, util.c, diff3.c: Change 'void *' to 'VOID *', with VOID defined as void if __STDC__, char if not. Sun Feb 18 20:31:58 1990 David J. MacKenzie (djm at albert.ai.mit.edu) * Makefile: Add rules for getopt.c, getopt1.c, getopt.h. * getopt.c, getopt.h, getopt1.c: New files. * main.c (main, usage): Add long options. * analyze.c (shift_boundaries): Remove unused var 'j_end'. Thu Feb 8 02:43:16 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) * GNUmakefile: include ../Makerules before Makefile. Fri Feb 2 23:21:38 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * analyze.c (diif_2_files): If -B or -I, don't return 1 if all changes were ignored. Wed Jan 24 20:43:57 1990 Richard Stallman (rms at albert.ai.mit.edu) * diff3.c (fatal): Output to stderr. Thu Jan 11 00:25:56 1990 David J. MacKenzie (djm at hobbes.ai.mit.edu) * diff.c (usage): Mention -v. Wed Jan 10 16:06:38 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff3.c (output_diff3_edscript): Return number of overlaps. (main): If have overlaps, exit with status 1. Sun Dec 24 10:29:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * io.c (find_equiv_class): Fix typo that came from changing init of B to an assigment. * version.c: New file. * diff.c (main): -v prints version number. * io.c (binary_file_p): Null char implies binary file. Fri Nov 17 23:44:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * util.c (print_1_line): Fix off by 1 error. Thu Nov 16 13:51:10 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * util.c (xcalloc): Function deleted. * io.c (slurp): Null-terminate the buffer. * io.c (read_files): Delete unused vars. * io.c (find_equiv_class): Don't index by N if too low. * dir.c (dir_sort): Delete the extra declaration of compare_names. * diff.h: Don't declare xcalloc. Declare some other functions. * analyze.c (shift_boundaries): Test for END at end of range before indexing by it. Fix typo `preceeding' in var names. Sat Nov 11 14:04:16 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff3.c (using_to_diff3_block): Delete unused vars. (make_3way_diff, process_diff_control, read_diff, output_diff3): Likewise. Mon Nov 6 18:15:50 EST 1989 Jay Fenlason (hack@ai.mit.edu) * README Fix typo. Fri Nov 3 15:27:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.c (usage): Mention -D. * ifdef.c (print_ifdef_hunk): Write comments on #else and #endif. Sun Oct 29 16:41:07 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.c (compare_files): Don't fflush for identical files. Wed Oct 25 17:57:12 1989 Randy Smith (randy at apple-gunkies.ai.mit.edu) * diff3.c (using_to_diff3_block): When defaulting lines from FILE0, only copy up to just under the *lowest* line mentioned in the next diff. * diff3.c (fatal): Add to error messages. Wed Oct 25 15:05:49 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Makefile (tapefiles): Add ChangeLog. Tue Oct 3 00:51:17 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff3.c (process_diff, create_diff3_block): Init ->next field. Fri Sep 29 08:16:45 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * util.c (line_cmp): Alter end char of line 2, not line 1. Wed Sep 20 00:12:37 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Makefile (diff.tar): Expect ln to fail on some files; copy them with cp. Mon Sep 18 02:54:29 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Handle -D option: * io.c (find_and_hash_each_line): Keep all lines of 1st file. * diff.c (main): Handle -D option. (compare_files): Reject -D if files spec'd are directories. * analyze.c (diff_2_files): Handle OUTPUT_IFDEF case. Fri Sep 1 20:15:50 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.c (option_list): Rename arg VECTOR as OPTIONVEC. Mon Aug 28 17:58:27 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.c (compare_files): Clear entire inf[i].stat. Wed Aug 23 17:48:47 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) * io.c (find_identical_ends): Sign was backward determining where to bound the scan for the suffix. Wed Aug 16 12:49:16 1989 Richard Stallman (rms at hobbes.ai.mit.edu) * analyze.c (diff_2_files): If -q, treat all files as binary. * diff.c (main): Detect -q, record in no_details_flag. Sun Jul 30 23:12:00 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.c (usage): New function. (main): Call it. Wed Jul 26 02:02:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.c (main): Make -C imply -c. Thu Jul 20 17:57:51 1989 Chris Hanson (cph at kleph) * io.c (find_and_hash_each_line): Bug fix in context handling, introduced by last change. Fri Jul 14 17:39:20 1989 Chris Hanson (cph at kleph) * analyze.c: To make RCS work correctly on files that don't necessarily end in newline, introduce some changes that cause diffs to be sensitive to missing final newline. Because non-RCS modes don't want to be affected by these changes, they are conditional on `output_style == OUTPUT_RCS'. (diff_2_files) [OUTPUT_RCS]: Suppress the "File X missing newline" message. (build_script) [OUTPUT_RCS]: Cause the last line to compare as different if exactly one of the files is missing its final newline. * io.c (find_and_hash_each_line): Bug fix in ignore_space_change mode. Change line's length to include the newline. For OUTPUT_RCS, decrement last line's length if there is no final newline. (find_identical_ends) [OUTPUT_RCS]: If one of the files is missing a final newline, make sure it's not included in either the prefix or suffix. * util.c (print_1_line): Change line output routine to account for line length including the newline. Tue Jun 27 02:35:28 1989 Roland McGrath (roland at hobbes.ai.mit.edu) * Makefile: Inserted $(archpfx) where appropriate. Wed May 17 20:18:43 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff3.c [USG]: Include fcntl.h. * diff.h [USG]: New compilation flags HAVE_NDIR, HAVE_DIRECT. Wed Apr 26 15:35:57 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * dir.c (diff_dirs): Two new args, NONEX1 and NONEX2, say to pretend nonex dirs are empty. (dir_sort): New arg NONEX, likewise. * diff.c (compare_files): Pass those args. Sometimes call diff_dirs if subdir exists in just one place. Wed Apr 12 01:10:27 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * io.c (find_identical_ends): Set END0 *after* last char during backward scan for suffix. Sat Apr 8 15:49:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) * diff3.c (using_to_diff3_block): Now find high marks in files 1 and 2 through mapping off of the last difference instead of the first. * diff3.c: Many trivial changes to spelling inside comments. Fri Feb 24 12:38:03 1989 Randall Smith (randy at gluteus.ai.mit.edu) * util.c, normal.c, io.c, ed.c, dir.c, diff.h, diff.c, context.c, analyze.c, Makefile: Changed copyright header to conform with new GNU General Public license. * diff3.c: Changed copyright header to conform with new GNU General Public license. * COPYING: Made a hard link to /gp/rms/COPYING. Fri Feb 24 10:01:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * io.c (slurp): Leave 2 chars space at end of buffer, not one. (find_identical_ends): Special case if either file is empty; don't try to make a sentinel since could crash. Wed Feb 15 14:24:48 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu) * diff3.c (message) Re-wrote routine to avoid using alloca() Wed Feb 15 06:19:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * io.c (find_identical_ends): Delete the variable `bytes'. Sun Feb 12 11:50:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * io.c (slurp): ->bufsize is nominal amount we have room for; add room for sentinel when calling xmalloc or xrealloc. * io.c (find_identical_ends): Do need overrun check in finding suffix. Fri Feb 10 01:28:15 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.c (main): -C now takes arg to specify context length. Now -p to show C function name--Damned IEEE! Fatal error if context length spec'd twice. * ed.c (print_ed_hunk): Now special treatment only for lines containing precisely a dot and nothing else. Output `..', end the insert, substitute that one line, then resume the insert if nec. * io.c (find_and_hash_lines): When backing up over starting context, don't move past buffer-beg. * io.c (find_identical_ends): Use sentinels to make the loops faster. If files are identical, skip the 2nd loop and return quickly. (slurp): Leave 1 char extra space after each buffer. * analyze.c (diff_2_files): Mention difference in final newlines. Wed Jan 25 22:44:44 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * dir.c (diff_dirs): Use * when calling fcn ptr variable. Sat Dec 17 14:12:06 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Makefile: New vars INSTALL and LIBS used in some rules; provide default defns plus commented-put defns for sysV. Thu Nov 17 16:42:53 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * dir.c (dir_sort): Open-trouble not fatal; just say # files is -1. (diff_dirs): If dir_sort does that, give up and return 2. * diff.c (compare_files): Don't open directories. Don't close them specially either. Cross-propagate inf[i].dir_p sooner. Sun Nov 13 11:19:36 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * diff.h: Declare index, rindex. * diff.c (compare_files): If comparing foodir with b/f, use foodir/f, not foodir/b/f. * diff.c (compare_files): Don't print "are identical" msg for 2 dirs. Status now 1 if one file is a dir and the other isn't, etc. Thu Nov 3 16:30:24 1988 Randall Smith (randy at gluteus.ai.mit.edu) * Makefile: Added a define for diff3 to define DIFF_PROGRAM. * util.c: Added hack to make sure that perror was not called with a null pointer. * diff.c: Changed S_IFDIR to S_IFMT in masking type of file bits out. * diff3.c: Included USG compatibility defines. * diff.h: Moved sys/file.h into #else USG section (not needed or wanted on System V). * ed.c, analyze.c, context.c: Shortened names to 12 characters for the sake of System V (too simple not to do). Local Variables: mode: indented-text left-margin: 8 version-control: never End:
dss changes
03-02-06 dss.c: convert main loop to dssrun()
03-01-23 dss.c: update stamp to reflect library version 20030123
03-01-15 dss.c: fix match docs for Cxmatch_t
02-12-25 dss.c: fix default expression logic -- dsscomp() requires {...} at top
02-12-24 dss.c: init checks now done by dssbeg()/dssend()
02-12-17 propagate -ldss changes
02-12-04 dss.c: dssopen() and method option check before main arg check
02-12-01 dss.tst: move to method specific source dirs
02-11-27 dss.c,dss.tst: change --format => --print, --type => --format
02-11-22 dss.tst,Makefile: redo data file naming
02-10-18 dss.c: handle DSS_NOOUTPUT after dssbeg()
02-10-17 dss.c: drop ancient argv[0] method initialization
02-10-09 dss.tst: add bgp-ipma and flat tests, rename test data files
02-09-24 bgp.prt,netflow.prt: move to src/lib/libdss/dss-*.prt
02-09-11 dss.c: add -n, query dssbeg() and dssend() calls, -c matched/total
02-08-29 move pta to separate source directory
02-08-11 update --method docs
02-07-31 dss.c: optout() now handles usage string as well as text
02-07-19 dss.tst: add text method =~ and !~ tests
02-06-14 add Dssflags_t arg to dssfopen()
02-05-29 standalone command source
dsslib changes03-03-14 Makefile: add :PACKAGE: dss for recursive make ordering 02-11-22 */*.c: add unsigned => signed casts for msvc long long => double 02-11-20 split support libs from libdss main source flat: add lazy field recognition
bgp changes
03-04-15 bgp-mrt.c: fix mrt as path segment bug that ignored all but the first!
dss.tst: add TEST 02 as path segment on rrc08 updates.20030403.2200
dss.tst: add TEST 10 to check expression signed/unsigned boundaries
03-02-24 bgp.h: add record size field to account for variable data
03-02-19 bgp.c: add { cluster_len community_len path_len }
03-02-11 bgp-mrt.c: change swapget(0,p,n) to BEn() -- 30 sec down to 24 -- wow
03-01-24 bgp.c: move { as_t aspath_t cluster_t community_t } to the ip_t lib
03-01-22 bgp.c: add path,community,cluster internalf; DEBUG for buffer debug
03-01-16 bgp.c: convert to Cxmatch_t
03-01-15 ire.c,ire.h: replace bgpre.c with general integer list re's
03-01-13 bgp-mrt.c,dss.tst: fix path attribute parse bug
03-01-06 bgp.h,bgp-mrt.c: handle all packet types
03-01-03 bgp-ipma.c,bgp-cisco.c: fix junk skip logic
02-12-17 propagate -ldss changes
02-12-01 move bgp specific tests and data to this dir
dibbler changes03-02-11 dibbler_re.c: Vmbest => Vmlast 03-01-28 dibbler.c: update for Cxtype_t.Cxmember_t 03-01-23 update for void* => Dssrecord_t* 03-01-21 dibbler_outsum.c: add cxlocation() to errorf messages
fix changes03-02-11 Vmbest => Vmlast 03-01-30 add --stamp=date/version-stamp 03-01-29 first release
flat changes03-02-11 flat.c: Vmbest => Vmlast 03-01-29 flat.c: fix binary and buffer output for struct option 03-01-28 flat.c: update for Cxvariable_t.Cxreference_t 03-01-23 flat.c: update for void* => Dssrecord_t* 03-01-21 flat.c: move fundamental type internalf/externalf to libdss 02-12-24 flat.c: use cxstring() instead of base search 02-12-18 flat.c: flat convert query working 02-12-17 propagate -ldss changes 02-12-05 flat.c: fall back to map on invalid numeric fields 02-12-04 flat.c: fix convert bug that applied map when not needed 02-12-03 flat.c: fix void_external() to zero out all bytes 02-11-28 flat.c: fix non-global swap checks 02-11-27 flat.c: add [no]binary option 02-11-25 flat.c: add header and magic support 02-11-22 flat.c: initial convert implementation
ip_t changes
03-04-15 itlie.h: fix external() bug that did not re-initialize the separator
03-02-18 itlie.h: change details to format char and separator string
03-02-11 ire.c: Vmbest => Vmlast
03-02-07 ip_t.c: add Cxformat_t.print width hints
03-01-28 ip_t.c: update for Cxtype_t.Cxmember_t
03-01-24 ip_t.c: move { as_t aspath_t cluster_t community_t } from bgp
03-01-20 ip_t.c: fix match message
03-01-16 ip_t.c: convert to Cxmatch_t
03-01-15 ip_t.c: prefix matching via =~ and !~ only
02-12-17 propagate -ldss changes
02-11-27 ip_t.c: fix Cxunsigned_t/Cxinteger_t casts for lame long double cc
02-11-22 ip_t.c: don't assume the "bgp" method -- duh
lsa changes03-02-07 change "time" to "ns_t" and u_int64 in the canonical record 03-01-31 update rtid doc 03-01-23 update for void* => Dssrecord_t* 02-12-17 propagate -ldss changes 02-11-28 convert from sfprintf to errorf
merge changes03-02-14 first release
netflow changes03-04-05 netflow-map.dss,ip.map: add dss.tst: add netflow-map tests 03-01-23 update for void* => Dssrecord_t* 03-01-21 add cxlocation() to errorf messages
num_t changes03-01-28 num_t.c: update for Cxtype_t.Cxmember_t 03-01-22 add rand_t format details string doc 02-12-17 propagate -ldss changes 02-12-03 be_t and le_t now handle float 02-11-22 snarf from libcdb
opaque changes03-01-23 update for void* => Dssrecord_t* 03-01-21 add cxlocation() to errorf messages
sh changes03-02-19 dss.tst: member format details are global 03-02-14 first release
stats changes03-04-05 avoid possible floating point underflow/overflow 03-02-19 add `-' field operand to just count records or groups 03-02-11 add --print=format; Vmbest => Vmlast 03-02-07 add --count; check variable/type print width hint; allow width overflow 03-01-24 use cxcast() for group value pretty print 03-01-08 fix bucket alloc size 02-12-25 first release
text changes02-12-17 propagate -ldss changes 02-11-01 a rudimentary alternative to the flat method
time_t changes
03-03-02 time_t.c: fix ns_external() NS arithmetic
03-02-17 time_t.c: add tm_*_t details
03-02-14 time_t.c: fix ns_t time part logic
03-01-31 time_t.c: clarify { tm_hour_t tm_mon_t tm_wday_t } docs
03-01-30 time_t.c: add tm_set and { tm_hour_t tm_mon_t tm_wday_t }
03-01-28 time_t.c: update for Cxtype_t.Cxmember_t
03-01-22 time_t.c: add format details string docs
03-01-20 time_t.c: add type.format.details defaults
validate changes03-04-05 avoid possible floating point underflow/overflow 03-02-11 Vmbest => Vmlast 03-01-27 keep per field dict of all invalid values for summary 03-01-26 add unknown map value dictionary 03-01-21 add cxlocation() to errorf messages 03-01-11 first release
graph changes00-03-06 snarf graph from plotutils-2.3
homepage changes02-04-11 *.ps => *.pdf, add pzip SODA pdf 02-02-19 drop :WWWMAN: -- now handled by package admin 99-04-01 first release
html changes
03-03-25 mm2html: table border size '' => 0
03-02-06 troff2html.c: fmtquote() FMT_ALWAYS update
02-10-24 mm2html: viewgraph link target is _top too
02-10-15 mm2html: ident footer is now a TABLE instead of a DIV
02-08-30 mm2html: .AL with no args is equivalent to .NL
02-08-26 mm2html: fix .VL mark indent logic
02-08-19 mm2html: ignore .fp
02-06-09 mm2html: expand mailto address pattern match
02-05-31 mm2html: check .vG arg count before shift
mm2html: \ => \
02-03-17 mm2html: add .SG no-op
mm2html: check .EX figure# label args
mm2html: add .so/.sn dir search to .BP
02-03-15 mm2html: add LC_NUMERIC=C for floating point constants
02-02-14 mm2html: shorten indentation
02-01-16 mm2html: handle .so and .xx in getline
mm2html: .sn and .so look in dir of including file
01-10-20 htmlrefs: fix <!--INTERNAL--> filter delete detection, GLOB_AUGMENTED
01-05-09 mm2html: ignore a few more requests
01-05-04 mm2html: more tbl adjustments from Bruce Lilly
01-05-02 mm2html: tweak tbl column spacing, handle .TH [N]
01-05-01 mm2html: tbl fixes
01-04-27 mm2html: fix .SH,.SH indentation; ignore { .nh .hc .hy }
01-03-22 mm2html,troff2html: ignore { .hw .lw }
01-03-01 troff2html: fix bug that treated 0093;? as #0093;?
01-02-28 troff2html: add and fix macros for y2k -- oops
01-01-31 htmlrefs: fix nul char bug in <!--INTERNAL--> filter
01-01-01 mm2html: fix incorrect \h'... #local refs
mm2html: append <!--LABELS-->...<!--/LABELS--> for second pass
mm2html: add .xx [no]index to inhibit or restart index labels
mm2html: add .xx noFOO, .xx [no]index
mm2html: .xx begin|end before <BODY> gets copied to <HEAD>
mm2html: identification trailer aligned right
htmlrefs: <!--INTERNAL--> in index.html <HEAD> skips file/dir
00-12-14 mm2html: fix tbl colspan
00-12-12 mm2html: ignore bgcolor for table with no box
00-12-07 download: .tar.gz => .tgz
htmlrefs: add --delete
00-12-05 mm2html: add .PM
mm2html: <id@id.id...> => mailto:
00-11-27 mm2html: --frame is now 1 level instead of 2; no *-body and *-head
mm2html: add .IS ... .IE indentation
mm2html: .LR foo (1) generates man link
htmlrefs: add https support
00-10-31 htmlrefs: remove if internal filter leaves <= 1 line
00-05-25 mm2html: add viewgraph outline and navigation
00-05-11 mm2html: add .vG viewgraph macros
00-03-04 htmlrefs: add <LINK rel=dynamic>
00-02-14 htmlrefs: add .htaccess and <LINK> checks
mm2html: add .xx ref=...
mm2html: use "..." tag attribute quote instead of '...'
mm2html: .BL => <UL> square circle disc
00-02-03 mm2html: fix -o nohtml.ident
00-01-20 mm2html: fix -o quoted arg parse
htmlrefs: add --perlwarn for embedded perl constructs
99-08-11 mm2html,troff2html: add .xx begin=x end=x
mm2html: handle simple .TS ... .TE; room for improvement
mm2html: fix <TABLE><TR>...</TR></TABLE> nesting
mm2html: add SEE ALSO hot links
mm2html: hot link man name not (section)
99-05-17 download,html2db,mm2html: long options
99-05-13 html2rtf: long options
99-04-01 fix .xx link
long options, macro search bug fix
99-01-01 html2rtf: fix </LI> with no <LI> core dump
98-04-01 add company corporation location meta.* organization
97-05-09 info tollbar=path for junk before </BODY>
97-05-01 \h'0...' for hyperlinks
97-04-01 first release
ie changes01-04-25 vi.c: handle implementations with VEOL but not VEOL2 00-02-14 ie: ie.sh script replaces ie fun ie: convert configure/* => features(ielib|options.sh) 99-11-19 Makefile: fix sh_config.h for 2d -- eventually should use iffe 98-03-11 workaraound for sgi dllnext() botches 98-02-02 initial release snarfed from ksh88i source
imagemagic changes00-03-17 Nmakefile + config.iffe replace *makefile + *conf*
ipg changes02-09-15 fix sizeof(long)==64 bug 00-10-23 drop NORMBITS to 20 to keep mem down 00-09-08 add mask table generation 00-08-11 first release
ksh93 changes
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 \,
lpm changes
03-01-24 update for void* => Dssrecord_t*
02-11-20 dynamic link for dss support libs
02-09-04 rename Lpm_FOO_t to LpmFOO_t for consistency with the rest of ast
02-08-14 Makefile: dssmeth==dss_init for statically linked dss bgp method
02-05-30 lpm.c: use -ldss to scan prefix tables
02-03-17 lpm.c,lpmscan.c: fix invalid ip address exit codes
02-02-08 lpm.h,lpm.c: add LPM_TERMINAL and --terminal
01-12-07 lpm-retrie.c: add <brt.h> binary retrie file generation
01-10-18 Makefile: adjust test for methods that handle only 1 byte hops
01-10-10 lpm-retrie.c: add zerobits initialization option
01-09-19 lpm-forest.c: update for new dttreeset()
01-09-04 bgplib.c: fix pathattr() size mask
01-08-11 add <bgp.h> router log parser
01-08-07 add suez router project hac method
01-08-01 add addr file . to generate addrs from 255.255.255.255 through 0.0.0.1
01-07-31 method implementation for { retrie lctrie ctable nested forest }
01-06-12 Nmakefile: install lpm.h!
01-06-08 add --flat for flat file cluster output
01-02-28 add -T0x100 to disable leaf vector collapsing
01-02-09 prototype for sun4
00-10-13 fix LPM64 mask shift bugs
00-09-15 handle arbitrary hop strings; add LPM64 alternate compile
00-09-05 eliminate conditional from 2 level loop unroll
00-08-28 first release from old { ipmask ipm32 lpm32 }
lpm-old changes
02-04-02 retrie.c: fix depth==1 retrie generation bug
lpmmake.c: fix xp==rp range mark bug
01-06-12 Nmakefile: install lpm.h!
01-06-08 add --flat for flat file cluster output
01-02-28 add -T0x100 to disable leaf vector collapsing
01-02-09 prototype for sun4
00-10-13 fix LPM64 mask shift bugs
00-09-15 handle arbitrary hop strings; add LPM64 alternate compile
00-09-05 eliminate conditional from 2 level loop unroll
00-08-28 first release from old { ipmask ipm32 lpm32 }
mailx changes
03-01-17 add shquote() to quote popen pathnames; fix save to -f core dump
02-12-12 imap.c: handle no-name attachments
02-12-11 head.c: application of DeMorgan's law proves Murphy's
02-12-04 local.h: include FEATURE/lcl from lcl.iffe to avoid local.h clash
02-11-22 head.c: convert unfriendly attachment path name characters to '_'
02-10-31 imap.c: drop obsolete RFC2060 FETCH args
02-10-20 spam.c: test=0x0060 for Authentication-Warning: checks
02-10-16 spam.c: test=0x0010 to verify From: in domain matches Received: hosts
02-10-08 mailx: fix a few strncopy() size off-by-ones
02-10-01 mailx: fix ancient buffer overflows by comitting to ast -- bye bsd
02-09-22 local.c: honor MAIL if its a regular file
02-09-08 add spambody to catch mail filter warnings embedded in message bodies
02-09-07 head.c: fix bug that retained mime boundary from previous message
02-09-04 head.c: add call to isdate() to verify ishead() dates
02-09-03 handle \r=> on input
02-08-28 vars.c: fix ${domain} initialization
02-08-21 spam.c: test=0x0004 for X-Authentication-Warning
send.c: disable interpolation "-- " signature test
02-06-07 spam.c: delay lower priority tests until all headers seen
02-05-31 imap.c: error messages to stderr -- duh
02-03-17 spam.c: add spamtest=bitmask: 0x0001: content-type==text/html
02-01-31 data.c: clarify imap var docs
02-01-30 local.iffe: add to handle no <termios.h> and ftruncate()
02-01-24 ifdef { SIGTSTP SIGTTOU SIGTTIN }
02-01-16 properly update References: in replies
01-10-15 `get attachment dir' copies attachment to dir
01-04-01 add state.var.hostname for smtp HELO
add fmtident() to initialize state.version
01-01-01 fix map bug that retained alias after expansion
smtp: add domain to RCPT TO: if omitted
00-11-27 add Date: and From: to smtp
00-09-21 drop leading */ from user name
00-05-09 add cd,pwd,${PWD},${OLDPWD} with ${CDPATH} check
00-05-04 lex: flush stdout before prompt!
00-03-17 add -Qn to get status of n most recent messages
fix imap -NS unread count
loosen up headerbotch header checks
00-02-29 handle multiline SMTP responses
99-07-17 fix imap reply via imap_setinput() omission
@x.y.z in spam list matches x.y.z domain suffix
tone down hostmatch(), check unknown in Received:
fix $MAIL lock by checking syscall return value -- how novel
add -S, -o justfrom
add -NS to print info and exit
spam: Message-Id: <>
spam: To: suppressed
spam: strgrpmatch() instead of strcasecmp()
imap: normalize imap message before send
98-12-25 "text/enriched" treated like "text/plain"
PART_text && PART_inline => in the body
98-11-11 `save +' with `set followup=+From' saves msg in `+From/sender'
98-06-01 fix header parse for message/rfc822
add sendmail=smtp://host sendmail=/dev/tcp/host/inet.smtp
98-02-14 more spam stuff
to==from==user isn't spam
Status: header means already scanned (MSCAN)
spam check in setinput() (either here or in setptr())
`---*' can separate headers from body
98-02-07 defined(SFIO_VERSION) insead of defined(printf) for sfio disciplines
98-01-11 set spam to mark spam candidates X
set spamlog=file to automatically log spam msgs on quit
set spamto=addr1,...,addrN for candidate spam recipients
set spamfrom=addr1,...,addrN for candidate spam senders
set spamsub=word1,...,wordN for candidate subject word prefixes
add :!x for messages not matching x
set local=domain1,...,domainN
check for nuls in mail file
set headerbotch treats nReturn-Path: as From line if not in header
97-11-27 couldn't resist the date
97-11-11 change fflush() (in stdio.h) to do physical seek to logical position
this should squash the empty message bug
97-10-31 replace ferror() checks with checks at the io ops
97-08-11 ~m with no messages no longer dumps core
sendmail="<_PATH_SENDMAIL> -oi" to retain `.' lines (least suprise?)
keep most descriptive content-type
97-07-17 -t implies SEND mode
set quiet still lists folder status on startup
attachments named n-m instead of n:m for fat fs
if no encoding type and mimeview(encoding) then its an encoding
97-02-14 [Ss]plit now takes message list arg, Split ignores headers
no longer dumps for non-empty files with no From
~f preserves attachment encoding/boundaries
text/plain with name="" is now an attachment
${MAIL} is default system mailbox
${MAIL}/.. is default system mailbox dir
96-09-06 version 9.6
set headerbotch to handle mailers that add space between std headers
set more[=prompt] to enable sfio more discipline (overrides PAGER)
alias < file (note space around <) to read sendmail alias file for map
join [messagelist] -- reply with auto ~m ~v
Join [messagelist] -- Reply with auto ~m ~v
multipart content converted to print/type/split (attachment) lines
get attachment-index [path] after print/type decodes attachment to file
~g file interpolates content for multipart message
~g `uuencode -h -x base64': no header/trailer, base64 encoding
set fixedheaders="hdr1dr2..." added to outgoing message header
help [ command | ~ [ command ] set [ variable ] ]
set MAILCAP; get checks ${MAILCAP} for view command(s), Get doesn't
mime [ pattern[;] command | < file ] -- add/del/list mime capabilities
alias case insensitive -- mail addrs and sendmail aliases are anyway
use <cdt.h>
use <mime.h>
mark [messagelist] mark
folder directories treated as mh folders
set inbox=+inbox -- SAVE messages not held in this mh folder
SAVE messages deleted from any mailbox
cast off_t %ld to (long) -- how do you say long long in portable?
if displayed message from me then don't ignore To:
mailbox() attempts all standard places
retain mime type/encoding in lower case
96-08-11 version 9.0
convert to prototyped ANSI C
all non-shared externs static
globals into state.*
internalize mail.help and mail.tildehelp
alternates: equivalent to: alias alt[i] myname
split to split messages into numbered files
blast,Blast to blast message headers and body into name=value list
if "a" [ == != ] "b"
${mode} is readonly with value either "send" or "receive"
some options are readonly
some options may only be set on command line
some options may not ne set while sourcing
most command line flags have option names
set all shows unset vars too
msgcc changes
02-03-11 msgcc: fix merge replacement threshhold logic
msggen: convert { \a \b < > >\r \v } back to C escapes
msgcpp: set pp:modern
02-02-14 msggen: add -f to list printf format signatures
01-10-10 msgcc: allow some email forms to pass
01-06-10 msgcpp: add proper escapes to OMIT pattern
01-05-29 msgcc: add similar unused message replacement, -M-similar
01-04-22 msgcc,msggen,msgget: use mcindex()
01-01-31 ignore ls generation errors
00-04-20 first release
ncsl changes99-09-01 add usage[] 96-10-11 first release
nmail changes
98-06-01 fix header parse for message/rfc822
add sendmail=smtp://host sendmail=/dev/tcp/host/inet.smtp
98-02-14 more spam stuff
to==from==user isn't spam
Status: header means already scanned (MSCAN)
spam check in setinput() (either here or in setptr())
`---*' can separate headers from body
98-02-07 defined(SFIO_VERSION) insead of defined(printf) for sfio disciplines
98-01-11 set spam to mark spam candidates X
set spamlog=file to automatically log spam msgs on quit
set spamto=addr1,...,addrN for candidate spam recipients
set spamfrom=addr1,...,addrN for candidate spam senders
set spamsub=word1,...,wordN for candidate subject word prefixes
add :!x for messages not matching x
set local=domain1,...,domainN
check for nuls in mail file
set headerbotch treats nReturn-Path: as From line if not in header
97-11-27 couldn't resist the date
97-11-11 change fflush() (in stdio.h) to do physical seek to logical position
this should squash the empty message bug
97-10-31 replace ferror() checks with checks at the io ops
97-08-11 ~m with no messages no longer dumps core
sendmail="<_PATH_SENDMAIL> -oi" to retain `.' lines (least suprise?)
keep most descriptive content-type
97-07-17 -t implies SEND mode
set quiet still lists folder status on startup
attachments named n-m instead of n:m for fat fs
if no encoding type and mimeview(encoding) then its an encoding
97-02-14 [Ss]plit now takes message list arg, Split ignores headers
no longer dumps for non-empty files with no From
~f preserves attachment encoding/boundaries
text/plain with name="" is now an attachment
${MAIL} is default system mailbox
${MAIL}/.. is default system mailbox dir
96-09-06 version 9.6
set headerbotch to handle mailers that add space between std headers
set more[=prompt] to enable sfio more discipline (overrides PAGER)
alias < file (note space around <) to read sendmail alias file for map
join [messagelist] -- reply with auto ~m ~v
Join [messagelist] -- Reply with auto ~m ~v
multipart content converted to print/type/split (attachment) lines
get attachment-index [path] after print/type decodes attachment to file
~g file interpolates content for multipart message
~g `uuencode -h -x base64': no header/trailer, base64 encoding
set fixedheaders="hdr1dr2..." added to outgoing message header
help [ command | ~ [ command ] set [ variable ] ]
set MAILCAP; get checks ${MAILCAP} for view command(s), Get doesn't
mime [ pattern[;] command | < file ] -- add/del/list mime capabilities
alias case insensitive -- mail addrs and sendmail aliases are anyway
use <cdt.h>
use <mime.h>
mark [messagelist] mark
folder directories treated as mh folders
set inbox=+inbox -- SAVE messages not held in this mh folder
SAVE messages deleted from any mailbox
cast off_t %ld to (long) -- how do you say long long in portable?
if displayed message from me then don't ignore To:
mailbox() attempts all standard places
retain mime type/encoding in lower case
96-08-11 version 9.0
convert to prototyped ANSI C
all non-shared externs static
globals into state.*
internalize mail.help and mail.tildehelp
alternates: equivalent to: alias alt[i] myname
split to split messages into numbered files
blast,Blast to blast message headers and body into name=value list
if "a" [ == != ] "b"
${mode} is readonly with value either "send" or "receive"
some options are readonly
some options may only be set on command line
some options may not ne set while sourcing
most command line flags have option names
set all shows unset vars too
nmake changes
03-04-22 rules-win32.mk: drop :PACKAGE: Xm override -- handled by uwin
03-04-15 mam.c: output P_ignore attribute
Makerules.mk: fix the mam .DO.INSTALL to compare before mv to .old!!
03-04-05 expand.c: add :W=P: for ordered recursive prereqs
Makerules.mk: add recurse=prereqs
pkg-X11.mk: add openbsd.* -lc_r pthread workaround
Makerules.mk: add .PACKAGE.$(P).found:=1 if package lib or header found
Makerules.mk: optional :PACKAGE: rhs must now be marked :dontcare
Makerules.mk: pure recursion makefiles make .RECURSE first by default
Makerules.mk: .NORECURSE inhibits default .RECURSE first
Makerules.mk: fix .DO.INSTALL directory prereq omission
Makerules.mk: add .BELIEVE for initialization, e.g., after mamake
bind.c: fix rebind alias bug
misc.c: limit `mtime after the epoch' warnings to { S_ISREG S_ISDIR }
03-03-28 Makerules.mk: eliminate CC.STDINCLUDE before -I- too
03-03-27 Makerules.mk: add :PACKAGE: *:attributes:*
pkg-X11.mk: fix CC.REQUIRE.Xm
rules-win32.mk: add :PACKAGE: Xm:attributes:static
03-03-21 command.c,object.c: always emit target name for --mam=dynamic
03-03-19 expand.c: add :W=R: for true :MAKE: recursion order
state.c: add test 0x00040000 to set failed event to staterule event
nmake.tst: add first regression tests since 1984 -- yes, I'm ashamed
Makerules.mk: change :W=O: to :W=R:
Makerules.mk: use CC.LD.RUNPATH for LDRUNPATH and non-std dirs
Makerules.mk: drop MAKEDIRS .RECURSE.OFFSET. -- not needed with :W=R:
03-03-15 Makerules.mk: fix debug=1 to delete $(CC.OPTIMIZE) from CCFLAGS
expand.c: fix SORT_* comparison function selection
03-03-11 expand.c: add ~ edit op sep
expand.c: limit edit op [~!<>=] sep to one occurrence
expand.c: add :H=[FINUV]: alternative to edit sep overload
expand.c: add :L~: to use version comparison
Makerules.mk: use :H=[FINUV]: and :L~:
Makerules.mk: add pkgconfig(1) .pc file support in :PACKAGE:
Makerules.mk: fix %.sh=>% :T=E: misquote (ancient!)
03-03-03 Makerules.mk: .MAM.INIT handles debug=1 for CC.DEBUG vs. CC.OPTIMIZE
Makerules.mk: add 'test : .DONTCARE .ONOBJECT'
Makerules.mk: another prefixinclude fix -- my head hurts
Makerules.mk: pass recursive $(=) by value ( $(=:V) )
misc.c: fix :F=[LUV]: translation
03-02-28 Makerules.mk: YACCFIX workaround for bison yytoken addition
Makerules.mk: include $(LDLIBRARIES) in %.req
Makerules.mk: fix .BIND.-l% comparison on CC.PREFIX.SHARED
debug.mk: handle .o scope prereqs
variable.c: fix $(!) internal.val conflict
03-02-24 option.c: drop --mismatch alias for --corrupt
03-02-12 Makerules.mk: handle multiple lhs for :INSTALLDIR:
03-02-06 pkg-freetype.mk: add
03-01-31 Makerules.mk: mark .PACKAGE.LIBRARIES. hints .DONTCARE
Makerules.mk: :PACKAGE: add to .PACKAGE. first, then include pkg-*.mk
03-01-23 Makerules.mk: more prefixinclude tweaks
03-01-11 Makerules.mk: CATALOG default is $(.CATALOG.NAME.)
03-01-10 Makerules.mk: parameterize all silent => $(SILENT)
02-12-21 --- release 4.3 ---
02-12-18 Makerules.mk: :NOOPTIMIZE: "..."'d operator arg shenanigans
02-12-16 Makerules.mk: disable .ARCOPY for linked targets
02-12-06 Makerules.mk: sync CC.MAKE.OPTIONS,nativepp,prefixinclude logic
02-12-04 Makerules.mk: fix contorted .so editing for - and n.n.n versions
Makerules.mk: parameterize CC/cc suffixes in { .SUFFIX.c .SUFFIX.C }
Makerules.mk: use { .SUFFIX.c .SUFFIX.C } in :cc: list generation
Makerules.mk: parameterize fortran suffixes in { .SUFFIX.f .SUFFIX.r }
Makerules.mk: %.f is now equivalent to %.F
Scanrules.mk: use { .SUFFIX.c .SUFFIX.C .SUFFIX.f .SUFFIX.r }
Scanrules.mk: change .SCAN.F to .SCAN.fql -- who cares?
02-12-03 rule.c: don't .UNBIND M_bind rules (questionable=0x02000000)
02-12-02 Makerules.mk: prefixinclude=0 if CC.DIALECT has -I-
make.c: add mutually dependent requirement loop check (for -l loops)
02-11-28 main.c: don't close error_info.fd in startup
02-11-21 Makerules.mk: dll version "-" bug that removed the installed dll!
02-11-20 Makerules.mk: fix :cc: to handle all C source suffixes
02-11-12 Makerules.mk: handle CC.LD.ORIGIN and CC.LD.STRIP
02-10-31 main.c: change exit()=>return for pedantic lint
02-10-28 bind.c: add GLOB_NOTDIR optimization to gl_dirnext
02-10-25 eliminate a few uninitialized variable references
02-10-20 Makerules.mk: add :NOTHING: (:ALL: or ...)
02-10-16 Makerules.mk: fix :MAKE: for rhs files
02-10-02 state.c: (-Q0x01000000) $(>) use min(r->time,state(r)->time)
misc.c: tmform() => fmttime(); %K default time format
02-09-22 Makerules.mk: drop ${mam_cc_STATIC} for +l binding
expand.c: fix mam $(FOO|BAR) => ${mam_cc_FOO-${mam_cc_BAR}} conversion
02-09-11 make.probe,probe.win32: move to INIT src to share with mamprobe
Makerules.mk: add a few more mam_cc_* refs (mamprobe mostly complete)
Makerules.mk: don't install .a only on .dll+.lib systems
Makerules.mk: add :PACKAGE: :ignore=dir:, PACKAGE_IGNORE
Makerules.mk: .PACKAGE.INIT. always initializes .PACKAGE.GLOBAL.
Makerules.mk: add STDCMP to MAM install action
02-09-07 Makerules.mk: disable lib REQUIRE closure if from CC.REQUIRE.*
02-09-05 Makerules.mk: drop .NO.STATIC foo.a => foo-static.a rename
02-09-01 Makerules.mk: add RMRECURSEFLAGS=-r
Makerules.mk: assume mkdir -p (handled by INIT install)
02-08-30 make.c: modified .JOINT siblings now trigger action
02-08-06 make.h: { setbit shquote } macro rename to appease netbsd -- barf
02-07-17 make.c,parse.c: allow keepgoing to be set by .QUERY
02-06-11 Makerules.mk: :F=%(...)S: => :F=%(...)s:
misc.c: %S %C obsolete warning
variable.c: fix $(!) that improperly skipped !rule.scan && PREREQS.scan
02-06-07 state.c: stat() after close() instead of fstat() before for cygwin
02-06-06 Makerules.mk: fix $(output) to handle -$(VERSION) already in $(PWD)
02-05-28 probe.win32: updates for { mingw }
02-05-24 probe.win32: updates for { digital-mars borland lcc }
02-05-20 expand.c: update to use regsubcomp(),regsubexec()
02-05-09 expand.c: fix cross() so / X foo generates /foo, not //foo
02-05-07 archive.c: use <ardir.h>,-lardir for library archives
02-05-06 probe.win32: add more win32 compilers
02-04-15 Makerules.mk: fix .DO.INSTALL ln-s to use proper source path
02-03-29 Makerules.mk: CC.SUFFIX.SHARED==".lib" => CC.SUFFIX.DYNAMIC==".dll"
make.probe: cygwin CC.PREFIX.SHARED=lib CC.SUFFIX.SHARED=.dll.a
02-03-27 Makerules.mk: fix .BIND.-l% and .REQUIRE.-l% recursion checks
02-03-23 Makerules.mk: ensure that _BLD_<variant> is valid identifier
Makerules.mk: add .LIST.INSTALLED for existing files only
Makerules.mk: add $(LICENSEFILE) to .FILES.
02-03-14 variable.c: add label to --mam "setv"
02-02-14 makerules: add and use CMPFLAGS
makerules: add win32 ar I flag only when installing .a
makerules: iffe { CC CCFLAGS LDFLAGS } => { IFFECC ... }
scan.c,variable.c: .SCAN.IGNORE must ignore state prereqs too
main.c: fix final message sequence for .ERROR intercept
state.c,variable.c: fix $(?x) when state(x) exists but rule(x) doesn't
makerules: add .SHARED.UNIQ. to .COMMAND.o (required by sgi.mips3)
02-02-02 makerules: mark :VARIANT: target .SPECIAL
makerules: use STDED & STDEDFLAGS to differentiate from ED=vi
makerules: drop ED & EDFLAGS
Makeinstall.mk: add STD* probe with possible execrate(1)
makerules: inhibit lib/lib closure for CC.DIALECT==CLOSURE
probe.win32: add CC.DIALECT CLOSURE to inhibit .lib closure
option.c: -S => -S0
makerules: fixed .SHARED.UNIQ. to ignore .MULTIPLE -- duh
02-02-01 makerules: fix .IFFE.REF. for \rsystems -- barf
02-01-22 makerules: ARFLAGS += I for CC.DLL on win32.*
02-01-15 makerules: fix $(CC.PREFIX.DYNAMIC) logic in .BIND.-l%
makerules: mark $(CC.SUFFIX.DYNAMIC) .SCAN.IGNORE
02-01-11 makerules: fix $(CC.SUFFIX.LD) prereqs for :LIBRARY: dlls
make.probe: add .ign to cygwin CC.SUFFIX.LD
02-01-10 makerules: add proto -e arg to lhs of :INSTALLPROTO:
probe.win32: add .ign to CC.SUFFIX.LD
02-01-08 makerules: initialize HOSTCC to $(CC)
02-01-07 makerules: fix .LIBRARY.STATIC.* binding
02-01-04 makerules: .REQUIRE.-l% includes pkg-%.mk of lib+prereqs before bind
01-12-26 makerules: .REQUIRE.-l% includes pkg-%.mk if it exists
01-12-24 pkg-X11.mk: add CC.REQUIRE.Xaw3d
01-12-20 makerules: fix .RECURSE.INIT to use only first match of $(MAKEFILES)
01-12-19 makerules: foo :VARIANT: ... implies _BLD_foo==implies _BLD_foo==1
01-12-18 makerules: sync .SOURCE.a between .BIND* and .PACKAGE* (again!)
01-12-15 command.c: fix bug that discarded a running job twice
01-11-30 command.c: exit 128 silently marks job error but continues
01-11-25 command.c: add .JOBDONE(target status user sys) .FUNCTION
01-10-31 makerules: adjust .SOURCE.mk to ensure user specified dir order
makerules: search MAKERULESPATH for ppcc rather than just MAKELIB
makerules: delay CC.SHARED.REGISTRY expansion
bind.c: add debug=14 directory search order trace
make.probe: fix CC.SHARED.REGISTRY probe typo
01-10-30 makerules: _BLD_foo==1 only for foo :LIBRARY: source
01-10-20 makerules: fix --mam bug that didn't parameterize HOSTCC
makerules: fix .PACKAGE.INIT. and .BIND.-l% to use the same search!
bind.c: foiled alias still allows bind questionable=0x40
expand.c: allow all edit op delimiter combinations (e.g., !>, <>)
make.probe: fix CC.DLL probe for gcc __ia64
01-10-18 misc.c: clear SFFMT_LONG for %[cCsS] to avoid wide char conversions
01-10-17 misc.c: add %a %A format, fix unknown format core dump
01-10-15 makerules: fix .SELECT. bug that improperly dropped .ARCHIVE
01-10-11 make.probe: fix CC.WARN probe for C++
01-10-10 Makerules.mk,make.probe: add { SHELLMAGIC CC.SHELLMAGIC }
01-10-05 make.c: add -Q0x00800000 to disable r->status=FAILED when errors!=0 !!
01-10-02 makerules: :YYPREFIX: invert case for macro prefix
01-09-28 makerules: fix .RWD. and .OWD. usage
01-09-24 fix $(.GETCONF x) builtin
01-09-19 make.probe: add cygwin dll build probes
probe.win32: sync with make.probe
makerules: include debug.mk by default
makerules: .dll+.lib rule now passes .dll suffix to $(CC.LD)
make.probe,makerules: add CC.PREFIX.(ARCHIVE|DYNAMIC|SHARED)
make.probe,makerules: change CC.SYMPREFIX to CC.PREFIX.SYMBOL
makerules: fix .RECURSE and .ONOBJECT to hit sub :MAKE: levels
01-09-17 makerules: fix PACKAGE_OPTIMIZE logic
01-09-11 expand.c: use pathnative() for native fs representation
openar(): must open with "b" mode
state.c: open state with "b" mode
01-09-08 makerules: add *.a prereqs to dll link
01-09-04 makerules: +l* bind conditioned on .LIBRARY.LIST. for dll builds
01-08-11 makerules: reference $(CC.DLL.LIBRARIES) last and in link args only
makerules: +l* in req list now checks .PACKAGE.*.library for -l*
parse.c: fix `r to act like `n'
make.h: add FSWINDOWS to include { _WIN32 _UWIN __CYGWIN__ }
01-07-17 makerules: fix :LIBRARY: to honor LDLIBRARIES
01-06-21 misc.c: fix strtoll and strtoull macro rename
01-06-10 makerules: add CC.NATIVE for native objects
01-06-07 command.c: fix job deadlock bug that improperly broke the loop
01-05-31 makerules: add option rhs to :DLL:
makerules: :PACKAGE: add :(optimize|space|time) for PACKAGE_OPTIMIZE
makerules: add CC.HOSTTYPE != CC.EXECTYPE for IFFEFLAGS
make.probe: add CC.EXECTYPE
make.probe: fix { ld nm size strip } search
make.probe: adjust probe_shared order for linux.arm gcc
option.c: add --cross to not run generated executables
01-05-30 make.probe: add CC.NATIVE
01-05-28 make.probe: add CC.STRIP and CC.STRIP.FLAGS
makerules: add PACKAGESTRIP check for .LIST.PACKAGE.BINARY
01-05-26 expand.c: add :T=Y: for mime type
01-05-09 --- release 4.2 ---
make.h: isdynamic,isglob,isstatevar: functions to factor out strmatch()
expand.c: add T=XQ[S[AV]|V[I]] to factor out strmatch() in base rules
rule.c: speed up associate() by factoring out attributes
01-05-01 expand.c: order() now handles :PACKAGE: foo:command
01-04-26 makerules: null out cctype and .CC.PROBE. for --base
makerules: fix .REQ. bug that missed :LIBRARY: targets
01-04-25 makerules: add variants=pattern to select cc- variants
makerules: add .VARIANTS alias for .CC-
option.c: fix bug that omitted readonly option values in .mo
01-04-24 makerules: :DLL: sets VARIANT=DLL
01-04-18 object.c: fix CC_NATIVE!=CC_ASCII buffer overflow
make.probe,makerules: mvs.390 adjustments for CC.LIB.DLL=symbol
01-04-01 scan.c: fix * scan match bug that gave up too soon
01-03-08 printext: handle %*C
01-02-26 makerules: CC.SUFFIX.STATIC get .ARCHIVE attribute
makerules: add .NO.ARPROFILE to defer to dll prereqs for dll target
pkg-X11.mk: check libXmu.sa for openwin
01-02-14 make.probe,makerules: add CC.DLL.LIBRARIES, CC.DLL.ALTERNATES
make.probe: linux needs CC.DLL.LIBRARIES=-lc for binary compatibility
probe.win32: change to CC.STATIC=-Bstatic, dynamic is now the default
makerules: drop .SCAN.IGNORE for .DO.INSTALL.DIR
makerules: fix .SHARED.BIND. to pull in dynamic refs
makerules: change .OFFICIAL diff style to -u
mam: add `bind -lX [dontcare]' to simplify library binding
command.c: fix job deadlock bug that used archive before it built
01-02-07 Scanrules.mk: add .cxx for C++
01-02-02 makerules: bias package search to viewpath and make installroot
makerules: *.req can be down the view
01-01-01 --- release 4.1 ---
expand: fix :D: to preserve leading / -- how long has this been wrong?
makerules: fix .PACKAGE.INIT. for dir == /
makerules: $(PACKAGE_PATH) is list of default package root dirs
makerules: add recurse=list to list recursion order and exit
makerules: _BLD_DLL==1 when building dll's
makerules: link dll with static -l*
makerules: check =l% bound dir in .REQUIRE.-l% PACKAGE_%_LIB
expand: eliminate loops from :W=O:
parse: add exit [code]
bind: eliminate dups for 2d glob
00-12-25 makerules: add header arg to :YYPREFIX:
makerules: add :T=AF: for .ARCOPY
probe.win32: add cc path *and* args to first line to avoid hash clash
00-12-18 ppcc: check for old bash
00-12-15 makerules: handle uwin $(CC.DLL) => -D_BLD_DLL change
00-12-14 main: initialize version with fmtident()
00-12-12 makerules: bias :PACKAGE: search for $(INSTALLROOT)
make: use stat() instead of access() for better NFS behavior
00-12-11 makerules: _BLD_DLL only for _DLL lib members
00-12-03 debug.mk: add %.inc for -H include nesting
00-10-31 option: --corrupt={accept|error|ignore}, --mismatch => --corrupt
makerules: req file must be seen at of before the lib
makerules: fix AWK and NAWK default definitions
makerules: physical=1 => 2d iff in 3d
pkg-tcl.mk: add CC.DLL, don't clobber TCLROOT
makerules: define _PACKAGE_foo in .PACKAGE.INIT.
makerules: add .VIEW to .MAMEDIT and .MAMACTION
00-10-28 makerules: drop MAKEFILES filter on .SELECT. (why was it there?)
00-10-26 make.c: fix .JOINT sync bug
makerules: add $(PACKAGES expr) and :VARIANT: rhs expr
expand.c: add :T=F[BCFLPR]: to test file type
makerules: cut down the number of --mam -L options for .req
00-10-25 makerules: set +x => set -
makerules: add set - to .req MAM action for zsh
00-10-24 makerules: add :PACKAGE: name:lib=lib:include=include name:command
makerules: add :VARIANT: to cc-%
00-10-18 C+probe: mac os10 additions
add cc.darwin.ppc for max os10
00-10-16 object.c: don't compile makefile prereqs if state.base
00-10-12 misc.c: add %x and %X formats to printf extension
00-10-04 makerules: fix bug that passed -I- to non--I- CC
00-10-03 makerules: add :YYPREFIX:
00-09-21 expand.c: add libxxx and xxx to makefile ordered prereqs
00-09-07 makerules: handle rhs a=b in :LIBRARY:
00-08-11 archive.c: add aix <bigaf> archive format
bind.c: add glob() gl_intr check
00-07-17 makerules: fix $(cctype) freeze in makerules.mo
00-06-20 makerules: mam_lib_* always checks lib/lib/* file
00-06-19 makerules: generate dll in lib.so/libNN.dll
00-06-01 main,state: a few _UWIN tweaks for W98 FAT
00-05-31 shquote: fix for `foo == bar'
00-05-26 option: fix scanargs() bug that skipped some targets before options
00-05-22 makerules: drop .ORIGINAL.ALL
00-05-11 makerules: add :PACKAGE: { a b } to pick first of a b (thanks Dr. ek)
00-05-01 makerules: add $(STDCAT) initialization
00-04-01 makerules: add skeleton=1 to mkdir virtual directories in 2d
makerules: add CATALOG and ERROR_CATALOG
00-03-17 make.probe: fix CC.NMEDIT to grab only external text symbols
makerules: add :NOOPTIMIZE:
makerules: allow N.Ntag :LIBRARY: versions (and dll.custom)
makerules: insert $(*FLAGS_DEFAULT) on *FLAGS
makerules: don't omit -L*/local/* even if in CC.STDLIB
parse.c: `unknown operator' now a warning
00-03-07 pkg-X11.mk: add -lXaw candidate required libraries
00-03-06 add probe.lcl check
00-02-14 --- release 4.0 ---
00-02-10 Makerules: add CC.DLLBIG, :PACKAGE_INIT:
Makerules: add .ARCHIVE.OMIT. to .ARCLEAN.LIST.
Makerules: adjust :PACKAGE: search for X11 => X
Makerules: add .COMMON.SAVE to .LIST.PACKAGE.* source actions
Makerules: fix setv PACKAGE dirs
Makerules: add $(PACKAGE_LOCAL) and package_local=arch cmd prefix
Makerules: apply %.X>% for `f :: b.X'
state.c: add local skew test for touch(3) { utime(2) or utimes(2) }
make.c: don't apply metarule if lhs has dir and metarule doesn't
00-02-08 believe if state.believe>0 and view level >= (state.believe-1)
pkg-X11.mk: add PACKAGE_X11_VERSION=6 for X11R6 installations
pkg-X11.mk: add -ldnet_stub for osf.alpha
Makerules: fix .REQUIRE.-l%
00-01-31 Makerules: add $(CC.SUFFIX.LD) in .SHARED.REF.lib
00-01-25 Makerules: add _MAKE_PROBE_WORKAROUND_ for broken cc -G like sco.i386
00-01-11 Makerules,probe.win32: -Bwhole-archive + -Bstatic -- whew!
Makerules: make $(LICENSEFILES) for --mam
Makerules: add $(DICTIONARY) to USAGE_LICENSE
make.probe: hosttype now in C.probe
expand: fix :P=L: path buffer overrun
99-11-11 expand: add :P=W: for astlicense()
expand: :P=N: null input generates null (not '')
bind: fix 2d globv() and bindfile() by adding state.view[].root - wow
bind: fix 2d :P=L=*:
mam: capture important empty exec make-done pairs
main: make sure external.pwd is valid
Makerules: iffe --static=x => iffe -S x
Makerules: explicit :INSTALL: inhibits :: install
Makerules: add MM2HTML
Makerules: install cc- => cc-install
Makerules: add .MAM.CCFLAGS to handle .CC.NOOPTIMIZE
option.c: clean up --errorid
option.c: add set readonly for state.readonly hook
Makerules: use set readonly for INSTALLROOT and PACKAGEROOT
make.probe: sco CC.WARN=-w3
make.probe: CC.MEMBERS => CC.LIB.ALL CC.LIB.DLL CC.LIB.UNDEF
expand: add :U[!]: for uniq [file equality] list
Makerules: IFFEFLAGS initialized in .MAKEINIT
rule: make sure PWD and VPATH are both logical or physical
parse: add "x" <|>[=] "y"
Makerules: add LDLIBRARIES to .SHARED.lib
99-10-31 Makerules: add :PACKAGE: => :package: if lhs
Makerules: :MAKE: with no rhs driven by MAKEDIRS and MAKESKIP
Makerules: add :Q: to "::" assertion scope items (yuk)
Makerules: add LICENSE hooks, USAGE_LICENSE
expand.c: add :P=G: to do viewpath glob, :W=O: to order subdir descent
expand.c: add :O=N:
expand.c: pretty up :Q:
expand.c: add :P=V0: for top view logical name of bound file
rule.c: add globv() for rhs patterns -- strictly . relative down view
make.probe: fix nmflags logic (for aix -p, portable not)
99-10-01 Makerules: add %.iffe
make.c: handle metarule .ACCEPT
99-07-17 mam.c: outer make...done for virtual joint target
command.c: fix job deadlock detection
Makerules: don't pp probe if CC.CC == ""
Makerules: allstatic=1 for +l propagation, 0 for item only
Makerules: fix $(.SHARED. ...) usage
Makerules: :INSTALL*: now handles dir on rhs
Makerules: add %.cxx
Makerules: add .ti to clobber list
Makerules: cc-: `~' => space if specified, otherwise `,' => space
Makerules: add recurse_enter and recurse_exit
misc.c: add %[eFfFgG] print formats
expand.c: generate() lists primary and secondary by default
Makerules: add .author and PROTOID to PROTOCOPYRIGHT
Makerules: allow state on :INSTALL*: rhs
Makerules: .CC.MEMBER: jobs>0 workaround: a bug coverup
Makerules: add :PACKAGE: debug profile CC.LIB.TYPE
expand.c: fix putptr(0) base addr switch
.SCAN.IGNORE: don't block on these - duh
99-07-17 --- release 3.6 ---
99-06-24 Makerules: fix .SHARED.ON. test
99-06-15 make.probe: shlib before others, /var/shlib, -none == ! -all
99-06-14 Makerules: +lfoo applies to self, not to .req members
99-05-09 option: separate usage string stream
99-05-01 main: long options
99-04-22 Makerules: fix :LIBRARY: for version "-" (no version)
99-04-01 Makerules: -mam cleanup
Makerules: %.req version bug fix
Makerules: :PACKAGE: :nolibrary means it -- don't pull it in
Makerules: .REQ. fix
Makerules: fix .req -mam cc script
expand: regfatalpat() for regcomp() pattern in error messages
option: first optget() interface -- could be more complete
99-03-17 Makerules: %.req just binds -- duh
Makerules: .RECURSE clears .RWD.
Makerules: handle `lib - :LIBRARY: ...' => no VERSION
make.probe: CC.DEBUG CC.HOSTTYPE CC.OPTIMIZE CC.STRICT CC.WARN
main.c: command line scripts done after .MAKEINIT
main.c: test 0x00020000 to close openfd before coexec
make.c: D_scope prereqs take effect in make() too
99-03-01 Makerules: add :P=C: to .MANIFEST.
99-02-14 make.probe: move some init stuff from C.probe
make.probe: deal with gcc/ld writing errors to stderr with 0 exit code
trap: clean up .INTERRUPT interface
Makerules: :PACKAGE: -l* .MULTIPLE
Makerules: fix :: :LIBRARY: for cmd and lib by same name
object.c: retain D_global in load()
Scanrules: fix .PFX.INCLUDE test
99-01-23 Makerules: *.req.REQUIRE : .IGNORE
Makerules: add -f $(MAKEFILE) to .RECURSE $(MAKE) args
Makerules: .REQUIRE.-l% checks $(PACKAGE_%_LIB)/lib/% first
Makerules: make :PACKAGE: search picky about version
Makerules: handle :PACKAGE: -lfoo
Makerules: PACKAGE_%_VERSION defined
make.probe: use full path for NM, etc.
make.probe: libpath not added to CC.STDLIB
99-01-11 Makerules,make.probe: CC.MEMBERS.UNDEF
Makerules: fixed .SHARED.lib wrt :PACKAGE:
make.probe: tweak CC.STDLIB
98-12-25 Makerules: :LIBRARY: initializes VERSION var if not set
Makerules: add tgz, tarball; drop update*; pax and tgz recursive
Makerules: tarball uses VERSION
Makerules: `:: dir' adds dir to manifest
Makerules: arch-$(_hosttype_).mk architecture specific additions
Makerules: $(CC.DLL) uses local *.lib
expand: add :P=N: for 'native-path'
expand: :P=S=subdir: to handle recursive manifest
parse: fix splice bug that activated rules direcive
rule: .READONLY external support
bind: (P_readonly|P_terminal) does not get attribute assoc
bind: add rule_compare() and rule_hash() for case hacks
option: -o writeobject (on by default)
expand: regcomp(REG_SHELL) needs REG_LEFT|REG_RIGHT -- duh
rule: include + "file" to include file as global makefile
make,rule: fix state.force and P_force for P_dontcare
98-12-25 --- release 3.5 ---
98-11-11 expand: :G=x: tokenized
add ms %.def:%.sym
make: recheck require_p prereqs
98-11-01 expand: fix ignorecase bug in :L:
98-08-11 probe: add probe.ini for arch specific shortcuts
probe: add opional CC.MAKE.OPTIONS
Makerules: check CC.MAKE.OPTIONS
bind.c,scan.c: a few more uwin file path workarounds
parse.c: readline() now converts \r=>
variable.c: V_functional looks for "v->name" and ".v->name." rule
98-07-17 Makerules: check before assuming /usr/lib or /lib
command.c: fix P_before P_repeat FAILED bug
Makerules: add .UNBIND to .PACKAGE.LIBRARIES. (must be a better way)
Makerules: add static=1 to favor lib instead of dll (except for std)
98-05-26 make.probe: add /usr/lib /lib verification
98-05-01 rule.c: add .RUN .WAIT for background job control
rule.c: add .MAKEPROMPT .MAKERUN sequence points
rule.c: add .RESET to reset rule info to start state
parse.c: interactive sfpoll sfstdin and state.coshell->msgfp
98-04-01 expand: plug leak by calling regfree() for :C:
Makerules: adjust .IFFE.REF. fix to not include package being built
Makerules: add %.cpp for C++
scan.c: don't tokenize quoted implicit prereqs!
98-03-17 Makerules: fix .IFFE.REF. to expand package include dirs
98-02-14 Makerules: fix .IFFE.REF. to expand required libraries
98-01-23 Makerules: add _hosttype_ to .MAM.INIT
Makerules: :PACKAGE: x attempts include - "pkg-x.mk"
Makerules: handle :LIBRARY: rhs +l*
pkg-tcl.mk: initial release
98-01-11 Makerules,probe: add CC.SHARED.REGISTRY and CC.SHARED.REGISTRY.PATH
97-10-31 Makerules: CC.PIC not that easy to deprecate!
Makerules: fix -L option for *.req rule
Makerules: LDRUNPATH unset by default
Makerules: no CC.SUFFIX.LD to AR
97-10-11 Makerules: fix :LIBRARY: *.req prerequisites
probe: fix ld probe, add CC.SUFFIX.LD=".def .exp" for uwin
make.c: REQUIRE map => - marks rule virtual
97-08-11 Makerules: .BASE.DATE.FORMAT. for y2k
Makerules: drop weird xxx.a install in .SHARED.DEF.lib
Makerules: add $(.sh.) as non-frozen version of $(sh)
97-07-17 Makerules: move $(MAKELIB) to the front of PACKAGE search
Makerules: required libraries linked with dll too
version.c: tighten initdynamic[] loop termination
97-05-09 Makerules: /usr/local/arch/$(_hosttype_) first in LCLDIRS
Makerules,make.probe: add mvs.390 dll support
expand: don't :T=A: if .SCAN.IGNORE
variable: allow `export name=value'
Makerules: allow `:MAKE: name=value' => `export name=value'
Makerules: bias package binding to fully qualified PATH dirs
Makerules: IFFEFLAGS uses CCLDFLAGS instead of LDFLAGS
Makerules: don't change -Wl., in cc-% (hack alert)
Makerules: CC.PIC deprecated for CC.DLL
Makerules: _INSTRUMENT_ deprecated for _BLD_INSTRUMENT
Makerules: _TRACE_ deprecated for _BLD_DEBUG
command: -t attempts to touch fs .o as well as .a/.o
96-12-25 --- release 3.4 ---
add CC.LD.DYNAMIC and CC.LD.STATIC to make.probe and makerules
add .PROBE.LOAD and .PROBE.SPECIAL. to catch/start early probe
addfile(xxx) for xxx.exe on _WIN32
bind.c: check for _WIN32 C:/ prefix
parse.c: -FUNCTIONAL now clears var.functional too
Makerules: .CC.MEMBERS. fixed for small ARG_MAX systems
Makerules: OFFICIAL file now in lower view
Makerules: drop -G* from CC.PROFILE
Makerules: remove global +lxxx => -lxxx==+lxxx
archive.c: add `/*/' to SYMDIR_port (for sgi.mips4)
Makerules: if $(CC.PROFILE) and $(CC.PIC) then don't install .ARCHIVE
make.c: relax `modifying lower view file' message via dontcare
Makerules: fix +lxxx MAM bind
Makerules: fix :LIBRARY: req file generator
Makerules: fix :PACKAGE: LIBDIR search
ppcc: install in $(MAKELIB)
ARG_SCRIPT: fix bug that mishandled `+' and `&' in cmd line targets
Makerules,probe: add CC.SUFFIX.LD and ldscript for ld scripts
Makerules: add $(sh command): where has this been hiding
a:-TARGET now works
.ARCHIVE not scanned if rule.scan==.SCAN.IGNORE
:LIBRARY: sets .MAIN.TARGET. too
make.probe: don't automatically place /usr/lib last
make.probe: add CC.SUFFIX.LD
Makerules: handle cc-opt1,-opt2 by splitting options on ,
bind.c,metarule.c: handle _WIN32 directory ignorecase
Makerules: add :DLL: .DLL for dll generation
Makerules: fix .MAKEINIT premature :T=F: that botched .SOURCExVPATH
object.c: fix to handle 01/24/89 format objects (yes it still works)
ppcc,makerules: generalize $(CC.DIALECT) option passing
metarule: case sensitive match for patterns matching `[-+]*'
archive.c,object.c: (Sfoff_t) for K&R compilers
MAKEFILES=Nmakefile:nmakefile:Makefile:makefile -- thanks bill
MAKEARGS=Nmakeargs:nmakeargs:Makeargs:makeargs -- thanks again bill
probe: add CC.LD.RUNPATH
makerules: add LDRUNPATH and CC.LD.RUNPATH support
makerules: tone down PTR prereq scan
.GETCONF: first builtin function
96-11-28 ccmaps .mo for ascii/ebcdic compatibility
96-10-31 outstanding bug reports addressed
:LIBRARY: defines _BLD_<lib>==1
use PATH=$(STDDIRS):$PATH to find STDRM etc. in Makerules.mk
add CC.SUFFIX.DYNAMIC for win32 .dll .lib .a
96-10-11 metarule rhs prefix dir check even if rhs has prefix questionable=0x8
alias check path suffix in bindfile questionable=0x10000
add more instrument guesswork
.PFX.INCLUDE headers must be .TERMINAL
fix $(...) bug that let some unselected items slip through
96-10-01 update make.probe for probe_libdir to catch alpha /usr/shlib
96-09-09 add CC.PROBEPP to override pp probe info
add $(INCLUDEDIR) and $(LIBDIR) to .SOURCE* from $(ancestor_list)
96-08-11 --- release 3.3 ---
96-07-17 don't pass -D-* to cc in ppcc
add ``X|external-scan $(%)'' external scan
clean up makerules/probe readonly
96-05-31 fix $(".":P=L*) for no views
96-05-09 make.probe: drop multiple / in stdlib
try to stat non-readable files
96-04-22 fix staterule()->scan assignment evaluation order ambiguity in scan.c
96-02-29 -lxxx binds to +lxxx if +lxxx bound first
add pkg to OPTDIRS
cut off botched metaclose recursion unless questionable=0x100
`.XXX : .USE .IMMEDIATE .ATTRIBUTE' -> `xxx yyy' -> `xxx : yyy'
fix :PACKAGE: search bug that forced package name to be in root path
add REGRESS + REGRESSFLAGS
aliases may produce more than one :P=D: bound dir
fix nonterminating D_scanned loop in scan()
handle -L* on :LIBRARY: rhs
96-02-14 $(CC.SUFFIX.COMMAND) appened only if no suffix
:PACKAGE: xxx:version=n.m:static:dynamic:nolibrary:noinstall:
96-02-07 archive scan handles multiple port|rand meta entries
rescan check on (s|alt)&P_force
scan A action can now set (.+) or clear (-) attributes
96-01-31 :PACKAGE: libs now .DONTCARE
fix touch bug that kept the blasted libast conf*.[ch] out of date
96-01-01 AT&T Research
uwin Makerules.mk and make.probe tweaks
:I<: for literal intersection, otherwise pathname intersection
convert to <regex.h>
condition LN on _feature_=ln
95-12-08 fix :LIBRARY: -lxxx probe
add uwin dll to make.probe and :LIBRARY:
BINED -> ED
95-11-24 . :INSTALLDIR: does not add to all or man
95-11-11 installed CC.SUFFIX.SHARED are now readonly
CC.SUFFIX.SHARED==CC.SUFFIX.OBJECT expands -l*
CC.SUFFIX.SHARED installed readonly
CC.SUFFIX.SHARED hard linked to CC.SUFFIX.SHARED.major.minor
P_target && D_dynamic does not imply generated (questionable=0x4000)
95-10-11 fix :TABLE: options `no' and `NO' entries
D_source is now cleared in make object for .SOURCE cross product
$(^) subject to localview() too
fix :WORKAROUND: for in-place changes
set include=dir appends to .SOURCE.mk
.ASSERT intercepts not applied to .IMMEDIATE targets
-d4 lists make object prerequisite file info
fix state.targetcontext expand bug that dropped too many marks
add %.o:%.S to makerules/scanrules
intersect() now handles invented :P=D: .. dirs not in .SOURCE*
drop $(CC.REPOSITORY:@?-l??) from PPCC
add sun -[Qq](dir|option|path|produce) to ppcc
add proto -x to :INSTALLPROTO:
fix compvar() V_oldvalue bug that put command line def in .mo
internal.export -> internal.exported for proto export keyword
:T=G: never matches non-target .TERMINAL
95-10-01 add :TABLE: novariables to inhibit leaf variable assignments
add preliminary long edit op names and converter
D_global if not P_target (questionable=0x800 for old behavior)
alias if !streq(name,r->name) (questionable=0x1000 for old behavior)
fix scanrules .PREFIX.INCLUDE. handling of ../*
more aggressive putbound() in bindalias() (-Q0020000 for old)
`.FORCE : x' sets P_force too
longest metarule patterns applied first
more alias fixes
move scan attribute/property additions before staterule() call
:INSTALLMAP: ... scan now more selective
.UNBIND now sets rule.time=0
95-07-17 --- release 3.2 ---
:F=%x: sfio 'u' internal format now handled
fix .PTR.OPTIONS. initial condition
fix .ERROR to work like 2.2 if !.FUNCTIONAL
.FUNCTIONAL .ERROR return value: new level, no msg if already printed
95-06-28 add *.ii to .CLOBBER. for EDG C++
95-05-09 add SYMDIR_strict for strict ranlib uptodate check
change $(!$(*:O=1)) to $(!$(*)) since lists are ok now
drop .SAVE. since :: already handles it
add old value to state variable changed explanation
add .DO.READONLY.-xMerge
unused var cleanup
another make.probe preroot workaround
add .CC.NOOPTIMIZE local scope
handle `t {}' and strip lead space in {...}
fix r==0 dereference in :P=B:
don't force CCFLAGS=-g for instrument=purify
fix .BIND.-l% version interactions with -lxxx.[0-9]
add -o noalias to diable directory aliasing (for .INSTALL.LIST)
make.probe pic test must check linker too
calm down +([a-z]) => .+([A-Z]) conversion for :ALL: and .ARGS
&error_info cannot be in a static initializer
.OFFICIAL uses .MANIFEST. instead of .SOURCES.
fix scope var bug that appended twice
add - stack debug command to query
drop extra .so's from ship.list.bin
state.mam.out && !state.mam.port doesn't rebind after build
95-04-01 `:: xxx' marks xx .TERMINAL
fix recursion bug in :G:
define PACKAGE_* vars if !mam too
fix ciadb to exclude headers that may generate %.o (e.g., *.c)
fix stray M_mark bug caused by expand() inside intersect()
fix :INSTALLMAP: with no lhs
:PACKAGE: is a little less restrictive on package root search
use $(CCLDFLAGS) in %:%.s
change :T=G: to check .TERMINAL state before .TERMINAL
fix ppcc.sh pattern match ksh93ism for bsh compatibility
fix PROTOFLAGS expansion with :Q:
generated .SCAN.c do not get .PFX.INCLUDE
scan prereqs for .JOINT targets are in staterules(PREREQS)
change obsolete MAM -expandview ref to static*,port*
fix trap bug that used elementsof(int*caught)
makerules PTRMUST -> PTRMKDIR
alpha archive symbol directory has word size embedded _64E[BL]E[BL]_
fix in output of recursive print -um
fix bindfile() .. test for terminal directories [via Rich Drechsler]
tablook() prototype tweak
fix putbound() test in bindfile [via Dan Tiernan]
beef up makerules $SHELL -n test
drop newlines from PROTOCOPYRIGHT for MAM
95-03-19 fix .AFTER job freelist bug in trigger() [via Rich Drechsler]
add makerules STDDIRS; SYSRM -> STDRM {cmp,cp,ln,mv,rm}
clean up makerules INSTRUMENT_* interface
-v no longer turns on ppcc verbose
fix cc- MAKEPATH override by $(=)
95-02-14 fix targetcontext mkdir() test
fix printarg() for proper sfio interface
95-01-19 add CC.ARFLAGS for $(CC) that generates libraries
add CC.DIALECT=PTRIMPLICIT for implicit C++ ptr dir name
add CC.DIALECT=PTRMKDIR if C++ local ptr must exist
add CC.DIALECT=PTRCOPY if C++ PTRMKDIR contents copied
fix CC.READONLY probe to cast the const pointer assignment
punt() now assumes oldmake has mam if options set
add a few .SPECIAL's in ::
fix rule.time update for .NULL action in trigger()
add A_* flags instead of assertion() set.clear, etc.
OP_NONE assertions are A_special
x :LIBRARY: makes x virtual prereq of .ALL
"local" statement mods for operator and function arg handling
local same-name same-name gives dup name initial value of 1
local name=value now accepted
local -[n] arg ... sets $(1) ... [empties missing up to n]
local (formal ...) actual ... sets formals from actuals
$(;) returns the state data (formerly $(#))
$(#) is the arg count from local -[n] | (formal ...) ...
add TABLE.mk for :TABLE: table and map lookup
add SS.mk for :SS: directory hierarchy subsystems
don't forceread if global (questionable=0x400 for old behavior)
add -o targetcontext to expand action in target dir context
add state.context and MARK_CONTEXT for state.targetcontext
fix a few more alias bugs
.MAKE .LOCAL actions can contain parent scope assignments
add base and delta common actions for pax -z support
add :SYSTEM: to :SS: in SYSTEM.mk and delete SS.mk
fix rebind to first clear D_entries|D_scanned
add "*.[sS]|*.[aA][sS][mM]" to ppcc source list
95-01-01 fix .CLOBBER $(-global) expansion
.NULL metarule now provides equivalence for :G:
avoid multiple entries in make.probe CC.REQUIRE.++
94-12-25 ppcc, MAM -l<shared>, probe tweaks
fix port/rand ar touch bug that modified member terminator
fix .DO.INSTALL bug that asserted x : x
avoid a few more 'not compiled' panics
add -o mam=<type>[,noport] to inhibit porting hints
drop mam_port and use noport mam option
fix V_retain bug that took value from lowest view statefile
fix PACKAGE .SOURCE.(h|a) that blew the CC.STD(INCLUDE|LIB) order
fix .REBIND to work like .UNBIND on directories
PACKAGE lib not .DONTCARE by default
94-11-11 --- release 3.1 ---
detect loops in complete() to avoid `did not complete'
fix D_entries|D_scanned propagation in merge()
fix .BIND. view and state.targetview propagation
add :WORKAROUND: for external distribution workarounds
merge(MERGE_ALL) does not propagate rule.scan==SCAN_NULL
.OFFICIAL diffs changed files into ./OFFICIAL
fix scan attribute propagation interaction with dirscan()
fix uninitialized od reference in bindfile()
fix ppcc -O over shift and empty rm
94-10-01 CC.DIALECT DOTI : *.i accepted as preprocessed input
CC.DIALECT TOUCHO : cc link may touch *.o
$(CCC) dropped in favor of simpler $(PPCC)
$(FEATURE) changed to $(IFFE)
add -o mam=<type>[,dontcare] to list dontcare targets too
fix staterule() to accept top view state if time matches
fix bindfile()+putbound() for ..
fix VOFFSET,VROOT for non-3d
fix bindstate() recursion
fix metaclose() bug that forced artificial metarule ordering
94-08-11 add state.questionable mask (looks like it should go but not sure)
move some state.test bits to state.questionable
add MAM generated attribute
add fs3d view loop test
Os option arguments must be specified
94-07-17 --- release 3.1 ---
94-06-11 add -o believe=level (-B level) for 2d
-b no longer implies -c
-b implies no makerules
uncouple state.keepgoing from state.mam (should have learned by now!)
dirscan() sets rule.bound and rule.time
add .SYNC : file [edit-select]
fix .QUERY longjmp active frames and error trap hold
fix pattern association parse that botched ../*%*
avoid pathcanon() in metarule makerule() calls
change include from control statement to immediate rule
use rule in include list uses action as include file filter
add makerules mam_port=0 to inhibit -o mam=static ${mam_*} mappings
promote lower view state to top on load if no previous top iview state
94-05-22 virtual preview not propagated
fix nested loops in file input
fix unalias() bug that dropped original binding
fix merge() bug that called bind() while bind in progress
fix -ptr *again* for CC 3.0.3
add $(^) for current line in scan
:A>pattern: matches rule prereqs
fix statevar stateview search that unnecessarily forced re-scan
.PARAMETER file checks now done after .INIT
update CIA rules to use DOT instead of DAG
94-04-01 .ERROR made for levels > 0; return 1 inhibits message print
$(.ERROR) set to level and message text inside .ERROR
stateview() now binds before searching state views
fix CC.SO install for live replacement
add .COMPDONE to fit the .INIT+.DONE pattern
add rule.mark and M_* to eliminate mark clashes
add .INTERRUPT.<signal> for signal specific handlers
add .ALARM:<elapsed> immediate rule to set alarm
add $(.ALARM) to be absolute time for next alarm, 0 for no alarm
add .SYNC immediate rule to sync statefile
maketop() now resets property when complete
maketop(P_ignore) temporarily sets keepgoing=1
xxx -> .XXX immediate test for all `no operator on line' statements
.FORCE : xxx forces xxx to be new
{ action } -> .ALWAYS :$("t")action
immediate a b c -> .IMMEDIATE : a b c
attribute a b c -> a b c : .ATTRIBUTE
a b c { action } -> a : b c$("t")action
:MAKE: allows rhs a/b
.DO.l.CC dropped -- let C++ fend for itself
(<id>*)<stuff> can appear as target
$("":D) no longer produces ``.''
print -n -u[0-9m] -f "format" +-[io] path -p command data ...
read -n -u[0-9m] +-i path +-o path -p command variable
-uxxx may appear in $(INSTALLROOT)/lib/lib/<LIB>
fix scan | ... % | bug that forced trailing space
replace CC.OBJ and CC.SO with CC.SUFFIX.*
.MAKE .OPERATOR prereqs made before operator applied
add .PROBEINIT to .MAKEINIT and "::"
.SHARED. now links with CC.SUFFIX.SHARED sibling library if it exists
fix alias .UNBIND
94-03-01 unify mam with gmake (additions done by gsf)
-o mam={dynamic|regress|static}[:file[:[label][:root]]]
-M no longer implies -nF
-o mamtrace=file (-m) dropped
-o regress=root dropped
-o never (-N) added to override .ALWAYS
fix scan bug that assigned strategy before binding
frozen V_functional always causes .mo recompile
add oldname(r) to fix unbind bug that omitted putbound(r,0)
``else if'' now accepted for ``elif''
complain about extra chars after else and end
add :T=Z[CERS]: for {cancel,event,relative,state} time
fix circular implicit prereq actions
fix aix shared library probe
finish now handles errors in .MAKEDONE and .DONE
fix stray D_mark unbind with D_markbind,D_markprereq,D_markscan
fix :READONLY: probe for mips
base rules unbound after reading (so make can install them!)
delay statefile load until after makefile read
add complete() for MAKING implicit prereq
add CC.REPOSITORY with repository dir value
delete PTREPOSITORY from CC.DIALECT
stop .INSERT|.APPEND from adding duplicate prereqs unless .MULTIPLE
.QUERY now pushes an active frame (shows up in $(<))
fix state view resolution in stateview()
fix :G=a/b: with no %
94-02-14 warn about implicit reference while action in progress
add print -opath
94-01-31 .CLEAR now checks staterule before freeing prereq list
.UNBIND now clears D_global, D_regular and preview
add :F=%(time-format)T:
add :F=%(invert|lower|upper|variable)S:
change :F=[LUV]: to :F=%(lower|upper|variable)S: with obsolete warning
fix .MEMBER view/preview mismatch that triggerred unnecessary actions
94-01-11 $("":T=R) operates on current date
add print -n -u[12m] -f "format"
fix \<newline> action parse
93-12-01 --- release 3.0 ---
pack changes2002-03-09 pack,unpack: diagnostic if no file operands 1999-05-03 add optget() docs
pax changes
03-03-05 pax.c: tgz => ustar:gzip, tbz => ustar:bzip
03-02-28 pax.c: handle a few common -x aliases
03-01-14 misc.c: fix meter sign overflow for sizeof(off_t)==sizeof(int)
02-12-13 format.c: fix TNEF bug that did bget(n) for n>buffersize
02-10-23 misc.c: fix meter buffer overflow
02-10-20 pax: drop experimental OMF; use ardirlist() to list ar types
pax: add -t for x/open
02-10-18 pax: add tar/ustar swap and inter-volume junk block checks
02-09-09 format.c: handle all 11 octal digits in cpio format size
02-09-05 file.c: fix chmod() loop at exists=0011 on case ignorant filesystems
02-08-19 pax: cmd line patterns applied before -i or -s path edits
pax: add posix -c for --invert
02-08-06 pax: change --meter to use * instead of non-portable inverse video
02-07-17 pax: handle gnu tar largefile size extension
02-06-26 pax: fix regsubexec() edited symlink text buffer clobber
02-05-24 pax: update to use regsubcomp(),regsubexec()
02-05-07 pax: use <ardir.h>,-lardir for library archives
02-04-23 pax: add dos omf library read
01-12-07 pax: fix --meter to retain paths containing " -- "
01-12-06 pax: fix --meter to stop at 100% (don't tell coach)
01-10-20 pax: describe the 4 operation modes in separate paragraphs
01-10-18 pax: fix --meter for paths containing <\>n\>\r\v
01-09-06 pax: add ms tnef (transport neutral encapsulation format) archive read
01-08-11 pax: fix tar_checksum() w.r.t. CC_NATIVE!=CC_ASCII
01-06-28 pax: fix --from --to bio logic that sometimes double converted
01-04-24 pax: --from & --to now associated with archive instead of global state
01-04-17 pax: --from conversion only done if no control chars in first 256
01-04-01 pax: fix --intermediate to create missing dirs first
01-02-27 pax: add lchmod() and lchown() for symlink() restoration
01-02-08 pax.tst: add -L and -P to symlink edit test
01-02-07 format.c: fix malloc off-by-one for vdb format read
01-02-02 file.c: fix duplicate -s map in addlink()
00-12-20 bio.c: include <sys/ioctl.h> for systems that miss _IOW() etc.
00-10-31 format.c: handle rpm 4.0 and newer
00-09-20 copy.c: always allocate state.tmp.lst!
00-08-31 change paths in delta archive: -rf i -z - -s e -wf o -z - [almost]
00-08-11 copy.c: drop memalign() call for _std_malloc==1 in libast
copy.c: save filter path from sfgetr() reset
00-06-01 pax: fix mime format size by dropping last \r
00-05-26 pax: astconf("CONFORMANCE",0,0)=="standard" inhibits some extensions
pax: check USTAR file and link name lengths
00-04-01 pax.tst: export TZ=EST5EDT; new tests should be UCT
00-03-11 pax: add encapsulated mime format read
pax: fix vdb block count
00-02-14 pax: fix hard link read that didn't apply -s edit
pax: logical|physical filter options
00-01-04 pax: fix rpm embedded archive hard seek
pax: --filter implies --nodescend
pax: add --meter
pax: handle ms PORTAR '' => '/' path separator
99-11-19 pax: try `ratz -c' if `gunzip' not found
99-11-11 add --checksum, --install, --local, --preserve=s
99-11-04 fix zip for archives with EXTLOC headers
don't generate //* file names
99-10-31 pax: add tgz == tar:gzip, --filter=-
99-08-11 bio: fix end of medium handling
99-06-01 restore -T == --test
99-05-28 pax: add rpm read
99-05-21 pax: fix -rw umask(0) bug
99-05-17 pax: fix chmod() delay for ug+s,+t
99-05-11 nocom: long options
99-05-09 pax: sfopen(sfstdin,0,"rt") for input file list
99-05-01 pax: state.xdev => FTW_MOUNT!!
99-04-01 pax: fix Integral_t for sizeof(long)==8
pax: fix ]] in optget usage
99-03-17 pax: better st_mode preservation
99-03-01 pax: fix dirprefix() prune to work in all cases
pax: add savepath() to handle >PATH_MAX paths
99-02-06 pax: update to new optget()
99-01-11 pax: add bzip2 compression support
98-10-01 pax: fix -rw hard link bug
pax: fix -o preserve=* option.level inconsistencies
98-08-11 cpio.sh: fix with getopts
pax: increase -rw default buffer size
pax: use REG_DELIMITED to parse -s
98-04-01 fix tar delta bug that set st_size=0 before consuming delta head/tail
pax -<flag> '?' lists help info for flag
fix -rw bugs introduced by recent delta fixes
testpax: add regression tests
fileout: add EIO memalign fallback to track sgi bug
98-03-19 fix tar delta epilogue check
fix delta pass checks
fix off_t vs. file size mismatches
98-03-17 umask(0) only if -o preserve=* in effect
add File_t.ro to mark readonly files/paths
98-02-14 add -o intermediate to copy output to intermediate before commit
98-01-23 use %I#d scanf format to get off_t right
98-01-11 -K == -o keepgoing
-x format on read accepts that format only (useful with -o keepgoing)
97-12-07 add 4 NULs to work around gunzip bug that peeks beyond EOF
97-11-11 use PROC_FD_PARENT to let procopen() close parent fd
97-10-31 cab list works; anyone have LZX or QUANTUM decompress code?
97-09-22 fix vdb format write
97-08-11 fix omitted missdir() call
97-07-17 -r attempts chmod u+w along with missdir and remove
-rl preserves existing links if possible
beginnings of cab file read
97-05-09 fix putepilogue() with off_t boundary
96-12-25 zip archive header magic fix
use MTIOCGETBLKINFO to determine default tape blocksize
-o eom=!command uses $(command read|write part [file]) for next file
-s ',.*,-,' cats to stdout
-x pax support for >2GB file size
96-11-28 off64_t tweaks
drop -r -w -x order dependency
undo ccmaps() in bunread()
add explicit O_RDONLY checks (!= 0 on some systems)
96-10-11 change to <ccode.h> from mem[ae]to[ae]()
96-08-11 add -o to={ascii|ebcdic} -o from={ascii|ebcdic} from mvs
96-02-29 enable -rw setfile() -- why was it disabled in the first place?
fix stdin file list peek bug that dropped leading files
96-02-09 handle zip archives on input
96-01-18 AT&T Research now
switch to <regex.h>
95-11-24 don't check for compressed format if already uncompressing
95-11-18 ignore empty file list lines
95-10-31 fix and compensate for cpio header hard link size bug
95-10-11 drop "blocking ignored in pass mode" message
aschk symlink data need not have trailing ' '
95-09-01 fix nocom handling
95-08-11 builtin nocom for -o filter=nocomment
more delta tracing
vd02 delta algorithm
95-07-17 fix -w output to stdout initialization bug
fix stdin file list peek bug that dropped trailing files
95-05-09 don't check member count unless its really a trailer
sfkeyprintf lookup string arg is now the format conversion character
initialize output archive for -rw to stdout archive
misc.c had putc() and fgets()!
unused var cleanup
add return to listprintf()
fix delta pass missing dir fd bug
fix dirprefix for /
add bax.sh as an *example*
95-04-01 with proto va_start() must come before any arg references
fix delta bug that failed to mark emitted or skipped members
allow -z for patch deltas
be sure to set ap->format before binit()
fix ordering bug that botched most deltas!
use file.name (after -s maps) rather than file.path in delta hash
fix bget() bug that skipped checksum
95-03-19 first round with POSIX 1003.2 1995
handle file holes on input
delta header contains member index and trailer size
delta trailer contains member checksum
delta epilogue contains member count
95-03-01 internal redesign using Archive_t handles instead of global state
-o ordered (-O) allows single pass through base
95-02-14 make -u work with VPATH
-x composes gzip,compress,delta,delta88,ignore,patch with real formats
-x gzip:tar, -x gzip,tar, -x 'gzip tar' accepted
-x delta is equivalent to -z -
-o delta deleted
fix OPT_owner null dereference
fix archive pass bug that didn't update DELTA_create members
95-01-19 detect compress and gzip on input
add -f -z grouping with -r -w to support -r -f -z -w -f -z
fix a few compress/delta ineraction bugs
add -t s[#]k[#] to skip all [#] and/or keep all [#] tape volumes
use new <align.h> ALIGN_ identifiers
95-01-11 add s option to -s to stop on success
add delta 94 (vdelta)
add long option names
deprecate most flag options
DELTA_TEMP <64K avoids temp file
add -o delta=patch for patch archives
94-12-25 add lib/pax/*.fmt args files for unknown formats
fix mknod() calls to use the right file type!
94-11-11 fix ar out of phase warning
94-08-11 add -Rh'header' and -Rt'trailer' for vdb write
-e now works for -rw
93-08-11 add vdb `virtual database' r/w format
93-06-11 fix bug that didn't output non-regular files
-w now uses FTW_POST to preserve dir modes
93-04-01 handle PORTAR long member name table
92-04-01 copy all 0 length files out regardless of read permission
91-08-11 add check for garbage after end tar implementation bug
90-10-01 add mips ar format out of date check
90-08-11 header/trailer alignment now table driven
90-07-20 fix binary output bug that set header size and time to 1
90-06-01 fix misc delta compression bugs
90-05-01 fix DELTA_create bug that did not check COMPRESS
90-03-28 bump regular output block size to 8k
90-02-11 delta changes held off by #if new_delta_format until new libdelta
base archive checksums incompatible with previous versions
90-02-06 fix newio() bug that looped when write() returned 0
90-01-25 add proposed posix 1003.1b archive/interchange format
tune buffering
change -R option for general record support
generalize delta id file name -- incompatible with old format
prepare for new libdelta and subsequent incompatibilities
89-12-01 add self-delta support, delete -A option (one algorithm with versions)
89-11-18 fix dir mode restoration bug
89-11-11 fix delta update with older file
89-10-31 add portarch and randarch readonly object formats
89-10-11 allow -f with -rwz
89-10-01 add -Bmaxblocks and -C to match latest tar/cpio extensions
89-08-22 align read() buffers to IOALIGN
89-07-27 add EFBIG & EDQUOT checks to newio()
89-07-04 fix cpio binary header mtime and size swab bug
fix -rw bug that makes it work now!
redo file post processing restoration
89-05-11 handle GNU-tar USTAR format botch
missing intermediate directories inherit mode of nearest ancestor
fix names on stdin bug that only did -P
incorporate lar changes from David Muir
expand -R arg syntax
handle ansi/ibm D,F,S,U,V formats on output
89-03-28 fix bget() buffer boundary error for reads < buffersize
89-03-01 ignore DELTA_PASS file set*() calls
89-02-22 fix bread bug for 0 count and bget memcpy overlap
89-01-18 fix copyout() rfd<0 delta bug that generated multiple entries
89-01-11 fix dirsize!=0 bug; change ftwalk XDEV implementation
88-12-11 fix symlink->nowhere bug
88-11-22 add vmsbackup readonly format; fix lseek validity checks
88-11-17 add -T040 to simulate tape device blocking on input
88-11-11 add s5r4 asc and aschk formats
88-11-07 hard links and deltas don't cross volumes
88-11-01 add -n to read exact file list
88-10-20 add bread(0,...) to skip, bget() and bput() io optimizations
88-10-11 fix delta ops to use pattern args
88-10-04 fix argc bug that botched -rw with file args
88-10-01 for delta update, verify that untouched files match base archive
88-09-30 fix allocate() bug: malloc() -> calloc()
88-08-23 use libx/memsum() for checksum calculations
88-08-20 add `![command]' to end of medium replies
88-08-18 table of contents output to stdout
88-08-08 update for libx/ftwalk() and libx/strls()
88-07-28 streamline ftwalk() interface
88-07-21 finish up -a and -u tar compatibility
88-07-17 add cpio.sh and tar.sh interface scripts
88-07-15 convert to pax
probe changes02-10-30 probe.c: reset proc->rfd after sfnew() to avoid close() error 02-09-21 probe.c: handle strlen(base) != BASE_MAX 02-09-11 probe.c: add more override docs 02-01-30 probe.c: add probe.ini check to match libast/pathprobe() 01-12-03 probe.c: return HOME relative path if readonly/non-suid fs 00-08-11 probe: fix non-suid generation check 00-01-11 probe: fix -t with writable info 99-09-01 probe: add --override 99-05-09 probe: long options
proto changes02-07-31 sear.sh: make sure output files has a suffix 02-03-12 proto.c: add type=free 02-01-07 proto.tst: add TEST 05 -- no fix yet 01-12-12 sear.sh: fix rc ICON path escapes 01-10-31 sear.sh: add sear.ico 01-10-16 sear.sh: _SEA_* => _SEAR_* 01-10-05 sear.sh: rename from sea.sh 01-09-11 sea.sh: add 01-06-26 proto.tst: add another buffer boundary test (large of course) 01-04-01 proto: preserve file mode for -r 01-02-06 proto.tst: add (finally) 99-11-19 add --license, --shell, --copy, --verbose 99-08-11 long options
pta changes
03-01-24 ptaload.c: update for void* => Dssrecord_t*
03-01-07 ptarun.c: recode for Cxvariable_t.operand.type => Cxvariable_t.type
02-12-17 propagate -ldss interface changes
02-11-20 dynamic link for dss support libs
02-11-12 ptarun.c: dss/cx interface update
02-09-11 pta: convert from Cxoperand_t keep boolean to refs count
02-08-29 move from dss source directory to separate source directory
02-03-17 bgpexpr.c: consolidate bgp record tables
bgpexpr.c: add "bits" for number of prefix mask bits
ptaload.c: /0 masks ignored if !(pta->flags&PTA_ALL)
02-03-14 bgpre.c: fix bgpreexec() bug that omitted `.' matches
bgpgrep.c: --count or --format => --noheader
02-03-11 update pta and bgpgrep to the new <bgp.h> interface
02-03-05 update <bgp.h> to use Bgpvec_t
02-01-27 fix divide by 0 in ptastats()
02-01-10 change Foo_abc_t to Fooabc_t for consistency with ast
02-01-09 bgpgrep: add
01-08-11 convert to new <bgp.h> interface
01-07-17 cxparse: increase #formals to int from short
01-03-01 bgp: handle simple <mask [hop]> mask files
01-02-19 bgp,bgpdb: add --mask for bgplistmask()
00-10-31 aspre: fix ^$ match
00-10-18 stresc() strings in cxparse()
handle line splice in cxparse()
00-10-16 fix uniques()
00-10-13 add bgp.[ch] and aspre.[ch]
add --regress, vi style load feedback
00-10-06 full queries working
fixed ptainsert() 0-1 boundary bug
fixed cxparse() arg stacking
00-10-05 add printf()
00-10-04 add ptacover(a,b) == a / b
convert to cx
00-09-29 add uniques()
add load "file" &table [ "pattern" ... ] ...
keep ASPATH dups
change blocks => ranges to avoid CIDR confusion
fix ptadifference() again
00-09-28 add grep("prefix-pattern",T) to filter prefixes from T
add stats(T) to list interesting table stats
add entries(T) to return original number of matched read() entries
add -Idir for include()
fix use long long for integral constants
fix ptasubset()
add include("file") with full stacking semantics
fix glob() failure core dump in read()
first release and experiment by Tim Griffin
00-09-27 dump accepts multiple table args
hex and octal integral constants accepted
here doc input: a = table("1.2.3.4/5" [,] ... )
glob() the read file arg: a = read "*-bgp" "^/1/$"
pzip changes
03-04-05 pop.c: add OP_VERBOSE for cut() trace
03-01-04 pin.c: list range only if more than 2 elements
02-12-25 pin: add --sort
02-02-14 Makefile: add explicit -lz references
01-10-31 pin: add --reorder=tsp via -ltsp
01-10-30 pzip: fix --window doc typo
01-10-08 pin: add --optimize={dynamic|greedy|non|transitive}
pin: add --optimize method table for easy expansion
01-08-11 pzip: set error_info.id from argv for statically linked disciplines
01-06-28 pzip: --split turns implies PZ_READ even with -p
01-02-02 pzip.tst: add -w window size test
00-10-04 pin: add -T0x800 TSP v3 dump
00-10-03 pin: add -T0x400 TSP v2 dump
00-10-02 pin: fix -p bug that botched the input read
pin: TSP dump now computes exact big value
00-09-29 pin: add -T0x200 TSP v1 reorder matrix dump
00-05-31 pin: --size does filter() to verify guess, 0 if wrong
00-02-11 pin: always have state.map, even with no freq filter
99-11-03 pin: alb optimize()+solution() update (quadratic loop)
99-09-25 pzip: change --split to --split[=pattern]
99-09-11 pzip: change --split=dir to --split
99-08-11 pzip: add --append, --split=dir
pzip: fix SEE ALSO
99-06-23 pin: add --cache to enable pin-* cache; off by default now
99-06-22 pin,pop: add --prefix
99-06-20 pzip: add --prefix
99-03-22 rectify: add
99-03-17 pin,pzip: add --bzip for investigation
pin,pop: -r row-size now optional thanks to pzfixed()
pin: fix bugs for high==0
99-03-11 pin,pop,pzip: long options
pin: -hn% for % frequency cutoff, default is -h10%
98-11-01 pzip: delete sfclose(sfstdout) since SF_ATEXIT handles it now
98-10-20 pin: maintain frequency and pair compress size cache
pop: -s schema => -f pop-schema || mps-style-format
98-08-11 initial release
pzlib changes03-03-14 Makefile: add :PACKAGE: pz for recursive make ordering 02-11-20 move pzip support libraries to src/cmd/pzlib
ama changes03-04-15 pzinbound: fix optstr() call 02-02-04 pzama: tone down ICDR warnings 01-10-31 pzama: treat 0xab records like 0xaa ama.prt: merge in Allan Wilks additions 01-08-11 pzama: add pzlib() intercept for static pzip+pzama 01-06-28 pzama: ama sizes now provided solely by ama.prt 01-06-15 pzama: only one warning per file unless -v or -d amaraw/libama: handle structure/module size mismatches amaraw/libama: records with unused data are treated as unknown 01-02-25 amaraw/genmodules.sh,amaraw/genstructures.sh: accomodate old nawk pzinbound: work around architectures with no int_8 01-02-14 pzinbound: fix bitfields to use unsigned int -- still only for BE arch 01-02-12 amaraw/modules.src: module update 00-02-22 pzama: handle unknown ICD subrecords 99-11-19 add pzawstt for ericsson data 99-08-11 converted to pzip split discipline 99-06-23 --- release 1.0 ---
mps changes03-03-03 aws.tst,mps.tst: fix "unknown input" tests to match pzhead() change
netflow changes02-09-24 netflow-raw.prt: rename from netflow.prt; dss provides netflow.prt pznetflow.c: fix error message that transposed %s <=> %d
recfm changes03-01-09 first release
wireless changes02-01-24 genstructs.sh: rename from genstructures.sh for 14 char fs 01-02-25 genmodules.sh,genstructures.sh: accomodate old nawk pzwireless.c: change stat.nxt,state.end to unsigned char* 00-05-18 add tt version 2 and nt version 1 00-03-13 genstructures.sh: use echo for /bin/sh compatibility 99-12-01 canibalized from pzama
re changes
03-03-17 ed.tst: add ! command tests for sfpopen() "" mode fix
03-02-17 testregex.dat: add bm tests
03-01-13 sed0.c: operate on all input files, even if some fail
testfnmatch.c,testmatch.c: ignore testmatch -o option
03-01-03 testregex.c,testregex.dat: add REG_SHELL_GROUP options and tests
02-10-10 grep.c: ignore -a for GNU compatibility: gnugrep=tw+astgrep
02-08-12 testregex.dat,locale.dat: add REG_MINIMAL tests for mb bug
02-08-07 *.dat: recognize anchors in BRE subexpressions
02-07-17 testregex.c: fix basic re support test
02-07-15 locale.dat: add S and K tests for testfnmatch
02-06-20 testregex.c: handle invalid (?,*) and (*,?) in match[]
02-06-11 ed.c: fix global EOF test
02-06-10 testregex.c: add -x to inhibit REG_NOSUB
libtre.dat: add libtre regression tests
02-06-06 ed.c: fix substitute line splice
02-05-31 ed.c,sed.c: update to use regsubcomp(),regsubexec()
02-05-30 testregex.c: add -R to replace answers with implementation answers
02-05-20 testregex.c,ed.c,sed1.c,sed3.c: update to regsubcomp(),regsubexec()
testsub.dat: add new regsubcomp(),regsubexec() tests
02-05-14 testregex.c: add 'p' for REG_NOSUB, null regsub() 'g' match tests
02-05-09 testregex.c: handle 'x' for implememntations with no REG_LENIENT
02-05-08 testregex.c: fix "did not terminate" message
02-04-12 README.re,Makefile.re,re.tgz: update standalone test tarball
02-04-05 locale.dat: split from testre.dat
02-03-27 testglob.c: fix double escape() call for GLOB_LIST
testglob.dat: update tests for original pattern on no match
02-02-14 grep: add -P,--perl-regexp == REG_EXTENDED|REG_LENIENT
02-02-12 ed.c: add \r hacks
02-02-02 sed0.c: add \r to blank() set
01-12-06 grep.c: add -b,--highlight to highlight matched text on ansi terms
01-11-20 minimal.dat: add tests for regnexec() REG_MINIMAL char class bug
01-10-31 sed: all space before ; command separator for REG_LENIENT
01-10-20 testglob.c: handle in pattern and result field parse
testglob.dat: add tests for in pattern and GLON_NOCHECK
sed1.c: fix instruction cast pun
01-10-18 testmatch.c,testre.c: all test failure messages contain the text `fail'
01-10-17 testre.dat: add []{}() imbalance tests
01-10-05 testglob.c: update --help, add GLOB_LIST and GLOB_STACK tests
testglob.dat: add a few more tests
01-10-03 testmatch.dat: add ancc cc trigraph prone patterns
01-09-11 ed: fix t command bug, add regression test
ed: fix RE error intercept via REG_DISCIPLINE errorf
01-09-06 testfnmatch,testmatch: add --help
01-09-04 testre: update test data
01-06-11 testre: handle embedded in subject string, add tests
01-05-24 testre: add (?{...}) test support
01-05-22 testre: add regsub() tests, testsub.dat
01-05-16 regex.h update
test*.c,*.dat: update for sensible test \
sort changes03-03-11 testsort.sh: initialize $CC from :TEST: TESTCC state var 03-03-07 Makefile: +lsort for now 01-04-19 sort.tst: add -s tests 00-03-09 main.c: fix infomation typo 00-12-25 main.c: close input before final overwrite ops 00-08-31 main.c: add -zcCHUNK to sort in chunks with merge disabled 99-11-19 main.c: use rskeylist() for method usage 99-11-11 main.c: unstable sort is the default for backwards compatibility 99-08-11 main.c: fix usage[] 99-06-07 main.c: add -o in any file position for backwards compatibility 99-03-03 main.c: add long options sort.tst: add gnu tests; `b' is tricky 99-01-11 fix buffer boundary bug that emitted `newline appended' on 4k systems 98-03-17 add -zI -zO to zip input/output 98-03-11 fix sfmove() error checks close output before rename 97-12-07 -Td1:d2:...:dn works via pathtmp(0,p,"/TMP_PATH",0) pathtmp(0,0,"/cycle",0) could be used to control phase tmp files 96-07-17 insize is much less aggressive -- must nail down reasonable proc mem fix bug that required 2 ^D for interactive input 96-12-25 drop sfset(sfstdin,SF_SHARE,0) 96-10-22 sfreserve tweaks multi-stage merge now keeps previous stages out until next stage sfreserve() only if 1 S_ISREG() input file 96-10-17 increase merge file limit to (OPEN_MAX-16) where possible update testsort TEST=15 input file size to force multi-stage merge 96-10-11 all regression tests pass for all methods
ss changes99-05-18 ss: long options 97-08-11 ssd: fix now used before defined bug 95-05-09 fix ssd nlists feature tests add a few more utmp file macros from <utmp.h> 95-02-14 fix an extremely botched since() macro 95-01-19 fix user idelt time check that broke loop too soon checks every 10s, updates every CS_STAT_FREQ if not interesting
std changes03-03-21 ls.c: add -z,--time-style ls.c: if only -t is set then set FTW_SEEDOTDIR to keep configure happy 03-03-11 pss.c: pid <= 1 => ppid == 0 to avoid ancestor loop 03-03-06 ps.c: add pgid alias for pgrp 03-02-28 pss*.[ch]: add Pss_dev_t and Pss_id_t ps.c: don't warn about unsupported fields for [cfjl] 03-02-21 pss-*.c: initf errors except no space now warnings for ps fallback Makefile: hosttype workaround to avoid botched -lkvm 03-02-11 ps.c: flags width 2 => 3 since posix says its octal 03-02-07 ps.c: add --children and --parents, --tree == --children --parents 03-02-06 locale.c,ls.c: fmtquote() FMT_ALWAYS update 03-02-01 ps*.[ch]: convert to independent Pssmeth_t methods pss-ps.c: export _PSS_ps=1 to force for testing 03-01-31 pss.c: add darwin.ppc kvm_getprocs() -- still needs work 03-01-29 ps.c: check for obvious invalid pids 03-01-10 locale.c: don't list default after unknown category/keyword 02-12-04 du.c: add -H -L -P(default) symlink options 02-11-22 file.c: add version type description 02-10-10 pss.c: redefine only if not defined -- duh 02-10-02 pss.c: move <ast_windows.h> to first #if __CYGWIN__ 02-09-30 dd.c: honor both count*bs *and* count 02-09-24 dd.c: fix partial record computations and printf format 02-09-11 pss.c: _WIN32 SF_ERROR <windows.h> workaround touch.c: drop TM_DATESTYLE (snarfed too much from date.c) 02-09-09 ls.c: really ignore -T<n> 02-08-13 touch.tst: fix 10 digit ambiguity test 02-08-05 ls.c: add %(perm)[os] 02-07-31 file.c: add -[cdiM] and swap (old ast) -m and -M semantics for posix 02-06-25 ps.c: handle %s vs. %d --format inconsistencies 02-02-14 touch.c: explicit epoch dates (0) are different from now (also 0) locale.c: don't output on unknown keyword 02-02-11 ps.c: validate input pid strings 02-02-04 ps.c: --format subformat => heading 02-02-02 pss.c: handle __CYGWIN__ bug where sizeof(TTY_CONSOLE)>sizeof(dev_t) 02-01-31 pss.c: add aix getprocs() ps.c: ntpid=>npid, ntpid now a deprecated alias 02-01-28 ls: fix devmajor/devminor to use st_rdev where appropriate 02-01-22 ps: fix `not available' warning to attempt subsequent fields 02-01-21 ps: recode to use pss.[ch] process status stream interface 02-01-06 touch: clarify --time doc 01-10-31 df: increase the fs stat timeout from 2 to 4 sec 01-09-04 locale: add new catagories 01-08-11 ls: fix nonprintable test for mb locales 01-08-01 features/procfs: note that synthesized psinfo doesn't have pr_psargs 01-06-27 dd: fix conv=[lu]case|x2y logic botch 01-06-08 ps: option `-' is optional for ancient compatibility 01-06-06 ls: drop octets for bytes -- yay 01-05-25 locale: -m runs local locale until the standard comes to its senses locale: add --element to list collation element weights 01-04-20 df: --man now says --scale is the CONFORMANCE!=standard default 01-04-17 date,rm: move to -lcmd 01-04-01 locale: fix LC_ALL listing 01-03-23 tsort: fix typo that goofed up $'b c c b' 01-03-22 ps: %(ntpid)d takes precedence over hex attribute 01-03-17 date: update --man for tmfmt() changes locale: add with regression test 01-03-09 df: fix cannot stat filesystem typo 01-03-05 ls: add --dump to dump generated --format string 01-03-01 ps: fix iffe logic that disabled too much for /proc synthesis ps: fix -T -p that missed some children ps: fix -x to include session leaders 01-02-14 ps: disable some iffe results for synthesized /proc structs ps: use sfstrbase() and sfstrsize() instead of member names mount: define NGROUPS for freebsd -- how does <sys/ucred.h> make it? df: add scaled sizes, no sync(2) unless -s,--sync df: add statvfs() timeout for good ol NFS 01-01-31 ls: handle --sort=size 01-01-01 ps: change (-x,--hex)=>(-X,--hex), add (-x,--detached) ls: really ignore --tabs, add --quote-style --scale, --thousands rm: -i and -f cancel each other 00-12-13 df: change type default width to 10 for linux ps: fix --format '%(time)d' 00-12-11 ps: fix --tree graph 00-12-08 ps: no -e for pid args ps: add --heading 00-10-31 date: mmddHHMMccyy doc and code fixes, test touch: ccyymmddHHMM doc and code fixes, --time=mtime common sense, test 00-10-23 ps: -Tp pid gets pid and all children 00-10-06 du: fix roundup error by delaying until the totals 00-09-21 touch: fix to handle obsolete MMDDhhmm[YY] 00-08-11 ps: fix man typo 00-06-10 dd: add swap=op 00-05-24 ls: fix --kilobytes, add --block-size 00-05-11 df,ls,ps: unknown format id is fatal error 00-05-02 dd: use iconv() for from=x to=y conversions 00-04-01 ls.tst: export TZ=EST5EDT; new tests should be UCT 00-03-17 rm: add PATH_ATTRIBUTES 'l' check (no hard links to directories) date: --elapsed accepts odd arg count catmerge: add 00-03-09 df: add --format date: add --elapsed 00-02-07 ls: -a and -A now mutually exclusive shar: add $USAGE_LICENSE 00-01-25 touch: add invalid st_mtime value CAVEAT ls.tst: limit max st_mtime to 0x7fffffe to avoid stat(2) EOVERFLOW 00-01-11 tsort: fix 99-12-25 ps: fix linux -o args 99-11-19 mount,umount: fix umount usage[] ls: fix --format doc 99-11-18 ls: -H + cmd link non-dir symlink => lstat() (H == hairbrained) 99-10-31 sum: change --check, add --header --permissions for verifcation 99-10-22 date: fix %C %k %y doc 99-08-11 ps: netbsd + unixware fixes ls: fix SEE ALSO 99-07-17 ps: fix cancel logic to eliminate (null) header 99-06-23 rm: fix -f exit status to be !=0 on errors, even if no diagnostic 99-06-17 expand/unexpand: long options 99-06-14 rm: dir arg requires -r, diagnostic even with -f 99-06-11 df: minimize mntread calls when args given ps: all key.cancel format mods on rhs sum: binary mode by default, local text mode implementation 99-06-01 dd: fix conv=* bitmasks 99-05-20 df: F_BASETYPE() for redhat 6.0 linux statvfs incompatibility 99-05-18 date: add settimeofday() and stime() checks/calls date: use %Y in /bin/date punt 99-05-11 ps: use pr_sid for session leader checks 99-05-09 sum: sfopen(sfstdin,0,"rt") file lists 99-05-06 date: fix inconsistency between date(1) touch(1) tmdate(3) shar: add 99-05-05 sum: add md5sum options 99-05-01 touch,tsort: long options 99-04-28 banner,df,du,file,mesg,mount,ps,sum: long options 99-04-01 ls: long options, gnu compatibility date: fix +format for new optget() 99-03-11 dd: convert to optget() ls: (time_t) cast fmttime() arg 99-03-01 ps: fix static key table inititialization 99-02-04 ps: add maxval to determine default width 99-01-23 testdate: check date output format too move sfio,date,opt tests to src/cmd/tests move pax tests to src/cmd/pax 99-01-11 sfio/t*.c: make a few tests more portable 98-11-21 touch: add obsolete mmddhh & mmddhhyy 98-10-20 dd: fix in/out partial block reports sum: add ast4|32x4|tw checksum 98-08-11 ps: implement -G 98-07-17 ps: fix -t dump 98-06-26 rm: tighten hard link to directory test 98-04-01 sfio: fix ttmpfile by intercepting open64() and creat64() 98-03-11 dd: fix conv=* check du: list all command line args 98-02-18 date: modify tests for tmfix() 1900+tm_year leap year fix 98-01-23 df: add -O for mnt.options date: add y2k date tests 97-12-20 ps: add (but name ast_ps until it's broken in) 97-12-11 rm: fix -r bug that looped when remove() silently failed 97-07-17 rm: `rm -rf' just prints usage; it used to do `rm -rf .' du: change -kblocksize to -bblocksize, -k => -b1024 date: a few more tests 97-05-09 rm: fix FTW_AGAIN code for multi-getdents() dirs df: add ERROR_SYSTEM to -v output 96-12-25 dd: add from=<ccode> to=<ccode> tsort: fix empty list bug df: fix sync() prototype date: add -p input-format to supplement DATEMSK ls: fix boundary problem with %(path) by using %(name) ls: add -A rm: add -F to clear and sync data before remove() 96-10-11 file: update for magic discipline dd: update for <ccode.h> *: change opt_arg to opt_info.arg mesg: add df: "UNKNOWN" fs type -> "local" 96-08-11 dd: set error_info.exit after options 96-06-19 fix ftwalk() top level children anomalies (fts is underneath now) 96-05-09 date: Xopen DATEMSK tests df: Xopen update du: Xopen update ls: Xopen update find: move to tw rm: add 96-02-29 df: list some stat errors -- well, maybe not sum: add cksum link and att,bsd,posix,zip,md5 algorithms 96-02-07 df: (long) cast to handle (unsigned long) vs. (long) header diffs 96-01-30 banner: unused var cleanup 96-01-01 AT&T Research now banner: add split: add 95-12-25 find: add -nouser, -nogroup POSIX unary ops 95-12-08 df: cap = use / (use + avail) expand: new unexpand: new 95-11-18 file: ignore empty file list lines df: add Mnt_t.options and Mnt_t.flags 95-11-16 this is the place for single file standard commands 95-11-11 df: new tsort: new file: fix aix shared library 95-07-17 date: add gnu -d string ls: fix "total..." aggressive output 95-05-09 file: switch to <magic.h> and libast/magic() file: add posix -h == -P ls: sfkeyprintf lookup string arg is now the format conversion char ls: #ifdef check S_ISSOCK 95-04-01 ls: fix -c botch that treated it like -u 95-03-19 ls: add -H for posix FTW_META|FTW_PHYSICAL ls: add -f format to match pax -o listformat ls: add -D key=value to match pax -o listmacro ls: dir.sh to mimic dos -- ouch ls: don't stresc() possibly readonly string literals 95-03-11 find: add -metaphysical (posix -H) for FTW_META|FTW_PHYSICAL 95-02-14 file: add -p pattern to select types that match pattern 95-01-19 file: add linux kernel and minix as,ld 95-01-01 file: start RELEASE file file: add JPEG, dot file: fix GIF file: stresc() match strings too file: add pax compressed and delta formats ls: add -n for LS_NUMBER ls: -C if argv[0] base is lc
tests changes03-04-22 date.dat: add last, this, next tests 03-03-21 date.dat,datey2k.dat: add %Q/recent/distant/ opt.tst: add trailing '*' option and option args tests 03-02-13 base64.c: add base64encode()/base64decode() tests 02-10-04 strtof.tst: add simple cases 02-09-15 sfio/tscanf.c: add NaNS test 02-09-05 opt.tst: add .fp 5 CW for *roff tests 02-08-21 strelapsed.tst,strelapsed.c: add 02-07-27 sfio/tpoll.c: fix for rw pipes 02-06-26 opt.tst: fix debug locale message numbers 02-05-16 date.dat: add '60+n min/sec ago' tests for n min/sec after the hour data.dat,datey2k.dat: update for %u addition to tmfmt() 02-03-14 opt.tst: update <.>..< >--keys tests > 02-02-02 sfio/(tclose|ttpopenrw|ttell).c: add alarm to handle hung coproc 02-01-27 sfio/terror.h: handle non-idempotent <varargs.h> 02-01-12 date.dat,date2k.dat: fix EST/EDT %z tests 01-12-18 date.dat,datey2k.dat: update for %z change from SHH to SHHMM date.dat: add YYYY/MM/DD tests 01-11-24 opt.tst: update --?+SECTION tests 01-10-31 opt.tst: add --?+SECTION tests 01-10-30 date*.dat: fix cron tests where both mday and wday are specified 01-10-18 strtof.tst: adjust for sfprintf()/printf() rounding 01-10-18 sfio/twchar.c: add wchar_t tests 01-10-11 opt.tst: add example and literal tests, . nroff tests 01-10-10 opt.tst: sync with optget() i18n fixes 01-08-11 test.sf*: need $(LDFLAGS) for -L* library link paths! 01-03-26 test.strtoi,test.strtof: add 01-02-14 sfio: add tmpread 01-01-31 sfio: uniform test exit codes 01-01-01 opt.tst: add enumerated option argument values 00-12-11 date.dat: add a few more crontab(1) forms 00-10-31 date.dat: add date(1) and touch(1) forms sfio: kpv updates to handle mac os X 00-10-17 sfio/thole.c: move large buffer from stack to global 00-10-03 testy2k.dat: `Feb 29 01:02' => `Feb 29 2000' 00-04-01 Makefile: add ../../lib/libast to .SOURCE for features/sfio 00-03-07 opt.tst: add printf +1 bug fix test 00-02-14 opt.tst: fix for "..." attribute quote datey2k.dat: oops: %l fails for old (2000-02-29) NOW 00-01-10 opt.tst: fix USAGE_LICENSE 99-10-22 date: test all % formats 99-08-11 sfio: fix 3 tests for uwin sfio: tscanf for netbsd 99-03-25 :TEST: don't forget about foo.c for foo.tst sfio/testsfio: fix option parse for `-x *,*' and cc.* and *.cc 99-01-23 moved library tests from std to here added optget() tests
tksh changes03-01-02 Makefile: dynamic -lshell on CC.HOSTTYPE=*win* 02-08-27 tkMain.c: wait loop recode to avoid WNOHANG cascade 02-02-14 Makefile: shell:static because dll is -g => fix this situation 01-01-01 separate -ltksh from tksh main
translate changes01-01-31 translate: update --man 00-04-24 don't translate <...> and &...; html entities 00-04-01 swiped from the net
tw changes
02-01-10 tw,find: add sfsync(sfstdout) check
02-11-07 tw: add type==DOOR (solaris S_ISDOOR)
find: add -type D (solaris S_ISDOOR)
02-07-17 updatedb.sh: add --local to skip non-local directories
02-04-18 find: fix lookup() bug that dumped on unknown keys
02-04-03 find: add FTW_DELAY logic, fix directory -empty
tw: add FTW_DELAY logic
02-01-16 tw: add symlink to EXPRESSIONS doc
01-10-31 tw,find: add slocate(1) refs
01-07-17 xargs: fix -e -i -l option parse for backwards compatibility
cmdarg(): fix CMD_INSERT copy that omitted leading chars
01-05-02 tw: fix -a to use CMD_POST instead of CMD_INSERT
01-02-06 tw,find: move --local test fslocal()
01-01-01 find: fix -newer -anewer -cnewer -perm
00-11-14 updatedb: add --dir-format (it was already the default)
00-08-11 tw: add --recursive
00-05-23 cmdarg: fix -a strchr loop (thanks dr ek)
00-05-01 find: add [f]printx and %[xX] -- or use tw
00-03-12 find: fix multiple PRINT with -print imbeded in ( ) -o ( )
99-10-11 tw: tighten up --generate exit codes
updatedb: add a few options
99-08-11 find: fix -size
find: undef NOGROUP NOUSER -- (net)bsd stomps again
99-07-17 xargs: newline *and* space separated args -- duh
99-05-24 find: fix PRINT!=0 enum logic bug
find.tst,tw.tst: add
99-05-21 tw: fix print --man
99-05-09 tw,xargs: sfopen(sfstdin,0,"rt") file list
99-04-01 find: get -o -or and -a -and disambiguation order correct
find: -*time -*min fix
find: -exec {} malloc bug fix
find: fix exit status
xargs: long options, \r fix exit status
tw: long options, fix exit status
99-03-11 find: convert to optget()
99-03-03 tw: CMD_INSERT instead of CMD_POST, fix `-' file list on stdin
find: FTW_SEEDOTDIR, CMD_INSERT instead of CMD_POST
99-02-14 cmdarg: use astconf("ARG_MAX")
find: -fast to execute() just like tw
find: -xargs command ';'
99-01-23 locate,updatedb: add
cmdarg: fix bug that did not 0 last terminator in file list
98-11-11 find: -ls => ls -lis
find,tw: add astconf("PATH_ATTRIBUTES") and strmatch(STR_ICASE)
98-08-11 tw: add 32x4 file content checksum
cmdarg: fix off-by-1 bug that lost 1 arg per cmdflush()
98-07-01 tw: fix expr convert disc
98-05-28 find: add -magic pattern and -mime pattern
98-03-11 tw: fix p=pwd initialization bug
tw: fix -m interaction bug with action
98-02-14 find: add -icase for -fast ignorecase
tw: add -I for -f ignorecase
use FTW_MULTIPLE to get ordering on cmd arg dir list too
pass dir list to findopen(read)
tw: -G now takes format arg
98-02-04 find: add -fast primary to handle std `find x' == `find x -print'
97-05-09 tw: mime && magic now use PATH(ftw)
96-11-28 find: add optget()
96-10-11 find: fix multiple -exec bug
tw: strdup() compile time strings!
96-10-01 update for magic discipline
96-05-09 add find and xargs
tw,find,xargs now use cmdarg.[ch] for exec arg limits
tw: add -F codes to read/write fast find codes
96-02-29 use EXIT_STATUS() to properly report command exit status
95-05-09 add string magic field
add -X (don't cross device boundaries)
95-03-11 create this file
add -H for FTW_META|FTW_PHYSICAL
warp changes01-10-20 warp: drop :WWW: standalone distribution 99-11-19 warp: fix _RLD_LIST for sgi.mips4-n32 99-05-21 add: _xstat64 99-04-01 add :WWW:, change from function to script 98-04-01 add in factor code and intercepts 98-03-11 initial release 98-03-05 first implementation
libardir changes03-04-05 ar-port.c: fix bug that skipped initial long name entry ar-port.c: handle netbsd.i386 ' <long-index>' vs. '/<long-index>' 03-02-05 ar-port.c: handle solaris TYPE_port variation 03-01-30 ar-port.c: handle member name length == 16 (no terminator) 02-10-20 ardir.c: add ardirlist() 02-08-09 ardir.c: ardiropen() fails if !S_ISREG unless ARDIR_FORCE 02-06-11 ar-port.c: handle 4.4BSD `#1/size' long names 02-06-06 #ifndef EILSEQ => EINVAL 02-05-07 first release
libast changes
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,
libbz changes02-02-14 blocksort.c: drop -O for msvc 02-01-24 bzhdr.h: rename from bzlib_private.h for 14 char fs 01-01-01 bzlib.h: add _PACKAGE_ast checks 99-09-11 sfdcbzip: return >0 if discipline pushed 99-07-17 sfdcbzip: don't free disc on SF_CLOSE 99-03-17 split library from command, sfdcbzip.[ch]
libcdb changes
02-02-14 Makefiles: add explicit -lz -ldll references
01-07-17 cdblib: call dllerror() on failed dllfind()
01-02-14 cdbtypes: add seed detail for {hash} and {rand} types
01-01-01 cdbimage: drop span discipline that invalidated seeks
cdbflat: check details in flatevent
cdbflat: fix CDB_SPACE to strip both leading and trailing space
00-02-14 cdbimage: fix record span bug that caused cql regression test failures
99-10-01 add: cdbimage() CDB_IMAGE
99-08-11 cdbopen: fix referenced checks
cdbflat: add test for fixed length records with terminator
cdbpzip: pass details to pzip discipline
99-03-19 cdbopen.c: drop <dlfcn.h>
98-12-25 fix cdbmove bug
98-11-11 cdbflat: {.}q {.}Q
98-09-18 2.2 Cdbdisc_t expansion
Cdbdisc_t: add indexf(cdb,key,disc)
cdbflat: add flatfixread() with test for indexf
98-06-04 cdbopen: add magicmeth() to recognize !<cdb-METHOD[-MAJOR.MINOR]>
98-05-28 {.}[+-]d for subdelimiter push/pop
98-05-18 flatrecread: add delimiter==terminator
cdbtypes: add heka numbers, *native* be+le CDB_FLOATING
97-11-11 flatpureread: avoid sfgetr() ' reset -- HACK
CDB_TEST1 required to enable flatpureread tests (util bugs fixed)
97-10-01 initial release
TBD: Cdbkey_t
97-08-11 beta release
2.0 cdb header format
97-07-11 alpha release
1.0, 1.1 cdb header format
libcmd changes03-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
libcoshell changes
02-10-30 coclose.c: fix reference-after-free bug in coclose()
02-01-31 codata.c,coopen.c: fix CO_MSGFD parameterization
02-01-24 coopen.c: fix small memory leak
01-10-26 coopen.c: hung sfclose(fp) -> close(sffileno(fp)) -- wow
01-09-11 coinit.c: fix coident[] for ancient bsh that die on `test == 1'
coinit.c: and fix coident[] to weed out buggy ksh88i trap on exit
01-05-31 co*: add CO_CROSS, expose CO_DEVFD
01-04-23 coquote: add state.type to avoid getenv() overwrite on some systems
01-01-01 cokill: killjob => cokilljob, killshell => cokillshell
00-12-18 coinit: CO_OSH ? "${!-$$}" : "${!:-$$}"
00-10-25 codata: $ZSH_VERSION is not ksh
00-02-14 procrun,system: system(3) returns wait() status (not shell status)
99-11-19 co*: add CO_OSH for bsdi lack of times(1)
coexec: CO_IGNORE for all but real ksh
98-06-22 coinit: quote cd path arg
libcs changes
03-03-28 msglib.h: add D_FILENO ifdef
02-10-02 features/lib,genlocal.sh: add ssh, pid to hang warning
msglist.c: tmform() => fmttime()
01-12-12 cssfd: CS_POLL_CLOSE now close()'s if not dropped -- double duh
csstat: change down test to avoid unsigned long overflow
01-10-31 cssend,csrecv: use msg_accrights over msg_control
cspath: don't check /dev/fd/* -- duh
01-05-11 csserve: sync cs.* with css->*
csspoll: handl cspoll() EINTR that doesn't set cs.interrupt
01-01-01 cspoll: fix getmsg() flag arg
csaddr: fix local host addr initialization
00-06-01 csopen: handle dynamic ip assignment underfoot
00-05-11 csopen: handle /dev/tcp/local/9876/FOO/other
00-05-09 cssfd: CS_POLL_WRITE implies O_NONBLOCK
00-02-14 cschallenge(): add stat() to verify touch()
00-02-03 features/lib: add sys/types.h to htons etc. header refs
00-01-25 genlocal: use package instead of hostinfo
99-10-07 csbind: NODELAY for CS_ADDR_NOW only
99-09-22 cs*: add CS_MNT_TAIL for multi-char mount files
css: _UWIN workaround for st_ino verification
99-07-17 csaddr: clear more state->flags bits to avoid prev csopen() carryover
99-05-20 msg*: handle f_basetype and f_fsid for redhat 6.0 linux -- boo
99-05-13 css: fix disc.wakeup logic
cspoll: add debug=6 poll trace
99-04-23 csaddr: check for 127.0.0.[01] from hostname lookup == local
98-06-29 cs.h: add Cs == (&cs)
98-06-03 csserve: fix SIGCHLD exit bug
98-02-14 csopen: add PROC_ZOMBIE for systems that don't fork() in csdaemon()
97-11-27 csopen: /dev/tcp/*/inet.*/user for client inet.* authentication
css.h: add CSS_AUTHENTICATE for server inet.* authentication
97-11-11 csread: add CS_RESTART to restart on interrupt
cslib: CS_AUTH_MODE for authentication file mode
cs.h: drop CS_SVC_SERVICE, add CS_SVC_SUFFIX
SERVICE.mk: executable name changed from server => `service'.svc
csopen: rm CS_MOUNT_PROCESS if no connect and pid invalid
97-07-17 add css.h, csserve() on top of css
CS_INTERFACE=2 for thread safe state instead of global cs.*
cspoll(CS_POLL_WRITE) events cleared on write
csspoll(timeout,CSS_INTERRUPT|CSS_ERROR)
cs.h,msg.h: fix dll import/export
97-05-09 cslib.h: check _hdr_netdb,_hdr_netinet_in,_hdr_netinet_tcp
features/lib: statvfs.f_fstr
msglib.h: <ast.h> before "cs_lib.h"
97-04-01 csport: htons() done too soon
96-12-25 genlocal: add correct nslookup query
fix sizeof(long)==4 assumptions
install genlocal and genshare in $(INSTALLROOT)/lib/$(ID)
96-02-29 use <hashkey.h>
add csport()
drop CS_MOUNT_*; use csvar(CS_VAR_*,trust) instead
CS_VAR_PROXY ($CS_MOUNT_PROXY) names proxy connect stream
csopen() attempts proxy open on local failure
hold CS_PROC_FD_TST cssend() fds until next cssend()
csread(CS_LINE) really means 1 line
fix cslocal() and csopen() fdp initiate timing bug
96-01-31 add warning to local rather than generate on install
96-01-22 no <sys/uio.h> on linux (defined(MAX_IOVEC))
95-11-11 trap 127.0.0.[01] local address alias in cspath() and csntoa()
95-10-31 CS_MNT_OTHER '.' -> '#' to placate NT (trailing . ignored -- thanks)
95-10-11 export -> coexport
add dirsize() to cslib.h
check _mem_d_reclen_dirent for d_reclen
95-08-11 (done)(handle,EXIT_TERM(signal)) called on csserve() interrupt
0 return ignores signal
csserve() now creates local auth dir if not there, duh
fix genlocal hostinfo timeout
95-07-17 fix remote auth off by one error
95-05-09 add linux /proc/<pid>/fd/<fd> to cssend()-csrecv()
add bsd4.4 msghdr.msg_accrights -> msghdr.msg_control mods
bsd4.4 thinks S_ISFIFO() and S_ISSOCK() are the same!
features/cs.c now uses sfio
95-04-01 convert genlocal.sh to hostinfo
95-03-19 bsd4.4 stole devname(), so use devpath() in cspath()
94-12-15 csinfo("-",0) gets standard info
libdll changes
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
libdss changes
03-04-15 dssprintf.c: fix signed/unsigned overflow check
03-04-05 cxmap.c: default delimiters: read { | + }, write { | }
cxcomp.c: propagate parse() var for string conversion
dssprintf.c: avoid possible floating point underflow/overflow
03-03-27 dssprintf.c: verify that each format spec has (variable)
03-02-28 cxcomp.c: handle (foo)||(bar)
03-02-21 cx.h: add Cxvariable_t.Cxarray_t and Cxvariable_t.Cxstructure_t
dssprintf.c: catch omitted format char
03-02-20 cx.h: add Cxformat_t.fixedpoint
dssopt.c: add method name+description to fields output
03-02-19 dss.h,dsstags.c: add <PRINT>format</> for default {print} format
03-02-18 cxopen.c: fix externalf buffer extension
03-02-17 dssfread.c: dssfread() file->flags|=DSS_FILE_ERROR on readf error
03-02-14 dssopen.c: dss head query should not be parent
cxcomp.c: peek() now skips over isspace()
cx.h: add Cxtype_t.Cxtype_t*fundamental for fundamental representation
03-02-11 cxopen.c: change cx em and rm from Vmbest to Vmlast
03-02-11 cxeval.c: execute() optimizations
03-02-07 add Cxpart_t.type and <MAP><ITEM><PART><TYPE>
tag.c: rework <#TABLE#> to handle embedded <#INCLUDE#>
03-02-06 dss.h,dssopen.c: add dssrun(), split static queries into dss-*.h
03-02-05 dssfile.c: (*identf)() < 0 means reject input file
03-01-28 cx.h: add Cxtype_t.Cxmember_t* for member info ala Cxmatch_t
cx.h: add Cxtype_t.Cxreference_t*
03-01-27 cxopen.c: use <ast.h> base64encode()/base64decode()
03-01-25 cx.h: add Cxformat_t.description for format details
cx.h: change cxnum2str() prototype for error detection -- duh
03-01-24 cx.h: cxnumber() => cxisnumber() etc.
03-01-22 cxopen.c,cxcomp.c: add buffer type relational ops
03-01-21 cx.h,dss.h: add Cxdisc_t.locationf and cxlocation() for Cxdisc_t.errorf
cxopen.c: add fundamental type internalf/externalf -- oops
03-01-15 cx.h: add Cxtype_t.Cxmatch_t callouts for type specific matching
03-01-14 Cxexternal_f now returns <0 on error, > size on insufficient size
03-01-12 dss.h: add Dssstate_t.file, Dssfile_t.offset for message context
03-01-11 cx.h,cxmap.c: finish external edit support
03-01-08 cx.h: add Cxquery_t.method pattern to match caller method
03-01-07 cx.h: Cxvariable_. member=>members, added member type
03-01-06 cxcomp.c: list() now handles interpreted cx expressions
03-01-04 cxcomp.c,cx.h: add ?: composition op, child=>pass|fail sibling=>next
03-01-02 cxcomp.c: parent now set by defaults()
02-12-25 cxcomp.c: fix unbalanced (...) message
cx.h: Cxvariable_t.operand.type => Cxvariable_t.type
02-12-24 cxopen.c: cxbase(),cxnumber(),cxstring(): add
cxeval.c: cxbeg() and cxend() now check Cxexpr_t.begun
02-12-20 add <METHOD>name</> to pass remaining tags to name method
add <COMPRESS>name</> and Dssmeth_t.compress for preferred {compress}
02-12-18 add Cxdisc_t.loadf; meth==foo checks dss:foo.dss as last resort
cxbeg() calls tail first; cxend() calls head first
02-12-17 all regression tests pass after reorganization
02-12-12 reorganize local vs. global state : only variables are dss/cx local
02-12-10 add query composition and rename src to reflect changes
02-12-07 cxparse.c: change dynamic query syntax to { name opts args >out }
cxparse.c: handle dynamic and interpeted query composition
02-12-04 cxparse.c: use format.map for constant folding in code()
cxeval.c: fix instruction trace long double numeric output format
dssfile.c: fstat() file to double check sfsize()==0
02-12-02 cx.h,cxmap.c: change cxstr2num() to all error detection -- novel
cxmap.c: add CX_IGNORECASE, <IGNORECASE>1</>
02-11-28 dss.h: Dssident_f takes Dssfile_t* arg
dsslib.h: add skip and ident to Dssfile_t for Dssident_f
tag.h,tag.c: reorder visit arg, add handle arg to avoid disc clash
02-11-27 cx.h: add CX_BINARY to mark binary representation
split dsslib.c info dssopen.c dssfile.c dssprintf.c dssmisc.c
02-11-26 dsslib.c,cxopen.c: add a few more floating=>signed=>unsigned casts
02-11-25 finally give in to Dssformat_t instead of Dsstype_t
02-11-22 dss.h: add DSS_ID, fix dss_lib() export
tag.h: add Tagdisc_t.id for pathfind()
cx.h: export cxinitmap()
dsslib.c: add sfdcpzip() error check -- how novel
02-11-21 tag.c: handle <#INCLUDE#>path</> and <#TABLE#>path</> closing </>
02-11-20 move support libraries to dsslibs dir
02-11-19 opaque/opaque.c: add opaque method
dssmagic.c: magic support for opaque data
dss.h: add variables to Dsslib_t, add dssadd()
dss.h: DSS_STATIC for static method link
02-11-18 dsslib.c: drop dss_init(), add libraries to Dsslib_t
dsslib.c: drop Dss_t* arg from dsslib(), change dssadd() to dssload()
02-11-16 cx/cxeval.c: set optget() discipline for query ndex\f
02-11-15 flat/flat.c: snarf cdb flat record code
cx dynamic queries now defined via dsslib()/dss_lib()
02-11-14 types/num_t.c: add numeric encoding support
02-11-12 finally fix cxvariable() . references for dssprintf()
add <NAME><DESCRIPTION><IDENT> nop's for all top level tag input
02-10-31 switch to XML tag specifications (with self documentation)
02-10-17 dsslib.c: add generated methods to the list of all methods
02-10-15 flat/flat.c: add initial XML flat file description support
02-10-11 netflow: add ns_t start,end nanoseconds since the epoch
02-10-09 bgp-ipma.c: add
dsslib.c: fix printf double -> integer cast bug when sign bit set
02-09-30 text/text.c: add ipadd_t,time_t: really need a "struct" method
02-09-24 netflow/flow-dump.c: implement dumpfwrite()
bgp/bgp.prt,netflow/netflow.prt: move from src/cmd/dss
02-09-11 cx: add Cxquery_t,Cxframe_t and support functions for dll queries
cx: change Cxoperand_t keep boolean to refs count
cx/cxparse.c: work around sgi cc page boundary bug
pt: switch from vm region (16K) per table to malloc-per-entry
lsa: fix (int) pointer cast that truncated on 64 bit arch
lsa: use fmttime(%K) to list dates
02-09-05 Makefile: optimization bug seems to be in sol*.sun4, not just sol7
02-08-29 dsslist(): no dss_init() missing error message when scanning for dlls
02-08-22 dss,cx: eliminate inter-object globals for darwin dlls
02-08-20 cx/cxopen.c: drop cxvmresize; use ast vmresizef instead
lsa/*: add $pragma prototyped for sun4
02-08-19 cx/cxparse.c: handle char const operands on left and right
02-08-14 dss.h: add dss_init() prototype for static method links
02-08-12 lsa: add
flat: drop until different from text method
dsslib.h: install for independent method dlls
02-08-11 cx/cxopen.c: add cxscope() to push/pop scopes
02-08-09 cx/cxparse.c: cxvariable() now reports "undefined variable"
02-08-08 cx/cxparse.c: handle type1->base==type2->base callout
cx/cxparse.c: add /.../ quotes strings (already bowed to =~ and !~)
02-08-07 cx: add cxfree(), cxtell(), cxvmresize()
bgp/bgp.h: add Bgpredisc_t, Bgperror_f, Bgpreresize_f
02-08-01 cx/cxvariable.c: set reference value type
dss_init: now 3 args, second is option string
02-07-31 dsslib.c: all methods now dlls; dsslist() searchs PATH
02-07-25 bgp/bgpre.c: fix must logic
02-07-19 dsslib.c: dsscomp() now pops cx input stream to previous state
cx/cxopen.c: fix =~ typo that checked for CX_EQ instead of CX_MATCH
02-06-26 dsslib.c: add shared lib method dss_init() hook
02-06-19 cxopen.c: add default number<=>string conversions for base==number
02-06-18 netflow: split into { dump fixed flat } method types
02-06-14 dss.h: add dssfopen() Dssflags_t arg; DSS_FILE_READ/DSS_FILE_WRITE
cx: add Cxreference_t for structure member references
dssprintf: avoid sfkeyprintf() by caching Dssformat_t
02-06-12 netflow: add
02-06-10 cx/cxparse.c: add vm arg for parse time internalf/externalf
bgp/bgp.c: add ipprefix_t==ipprefix_t callout
02-06-07 bgp-mrt.c: handle long prefix field line split
02-06-03 bgp.c: add "origination" for data time
02-06-02 bgp.c: fix ipaddr_t/ipprefix_t inequality overloads
02-05-31 bgp-fixed.c: fix read swap
02-05-29 split library and command source
02-05-28 add { =~ !~ } to usage
advertize { variable type meth-type } dictionaries
drop { itemf infof }
02-05-23 update for reworked cx type interface
02-04-04 add numeric field maps, -I, %include
02-04-03 update bgp fields
02-03-31 first working flat method
02-03-26 first working dssgrep with bgp method
02-03-19 snarf pta bgp and cx libraries for initial implementation
libexpr changes02-10-02 exeval.c: tmform() => fmttime(), static nmbuf[] => fmtbuf() 02-09-11 expr.h: move exbuiltin[] to private exlib.h 99-09-22 exparse.y,exeval.c: add for(ID[DYNAMIC]) exparse.y: ref[i].ref 98-12-25 excc: fmtesq() to handle 98-11-11 expr.h: add disc matchf for strmatch exlib.h: fix exeval string mem leak with Expr_t.ve 98-09-11 expr.h: move Exdata_t to last public element of Exnode_t 98-07-17 label: return type INTEGER add exdump() for debugging 98-05-22 STRING * STRING == common chars by position, ' ' for diff 98-05-11 add function args; NOTE: auto's still global 98-04-01 sfprintf Sffmt_t update 98-02-14 fix aggressive freenode 98-02-04 finally drop exstr*() for vmalloc regions 97-12-07 preprint adjusts l count for %[doux] 97-10-31 tweak INTEGER <=> auto conversions 97-10-01 INTEGER is now Sflong_t 97-08-11 add pathfind() add '$' to identifier set eliminate S2B at PROCEDURE level 97-07-17 discipline interface (incompatible but only tw,cql affected) add excc() to generate C expression code drop exinclude() add printf base param (%width.precision.base<format>) 96-12-25 rearrange exparse.y to keep yacc and bison happy 95-08-11 drop exseek(), add exstatement(), exrewind() tune excontext() 95-05-09 drop %token for tokens in %binary,%left,%right to avoid redef errors add EX_CALL and EX_SCALAR to refval|getval|setval elt arg excomp with sp==0 and fp==0 resumes from previous context fix exseek() loosen excast() restrictions fix Oexparse.[ch] generation 95-04-01 add solaris yacc bogus yyact index makefile workaround fix switch newof() size=0! 95-03-19 fix exstore() alignment bug 95-01-11 prepare extoken.c for TRACE_lex==debug-level add exseek() for backup
libpp changes
03-03-25 ppop.c: PP_RESERVED now deletes old symbol before redef with lex value
03-03-14 pp.probe: fix the #include_next probe
03-02-28 ppsearch.c: fix -MM bug that missed prefix include hosted mark
03-02-18 pplex.c: handle COMPATIBILITY
03-01-23 probe.win32: mingw32 tweaks
02-12-17 ppargs.c: document -I-!
02-12-06 -I- pp:noprefix otherwise pp:prefix default
02-11-29 probe.win32: added __INTSIZE, drop dm pp:noallmultiple
02-11-26 pp.def: add STDC_HOSTED
probe.win32: add C95 and C99 STDC predefined macros
02-10-30 ppfsm.h: add boundary check to IDSTATE()
02-10-18 probe.win32: update for mingw
02-10-15 ppsearch.c: if PLUSPLUS && not found && no suffix then try with .h
02-10-10 pplex.c: fix does not end with `newline' bugs
02-10-01 ppop.c,ppargs.c: -I-I => -I-M with proper docs; -I-I for PP_IGNORE
02-09-21 pp.probe: add pp:nocatliteral test
02-09-10 pp.tab: add pp:passthrough to match -D-P docs
02-08-30 probe.win32: fix for borland cc -E
02-08-22 ppexpr.c: add __SOURCE__ and #match(string,pattern)
02-06-25 ppproto.c: fix pragma search bug that stopped after 8 comment lines
02-06-11 ppsearch.c: fix ... next include search to skip *all* intermediates
02-05-28 probe.win32: updates for { mingw }
ppsearch.c: don't use inherited prefix for <...> -- duh
02-05-24 ppcontrol.c: simplify getline() space canonicalization
probe.win32: updates for { digital-mars borland lcc }
02-05-20 ppcontrol.c: update to use regsubcomp(),regsubexec()
02-05-09 ppcontrol.c: inhibit `EOF in directive': newline warning will catch it
pplex.c: inhibit `newline in character constant' for hosted directives
02-05-06 probe.win32: add more win32 compilers
02-04-15 probe.win32: handle long long unsigned int
02-04-12 ppproto.c: fix NOTICED check
02-03-15 ppproto.c: fix cpp pp:compatibility double line sync memory fault
02-03-11 pplex.c: add pp:modern to emit \a \v instead of octal forms
02-02-14 ppargs.c: fix -D or -U as last arg core dump
02-01-24 pplib.h: use vmalloc(Vmregion) if _std_malloc
02-01-23 probe.win32: add more msvc predefined macro candidates
02-01-14 ppproto.c: #pragma prototyped noticed -- has notice comment
02-01-10 ppproto.c: fix PROTO_FORCE|PROTO_PASS bug that disabled PROTO_FORCE
02-01-08 pplex.c: fix HEADEREXPAND|HEADEREXPANDALL logic
01-11-22 pplex.c: add pp:headerexpandall for gcc vs. msvc <...> expand diff
pp.probe: add pp:headerexpandall test
01-10-20 pplex.c: fix pp:splicespace inside "..."
01-09-11 ppinput.c: use pathnative() for native fs representation
01-08-31 pp.probe: handle -Dmacro(args)=value
01-08-11 ppcontrol: fix ... and __VAR_ARGS__ for C99
ppsearch: fix SEARCH_NEXT bug that skipped the include stack
01-08-06 ppproto: preserve #! first line for # comments
01-07-17 gentab.sh: fix ksh test to omit pdksh (typeset -u fails)
01-06-26 ppproto.c: fix another buffer boundary bug that didn't preserve OTHER
01-06-06 ppsearch.c: list PP_FILEDEPS headers once
01-06-01 pp.h,ppop.c,ppsearch.c: allow multiple PP_FILEDEPS (-M)
01-05-24 pp.probe: fix pp:hostedtransition probe: only suncc can __STDC__==1?
01-04-25 pp.probe: split macro probe files for compilers that have #line limits
01-04-19 pp.h,pplex.c,ppproto.c: fix { \a \E \v } EBCDIC translations
01-04-16 pp.tab: add pp:splicespace for mvs jcl decks -- the 60's live on
01-04-13 ppbuiltin: add __FUNCTION__ cache for functions that span the buffer
01-03-08 pp.tab,ppbuiltin,ppcontrol,probe: add pp:hostedtransition
01-02-22 pp.tab,ppfsm,pplex,pp.probe,probe.win32: add pp:zeof for ^Z => EOF
01-02-14 ppcall.c: fix macro(tuple*) bug that truncated macro arg expand buffer
pplex.c: fix # inside pp:pragmaexpand
gentab.sh: change ksh test for openbsd /bin/sh
ppproto.c: fix buffer boundary bug that lost call nesting
ppproto.c: add realloc prototype and memcpy=>memcopy strcpy=>strcopy
01-02-09 ppsearch.c: fix another pp.include null dereference
01-02-07 ppcall.c: fix stack inequality checks
ppcall.c: handle trailing in macro args
01-02-06 fix readonly buffer write (cpp test 07:2873)
01-02-04 fix -M* to properly handle .cxx .cpp .C input
fix IN_BUFFER pop bug that did not reset the token pointer
01-01-01 pp:headerexpand: space ok if not IN_MACRO
ppcall: hide if IN_FILE|IN_MACRO|IN_EXPAND
pplex: don't complain about ^L or ^Z as last char in file
ppsearch: fix #include <.../foo.h> loop
ppcontrol: manulally increment IN_RESCAN error_info.line
00-12-25 add EXPOSE to expose hidden macros (for #import ...)
probe.win32: add cc path *and* args to first line to avoid hash clash
pp.probe: filter out invalid symbols for predefined macro scan, duh
pp:headerexpand: limit expansion to IN_MACRO
00-10-31 __STDC__==0 if HOSTED && _UWIN
00-10-26 pplib.h: change SEEK_SET to O_RDONLY for aix
00-10-17 pp.probe: __IMPORT__ => __STDPP__IMPORT__
00-09-18 add __FUNCTION__=#(FUNCTION), #define <a b> c
pp.probe: add probe_longlong
probe.win32: add #define <long long>
00-09-11 add pp:noproto (NOPROTO pp.option) to disable ppproto()
00-09-01 ppproto: fix buffer slide bug
00-08-11 pplb.h: check for <unistd.h> already included for PROTOMAIN
pragma: add pp:pragmaexpand to expand pragma args
ppcontrol: always disable pp:* pragma expansion
ppcall: fix pp:hide buffer clash
00-06-01 pplex: fix "" and ""
00-05-22 ppsearch: fix uwin #include <C:/foo/bar.h>
00-05-16 probe.win32: update reserved word list
00-05-09 ppcontrol: fix C++ macro >+> invalid fuse
ppcontrol: 'macro' expansion only for COMPATIBILITY | TRANSITION
c9x: up to date with proposed standard
00-04-01 pp.tab: add allpossible and ALLPOSSIBLE
ppmacref: fix ref inside literal catenation
00-02-14 pppopen(): general comments with "bme" (begin middle end) string
00-01-11 pp.probe: hosttype now in C.probe
99-11-19 is[a-z]*( => ppis[a-z]*(
ppproto: "..." [A-Z_]+ "..." ignores [A-Z_]+ if PROTOMAIN
99-11-11 ppproto: use astlicense()
99-10-31 ppproto: add PROTO_SHARP, update license parse
pplex: fix some MARK bugs seen by #define X "A B <C@D>"
99-10-01 add pp:stringsplit for "......" => "..."..."
add pp:lineid to match PP_LINEID
99-07-17 ppbuiltin: fix getline() canon spacing for numbers
ppsearch: fix FILEDEPS not found print
pplex: fix spurious FILEDEPS '.' empty character constant message
ppargs: fix usage error call and error_info.id default value
ppproto: fix up copyright notice for ksh93 style .author file
ppproto: check if notice text if file path
99-06-02 ppproto: add __MANGLE_package_DATA__ & __MANGLE_package_FUNC__
99-05-26 ppcontrol: all pragmas but prototyped need pp:
99-05-25 ppargs: long options
99-05-22 ppproto: changes for full ast vs. PROTO_STANDALONE
99-05-09 ppinput: add #pragma pp:native and (pp.option&NATIVE) for native paths
99-04-22 ppproto: finish type=open notice
99-02-11 #define __STDC__ #(STDC); demote __STDC__ to 0 for HOSTED (thanks sun)
99-02-04 pplex: joined strings separated by n
99-01-11 probe.win32: add _UWIN predef
98-10-20 pplex: a few more (HOSTED|RELAX) checks
-D:preserve throws a bunch of stuff -- great for imake (yuk)
98-05-11 pplex: fix "..." off by one line count
98-02-14 ppcontrol: fix HEADEREXPAND missing NUL
98-01-23 ppproto: add _GNUC_ to _WIN32 check
ppfsm: don't optimize for hp.pa
97-11-11 ppcontrol: fix recursive use of pp.hdrbuf for HEADEREXPAND
97-10-31 ppmacref,pp.h: add ppmacref sum arg -- some parts assumed it!
97-10-01 pplex: loosen HEADEREXPAND check
97-08-11 pplex: fix COMPILE pplex() bug that did not reset NEWLINE for S_MACRO
pplex: PP_PRESERVE does not pp.pragma <token> ... # <pragma-stuff>
pp.def: add UWIN
ppcall: fix macro actual arg error checks
97-07-17 ppproto.c: C++ __INLINE__ prefixed with extern __MANGLE__
ppop.c: fix PP_RESERVED T_* lookup
97-05-09 pp.def: add MVS :architecture:
ppfsm.c: change C_* pseudo codes to not clash with ebcdic
pp.probe: fix stdc.$src sed script
97-04-01 ppcontrol.c: fix tokop() for PP_RESERVED
96-12-25 add ms #@ charize to complement # stringize
pp.probe now detects preincludes
ppproto: allow #ifdef'd function definions before {
ppproto: NoN() is not a function
pp.key,ppkey.h: add int64
ppargs.c: fix -M{DGM}*
96-12-06 add pp:headerexpand for ms that expands macros in expanded <...>
96-10-31 a few more line sync tweaks for EDG C++
96-10-11 fix pp:macref off by one for standalone pp (big suprise)
96-10-01 -D:macref -D-L -> #line (n-2)pragma pp:macref ...
96-08-11 fix transition macro expansion
compatibility
96-02-29 use <hashkey.h>
drop ungetchr() in ppcall that modified macro values
tighten the DEBUG PANIC case in ppcontrol.c
unify #architecture() and #machine() probe
add POSIX,WIN32,X86 to pp.sym
tweak pp.probe
96-02-14 pp:noallmultiple works on hosted files too
fix #define /* EOF loop
96-01-31 fix ## as arg to stringize macro to have ## value, not #
add nonstopux and SYSTYPE_SVR4 to pp.def
96-01-01 AT&T Research now
fix catliteral line sync line number bug
ppproto() converts non-directive <num>u to (unsigned)<num>
switch to <regex.h>
95-10-31 fix PP_COMPILE PP_TRANSITION bug that didn't allow space before #
fix PP_TRANSITION wline in definition complaint
95-10-11 fix ppproto() PROTO_PLUSPLUS bug
change ignored pp.incref PP_SYNC_POP to PP_SYNC_IGNORE
add PP_PEDANTIC to handle gnu oversights (can't beat em ...)
add memfatal() call
relax newline in quote semantics
proto inline -> __INLINE__
fix __INLINE__ proto def for __GCC__>=2
95-08-11 pp:preserve for easel (aka IFS) and imake
fix pp:reguard ## macro output
fix MARK PANIC with CATLITERAL
PP_INPUT *.(s|S|as|AS|asm|ASM) implies pp:nocatliteral pp:spaceout
ppargs() can't use isid() until after FSM_INIT
-D#... for assert, -D%... for directives
__STRICT_ANSI__ && __GNUC__ requires -pedantic for PP_STRICT
#include <.../x> for include_next
95-05-09 fix tokop() bug that concatenated adjacent strings
don't concatenate directive string literals in proto
split pp.mode into pp.mode and pp.option
restrict pp.probe hostinfo output to the first token
fix EOB/EOF pplex() nonterminating loop
unused var cleanup
add pp:reguard to emit #define and #undef (for C++ templates)
add a few ppproto '\r's for NT
fix T_BUILTIN ppsymbol -> ppsymkey pun
fix pp:stringspan `#define x "' hang
95-04-01 fix pp:hide for macros defined before the hide
fix pp:map getline space canonicalization
fix proto `<digits>[uU]'
proto does // comments by default (fixes bug introduced 07/17/94)
proto does "..." "..." string literal concatenation
spice up proto copyright comments for nonexclusive license
add hosttype assertion
fix proto `typedef type fun(args)'
proto copyright finishing touches
fix overzealous "empty character constant" message
95-02-14 pp:nopredefined probe info defines are now pp:builtin
clean up pp:hosted conflicts
tighten up unknown directive warning
PP_INPUT *.(s|as|AS|asm|ASM) implies pp:nocatliteral pp:spaceout
change newof(0,char,n,0) to newof(0,char,0,n) if 0 init not needed
don't emit unkown directives inside #if 0 ... #endif
95-01-19 *strict-* does not force STRICT
token##null-last-variadic-arg consumes token (to match gcc)
variadic actuals call be one less than arity (to match gcc)
fix PLUSPLUS digraph bug that lost comment state
tighten up PLUSPLUS //, /*, */ interaction warnings
macro formals in "..." for COMPATIBILITY|TRANSITION
macro formals in '...' for COMPATIBILITY|TRANSITION|!STRICT
STRINGSPAN allows ' in '... too
add PP_SYNC_* flags for pp.incref arg 3
add PP_SYNC_INSERT for invented file references
fix C++ fsm bug that popped out of comment in // /* */ ...
PP_INPUT *.(s|S|asm|ASM) implies pp:nocatliteral pp:spaceout
95-01-01 avoid string literal concatenation in pp.probe #if #predicate() tests
fix pplib.h memcpy,strncmp PROTOMAIN prototypes (its a nop tho)
94-11-11 fix readonly memory reference in refill
add C++ digraphs (digraph = --trigraph)
add C++ T_EXPLICIT -- did dos take over C++?
fix improper ppproto() C++ __PARAM__ expansion
94-11-01 allow #include string header arg concatenation (yes, its not ansi)
#macdef macros are recursive
94-10-01 fix C++ } loop in ppfsm/refill
T_NOISES consumes symbol and optional paren group
__builtin_* T_NOISES by default
fix "..." "...MARK..." join
fix STANDALONE */*comment*/
94-09-11 fix pp.probe cp+strip with chmod u+w
94-08-11 add -I<vdb-archive> to handle pax -x ppar header archives
fix -D-Q header checkpoints
add `pp:chop prefix' to chop prefix/ from include prefix/*/*
add pp:keyargs for key=value macro formals/actuals (not for C!)
94-06-01 fix ppcontrol/tokop() that botched pp:id, etc.
add pp:plussplice to handle cfront // \<newline> ignorance
inhibit trigraph conversion for pp:compatibility, duh
new C++ keywords enabled by pp:keyword
proto: int fun xxx((yyy)) is macro call, not decl
fix !ALLMULTIPLE pp:load to SKIP between duplicated line syncs
fix PP_DUMP for pp:noallmultiple, optimize pp:load format
fix CPP CACHEOUTX() buffer boundary bug
94-04-01 drop warnings for -X*
fix ppproto() %% in comment bug for yacc proto
PP_COMMENT now truncates comments to MAXTOKEN-4
94-03-01 no pp:truncate for #pragma pp:macref
94-01-01 fix STANDALONE+PP_TRUNCATE fsm macro bug
drop __VOID__ from ppproto.c
93-12-01 release
93-11-11 fix PP_COMPILE+PP_TRUNCATE=8 bug for continue,unsigned,etc.
add PP_LINEBASE for compilers that botch long line sync paths
fix #if unsigned promotions
aggressive interactive line splice flush
fix #else inside multiline null dereference
fix "..." newline space # COMPATIBILITY CATLITERAL bug
fix m(a)b compatibility token pasting [cpp/test/ess.01.c]
fix nested @X mark bug [cpp/test/net.02.c]
93-10-11 add FSM_COMPATIBILITY for floating point hex -- yo ansi, anybody home
add #else if|ifdef|ifndef for COMPATIBILITY but with warning
drop PP_HOSTED, add ppop(PP_CDIR|PP_HOSTED,"-",n), -D-I for pp:cdir
93-10-01 add pp:opspace to tokenize <binop><space>= to <binop>=
93-08-11 drop ancient BCD constant (`...`) detection -- wake up cfront
fix PP_TRUNCATE macro fsm bug that missed some expansions
fix stringize bug that choked if space preceded #
fix <function-like-macro> <identifier> bug that omitted space
93-07-17 minor transition mode fix for string concatenation
fix standalone macdef line sync buffer bug
pp:noline turns off linesync, pp:line restores it
93-06-22 add pp:prefix to control prefix include compatibility
93-04-01 use probe_verbose in predefined symbol probe
93-03-11 close fd after last file block read -- relaxes open fd limit
remove pp.control nesting limit
add `#rename old new'
__STDC__ not defined for plusplus (until they figure it out)
93-01-22 fix ansi macro args recursion bug
93-01-11 fix '\377'<0 for signed char compilers
add RELAX for __STDPP__directive directives
92-12-25 fix #include guard test that omitted IN_tokens for CPP=1
92-12-11 fix pp:truncate for STANDALONE and COMPILE
fix pp:allmultiple again!
92-11-30 add pp:final, pp:initial
add __STDPP__directive and #(directive) as ??= alternative
relax obsolete macro expand warning for _xxx||xxx
retain quoted wline when PP_LINEID != ""
fix CATLITERAL hidden newline line sync
92-11-11 fix COMPATIBILITY EOF in macro arg list and # in macro body
fix [?\] on 4K buffer boundary bug that lost next refill()
fix ppproto bug that botched -ih comments
92-10-31 fix standalone -C bug that duplicated output buffer
add pp:stringspan to handle gnu "<newline>" extension
92-10-12 fix T_X_GROUP asm bug
allow `#define a "b' pp:compatibility hack
92-08-11 add PP_PLUSCOMMENT, pp:pluscomment probe
add #(default v,d) #(empty v) #(iterate m,...)
compatibility allows #define f(a,,b) for 2 args!
probe now handles gcc -E -g3 to get gnu predefines
92-07-17 fix pp:multiple again, fix ppproto() out of bounds
PP_STANDARD is always PP_CDIR and PP_HOSTED
92-07-11 add #import and #include_next probes
92-06-11 fix bug where comments dissappeared after disabled macro in standalone
COMPATIBILITY macro recursion bug fix may cause some to be missed
PP_MACREF or -D-L- ignores #line until #line with file arg
92-06-01 add pp:ignore
fix probe of stdpp to handle -I[-+][CH]
92-05-11 add pp:hide <id>, pp:note <id>, noticed(<id>), exists(<...>)
add defined(__STDPP__<pragma>) feature test
add PP_CDIR, pp:cdir for C++ extern "C" { ... } include wrapping
pp.probe now handles predefines with values other than 1
92-04-11 add inverse proto (K&R -> prototype) to ppproto
92-04-01 release
92-02-29 #include <...> inside <xxx.h> gets next xxx.h on -I list
non-libpp generated symbols containing ' ' are not truncated
92-02-11 conversion to new lexer brings time close to reiser (esp. w/gcc -O)
combine standalone (ppcpp) tokenizing (pplex) and proto lex tables
recode ppproto for standalone operation via PROTOMAIN
add PP_NOHASH for PP_COMPILE front ends that rehash T_ID anyway
delete PP_NOQUOTE
delete #option(strict) test in probe in favor of non-hosted warnings
add unsigned to ppexpr()
91-10-11 add pp:truncate <len> for non-flexname compilers
91-09-11 fix ppproto aggression on f(*y); -> f __PROTO__((*y));
91-08-11 switch seterror() to error_info.*
add pp:linefile to force file name in line sync
add pp:spaceout for probed compilers that don't allow pp override
91-06-11 fix ignored -I/usr/include bug
91-04-11 set SYM_INIT in pp.macref for -U on cmd line
91-01-31 replace pp:pragma and pp:directive with pp:map
replace #assert and #unassert with #define #... and #undef #...
#assert and #unassert compatibility retained via pp:map
replace -D#directive with -D%directive (because of #assert change)
add pp:splicecat for \<newline> #define token paste
fix \<newline> bug that added space in COMPATIBILITY quoted strings
90-12-11 fix #pragma pp:multiple
90-11-11 generalize handling of non-standard keywords for COMPILE
replace pp:identifier/PP_IDENTIFIER with pp:reserved/PP_RESERVED
pp*keys* -> ppkey
add PP_NOISE
(gag) handle msdos paths by changing to / and retrying on failure
(gag) handle msdos :> operator by pplex() '+' return
add #pragma prototyped and ppproto.c for prototype conversion
add unsigned long arg to PP_MACREF for hashed macro arity+value
90-10-11 0f is not a float constant
change -I-M to -I-I, file just lists include files to be ignored
fix ppprobe for __STDC__==0 hybrids
add pp.flags and PP_[a-z0-9]+ for exported state info
90-10-01 fix standalone ppmacref for directives
add `try' to C++ keywords
fine tune a few COMPILE error messages
privatize pp.h
90-08-11 use opt_again in cmdargs() option parsers
(gag) add pp:macref macro reference pragma to handle CC preprocessors
(gag) add pp:spaceout to handle ansi + asm hacks
90-07-17 remove spaces from macdef line sync (blew sun cc)
90-06-11 add internal ppsymkey to avoid ppsymbol.value pun for SYM_KEYWORD
90-05-01 fix catliteral bug of `"..." << ' -> `"..." <='
90-04-01 fix `ifndef-define-endif' include wrapper test
90-03-27 add setpreroot() to ppop() [ sleazy but well hidden ]
90-03-22 pp.macref called for all undef's
90-03-20 add <prefix>cpp checks to ppprobe
add pp:hostdir before pp:include in ppprobe
fix PP_HOSTDIR op with no dir arg
90-03-15 System V CCS compatibility update
add PP_ASSERT
add -A for PP_ASSERT and -YI,dir for PP_STANDARD
add ppincref.c and -H to use it
-Xa defines __STDC__ to 0 (gak)
90-03-09 duplicate macro formals cause level 2 error
90-03-01 add #(ARGC) for (variadic) macro arg count
90-02-11 fix line sync number bug in pppush()
89-12-01 ignore leading = in pragma map for old pragma compatibility
check for NEWLINE on first macdef line sync
89-11-11 add -1 arg to pp.incref -- include skipped
STRICT 0x7e-macro is T_INVALID per standard
89-10-31 put all C keys in ppckeys.c, C++ keys in pppkeys.c
add pp:identifier pragma to selectively undo PP_COMPILE keywords
add tokop() to ppcontrol to support multi-valued pragmas
add #ifndef...#endif include optimization for STRICT
89-10-27 use REF_NORMAL, REF_IF, REF_UNDEF for pp.macref arg2
89-10-17 fix c(x)y compatibility pasting bug
#line 1 "f" now marks "f" included
89-10-11 enable -I. during initialization
89-10-01 inhibit pp:linetype syncs for top level #line directives
----- see HISTORY -----
libpz changes03-04-15 pzlib.h: add PZ_MARK_PART for partial last input record pzlib.h: add PZ_MARK_TAIL for tail records partial input record is now a warning and handled on inflate 03-03-03 pzhead.c: PZ_FORCE disables unknown input diagnostic 03-02-10 sfdczip.c,sfdcpzip.c: handle PZ_CRC and SFGZ_NOCRC 03-02-06 pzhead.c: fmtquote() FMT_ALWAYS update 03-01-04 pzpart.c: list range only if more than 2 elements 02-12-25 pzip.h,pzpart.c,pzdeflate.c,pzwrite.c: add PZ_SORT 02-12-18 pzwrite.c: add partial row buffer 02-12-12 sfdcpzip.c: move disc arg to the end for discplined consistency 02-12-11 sfdczip.c: add sfdcpzip.c: fix SF_WRITE, set disc.partition if passed in 02-11-22 sfdcpzip.c: fix bug that did not close pz->pz->io (and its fd!) pzpart: check option errors (duh) and accept comment option 02-10-31 pzpart: partition file "/" or "//" or "/gzip/" => gzip compress 02-04-30 pzopen,pzhead: tighten pzip magic check via reasonable version number 02-03-09 pzopen,pzdeflate,pzsync: add fatal error checks 02-02-14 pzopen: disable PZ_UNKNOWN check if PZ_NOPZIP -- duh 02-01-11 pzdeflate: use Sfoff_t for sfmove() return instead of ssize_t 01-08-11 pzinit: add for static discipline library linking 01-07-17 pzlib: call dllerror() on failed dllfind() 01-06-28 pzpartnext: add to iterate over all partitions pzpartition: default partition can be on one line: `"label" size -' 01-02-02 delay buffer allocation until pzpartinit() pzpart: fix non-terminated string bug for url-style paths 01-01-01 pzopen: open new stream instead of using sfstdin for sfdcgzip() 00-12-11 pzpart(): add -X0 => prefix.skip => skip prefix on uncompress 00-10-04 pzhead(): accept empty input for compression -- duh 00-05-31 pzclose(): check for pz->io == 0 00-02-14 PZ_DELAY|PZ_HANDLE|PZ_UNKNOWN for 'unknown format' after pzlib() done 00-01-26 pzlib: dlsym() for NAME and _NAME (some don't map `_' automatically) 99-08-11 discipline cleanup pzdeflate: last record incomplete is an error pzline: add pzpart: add partition#name partition?name=value,... pzclose: add scaled bps to PZ_SUMMARY pzfixed: use size if available and do 2 col freq check pzfixed: add optional pz for tracing pzip.h: add PZ_REGRESS, Pz_t.test, drop PZ_TEST* *: details => options, use optstr() with usage for PZ_OPTION pzpart: fix off-by one max col check 99-07-17 sfdcpzip: don't free disc on SF_CLOSE pzsplit: add 99-06-23 add EOF checks to PZGETP() and PZGETZ() 99-06-21 add Pz_t.fixed, name=value to partition file 99-06-15 pzfixed: fix divide by 0 99-06-04 resize pp->fix after detail changes 99-03-17 add pzfixed() 98-11-11 nmap==0 allowed 98-11-01 add PZ_NOGZIP,PZ_NOPZIP for finer convert control 98-10-20 add Pzdisc_t readf and writef and file trailer add pzconvert() discipline 98-10-15 hide some Pzpart_t details; part access by name only 98-10-01 2.0 format and interface -- Pzpart_t for multiple partitions 98-09-09 1.3 format -- separate <run,off> <val> compression groups 98-08-11 1.0 release
librecsort changes03-03-07 Makefile: generate dll for dr. ek 03-01-21 rsmerge.c: fix typo that kicked in on large (~100K) record sizes 01-01-01 recsort.h: _RSHDR_H => _BLD_recsort; should have been done years ago 00-08-31 rskey.c: fix code() buffer off by one (too far) 00-03-17 rskey.c: consult RLIMIT_DATA for size limits 00-01-25 rskey.c: win32.i386 optimizer generates bad code for key_n_code 99-11-19 rskeylist.c: add usage 99-07-28 rskey.c: factor number of key fields into rs.disc.key 99-03-03 recsort.h: add RSKEYDISC() to get Rskey_t.keydisc from Rsdisc_t* 98-08-11 add rsmerge() write error detection 96-12-25 add (ulong) for alpha 64 bit << bug (ahem..correct stdc interpretation) add (int) for unsigned char subtracts drop function __IMPORT__ use vmalloc() for all allocations we're getting sick of bsd: <stdlib.h> has a radixsort() prototype! unroll rs-rasp.c for the hp.pa compiler; don't trust it! 96-10-31 sfio,dll update drop MAXFIELD restriction by converting to linked list add -k*a to accumulate fields from dup keys 96-10-22 K&R cast cleanup 96-10-17 iffe test for sizeof(long)==8 96-10-15 oops -- regression test bug let rswrite() bug through 96-10-11 all regression tests pass for all methods 96-10-01 rskey discipline and eventf; remove libast dependencies 96-09-20 rskey(kp,s,obsolete) 96-09-18 first working version with -lsort (ok, so -c and -m don't work yet)
libtksh changes
03-04-05 src/var.c: fix off by 1 malloc() call -- for once not gsf's fault!!
src/var.c: hack around nv_move() double-free bug -- needs better fix
03-03-12 src/tcleval.c,src/tclIO.c: change sfslen() => sfvalue(f)
02-08-27 tcl/tclNotify.c: XXX add sh_sigcheck() call -- to be cleaned up
02-08-22 enable regex cache initialization
02-06-25 include/nvextra.h: use an addaptable cheat for the namval offset
02-03-17 update ksh private assoc array offsets -- should be a function call
02-01-30 compensate for uts.390 lack of header guards for { select.h time.h }
01-04-19 add HAVE_TIME_H HAVE_SYS_PARAM_H HAVE___FD_MASK tests to tclPort.h
00-02-10 --- Release 7.6 ---
00-02-10 Update README file
00-02-09 Deleted unreferenced vars, dropped tcl 7.5 compatibility,
added _PACKAGE_ast <tm.h> routines to tclUnixTime.c, added
forward refs to the Tcl_LinkVar() Tcl_UnlinkVar() tk callbacks,
changed Makefile library refs
00-02-07 Modified shcompat.c and shcompat.h to handle
change to ksh93 where nvenv is now private.
00-02-07 Included Tk4.2 in distribution to avoid
compatibility problems. Modified Makefile.
00-02-07 Using new packaging provided by gsf
97-06-24 src/tclIO.c proto tweaks [gsf]
97-04-10 --- Release 7.6b1 ---
97-04-09 tcl_open |command works
97-04-09 Default interp mode is INTERP_TCL
97-03-09 Combined tksh.c interp.c to init.c
97-03-09 Incorporated changes for Tcl 7.6
97-03-09 waitevent sets interp type to tcl instead of having eval guess
97-03-09 Inserted code to null terminate argv in InterpProc
97-01-20 Integrated in tcl 7.5p1
97-01-20 Integrated tclIO.c written on sfio
97-01-20 using nmake makefile
97-01-20 integrated changes for uwin
96-09-04 Reorganization of directory
96-09-04 Works with Tcl 7.5
96-09-04 Doesn't work with Tcl 7.4, Tcl 7.4 (requires Tk4.0)
96-09-04 Lots of new files, deleted files
96-02-29 Tcl_RegExp*() changed to use posix regex
96-02-29 Tcl_RegExp*() cache change to avoid copying
96-02-29 Tcl_RegExpCompile arg 3 for case ignore match
96-02-29 drop stdarg.h from :: src list
96-02-29 drop malloc.h from tksh.h
96-02-25 unset TK_LIBRARY in tk.ksh
96-02-25 modifications to Makefile, config.sh and config.tcl:
make debug, make BASE=, removed debug option in interface
96-02-25 setsub now creates a null subscript
96-02-25 init.ksh sets argv0 & argv, uses discipline for env instead of trace
96-02-25 bug in Tksh_ConvertList fixed (didn't check errors properly)
96-02-25 Man page updated
96-02-21 --- Release 1.0b2 ---
96-02-21 New version of Tksh paper
96-02-21 Man page updated
96-02-21 ksh version of source accepts standard input ; uses sfio
96-02-15 Tcl_EvalFile works with Tcl mode
96-02-15 Result only printed if stdout is a string.
96-02-13 Added sh_sigcheck to Tcl_TclEval, making it possible to stop an
infinite loop in a builtin.
96-02-13 Traces turned off in subshell
96-02-11 Added array data field in array discipline, used for array searches.
TkshMakeArray now called TkshArrayData, separate nv_makearray macro.
Search ids allocated like tcl, using array data instead of hash table
set.test would pass, except ordering of elements is different (5 fail)
however, it meets specs.
96-02-11 Cleaned up tksh.h a bit
96-02-11 Added in .sh.result traced to interp->result
96-02-11 Added builtin setlist
96-02-08 Added Tcl_UpVar, Tcl_UpVar2 functions
96-02-08 regexp.c used instead of shell patterns
96-02-08 fixed bug in proc test (but now file crashes)
96-02-08 changed behavior of "info commands" to strip off tcl_ so that
info.test passes
96-02-06 rewrote portions of var.c - now the code is a lot easier to follow.
Set up to use the new NV_NODISC flag. Two more trace tests pass.
Note - only one unset disc is called after a function clears scope.
96-02-06 Added pid command
96-02-04 button.ksh invoke does not redirect stderr and stdout to /dev/null
96-02-03 Moved TclOpen and TclRead from tk.c to tclunix.c
96-02-03 File reorganization:
New file varcmd.c which has commands associated with vars
(taken from tclcommand.c)
tclcommand.c renamed commands.c, command.c renamed eval.c
commands.c has tclinfo.c and tclsource.c
96-02-03 Removed tcllist.c, tclstring.c and tclresult.c and put tclUtil.c
into tcl directory (only a couple of changes necessary to tclUtil.c)
96-02-03 Tcl_SetErrorCode.c remvoed from tclerr.c (in tclUtil.c)
96-02-03 Makefile updated accordingly
96-02-03 Fixed bug with bind : #! in bindscript was ignored
96-02-02 Fixed up/down arrow key problem in tk library
96-02-01 Removed printing of "after" for entry widgets
96-02-01 Removed return in Tcl_UntraceVar (return void doesn't work for sgi)
96-01-30 Added in checks to config.sh for -lsocket and -lnsl
96-01-30 Added fixstrtod (used in libtk.a on Solaris)
96-01-30 Moved "widget" to scripts directory and made symbolic link to it
96-01-30 Created "tksh" directory for binaries
96-01-29 Changed name of directory "kshmain" to "obsolete"
96-01-29 Fixed ifdef 0 in tk.c
96-01-29 tclinfo.c and interp.c use function TkshLibDir(), defined in tksh.c
96-01-29 tksh_builtin_command sets sh.exitval to 1 on error
96-01-25 --- Release 1.0b1 ---
libtsp changes01-10-31 first C version, 0-offset array public interface
libuu changes03-01-07 uulib: check UU_HEADER in bx_header() 01-03-27 uulib: add UU_LOCAL for local path conversion 00-03-06 uulib: !UU_HEADER decode checks for candidate encodings 00-03-04 uulib: add posix decode size check 98-12-25 uu_encode: fix dp->fill usage 98-11-11 uulib: add binhex encode
libz changes03-03-13 gzio.c: eliminate fixed gzprintf() buffer size via sfio string stream 03-01-20 zlib.h,gzio.c: add gzreopen() 02-09-11 zlib.h: move 64 bit counts to internal_state 02-08-05 add z_off64_t, gzseek64() etc. to preserve old binary interface work around 2^32 file size limitations 02-06-11 add uSize == unsigned _ast_intmax_t; fix header size check 02-05-22 zconf.h: fix __32BIT__ logic 02-03-11 infblock.c: apply double free patch 02-03-09 gzio.c: add stream->fatal to mark fatal errors previously ignored sfdcgzip.c: fix exception return values and mark SF_ERROR on fatal 02-01-30 minigzip.c: error() => mgzerror() to avoid ancient ld dup sym error minigzip.c: [uU] in executable base name => gunzip, otherwise gzip 01-09-18 zconf.h: include <ast_std.h> for __IMPORT__ and __EXPORT__ 00-09-11 gzio: don't set verified=1 in check_header() for concatenation 99-11-19 gzio: add missing _PACKAGE_ast 99-09-11 sfdcgzip,sfdclzw: return 1 if discipline pushed 99-08-11 gzio: fix gzread() z_err to keep Z_STREAM_END after check_header() 99-07-17 sfdclzw: don't free disc on SF_CLOSE 99-06-23 fix gzread/gzwrite to return -1 on error (fixes sfio disc loop) 99-02-14 fix SFGZ_SETPOS to flush/sync for mode=='w' only 99-02-04 add SF_CLOSE to output trailer before the underlying stream is closed! 98-12-01 drop lzwWrite and lzwSeek in sfdclzw 98-11-01 pushed stream buffer size is SF_BUFSIZE 98-10-01 add SFGZ_GETPOS and SFGZ_SETPOS 98-03-19 sfgzip => sfdcgzip
|