Change-Log for MISC_TOOLS


http://invisible-island.net/misc_tools/CHANGES
2015-01-04

        * src/tisplit/timerge.c:
        header-comment was cut/paste from acmerge - fix

        * package/debian/changelog, package/misc_tools.spec: bump

        * configure: regen

        * aclocal.m4: add CF_CC_ENV_FLAGS

        * aclocal.m4: updated macros from my-autoconf:
          + CF_ADD_CFLAGS
            workaround for ash-shell
          + CF_ANSI_CC_CHECK
            Add 3rd parameter to AC_DEFINE's to allow autoheader to run.
            Split-out CF_CC_ENV_FLAGS.
          + CF_CHECK_CACHE
            Add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
            autoheader.
          + CF_CLANG_COMPILER
            Typo in comment
          + CF_DISABLE_ECHO
            Correct help message
          + CF_GCC_ATTRIBUTES
            Modify so that autoheader is able to see the definitions provided by this
            macro.
          + CF_GCC_ATTRIBUTES
            Use AC_DEFINE_UNQUOTED() rather than appending to confdefs.h, since long-ago
            concern about the ability to pass-through parameterized macros appears to be
            not a problem, testing with 2.13 and 2.52
          + CF_GCC_VERSION
            "\|" alternation is an ERE feature; work around for sed's BRE's.
            Amend workarounds to accommodate Debian's modification of version-message.
          + CF_GCC_WARNINGS
            The new gcc options are not recognized by clang - suppress when using clang.
            Add checks for gcc's -Wdeclaration-after-statement and -Wextra (which came
            into ncurses from xterm in 2007 -- seems stable).
          + CF_INTEL_COMPILER
            Cleanup the -no-gcc option which was leftover from testing - prcs does not
            build with this option.
            $host_os needs AC_CANONICAL_HOST.
          + CF_MAKEFLAGS
            Workaround for GNU make 4.0 incompatibility with previous releases.
          + CF_PROG_EXT
            Add 3rd parameter to AC_DEFINE's to allow autoheader to run.
          + CF_XOPEN_SOURCE
            Add case for UnixWare (report/discussion with Mark Ryan).
            Minix3.2 ifdef's the POSIX.1-2001 functions inside _NETBSD_SOURCE, even
            though it was released 2012-02-29 - appease it.  At the same time, turn
            on the verbose flag to show that most platforms need platform-specific
            define's to get POSIX (sic).
            For Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 on
            Solaris 11), suppress the followup check for defining _XOPEN_SOURCE because
            it is not needed, as well as because g++ 4.7.3 (no package, used in Sage
            for Solaris 10) has some unspecified header breakage which is triggered by
            the duplicate definition.
            Coding-style.
            Add msys / msysdll to known host/platform types.
            $host_os needs AC_CANONICAL_HOST.

        * COPYING.asc, COPYING: RCS_BASE

2014-09-01

        * config.sub: update to 2014-07-28

2014-04-19

        * config.guess: update to 2014-03-23

2012-09-02

        * src/count_files/count_files.c: indent/ansify

        * src/perror/perror.c, src/unmap/chrcount.c: gcc warning

        * src/splitit/splitit.c: indent/ansify

        * src/width/width.c, src/newest/newest.c, src/slowcat/slowcat.c:
        gcc warning

        * src/splitit/makefile.in, src/newest/makefile.in, src/count_files/makefile.in:
        makefile-template

        * package/misc_tools.spec:
        add dependency on sudo (Fedora has no realpath package, though there may
        be a conflicting file).
        ..

        * src/newpath/newpath.c: compiler warning

        * src/sue/makefile.in: support datarootdir

        * configure: regen (now need to support --datarootdir)

        * aclocal.m4: resync with my-autoconf (adding CF_CLANG_WARNINGS)

        * package/debian/control:
        add explicit dependencies on sudo and realpath to get consistent results
        when building/installing

        * package/misc_tools.spec, package/debian/changelog: bump

2012-05-27

        * package/debian/changelog, package/misc_tools.spec: bump

        * src/sue/makefile.in, src/sue/use-usual, src/sue/use-hacks:
        Solaris 10 workarounds

2012-03-17

        * package/debian/changelog, package/misc_tools.spec: bump

        * configure: regen

        * src/unmap/chrcount.c:
        modify to not use scandir, since that is historically not portable to BSD

        * configure.in: FreeBSD sed doesn't honor \< and \> word-marks

2012-03-14

        * src/sue/use-usual: quote here-document

        * src/unmap/map.c, src/unmap/unmap.c, src/realpath/realpath.c, src/width/width.c:
        cleanup

        * package/debian/changelog, package/misc_tools.spec: bump

        * src/width/width.c, src/slowcat/slowcat.c, src/sue/sue.c, src/tisplit/timerge.c, src/tisplit/tisplit.c, src/acsplit/acmerge.c, src/hex/hex.c, src/unmap/chrcount.c, src/unmap/map_s.c, src/unmap/unmap_s.c, src/acsplit/acsplit.c, src/newpath/newpath.c:
        cleanup

        * configure: regen

        * package/debian/postinst: RCS_BASE

        * configure.in: add --with-package option.

        * package/debian/rules: use --with-package option for consistent layout

        * src/sue/makefile.in:
        install a list of setuid programs for use by rpm/dpkg scripts

        * package/misc_tools.spec: sue/makefile now generates the setuid file

2012-03-13

        * package/misc_tools.spec:
        modified further to construct a list of setuid programs which is used in
        the post-install process.

        * package/misc_tools.spec:
        tentative post-install script to fix setuid's

        * src/sue/use-hacks: one of the error-checks interfered - remove it

        * configure: regen

        * aclocal.m4, configure.in: add/use CF_XOPEN_SOURCE

        * src/realpath/makefile.in: add -I option for config.h

        * configure: regen

        * configure.in: check for realpath function

        * src/realpath/realpath.c: cleanup

        * configure.in:
        add --with-everything option, so I can test-compile perror and realpath

        * src/sue/use-hacks: add some error-checking

        * package/debian/watch, package/debian/docs, package/debian/rules, package/debian/control, package/debian/copyright, package/debian/changelog:
        RCS_BASE

        * package/debian/source/RCS: PERMIT FILE

        * package/misc_tools.spec: RCS_BASE

        * src/unmap/chrcount.c: cleanup

        * configure: regen

        * src/width/width.c: cleanup

        * configure.in: generate config.h

        * src/width/makefile.in: this relies on config.h

        * configure.in: show the values (root) moved into SUDO_USUAL

        * configure.in: reset variable after display to avoid confusing scripts

        * src/sue/makefile.in:
        setup special install/uninstall rules for setuid programs

        * src/sue/sue.c: cleanup

        * src/sue/use-hacks: only install setuid here

        * src/sue/use-usual: RCS_BASE

        * configure.in: remember if we've filtered "root" out of SUDO_HACKS

        * src/sue/use-hacks: RCS_BASE

        * configure.in: add --with-sudo-hacks option

        * configure.in:
        improve check for realpath, taking into account my version.

        * configure: RCS_BASE

        * src/width/makefile.in: typo

        * src/unmap/makefile.in: fill in dependencies

        * configure.in:
        improve check for pre-existing perror and realpath programs

        * src/newpath/newpath.c, src/isatty/isatty.c, src/cpd/cpd.c: cleanup

        * configure.in:
        test for a couple of programs which have equivalents in some Linux packages:
                a) realpath
                b) perror (in MySQL)

        * src/unmap/makefile.in, src/tisplit/makefile.in, src/sue/makefile.in, src/width/makefile.in, src/slowcat/makefile.in, src/realpath/makefile.in, src/perror/makefile.in, src/newpath/makefile.in, src/isatty/makefile.in:
        makefile-template

        * aclocal.m4, configure.in, makefile.in: add/use CF_MAKEFLAGS

        * src/cpd/makefile.in: simplify

        * src/hex/makefile.in: makefile-template

        * src/cpd/makefile.in, src/acsplit/makefile.in: RCS_BASE

        * configure.in, aclocal.m4: add --disable-echo and --enable-warnings

        * configure.in:
        tweak to make the makefile-generation compatible between 2.13 and 2.52
        (with my patches of course)

        * configure.in: generate */src/makefile

        * makefile.in, aclocal.m4, configure.in: RCS_BASE

2012-02-25

        * config.guess, config.sub: RCS_BASE

2011-10-06

        * README: RCS_BASE

        * package/RCS, package/debian/RCS: PERMIT FILE

2010-08-26

        * package/debian/source/format: RCS_BASE

2010-06-01

        * src/width/width.c: indent'd

2010-04-20

        * package/debian/compat: RCS_BASE

2004-12-31

        * src/unmap/map_s.c: add utf8-decoding

        * src/unmap/map.c: typo

        * src/unmap/map.c: add -u option

        * src/unmap/unmap.c: add -u option, for UTF-8

        * src/unmap/unmap_s.c: adapted UTF-8 decoding from xterm

        * src/unmap/chrcount.c: added utf8 param to map()

        * src/unmap/unmap.h: include <string.h>

        * src/unmap/map_s.c: add utf8 param to map()

        * src/unmap/chrcount.c, src/unmap/map.c, src/unmap/map_s.c, src/unmap/unmap.c, src/unmap/unmap_s.c, src/unmap/unmap.h:
        indent'd

2003-11-29

        * install-sh: RCS_BASE

2003-04-12

        * src/acsplit/acsplit.c:
        make dashes check for 72-columns, to avoid conflict with headers produced
        by "ci-aclocal"

2002-12-30

        * src/acsplit/acmerge.c:
        ignore attempts to merge stuff such as the AC_REVISION that I have embedded
        in vile's aclocal.m4

2002-02-16

        * src/hex/hex.c: add utf-8 output

        * src/hex/hex.c: indent'd

2002-02-10

        * src/acsplit/acmerge.c: add -v option

        * src/acsplit/acsplit.c: one remaining fix for "will finish" logic

        * src/acsplit/acsplit.c:
        add logic to force macros to be flushed out after the ending parenthesis or
        bracket, even if the next line is not dashes.  (Dashes are still needed to
        make a header comment separate from the macro contents).

        * src/acsplit/acsplit.c:
        improve verboseness a little by always emitting path:number for the interesting
        messages.  Add a usage message.

        * src/acsplit/acmerge.c: add logic to suppress dashes

        * src/acsplit/acmerge.c:
        fixes to avoid emitting a dashed line in the header when we see a blank line

        * src/acsplit/acsplit.c:
        since we don't have to worry about changequote() any more (autoconf 2.5x
        breaks it), add logic to check level of [] and (), so we can pick up boundary
        between macros without relying on dashes.  (They're still welcome, and are
        used if present).

        * src/acsplit/acmerge.c, src/acsplit/acsplit.c: indent'd

2002-02-10

        * src/perror/RCS: PERMIT FILE

2001-04-22

        * src/acsplit/acmerge.c: oops - file-pointer leak.
        luckily, NetBSD is a little retarded...

2000-12-28

        * src/sue/sue.c: fix for broken glibc

2000-11-10

        * src/newpath/newpath.c:
        on win32, spawn a subprocess with spawnvp() rather than execvp(), since
        the latter will execute more/less in parallel with the parent process.

        * src/newpath/newpath.c: DEBUG appears to be predefined on NT.

        * src/newpath/newpath.c: add -v option
        indent'd
        port to win32

2000-11-09

        * src/newpath/newpath.c: add logic to make exec'able subprocess

        * src/newpath/makefile.wnt: RCS_BASE

2000-07-08

        * src/perror/perror.c: RCS_BASE

2000-03-26

        * src/newest/newest.c: oops - trim trailing blank on stdin's

2000-03-26

        * src/newest/RCS: PERMIT FILE

2000-03-26

        * src/newest/newest.c: RCS_BASE

2000-03-04

        * src/tisplit/timerge.c: oops - fclose() the input files

1999-08-19

        * src/width/width.c: update usage for -q

        * src/width/width.c: fix a realloc size, and add -q option

        * src/width/width.c: add -s option to summarize percentages

1998-05-16

        * src/tisplit/tisplit.c, src/tisplit/timerge.c, src/tisplit/doit, src/tisplit/Makefile:
        RCS_BASE

1998-05-16

        * src/tisplit/RCS: PERMIT FILE

1997-11-06

        * src/newpath/newpath.c: add -f option to accommodate Java $CLASSPATH

1997-09-06

        * src/acsplit/acmerge.c: better test for comment.

        * src/acsplit/acsplit.c: better test for comment

        * src/acsplit/acmerge.c:
        adjusted to allow for having dashed lines in the parent file

        * src/acsplit/acsplit.c:
        make this a little smarter about header comments that contain sections
        separated by dashes (e.g., xterm)

1997-09-02

        * src/acsplit/acsplit.c:
        nit to avoid matching 'define()' unless the contents are bracketed with
        '[]'.

1997-08-31

        * src/slowcat/slowcat.c: allow option on pipe

1997-08-29

        * src/acsplit/acsplit.c: add 'define' keyword

1997-08-28

        * src/acsplit/acmerge.c, src/acsplit/doit, src/acsplit/Makefile, src/acsplit/acsplit.c:
        RCS_BASE

1997-08-28

        * src/acsplit/RCS: PERMIT FILE

1997-07-06

        * src/slowcat/slowcat.c: write directly w/o buffering.
        add -<number> options

1997-07-06

        * src/slowcat/RCS: PERMIT FILE

1997-06-10

        * src/unmap/chrcount.c:
        fix so we don't pick up non-files with the "-m" option

        * src/unmap/chrcount.c: RCS_BASE

1997-06-09

        * src/unmap/Makefile: dependencies

        * src/unmap/unmap.h: chrcount stuff

        * src/unmap/run_test.sh: cleanup

        * src/unmap/unmap_s.c: escape backslashes

        * src/unmap/run_test.sh, src/unmap/map_s.c: RCS_BASE

        * src/unmap/Makefile: add 'check' rule

        * src/unmap/unmap_s.c: change name of ESC to BACKSLASH.

        * src/unmap/unmap.h: names ESCAPE, BACKSLASH

        * src/unmap/map.c, src/unmap/unmap_s.c, src/unmap/Makefile: RCS_BASE

        * src/unmap/unmap.c: split-out common function as unmap_s()

        * src/unmap/unmap.h: RCS_BASE

1997-05-10

        * src/width/width.c:
        allocate the line-buffer dynamically so I can display a long line

1997-04-05

        * src/unmap/unmap.c: force trailing newline to make comparison simpler

1997-03-12

        * src/newpath/getopt.c, src/newpath/getopt.h: RCS_BASE

1997-01-13

        * src/slowcat/slowcat.c: RCS_BASE

1996-11-22

        * src/width/width.1: add "-p" and "-" interpretation

        * src/width/width.c:
        add "-p" option and process "-" as a list of files from standard-input

        * src/width/width.1: RCS_BASE

1996-11-21

        * src/width/width.c: show current width, not maximum

        * src/width/width.c: always show the result

        * src/width/width.c, src/width/Makefile: RCS_BASE

        * src/width/RCS: PERMIT FILE

1996-08-14

        * src/unmap/unmap.c: print characters above 128 as octal

1996-07-04

        * src/unmap/unmap.c: used the wrong base for ^x

1996-03-04

        * src/hex/hex.c: quick hack to show ECMA codes

1996-03-04

        * src/hex/RCS: PERMIT FILE

1995-12-15

        * src/unmap/unmap.c: RCS_BASE

1995-12-15

        * src/unmap/RCS: PERMIT FILE

1995-02-20

        * src/hex/hex.c: RCS_BASE

1995-01-05

        * src/splitit/splitit.c: added usage-message text

1995-01-05

        * src/splitit/RCS: PERMIT FILE

1994-11-09  tools

        * src/newpath/RCS, src/realpath/RCS, src/isatty/RCS, src/count_files/RCS:
        PERMIT FILE

1994-10-17

        * src/splitit/splitit.c: RCS_BASE

1994-09-02

        * src/realpath/realpath.c:
        IRIX has 'realpath()' function, but I wrote one in case I needed it

1994-07-11

        * config_h.in: RCS_BASE

1994-06-28

        * src/count_files/count_files.c: RCS_BASE

1994-06-24

        * src/newpath/newpath.sh: RCS_BASE

1994-06-23

        * src/newpath/newpath.c: ULTRIX has no 'strdup()'

1994-06-22

        * src/newpath/newpath.c:
        CLIX compiler warning about possibly uninitialized 'point' variable

1994-06-17

        * src/realpath/realpath.c: RCS_BASE

1994-06-14

        * src/sue/RCS, src/cpd/RCS, RCS, src/RCS: PERMIT FILE

1994-06-07

        * src/newpath/newpath.c:
        corrected an error in Append that caused it to also remove

1994-06-06

        * src/cpd/cpd.c:
        took out the apollo-specific __STDCPP_ ifdef, so this can always act as
        a sys5-touch if named appropriately.

1994-06-02

        * src/newpath/newpath.c: added some traces

        * src/newpath/newpath.c:
        corrected the 'Remove()' code to remove _all_ entries with the same name

        * src/newpath/newpath.c: RCS_BASE

1994-05-31

        * src/isatty/isatty.c: RCS_BASE

1991-10-29

        * src/cpd/cpd.c: RCS_BASE

1990-04-23

        * src/sue/sue.c: RCS_BASE