Prereq: 1.08 diff -cr --new-file /tmp/tct-1.08/patchlevel ./patchlevel *** /tmp/tct-1.08/patchlevel Sat Sep 15 16:49:24 2001 --- ./patchlevel Wed Dec 12 14:21:54 2001 *************** *** 1 **** ! 1.08 --- 1 ---- ! 1.09 diff -cr --new-file /tmp/tct-1.08/CHANGES ./CHANGES *** /tmp/tct-1.08/CHANGES Sat Sep 15 16:42:32 2001 --- ./CHANGES Wed Dec 12 14:22:27 2001 *************** *** 1,3 **** --- 1,18 ---- + Wed Dec 12 13:21:00 EST 2001 + + o tm_print() and tm_string() did unnecessary %HEX expansion + of $ and ^ characters (Philippe Bourgeois). + + o mactime mis-sorted dates before/after early September 2001 + (Philippe Bourgeois, Brian Carrier). + + Thu Oct 4 15:48:42 EDT 2001 + + o Linux can handle files > 2Gbyte, but only if we specify + extra compiler flags. + + o Solaris 8/64bit needs an extra include file in pcat.c. + Sun Sep 9 17:23:13 EDT 2001 o Discovered to my horror that unrm on ext2fs can have an diff -cr --new-file /tmp/tct-1.08/bin/mactime ./bin/mactime *** /tmp/tct-1.08/bin/mactime Sat Sep 15 16:49:17 2001 --- ./bin/mactime Wed Dec 12 14:21:25 2001 *************** *** 511,517 **** print "Current Tm: ", time, "\n" if $debug; print "Start of Time Selected ($time_one)\n" if $debug; ! for $key (sort keys %all_files_used) { next if $marker; --- 511,517 ---- print "Current Tm: ", time, "\n" if $debug; print "Start of Time Selected ($time_one)\n" if $debug; ! for $key (sort {$a <=> $b} keys %all_files_used) { next if $marker; diff -cr --new-file /tmp/tct-1.08/extras/entropy/Makefile ./extras/entropy/Makefile *** /tmp/tct-1.08/extras/entropy/Makefile Sun Jul 30 19:39:20 2000 --- ./extras/entropy/Makefile Thu Oct 4 16:01:36 2001 *************** *** 12,26 **** MANPAGES= entropy.1 #MANPAGES= $(MAN_DIR)/man1/entropy.1 ! #what: ! # @sh makedefs all: $(PROGS) manpages: $(MANPAGES) ! $(BIN_DIR)/entropy: entropy.o $(LIBS) ! $(CC) $(CFLAGS) -o $@ entropy.o $(LIBS) $(SYSLIBS) -lm #$(MAN_DIR)/man1/entropy.1: entropy.c entropy.1: entropy.c --- 12,26 ---- MANPAGES= entropy.1 #MANPAGES= $(MAN_DIR)/man1/entropy.1 ! what: ! @sh makedefs all: $(PROGS) manpages: $(MANPAGES) ! $(BIN_DIR)/entropy: entropy.c $(LIBS) ! $(CC) $(CFLAGS) -o $@ entropy.c $(LIBS) $(SYSLIBS) -lm #$(MAN_DIR)/man1/entropy.1: entropy.c entropy.1: entropy.c diff -cr --new-file /tmp/tct-1.08/extras/entropy/makedefs ./extras/entropy/makedefs *** /tmp/tct-1.08/extras/entropy/makedefs Wed Dec 31 19:00:00 1969 --- ./extras/entropy/makedefs Thu Oct 4 15:59:35 2001 *************** *** 0 **** --- 1,38 ---- + SYSTEM=`(uname -s) 2>/dev/null` + RELEASE=`(uname -r) 2>/dev/null` + + case "$SYSTEM.$RELEASE" in + FreeBSD.2*) DEFS="-DFREEBSD2" + ;; + FreeBSD.3*) DEFS="-DFREEBSD3" + ;; + FreeBSD.4*) DEFS="-DFREEBSD4" + ;; + OpenBSD.2*) DEFS="-DOPENBSD2" + ;; + BSD/OS.2*) DEFS="-DBSDI2" + ;; + BSD/OS.3*) DEFS="-DBSDI3" + ;; + BSD/OS.4*) DEFS="-DBSDI4" + ;; + SunOS.4*) DEFS="-DSUNOS4 -DMISSING_STRERROR" + ;; + SunOS.5.[0-5]*) DEFS="-DSUNOS5_0_5" + RANLIB=":" + ;; + SunOS.5*) DEFS="-DSUNOS5" + RANLIB=":" + ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; + Linux.2*) DEFS="-DLINUX2" + ;; + *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 + ;; + esac + + unset MAKELEVEL # shut up chatty GNU make + + make DEFS="$DEFS" CC="${CC-gcc -Wunused}" RANLIB="${RANLIB-ranlib}" \ + AR="${AR-ar rv}" SYSLIBS="$SYSLIBS" all diff -cr --new-file /tmp/tct-1.08/extras/findkey/Makefile ./extras/findkey/Makefile *** /tmp/tct-1.08/extras/findkey/Makefile Sun Jul 30 19:39:20 2000 --- ./extras/findkey/Makefile Thu Oct 4 16:01:53 2001 *************** *** 12,26 **** MANPAGES= findkey.1 #MANPAGES= $(MAN_DIR)/man1/findkey.1 ! #what: ! # @sh makedefs all: $(PROGS) manpages: $(MANPAGES) ! $(BIN_DIR)/findkey: findkey.o $(LIBS) ! $(CC) $(CFLAGS) -o $@ findkey.o $(LIBS) $(SYSLIBS) #$(MAN_DIR)/man1/findkey.1: findkey.c findkey.1: findkey.c --- 12,26 ---- MANPAGES= findkey.1 #MANPAGES= $(MAN_DIR)/man1/findkey.1 ! what: ! @sh makedefs all: $(PROGS) manpages: $(MANPAGES) ! $(BIN_DIR)/findkey: findkey.c $(LIBS) ! $(CC) $(CFLAGS) -o $@ findkey.c $(LIBS) $(SYSLIBS) #$(MAN_DIR)/man1/findkey.1: findkey.c findkey.1: findkey.c diff -cr --new-file /tmp/tct-1.08/extras/findkey/makedefs ./extras/findkey/makedefs *** /tmp/tct-1.08/extras/findkey/makedefs Wed Dec 31 19:00:00 1969 --- ./extras/findkey/makedefs Thu Oct 4 15:32:54 2001 *************** *** 0 **** --- 1,38 ---- + SYSTEM=`(uname -s) 2>/dev/null` + RELEASE=`(uname -r) 2>/dev/null` + + case "$SYSTEM.$RELEASE" in + FreeBSD.2*) DEFS="-DFREEBSD2" + ;; + FreeBSD.3*) DEFS="-DFREEBSD3" + ;; + FreeBSD.4*) DEFS="-DFREEBSD4" + ;; + OpenBSD.2*) DEFS="-DOPENBSD2" + ;; + BSD/OS.2*) DEFS="-DBSDI2" + ;; + BSD/OS.3*) DEFS="-DBSDI3" + ;; + BSD/OS.4*) DEFS="-DBSDI4" + ;; + SunOS.4*) DEFS="-DSUNOS4 -DMISSING_STRERROR" + ;; + SunOS.5.[0-5]*) DEFS="-DSUNOS5_0_5" + RANLIB=":" + ;; + SunOS.5*) DEFS="-DSUNOS5" + RANLIB=":" + ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; + Linux.2*) DEFS="-DLINUX2" + ;; + *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 + ;; + esac + + unset MAKELEVEL # shut up chatty GNU make + + make DEFS="$DEFS" CC="${CC-gcc -Wunused}" RANLIB="${RANLIB-ranlib}" \ + AR="${AR-ar rv}" SYSLIBS="$SYSLIBS" all diff -cr --new-file /tmp/tct-1.08/lib/tm_misc.pl ./lib/tm_misc.pl *** /tmp/tct-1.08/lib/tm_misc.pl Sun Jul 30 19:39:20 2000 --- ./lib/tm_misc.pl Wed Dec 12 13:19:37 2001 *************** *** 22,28 **** local(@out) = @_; for (@out) { ! s/([^-_`~!@#$^&*()+={}[\]:;"'<>,.?\/a-z0-9 ])/sprintf("%%%02X",unpack("C", $1))/egis; } return join('|', @out); } --- 22,28 ---- local(@out) = @_; for (@out) { ! s/([^-_`~!@#\$^&*()+={}[\]:;"'<>,.?\/a-z0-9 ])/sprintf("%%%02X",unpack("C", $1))/egis; } return join('|', @out); } *************** *** 34,40 **** local(@out) = @_; for (@out) { ! s/([^-_`~!@#$^&*()+={}[\]:;"'<>,.?\/a-z0-9 ])/sprintf("%%%02X",unpack("C", $1))/egis; } print join('|', @out),"\n"; } --- 34,40 ---- local(@out) = @_; for (@out) { ! s/([^-_`~!@#\$^&*()+={}[\]:;"'<>,.?\/a-z0-9 ])/sprintf("%%%02X",unpack("C", $1))/egis; } print join('|', @out),"\n"; } diff -cr --new-file /tmp/tct-1.08/src/aux/makedefs ./src/aux/makedefs *** /tmp/tct-1.08/src/aux/makedefs Sun Jul 30 19:39:20 2000 --- ./src/aux/makedefs Thu Oct 4 15:34:08 2001 *************** *** 25,30 **** --- 25,32 ---- SunOS.5*) DEFS="-DSUNOS5 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" RANLIB=":" ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; Linux.2*) DEFS="-DLINUX2" ;; *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 diff -cr --new-file /tmp/tct-1.08/src/file/Makefile ./src/file/Makefile *** /tmp/tct-1.08/src/file/Makefile Sun Jul 30 19:39:20 2000 --- ./src/file/Makefile Thu Oct 4 15:38:07 2001 *************** *** 40,45 **** --- 40,48 ---- MAGFILES= Magdir/Header Magdir/Localstuff Magdir/[a-z]* + what: + @sh makedefs + all: $(PROG) $(MAGIC) manpages: $(MAN1) $(MAN5) diff -cr --new-file /tmp/tct-1.08/src/file/makedefs ./src/file/makedefs *** /tmp/tct-1.08/src/file/makedefs Wed Dec 31 19:00:00 1969 --- ./src/file/makedefs Thu Oct 4 15:42:22 2001 *************** *** 0 **** --- 1,40 ---- + SYSTEM=`(uname -s) 2>/dev/null` + RELEASE=`(uname -r) 2>/dev/null` + + case "$SYSTEM.$RELEASE" in + FreeBSD.2*) DEFS="-DFREEBSD2" + ;; + FreeBSD.3*) DEFS="-DFREEBSD3" + ;; + FreeBSD.4*) DEFS="-DFREEBSD4" + ;; + OpenBSD.2*) DEFS="-DOPENBSD2" + ;; + BSD/OS.2*) DEFS="-DBSDI2" + ;; + BSD/OS.3*) DEFS="-DBSDI3" + ;; + BSD/OS.4*) DEFS="-DBSDI4" + ;; + SunOS.4*) DEFS="-DSUNOS4 -DMISSING_STRERROR" + ;; + SunOS.5.[0-5]*) DEFS="-DSUNOS5_0_5" + RANLIB=":" + ;; + SunOS.5*) DEFS="-DSUNOS5" + RANLIB=":" + ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; + Linux.2*) DEFS="-DLINUX2" + ;; + *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 + ;; + esac + + DEFS="$DEFS -DMAGIC="'"\"`cd $(CONF); pwd`/magic\""' + + unset MAKELEVEL # shut up chatty GNU make + + make DEFS="$DEFS" CC="${CC-gcc -Wunused}" RANLIB="${RANLIB-ranlib}" \ + AR="${AR-ar rv}" SYSLIBS="$SYSLIBS" all diff -cr --new-file /tmp/tct-1.08/src/fstools/makedefs ./src/fstools/makedefs *** /tmp/tct-1.08/src/fstools/makedefs Sun Jul 30 19:39:20 2000 --- ./src/fstools/makedefs Thu Oct 4 15:44:26 2001 *************** *** 25,30 **** --- 25,32 ---- SunOS.5*) DEFS="-DSUNOS5 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" RANLIB=":" ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; Linux.2*) DEFS="-DLINUX2" ;; *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 diff -cr --new-file /tmp/tct-1.08/src/lastcomm/makedefs ./src/lastcomm/makedefs *** /tmp/tct-1.08/src/lastcomm/makedefs Sun Jul 30 19:39:20 2000 --- ./src/lastcomm/makedefs Thu Oct 4 15:45:44 2001 *************** *** 27,32 **** --- 27,34 ---- ;; Linux.2.[01]*) DEFS="-I. -DLINUX2_0_1" ;; + Linux.2.4*) DEFS="-I. -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; Linux.2*) DEFS="-I. -DLINUX2" ;; *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 diff -cr --new-file /tmp/tct-1.08/src/major_minor/makedefs ./src/major_minor/makedefs *** /tmp/tct-1.08/src/major_minor/makedefs Sun Jul 30 19:39:20 2000 --- ./src/major_minor/makedefs Thu Oct 4 15:46:24 2001 *************** *** 21,26 **** --- 21,28 ---- SunOS.5*) DEFS="-DSUNOS5" RANLIB=":" ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; Linux.2*) DEFS="-DLINUX2" ;; *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 diff -cr --new-file /tmp/tct-1.08/src/misc/Makefile ./src/misc/Makefile *** /tmp/tct-1.08/src/misc/Makefile Sun Jul 30 19:39:20 2000 --- ./src/misc/Makefile Thu Oct 4 15:47:39 2001 *************** *** 6,12 **** MAN = ../../man PROGS = $(BIN)/md5 $(BIN)/timeout MANPAGES= $(MAN)/man1/md5.1 $(MAN)/man1/timeout.1 ! CFLAGS = $(OPT) $(DEBUG) -I. $(XFLAGS) all: $(PROGS) --- 6,15 ---- MAN = ../../man PROGS = $(BIN)/md5 $(BIN)/timeout MANPAGES= $(MAN)/man1/md5.1 $(MAN)/man1/timeout.1 ! CFLAGS = $(OPT) $(DEBUG) -I. $(XFLAGS) $(DEFS) ! ! what: ! @sh makedefs all: $(PROGS) diff -cr --new-file /tmp/tct-1.08/src/misc/makedefs ./src/misc/makedefs *** /tmp/tct-1.08/src/misc/makedefs Wed Dec 31 19:00:00 1969 --- ./src/misc/makedefs Thu Oct 4 15:47:05 2001 *************** *** 0 **** --- 1,38 ---- + SYSTEM=`(uname -s) 2>/dev/null` + RELEASE=`(uname -r) 2>/dev/null` + + case "$SYSTEM.$RELEASE" in + FreeBSD.2*) DEFS="-DFREEBSD2" + ;; + FreeBSD.3*) DEFS="-DFREEBSD3" + ;; + FreeBSD.4*) DEFS="-DFREEBSD4" + ;; + OpenBSD.2*) DEFS="-DOPENBSD2" + ;; + BSD/OS.2*) DEFS="-DBSDI2" + ;; + BSD/OS.3*) DEFS="-DBSDI3" + ;; + BSD/OS.4*) DEFS="-DBSDI4" + ;; + SunOS.4*) DEFS="-DSUNOS4 -DMISSING_STRERROR" + ;; + SunOS.5.[0-5]*) DEFS="-DSUNOS5_0_5" + RANLIB=":" + ;; + SunOS.5*) DEFS="-DSUNOS5" + RANLIB=":" + ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; + Linux.2*) DEFS="-DLINUX2" + ;; + *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 + ;; + esac + + unset MAKELEVEL # shut up chatty GNU make + + make DEFS="$DEFS" CC="${CC-gcc -Wunused}" RANLIB="${RANLIB-ranlib}" \ + AR="${AR-ar rv}" SYSLIBS="$SYSLIBS" all diff -cr --new-file /tmp/tct-1.08/src/pcat/makedefs ./src/pcat/makedefs *** /tmp/tct-1.08/src/pcat/makedefs Sun Jul 30 19:39:20 2000 --- ./src/pcat/makedefs Thu Oct 4 15:31:47 2001 *************** *** 29,34 **** --- 29,36 ---- SunOS.5*) DEFS="-DSUNOS5" RANLIB=":" ;; + Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; Linux.2*) DEFS="-DLINUX2" ;; *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1 diff -cr --new-file /tmp/tct-1.08/src/pcat/pcat.c ./src/pcat/pcat.c *** /tmp/tct-1.08/src/pcat/pcat.c Sun Jul 30 19:39:20 2000 --- ./src/pcat/pcat.c Tue Sep 25 13:22:20 2001 *************** *** 94,99 **** --- 94,100 ---- #ifdef SUNOS5 #define SUPPORTED + #include /* Sheesh. */ #include #define USE_PREAD #define USE_PWRITE