home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / fileutil.13 / fileutil / fileutils-3.13 / ChangeLog < prev    next >
Encoding:
Text File  |  1996-07-12  |  150.3 KB  |  4,256 lines

  1. Thu Jul 11 21:50:48 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  2.  
  3.     * Version 3.13.
  4.  
  5.     * dircolors.1: New file -- but just a pointer to texinfo docs.
  6.     * man/Makefile.am (man_MANS): Add dircolors.1.
  7.  
  8.     * configure.in (VERSION): Bump to 3.13.
  9.  
  10. Wed Jul 10 22:57:29 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  11.  
  12.     * aclocal.m4 (fp_PROG_CC_STDC): Include sys/stat.h in test program
  13.     so that DYNIX/ptx V4.1.3 doesn't use `-Xc -D__EXTENSIONS__' -- with
  14.     those options on that system, sys/stat.h gets compile errors.
  15.     With help from Marcus Daniels.
  16.  
  17.     * getopt.c: Update from gettext-0.10.23.
  18.     * getopt1.c: Likewise.
  19.     * getopt.h: Likewise.
  20.  
  21. Tue Jul  9 20:19:44 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  22.  
  23.     * src/dircolors.c (usage): Improve --help message.  From Karl Berry.
  24.     (long_options): Add print-data-base and print-database.
  25.  
  26.     * src/dircolors.c (dc_parse_stream): Don't give `unrecognized keyword'
  27.     message unless we've processed a matching TERM directive.  Reported
  28.     by Karl Berry and Franτois Pinard.
  29.  
  30.     * src/install.c (UID_T_MAX): Use `(unsigned long)1' rather than
  31.     `(uid_t)1' to avoid problems on systems where uid_t is signed.
  32.     (GID_T_MAX): Likewise for gid_t.
  33.     From Kjetil Torgrim Homme <kjetilho@ifi.uio.no>.
  34.  
  35. Sun Jul  7 22:40:08 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  36.  
  37.     * src/ls.c: Change initial colors for `color_indicator' to match
  38.     those currently in dircolors.hin.  From Joshua Cowan.
  39.  
  40.     * src/dircolors.hin: Recognize more filename extensions.
  41.     From Joshua Cowan.
  42.  
  43.     * src/Makefile.am (CLEANFILES): Add dcgen.  From Joshua Cowan
  44.     <jcowan@jcowan.reslife.okstate.edu>.
  45.  
  46.     * src/Makefile.am (MAINTAINERCLEANFILES): Add dircolors.h.
  47.  
  48.     * configure.in (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use it.
  49.     * acconfig.h [GWINSZ_IN_SYS_IOCTL]: Add #undef.
  50.  
  51.     * src/ls.c: Include termios.h.
  52.     Guard inclusion of sys/ioctl.h with #ifdef GWINSZ_IN_SYS_IOCTL,
  53.     rather than HAVE_SYS_IOCTL_H.  Modelled after sh-utils' stty.c
  54.     at suggestion from Chip Bennett <BennettC@j64.stratcom.af.mil>
  55.     to make ls adjust its idea of screen width upon window resize
  56.     on systems (SunOS, Solaris) where TIOCGWINSZ is defined in
  57.     termios.h, and not sys/ioctl.h.
  58.  
  59.     * aclocal.m4 (AM_SYS_POSIX_TERMIOS): New macro, derived from test
  60.     in the configure.in from sh-utils.
  61.     (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Likewise.
  62.  
  63. Sat Jul  6 12:46:27 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  64.  
  65.     * src/cp-aux.c (usage): Factor out backup-related text into
  66.     separate string/printf statement so translators deal with only
  67.     one corresponding string in .pot file.
  68.     * src/install.c (usage): Likewise.
  69.     * src/ln.c (usage): Likewise.
  70.     * src/mv.c (usage): Likewise.
  71.     Suggestion from Santiago Vila Doncel.
  72.  
  73.     * configure.in (AC_REPLACE_FUNCS): Add group_member.
  74.     (AC_LINK_FILES): Create link lib/group_member.c to lib/group-member.c.
  75.     * lib/Makefile.am (fu_SOURCES): Remove group-member.c.
  76.     (EXTRA_DIST): Add group-member.c here.
  77.  
  78. Fri Jul  5 22:16:13 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  79.  
  80.     * src/dircolors.c [!STDC_HEADERS]: Declare free.
  81.     From Marcus Daniels.
  82.  
  83. Thu Jul  4 12:34:50 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  84.  
  85.     * src/dd.c (usage): Remove space before newline in usage message.
  86.     * src/mknod.c (usage): Likewise.
  87.     * src/mv.c (usage): Likewise.
  88.  
  89.     * src/Makefile.am (libexec_PROGRAMS): Regenerate using patched
  90.     automake-1.0 to work around rm -f bug on Solaris2.4.
  91.     Reported by Kaveh Ghazi.
  92.  
  93.     * src/ls.c: Make `dir --version' and `vdir --version' print their
  94.     names, not `ls'.
  95.     Reported by Ulrich Drepper.
  96.  
  97. Wed Jul  3 17:41:15 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  98.  
  99.     * src/dircolors.c: Include sys/types.h before system.h.
  100.     From Jim Blandy (jimb@cyclic.com).
  101.  
  102.     * src/chgrp.c [!MAXUID]: Define after inclusion of system.h to avoid
  103.     warning about redefinition on SunOS4, Solaris2.4 and SGI-irix5.3.
  104.     From Kaveh Ghazi.  Also, Santiago Vila Doncel reported that defining
  105.     MAXUID before including system.h caused a compilation failure on some
  106.     ConvexOS system.
  107.  
  108. Tue Jul  2 22:56:03 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  109.  
  110.     * configure.in (VERSION): Bump to 3.12q.
  111.  
  112.     * src/system.h [!EXIT_SUCCESS]: Define it.
  113.     [!EXIT_FAILURE]: Define it.
  114.  
  115.     * lib/strndup.c (strndup): Include stdio.h and sys/types.h to
  116.     get definition of NULL and size_t on SunOS4.1.3.
  117.  
  118. Mon Jul  1 23:47:29 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  119.  
  120.     * src/ln.c (do_link): Update messages to ease translation.
  121.     Suggestion from Santiago Vila.
  122.  
  123. Sun Jun 30 16:41:45 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  124.  
  125.     * src/install.c (usage): Fix typo, 3nd->3rd, in usage message.
  126.     From Santiago Vila Doncel.
  127.  
  128. Sat Jun 29 00:33:31 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  129.  
  130.     * configure.in (PACKAGE_VERSION): Add `GNU ' prefix so we see
  131.     it in the output of --version.  Reported by RMS.
  132.  
  133.     * src/Makefile.am (BUILT_SOURCES): Guard dependency on dircolors.h
  134.     with @MAINT@ so it won't be removed with a casual disctlean.
  135.     (EXTRA_DIST): Add dcgen.pl and dircolors.hin.
  136.  
  137. Fri Jun 28 22:56:00 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  138.  
  139.     * src/dircolors.c (dc_parse_stream): Move `enum states' dcl into
  140.     this function.
  141.  
  142.     * src/ln.c (do_link): Allow `ln -sf --backup k k' to succeed in
  143.     creating the self-referential symlink, since doing so doesn't
  144.     remove the source but merely renames it.
  145.  
  146. Wed Jun 26 06:58:58 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  147.  
  148.     * ln.c (same_name): New function.
  149.     (do_link): Use it to test reliably whether A and B (from
  150.     ln --force A B) are hard links to the same file.
  151.     From Andreas Schwab.
  152.  
  153. Tue Jun 25 00:03:43 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  154.  
  155.     * lib/getline.c: New file.
  156.     * lib/getline.h: New file.
  157.     * lib/Makefile.am (fu_SOURCES): Add getline.c.
  158.     (noinst_HEADERS): Add getline.h.
  159.  
  160. Mon Jun 24 22:39:02 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  161.  
  162.     * configure.in (AC_REPLACE_FUNCS): Add strndup.
  163.     (AC_PATH_PROG): Check for perl.
  164.  
  165.     * ls.c (decode_switches): Allow 0 as argument to --tabsize (-T) option.
  166.     Interpret as a directive to use no TAB characters to separate columns.
  167.     (indent): Handle TABSIZE == 0.
  168.  
  169.     * dircolors.c (dc_parse_stream): Remove spurious newline in
  170.     error message.
  171.     (dc_parse_stream): Give `unrecognized keyword' diagnostic for
  172.     misspelled `TERM' keyword as well as for others.
  173.  
  174. Sun Jun 23 12:58:32 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  175.  
  176.     * dircolors.hin: New file.
  177.     * dcgen.pl: New file.
  178.     * src/Makefile.am (dircolors.h): Add a rule to create this file.
  179.     (dcgen): Likewise.
  180.  
  181.     * dircolors.c (parse_line): Rewrite to avoid modifying LINE.
  182.     Put LINE first in parameter list.
  183.     Adjust caller.
  184.     (dc_parse_stream): Free KEYWD and ARG.
  185.     (main): Give diagnostic for unreasonable combinations of
  186.     options/arguments.
  187.  
  188.     * lib/Makefile.am (EXTRA_DIST): Add strndup.c.
  189.     * configure.in (AC_REPLACE_FUNCS): Add strndup.
  190.     * strndup.c: New file.  From id-utils-3.0k.
  191.     (strndup): Deansify.
  192.     [!STDC_HEADERS]: Include string.h and stdlib.h.
  193.  
  194. Sat Jun 22 16:57:53 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  195.  
  196.     * dircolors.c: Major overhaul.  No longer read from /etc/DIR_COLORS
  197.     or from ~/.dircolors.  Defaults are now compiled in.  If you specify
  198.     a file on the command line, it is used instead of the compiled-in
  199.     defaults.
  200.     (main): New option --print-database (-p).
  201.     Detect write failure.
  202.     Add --bourne-shell and --c-shell aliases for --sh and --csh resp.
  203.  
  204. Tue Jun 18 20:54:05 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  205.  
  206.     * cp.c (copy_reg): Cast both sides of comparison to size_t
  207.     to avoid a warning about `comparison between signed and unsigned'
  208.     from gcc -Wall.
  209.     Declare pointer parameters const as appropriate.
  210.  
  211.     * ln.c (do_link): Refine last change so we don't disallow commands
  212.     like `ln --force A B' when A and B are hard links to the same file.
  213.     See comments in the source.  Reported by Erik Naggum <erik@naggum.no>
  214.     and Andreas Schwab.
  215.  
  216.     * ls.c (decode_switches): Correct typo in error messages:
  217.     enironment -> environment.  From Santiago Vila Doncel
  218.     <sanvila@unex.es>.
  219.  
  220.     * aclocal.m4: Update from gettext-0.10.20.
  221.     * ABOUT-NLS: Likewise.
  222.     * intl/*: Likewise.
  223.  
  224.     * cp.c (do_copy): Change message from `missing file argument' to
  225.     more precise `missing destination file'.  From Karl Berry.
  226.  
  227.     * ln.c (STREQ): Remove macro definition
  228.     * system.h (STREQ): Add it here instead.
  229.     * cp.c (do_copy): Use STREQ here instead of strcmp(...) == 0.
  230.     * ls.c (parse_ls_color): Likewise.
  231.     * df.c (selected_fstype, excluded_fstype, show_disk, main): Likewise.
  232.  
  233.     * cp.c (do_copy): When the force and backup options have been
  234.     specified and the source and destination are the same name for an
  235.     existing, regular file, convert the user's command, e.g.
  236.     `cp --force --backup foo foo' to `cp --force foo fooSUFFIX'
  237.     where SUFFIX is determined by any version control options used.
  238.     (usage): Update --help message.
  239.     At urging of (most recently) Karl Berry.
  240.  
  241. Sun Jun 16 13:40:22 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  242.  
  243.     * doc/Makefile.am (EXTRA_DIST): Add texinfo.tex.
  244.  
  245.     * Makefile.am (cvs-dist): Use -c option in cvs tag command.
  246.  
  247. Sat Jun 15 22:21:09 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  248.  
  249.     * configure.in (ALL_LINGUAS): Add pt.
  250.     (AC_REPLACE_FUNCS): Add basename.
  251.  
  252.     * Makefile.am (EXTRA_DIST): Add basename.c.
  253.     (fu_SOURCES): Remove basename.c.
  254.  
  255. Thu Jun  6 21:57:08 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  256.  
  257.     * po/Makefile.in.in: Update from gettext-0.10.16.
  258.     * intl/*: Likewise.
  259.     * ABOUT-NLS: Likewise.
  260.     * aclocal.m4 (AC_REPLACE_GNU_GETOPT): Move definition to precede
  261.     gettext-related ones.
  262.     Update from gettext-0.10.16.
  263.  
  264. Sat Jun  1 12:44:51 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  265.  
  266.     * ls.c: Rename options and internal variables to reflect change to
  267.     --color=WHEN where WHEN is never, always, or auto (for consistency
  268.     with e.g. cp --sparse=WHEN.  For at least a while, the original
  269.     slackware-supported arguments `none', `force', `yes', etc will be
  270.     supported but deprecated by lack of documentation.
  271.     (decode_switches): Use STDOUT_FILENO instead of `1' in isatty test.
  272.     (usage): Update/add description of the --color option.
  273.  
  274.     * ls.c: Declare pointer parameters const as appropriate.
  275.  
  276. Tue May 28 18:39:49 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  277.  
  278.     * dd.c (print_stats): Don't mark "%u %s" as a translatable string.
  279.     * mv.c (main): Don't mark "%s" as a translatable string.
  280.     From G÷ran Uddeborg.
  281.  
  282. Thu May 23 07:50:38 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  283.  
  284.     * ls.c (usage): Make --literal (-N) description clearer.
  285.  
  286.     * acconfig.h (MOUNTED_LISTMNTENT): Add it.
  287.     * fsusage [_CRAY]: Don't include sys/filsys.h because although
  288.     Unicos-9 has it, it's not needed and would cause other problems
  289.     because it requires inclusion of other, non-standard headers.
  290.     * mountlist.c (read_filesystem_list) [MOUNTED_LISTMNTENT]: New
  291.     function.
  292.     From Johan Danielsson (joda@pdc.kth.se).
  293.  
  294.     * configure.in (AC_CHECK_FUNCS): Add listmntent for Unicos-9.
  295.     Define MOUNTED_LISTMNTENT #ifdef _CRAY and HAVE_GETMNTENT.
  296.     With an initial patch from Johan Danielsson.
  297.  
  298. Wed May 22 18:58:01 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  299.  
  300.     * configure.in (LINGUAS): Add sv.
  301.  
  302. Tue May 21 07:06:30 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  303.  
  304.     * lib/euidaccess.c (euidaccess) [!S_IROTH]: Define.
  305.     [!S_IWOTH]: Define.
  306.     [!S_IXOTH]: Define.
  307.     Marcus Daniels <marcus@sysc.pdx.edu> reported that m68k NEXTSTEP 3.2
  308.     doesn't define S_IROTH or S_IWOTH unless some posix compile option
  309.     is used and associated symbols defined.
  310.  
  311. Sun May 19 09:32:51 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  312.  
  313.     * chown.c: New option: --no-dereference (-h).  Solaris 5.4's chown
  314.     provides -h.
  315.     (change_file_owner): Use lchown if --no-dereference (-h) was given.
  316.     (usage): Update.
  317.     (main): Fail if user requests --no-dereference on a system that
  318.     doesn't have support for it.
  319.  
  320.     * chgrp.c: New option: --no-dereference (-h).
  321.     [!MAXUID]: Define to INT_MAX.
  322.     (change_file_group): Use lchown if --no-dereference (-h) was given.
  323.     (usage): Update.
  324.     (main): Fail if user requests --no-dereference on a system that
  325.     doesn't have support for it.
  326.  
  327. Wed May 15 22:54:31 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  328.  
  329.     * fsusage.c (get_fs_usage): Declare parameter PATH to be const.
  330.     * fsusage.h: Update prototype to match.
  331.  
  332.     * chmod.c (describe_change): Declare pointer parameters to be const.
  333.     (change_file_mode): Likewise.
  334.     (change_dir_mode): Likewise.
  335.  
  336.     * ln.c (do_link): Declare pointer parameters to be const.
  337.  
  338.     * df.c (main): Fail with a diagnostic if both --human-readable and
  339.     --portability are used.
  340.     Likewise if --megabytes and --portability are used.
  341.     Rearrange function definitions to precede respective uses to obviate
  342.     all forward dcls. Remove forward dcls.
  343.     Declare parameters const as appropriate.
  344.  
  345.     * modechange.c (mode_compile): Declare parameter MODE_STRING const.
  346.     Remove register attribute.
  347.     (mode_adjust): Likewise for CHANGES.
  348.     * modechange.h: Reflect above changes in prototypes.
  349.  
  350.     * lib/Makefile.am (getdate.c): Disable dependencies that can
  351.     require rerunning YACC when not in maintainer mode.
  352.     (posixtm.c): Likewise.
  353.  
  354. Tue May 14 23:36:54 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  355.  
  356.     * dd.c (print_stats): Restructure pluralization of error message
  357.     so it's easier to translate.  Reported by G÷ran Uddeborg
  358.     <gvran@uddeborg.pp.se>.
  359.     * mv.c (main): Likewise.
  360.  
  361. Tue May  7 22:10:20 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  362.  
  363.     * configure.in: Require autoconf-2.10.
  364.  
  365.     * aclocal.m4 (jm_MAINTAINER_MODE): New macro.
  366.     * configure.in (jm_MAINTAINER_MODE): Use it.
  367.  
  368. Sun May  5 20:27:47 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  369.  
  370.     * src/Makefile.am (bin_PROGRAMS): Add dircolors.
  371.     (DEFS): Add -DSHAREDIR=\"$(datadir)\".
  372.     (GNUVER): Remove definition of unused variable.
  373.  
  374. Sat May  4 20:54:32 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  375.  
  376.     * system.h [IN_CTYPE_DOMAIN]: Rename from ISASCII.
  377.     * backupfile.c [IN_CTYPE_DOMAIN]: Rename from ISASCII.
  378.  
  379.     * dircolors.c: Make enumerated constants upper case.
  380.     (main): Don't use ANSI-style string concatenation.
  381.     Add `static' and/or `const' to some file scope variables.
  382.  
  383. Wed May  1 00:20:00 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  384.  
  385.     * lib/Makefile.am (EXTRA_DIST): Add strcasecmp.c.
  386.     * configure.in (AC_REPLACE_FUNCS): Add strcasecmp.
  387.  
  388.     * ls.c (parse_ls_color, usage): Remove support for alternate spellings:
  389.     --colours and LS_COLOURS.
  390.     (parse_ls_color): Reverse sense of test for LS_COLORS environment
  391.     variable and return -- save a level of indentation on a 100+-line
  392.     block.
  393.  
  394. Mon Apr 29 22:07:41 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  395.  
  396.     * POTFILES.in: Add chgrp.c.  From Franτois Pinard.
  397.     Add dircolors.c.
  398.     * dircolors.c: New file.  Written by H. Peter Anvin.
  399.  
  400. Sun Apr 28 16:32:38 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  401.  
  402.     * ls.c: Apply color ls changes by Peter Anvin <Peter.Anvin@linux.org>
  403.     and Dennis Flaherty <dennisf@denix.elk.miles.com> based on original
  404.     patches by Greg Lee <lee@uhunix.uhcc.hawaii.edu>.  And on top of all
  405.     that, a few changes from Ulrich Drepper.
  406.  
  407.     * ls.c (parse_ls_color): Use strcpy to initialize 3-character array.
  408.     Automatic aggregate initialization isn't portable.
  409.     Remove all ^L's.
  410.     (get_funky_string): Declare static and move to precede single
  411.     caller: parse_ls_color.
  412.     Make some globals `static' and/or `const'.
  413.     (LEN_STR_PAIR): New macro.
  414.     (color_indicator): Use it in this declaration.
  415.     (parse_ls_color): Use error, not fprintf.
  416.     (decode_switches): Add a comment.
  417.     (print_name_with_quoting): Add braces around inner if-else
  418.     statement to clarify.
  419.  
  420.     * configure.in: Add a comment that fp_C_PROTOTYPES must precede
  421.     AC_C_INLINE.  Otherwise, some systems lose because the value
  422.     AC_C_INLINE choses with plain `cc' is different from that chosen
  423.     when using the ANSI-mode C compiler.  From Kaveh Ghazi.
  424.  
  425.     * fileblocks.c [HAVE_ST_BLOCKS || _POSIX_VERSION]: Add extern dcl
  426.     of unused variable so that after preprocessing, the file will never
  427.     be empty.  Otherwise, some compilers in ANSI mode (among them, the
  428.     Dec Alpha OSF 2.0 C compiler) reject empty files.  From Kaveh Ghazi.
  429.     Indent CPP conditionals.
  430.  
  431. Fri Apr 26 05:52:03 1996  Karl Eichwalder  <ke@ke.Central.DE>
  432.  
  433.     * ls.c (usage): Add newline at end of printf format string.
  434.  
  435. Wed Apr 24 21:33:43 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  436.  
  437.     * ln.c (do_link): Remove duplicate `if (lstat(...' block.
  438.  
  439.     * ln.c (do_link): With --force, don't remove DEST when it's
  440.     the same as SOURCE.  Before, `ln -f FILE FILE' would remove FILE.
  441.     Reported by Bruno Haible (haible@ilog.fr).
  442.  
  443.     * mkdir.c (main): Use verbose_fmt_string, not string literal in
  444.     call to make_path for --parents.  Reported by Ulrich Drepper.
  445.  
  446.     * doc/mdate-sh: Get year as last rather than 6th field in output
  447.     of date.  Otherwise, people with 2-word TZ (like `MET DST') lost.
  448.     From Andreas Schwab.
  449.  
  450. Tue Apr 23 22:05:35 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  451.  
  452.     * src/*.c, src/*.h: Update Copyright years to include 1996.
  453.  
  454.     * aclocal.m4 (AC_REPLACE_GNU_GETOPT): New macro.
  455.     * configure.in: Use it.
  456.     * lib/Makefile.am (fu_SOURCES): Remove getopt.c and getopt1.c.
  457.     (EXTRA_DIST): Add getopt.c and getopt1.c
  458.  
  459.     * configure.in (AC_CHECK_FUNCS): Add lchown.
  460.     * chgrp.c [HAVE_LCHOWN]: Define chown to lchown.
  461.     * chown.c [HAVE_LCHOWN]: Likewise.
  462.     * cp.c [HAVE_LCHOWN]: Likewise.
  463.     * mv.c [HAVE_LCHOWN]: Likewise.
  464.     Suggested by Franτois Pinard.
  465.  
  466.     * backupfile.c (find_backup_file_name, max_backup_version,
  467.     make_version_name, version_number, concat): Const-ify decls of
  468.     formal parameters.
  469.     * backupfile.h: Likewise.
  470.  
  471.     * du.c (usage): The long-named arg is --human-readable, not --human.
  472.     * df.c: Be consistent.  Accept --human-readable, not just --human.
  473.     (usage): Reflect the change.
  474.     From Karl Berry.
  475.  
  476. Sun Apr 21 08:04:51 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  477.  
  478.     * df.c (usage): Reflect that now --no-sync is the default.
  479.  
  480.     * Makefile.am (LDADD): Put @INTLLIBS@ before package library.
  481.  
  482. Sat Apr 20 22:48:59 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  483.  
  484.     * ls.c: Include xstrtol.h.
  485.     (decode_switches): Use xstrtol, not atoi.
  486.     Detect and ignore invalid value for COLUMNS environment variable.
  487.     In error about invalid TABSIZE, don't reference optarg!
  488.     [!POSIXLY_CORRECT]: Don't consider TABSIZE environment variable.
  489.  
  490.     * install.c: Include xstrtol.h.
  491.     [HAVE_VALUES_H]: Include <values.h>.
  492.     [!BITSPERBYTE]: Define.
  493.     [!UID_T_MAX]: Define.
  494.     [!GID_T_MAX]: Define.
  495.     (get_ids): Use xstrtol, not atoi.
  496.     (is_number): Remove now-unused function.
  497.     * configure.in (AC_CHECK_HEADERS): Add values.h.
  498.  
  499. Fri Apr 19 00:06:02 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  500.  
  501.     * Makefile.am (cvs-dist): New rule.  Based on the one from
  502.     Tom Tromey's automake.
  503.  
  504.     * df.c: No longer call sync by default.
  505.  
  506.     * cp.c (copy_reg): Rearrange arithmetic in conditional to avoid
  507.     integer overflow with large files.
  508.  
  509. Fri Apr 12 21:40:44 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  510.  
  511.     * mkdir.c (main): Add new option: --verbose.
  512.     Remove long-deprecated and nowhere-documented --path, a synonym
  513.     for --parents.  It was confusing to get an error about `--p'
  514.     being ambiguous.
  515.  
  516. Thu Apr  4 21:28:03 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  517.  
  518.     * configure.in (LINGUAS): Add de.
  519.     * po/de.po: New file.
  520.  
  521.     * src/Makefile.am (EXTRAdir): Set to $(bindir).
  522.  
  523. Wed Apr  3 06:12:23 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  524.  
  525.     * cp.c (copy_reg): Use `ST_NBLOCKS (sb) * 512', not `sb.st_blocks *
  526.     DEV_BSIZE.'  From H.J. Lu (hjl@lucon.org).
  527.  
  528.     * mvdir.c: Protoize.
  529.     Include save-cwd.h.
  530.     (fullpath): Rewrite to use save_cwd, xgetcwd, and restore_cwd
  531.     rather than explicit chdir/getcwd calls.
  532.  
  533.     * src/Makefile.am (INCLUDES): Add -I$(srcdir) to get system.h
  534.     when srcdir != builddir.  From Kaveh Ghazi.
  535.  
  536. Mon Apr  1 23:50:29 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  537.  
  538.     * cp.c: Include assert.h (disabled).
  539.     (path_concat): New function.
  540.     (do_copy): Use path_concat instead of open-coding part of its
  541.     functionality in two places.  This has the additional benefit
  542.     of avoiding forming destination names like `D//file' when the
  543.     destination directory D includes a trailing slash -- as would
  544.     happen when cp is used like this:
  545.     mkdir D; touch file D/file; cp -i file D/
  546.     Reported by Franτois Pinard.
  547.  
  548. Sun Mar 31 11:18:09 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  549.  
  550.     * ls.c (quote_filename): Use ISGRAPH and ISPRINT in place of
  551.     ASCII-centric tests against literals.
  552.     (length_of_file_name_and_frills): Likewise.
  553.  
  554. Thu Mar 21 16:43:13 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  555.  
  556.     * src/*.c (main): Declare to be of type int, not void.
  557.  
  558. Sat Mar 16 10:46:23 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  559.  
  560.     * configure.in (PACKAGE_VERSION): New macro.
  561.     * acconfig.h (PACKAGE_VERSION): Add it.
  562.     * src/Makefile.am: Remove rules for generating version.c.
  563.     Remove references to version.o, version.h, and stamp-v.
  564.     * version.c: Remove file.
  565.     * version.h: Remove file.
  566.     * chgrp.c chmod.c chown.c cp.c dd.c df.c du.c install.c ln.c
  567.     ls.c mkdir.c mkfifo.c mknod.c mv.c mvdir.c rm.c rmdir.c sync.c
  568.     touch.c: Don't include version.h.
  569.     (main): Use PACKAGE_VERSION instead of version_string.
  570.  
  571. Sun Mar 10 22:36:11 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  572.  
  573.     * backupfile.c (max_backup_version): Declare file_name_length to
  574.     be of type size_t.  This avoids a warning from gcc -Wall.
  575.  
  576.     * chmod.c chown.c cp.c dd.c df.c du.c install.c ln.c ls.c
  577.     mkdir.c mkfifo.c mknod.c mv.c mvdir.c rm.c rmdir.c sync.c
  578.     touch.c (main): Initialize for internationalized message support:
  579.     call setlocale, bindtextdomain, and textdomain.
  580.     * system.h: Add definitions and includes for NLS.
  581.     * Makefile.am (SUBDIRS): Add intl and po.
  582.     * src/Makefile.am (datadir): Define.
  583.     (localedir): Define.
  584.     (DEFS): Add LOCALEDIR definition.
  585.     (LDADD): Add @INTLLIBS@.
  586.     * aclocal.m4: Add NLS-related macro definitions from
  587.     gettext distribution.
  588.     * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_LC_MESSAGES,
  589.     HAVE_STPCPY): New macros.
  590.     Add PACKAGE and VERSION.
  591.     * configure.in (PACKAGE): Define with AC_DEFINE_UNQUOTED.
  592.     (VERSION): Likewise.
  593.     (ALL_LINGUAS): Define.
  594.     (ud_GNU_GETTEXT): Use it.
  595.     Link an nls file.
  596.     (AC_OUTPUT): Reflect addition of two new directories, intl and po.
  597.     Create po/Makefile.
  598.     From Franτois Pinard.
  599.  
  600. Thu Mar  7 20:26:07 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  601.  
  602.     * df.c (main): Tell read_filesystem_list that it should determine
  603.     file system type when the user specifies --print-type or -T.
  604.     From Michael Rendell <michael@cs.mun.ca>.
  605.  
  606. Tue Feb 27 23:13:46 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  607.  
  608.     * src/Makefile.am: Adapt for automake-0.30.
  609.     (noinst_HEADERS): Rename from HEADERS.
  610.     (EXTRA_PROGRAMS): Set to `df mvdir'.
  611.     (PROGRAMS): Remove definition.
  612.     (bin_PROGRAMS): Remove hard-coded df.  Use @DF_PROG@ instead.
  613.     (libexec_PROGRAMS): Remove hard-coded mvdir.  Use @MVDIR_PROG@ instead.
  614.     * lib/Makefile.am: (noinst_HEADERS): Rename from HEADERS.
  615.  
  616.     * configure.in (DF_PROG, MVDIR_PROG): Use these instead of bundling
  617.     both into PROGS.
  618.  
  619. Mon Feb 26 21:23:58 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  620.  
  621.     * dd.c (copy): Remove bogus (now that we're using full_write)
  622.     increment of w_partial.
  623.     Change sense of the tests (though they're equivalent) that check
  624.     the value returned by full_write. making it clearer where errno
  625.     is valid.  full_write always writes the full amount or fails.
  626.  
  627. Thu Feb 15 23:08:41 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  628.  
  629.     * cp.c (copy): Detect (and fail) when creating backup file would
  630.     destroy the source file.  Before, running the commands
  631.     cd /tmp; rm -f a a~; : > a; echo A > a~; cp -b -V simple a~ a
  632.     would leave two zero-length files: a and a~.
  633.     Reported by Martin C. Martin <mcm@cs.cmu.edu>.
  634.  
  635. Mon Feb 12 23:23:25 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  636.  
  637.     * configure.in (LIBOBJS): Split assignment into two statements to
  638.     accomodate automake-0.29 buglet.
  639.  
  640.     Update for automake-0.29.
  641.     * Makefile.am (CONFIG_HEADER): Don't define.  Automake now does it.
  642.     * src/Makefile.am: Likewise.
  643.     * lib/Makefile.am: Likewise.
  644.     * doc/Makefile.am (info_TEXINFOS): Renamed from TEXINFOS.
  645.     * man/Makefile.am (man_MANS): Renamed from MANS.
  646.  
  647. Wed Jan 31 21:50:41 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  648.  
  649.     * dd.c (skip): Change type of parameter #5 from char* to
  650.     unsigned char* to match type of argument.
  651.     (copy): Cast first arg in memset call to char* to avoid warnings
  652.     from SunOS's acc.
  653.     (copy_simple): Likewise.
  654.  
  655.     * du.c: Remove comma after last item in enum.
  656.  
  657.     * df.c: Remove block of usage comments at beginning of file.
  658.  
  659.     * df.c (main): New options --human-readable (-h) and --megabytes (-m).
  660.     (human_readable_1k_blocks): New function.
  661.     (print_header): Honor new options.
  662.     (show_dev): Honor new options.
  663.     Add ifdef'd-out code to avoid printing lines for mount points that
  664.     match ^/auto/.* and ^/tmp_mnt.*.  Rather than hard-coding those
  665.     two prefixes, the code should allow the user to specify a regular
  666.     expression.  From Larry McVoy (lm@sgi.com).
  667.  
  668.     * du.c (human_readable): Fix off-by-one error that converted
  669.     1024*1024 to 1024K rather than 1G.  Describe the function.
  670.     * df.c (human_readable_1k_blocks): Likewise
  671.     (usage): Update usage message to reflect additions.
  672.  
  673. Sat Jan 20 06:00:09 1996  Jim Meyering  (meyering@na-net.ornl.gov)
  674.  
  675.     * cp-aux.c (usage): Fix description of --archive.  From Andreas Schwab.
  676.  
  677.     * install.c (copy_files): Accept backup/suffix options just as cp,
  678.     ln, and mv do.  From Marty Leisner <leisner@sdsp.mc.xerox.com>.
  679.  
  680.     * src/Makefile.am (DISTCLEANFILES): Set to stamp-v version.c.
  681.     (version.c): Update with rules from textutils.
  682.     (transform): Add `s/ginstall/install/;' prefix.
  683.  
  684.     * lib/Makefile.am (BUILT_SOURCES): Set to posixtm.c getdate.c so
  685.     autodependencies work after `make maintainer-clean.'
  686.  
  687.     * du.c (main): New options --human-readable (-h) and --megabytes (-m).
  688.     (human_readable): New function.
  689.     From Larry McVoy (lm@sgi.com).
  690.  
  691. Fri Dec 22 21:34:55 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  692.  
  693.     * configure.in: Touch stamp-h only if config.h is remade.
  694.  
  695. Sat Dec 23 11:33:19 1995  Jim Meyering  (meyering@comco.com)
  696.  
  697.     * ls.c (decode_switches): Make -o a synonym for -lG for compatibility
  698.     with most other versions of ls.  Reported by Karl Berry.
  699.     (usage): Update.
  700.  
  701. Fri Dec 22 00:48:01 1995  Jim Meyering  (meyering@comco.com)
  702.  
  703.     * dd.c (cleanup): New function -- broken out from quit.
  704.     (interrupt_handler): Rewrite to reset default signal handler,
  705.     call cleanup, then repost caught signal.
  706.  
  707. Thu Dec 21 23:15:06 1995  Jim Meyering  (meyering@comco.com)
  708.  
  709.     * argmatch.h: New file.
  710.     * lib/Makefile.am (HEADERS): Add argmatch.h.
  711.     * argmatch.c: (argmatch): Add const attribute to parameters.
  712.     (invalid_arg): Add const attribute to parameters.
  713.  
  714.     * cp.c: Include argmatch.h.
  715.     * ls.c: Likewise.
  716.     * touch.c: Likewise.
  717.  
  718.     * cp.c (main): Accept new option, --sparse={never,auto,always},
  719.     to control creation of sparse files.
  720.     (copy_reg): Set local, make_holes, from global flag_sparse.
  721.     * cp-aux (usage): Describe new option.
  722.  
  723. Mon Dec 18 22:29:49 1995  Jim Meyering  (meyering@comco.com)
  724.  
  725.     * ln.c: [SYMBOLIC_SPACE_STRING]: New macro.
  726.     (do_link): Use SYMBOLIC_SPACE_STRING instead of open-coded #ifdef.
  727.     For --verbose, output `create [symbolic ]link DEST to SRC' instead
  728.     of ambiguous (or inconsistent with cp -v and mv -v) `SRC -> DEST.'
  729.  
  730. Tue Dec  5 17:38:11 1995  Jim Meyering  (meyering@comco.com)
  731.  
  732.     * rm.c (rm): Work around SunOS 4 bug whereby lstat doesn't fail
  733.     when given a zero-length file name argument.  Reported by
  734.     Mark Calabretta <mcalabre@atnf.csiro.au>.
  735.  
  736. Wed Nov 22 23:12:47 1995  Jim Meyering  (meyering@comco.com)
  737.  
  738.     * Makefile.in (all et. al.): If make was invoked with -k and a
  739.     sub-make fails, fail after the loop rather than exiting right away.
  740.     Otherwise, make's -k option could be ineffective.
  741.  
  742. Thu Nov 16 21:25:45 1995  Jim Meyering  (meyering@comco.com)
  743.  
  744.     * Makefile.in (default): New default target.  Depend on `all' to work
  745.     around bug in AIX-3.2.5's /bin/make.  Reported by Andreas Luik
  746.     <luik@isa.de>.
  747.  
  748. Fri Nov 10 23:31:46 1995  Jim Meyering  (meyering@comco.com)
  749.  
  750.     * src/Makefile.in (.c._o, ._c._o): Remove temporary source files.
  751.     (.c._c): Don't redirect directly to $@.
  752.  
  753.     * src/Makefile.in (DISTFILES): Include ansi2knr.c and ansi2knr.1.
  754.     (clean): Remove temp files generated by ansi2knr rules.
  755.     (ansi2knr): New rule.
  756.     Add suffixes, dependencies, and rules to convert ANSI source to K&R
  757.     when required.
  758.     ($(OBJECTS)): Depend on $(ANSI2KNR)
  759.  
  760.     * configure.in: Add fp_C_PROTOTYPES.
  761.  
  762.     * Makefile.in (DISTFILES): Add aclocal.m4.
  763.     (configure): Depend on aclocal.m4.
  764.     (stamp.h.in): Depend on aclocal.m4 and acconfig.h.
  765.     * acconfig.h: Add PROTOTYPES.
  766.  
  767.     * cp.h: Remove declaration of error.  Include error.h instead.
  768.     Protoize forward dcls of functions in cp-hash.c and cp-aux.c
  769.     * cp-aux.c: Protoize and add const attribute to parameters.
  770.     * cp-hash.c: Likewise.
  771.  
  772. Thu Nov  9 23:27:05 1995  Jim Meyering  (meyering@comco.com)
  773.  
  774.     * system.h [__P]: Define it.
  775.  
  776.     * src/*.c: Protoize.
  777.  
  778.     * ls.c (enum filetype): Move dcl to precede prototypes.
  779.     (struct fileinfo): Likewise.
  780.     Add const attribute to some parameters.
  781.  
  782.     * rm.c (struct pathstack): Move dcl to precede prototypes.
  783.  
  784.     * dd.c (translate_charset): Make parameter `const'.
  785.  
  786.     * ln.c (main): Move to the end.
  787.     Remove most fwd dcls.
  788.     * chmod.c: Likewise.
  789.     * chown.c: Likewise.
  790.     * chgrp.c: Likewise.
  791.     * mkdir.c: Likewise.
  792.     * mkfifo.c: Likewise.
  793.     * mknod.c: Likewise.
  794.     * mvdir.c: Likewise.
  795.     * touch.c: Likewise.
  796.  
  797.     * mv.c: Rearrange functions to obviate forward dcls.
  798.     Remove forward dcls.
  799.  
  800.     * cp.c: Protect prototyped forward dcls with __P.
  801.     * dd.c: Likewise.
  802.     * df.c: Likewise.
  803.     * du.c: Likewise.
  804.     * install.c: Likewise.
  805.     * ls.c: Likewise.
  806.     * rm.c: Likewise.
  807.  
  808. Wed Nov  1 23:11:05 1995  Jim Meyering  (meyering@comco.com)
  809.  
  810.     * cp.c (copy): Use euidaccess instead of euidaccess_stat.
  811.     * mv.c (do_move): Likewise.
  812.     * rm.c (remove_file, remove_dir): Likewise.
  813.  
  814. Sun Oct 29 06:06:13 1995  Jim Meyering  (meyering@comco.com)
  815.  
  816.     * aclocal.m4 (jm_WITH_AUTODEPS): New directive.
  817.     * configure.in: Use it.
  818.  
  819.     * lib/Makefile.in (INCLUDE, COMPILE): New variables.
  820.     (.c.o): Rewrite to be more like src/Makefile.in.
  821.     Add line that (--with-autodeps) will include mkdep-Makefile.
  822.     (distclean): Remove .deps.
  823.     * src/Makefile.in: Likewise.
  824.  
  825.     * src/Makefile.in (test.o): Remove special rule.
  826.  
  827.     * mkdep-Makefile: New file.
  828.     * Makefile.in (DISTFILES): Add mkdep-Makefile.
  829.  
  830.     * doc/Makefile.in (mostlyclean): Remove *.info.
  831.  
  832.     * touch.c: Change long option name `--file' to `--reference'.
  833.     Leave --file as an alias, for now.  It will be removed later.
  834.     (usage): Reflect option name change.  From Franc,ois Pinard.
  835.  
  836. Wed Oct 18 23:09:55 1995  Jim Meyering  (meyering@comco.com)
  837.  
  838.     * configure.in (AC_CHECK_HEADERS): Add sys/wait.h and sys/ioctl.h.
  839.     (AC_CHECK_FUNCS): Add endpwent.
  840.  
  841.     * fileblocks.c: Use _POSIX_VERSION, not _POSIX_SOURCE.
  842.  
  843.     * userspec.c [endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
  844.     [endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.
  845.  
  846.     * chgrp.c [endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
  847.  
  848.     * chown.c [endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.
  849.     [endgrent]: Remove unused definition.
  850.  
  851.     * df.c (main): Fail if the same file system type was both selected
  852.     and excluded.  Reported by Paul Close pdc@lunch.engr.sgi.com.
  853.  
  854.     * rm.c (duplicate_entry): Always return 0 if !D_INO_IN_DIRENT,
  855.     rather than if _POSIX_SOURCE.
  856.  
  857.     * install.c: Use HAVE_SYS_WAIT_H, not _POSIX_VERSION in conditional
  858.     inclusion of sys/wait.h.
  859.     [endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
  860.     [endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.
  861.  
  862.     * ls.c Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.
  863.  
  864. Thu Oct  5 21:49:34 1995  Jim Meyering  (meyering@comco.com)
  865.  
  866.     * configure.in (HAVE_STRUCT_UTIMBUF): Add new test.  Testing for
  867.     the existence of <utime.h> is insufficient on some Next systems.
  868.     * acconfig.h (HAVE_STRUCT_UTIMBUF): Add it.
  869.     * system.h [!HAVE_UTIME_H]: Don't declare struct utimbuf here.
  870.     [!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.
  871.  
  872.     * chgrp.c: Include limits.h.
  873.     [!INT_MAX]: Define it.
  874.  
  875.     * df.c (show_point): Cast -2 to dev_t before assignment.
  876.     * mountlist.c (read_filesystem_list): Cast -1 to dev_t before
  877.     assignment.
  878.  
  879. Sun Oct  1 13:22:36 1995  Jim Meyering  (meyering@comco.com)
  880.  
  881.     * configure.in (AC_REPLACE_FUNCS): Add strtoul.
  882.     * strtoul.c: New file.
  883.     * lib/Makefile.in (SOURCES): Add strtoul.c.
  884.  
  885.     * acconfig.h (STATFS_TRUNCATES_BLOCK_COUNTS): Add it.
  886.     * configure.in (STATFS_TRUNCATES_BLOCK_COUNTS): New check to enable
  887.     workaround for SunOS statfs brokenness.  Block counts in struct
  888.     statfs for partitions 2GB and larger are truncated, but correct
  889.     values are stored in f_spare array member.
  890.  
  891.     * fsusage.c (get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy
  892.     untruncated block counts from f_spare array into proper members
  893.     of struct statfs. From Eirik Fuller (eirik@netapp.com);
  894.  
  895.     * ls.c (dired_dump_obstack): Don't generate any output if the
  896.     obstack is empty.
  897.     (main): Always initialize and dump subdired_obstack, not just if -R.
  898.     `ls -lDR dir dir2' was using uninitialized subdired_obstack.
  899.     Reported by Samuli K{rkk{inen <hskarkka@snakemail.hut.fi>.
  900.  
  901. Tue Sep 26 23:05:01 1995  Jim Meyering  (meyering@comco.com)
  902.  
  903.     * man/Makefile.in (install-data, uninstall): Use sed not basename.
  904.     The GNU Coding Standard suggests that only a select set of
  905.     relatively standard utilities be used in Makefiles.  basename is
  906.     not among them.  Suggested by Ulrich Drepper.
  907.  
  908. Mon Sep 25 23:12:37 1995  Jim Meyering  <meyering@gremlin.comco.com>
  909.  
  910.     * src/df.c (show_point): Ignore mtab entries with either
  911.     nonexistent mount points or with inconsistent device number.
  912.     From Eirik Fuller <eirik@synopsys.com>.
  913.  
  914. Wed Aug  9 00:33:05 1995  Jim Meyering  (meyering@comco.com)
  915.  
  916.     * mknod.c (my_strtol): Remove function.
  917.     (main): Use xstrtol instead.
  918.  
  919. Mon Aug  7 23:27:54 1995  Jim Meyering  (meyering@comco.com)
  920.  
  921.     * Makefile.in (DISTFILES): Don't distribute unneeded COPYING.LIB.
  922.     From Franc,ois.
  923.  
  924. Fri Aug  4 22:11:06 1995  Jim Meyering  (meyering@comco.com)
  925.  
  926.     * install.c (isnumber): Rename to is_number to avoid conflict with
  927.     FreeBSD 2.0.5 macro definition.  Reported by David O'Brien
  928.     (obrien@sea.legent.com).
  929.  
  930.     * lib/save-cwd.c: New file.
  931.     * lib/save-cwd.h: New file.
  932.     * lib/Makefile.in (SOURCES, OBJECTS, DISTFILES): Update for new files.
  933.  
  934.     * configure.in: (AC_REPLACE_FUNCS): Remove fnmatch.
  935.     Add check for working fnmatch functions so that
  936.     systems providing it don't incur the space overhead of linking
  937.     with the version in lib.  Cross compiling builds always use the
  938.     version in lib.
  939.  
  940.     * ls.c (decode_switches): Set SORT_TYPE.  Before, ls -c was sorting
  941.     by name, rather than change time.  Reported by Ken Estes
  942.     (m-ke0082@sparky.cs.nyu.edu).
  943.  
  944.     * du.c: (save_cwd, restore_cwd, free_cwd): Remove functions.
  945.     New versions have been broken out into save-cwd.c.
  946.     (du_files): Adapt to handle status code returned by new versions
  947.     of save_cwd and restore_cwd.
  948.     (count_entry): Likewise.
  949.  
  950.     * all programs (main): Include program name in --version output.
  951.  
  952.     * src/Makefile.in (cp.o): Depend on ../lib/obstack.h.
  953.  
  954.     * xstrtol.c, xstrtol.h: New files.
  955.     * xstrtoul.c, xstrtoul.h: New files.
  956.     * lib/Makefile.in (SOURCES, OBJECTS, DISTFILES): Update for new files.
  957.  
  958.     * chgrp.c (parse_group): Use xstrtoul instead of isnumber; the
  959.     latter would silently overflow, accepting a group id larger
  960.     than INT_MAX.
  961.     (isnumber): Remove now-unused static function.
  962.     (change_file_group) [MAXUID]: Give a more descriptive message
  963.     when numeric group id is larger than MAXUID.
  964.  
  965. Sat May 27 00:35:47 1995  Jim Meyering  (meyering@comco.com)
  966.  
  967.     * system.h [!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h.
  968.     Without this, SunOS doesn't get type for memchr.
  969.     Reported by Kaveh Ghazi.
  970.  
  971. Sun May 21 07:20:55 1995  Jim Meyering  (meyering@comco.com)
  972.  
  973.     * all source files (usage): Include one- or two-line synopsis
  974.     in --help output.  From Karl Berry.
  975.  
  976.     * Makefile.in (.PHONY): TAGS is not a phony target.  From Franc,ois.
  977.  
  978.     * All Makefile.in (install-exec, install-exec): New targets.
  979.     From Karl Berry.
  980.  
  981.     * all Makefile.in (maintainer-clean): Renamed from realclean
  982.     per GNU Standards.
  983.  
  984.     * euidaccess.c: No longer include safe-l?stat.h.
  985.     * fsusage.c: Likewise.
  986.     * isdir.c: Likewise.
  987.     * makepath.c: Likewise.
  988.     * mkdir.c: Likewise.
  989.     * rename.c : Likewise.
  990.     * rmdir.c: Likewise.
  991.  
  992. Sat May 13 07:47:44 1995  Jim Meyering  (meyering@comco.com)
  993.  
  994.     * lib/Makefile.in: Remove safe-l?stat.[ch]in and related rules.
  995.     (maintainer-clean): Rename from realclean.
  996.     (.PHONY): New dependencies.
  997.     [.c.o]: Remove -I. since safe-l?stat.h are no longer used.
  998.  
  999.     * argmatch.c (argmatch): Include sys/types.h and declare length
  1000.     argument with type size_t.
  1001.  
  1002.     * backupfile.c: Remove unnecessary definitions for r?index.
  1003.     Update definitions for ISDIGIT.
  1004.  
  1005.     * basename.c (basename): Make argument const.
  1006.  
  1007.     * euidaccess.c (eaccess_stat): Make statp and path arguments const.
  1008.     (euidaccess): Make statp argument const.  Use stat, not safe_stat.
  1009.  
  1010.     * fsusage.c (statfs): Use stat, not safe_stat.
  1011.     * isdir.c (isdir): Likewise.
  1012.     * mkdir.c (mkdir): Likewise.
  1013.     * rename.c (rename): Likewise.
  1014.     * rmdir.c (rmdir): Likewise.
  1015.  
  1016.     * userspec.c (parse_user_spec): Use strchr, not index.
  1017.     [!HAVE_STRING_H]: Define strchr in terms of index, not the
  1018.     other way around.
  1019.  
  1020.     * makepath.c: (make_path): Use stat, not SAFE_STAT.
  1021.     Use strchr, not index.  Adjust defines accordingly.
  1022.  
  1023.     * makepath.h: Undef __P before defining.
  1024.     Guard definition with simpler `#if __STDC__'.
  1025.  
  1026.     * chgrp.c: Use stat (lstat), not safe_stat (safe_lstat).
  1027.     * chmod.c: Likewise.
  1028.     * chown.c: Likewise.
  1029.     * cp-hash.c: Likewise.
  1030.     * cp.c: Likewise.
  1031.     * df.c: Likewise.
  1032.     * du.c: Likewise.
  1033.     * install.c: Likewise.
  1034.     * ln.c: Likewise.
  1035.     * ls.c: Likewise.
  1036.     * mv.c: Likewise.
  1037.     * mvdir.c: Likewise.
  1038.     * rm.c: Likewise.
  1039.     * touch.c: Likewise.
  1040.  
  1041. Fri May 12 21:21:23 1995  Jim Meyering  (meyering@comco.com)
  1042.  
  1043.     * mv.c (movefile): Remove a single trailing slash from destdir
  1044.     before concatenating with `/' and filename for `ok to overwrite...'
  1045.     message.  Reported by Franc,ois Pinard.
  1046.  
  1047. Mon May  1 23:03:30 1995  Jim Meyering  (meyering@comco.com)
  1048.  
  1049.     * ls.c (quote_filename): Never return NULL when quoting filenames
  1050.     as C-strings.  --quote-name was quoting only strings containing
  1051.     at least one C-quotable character.  Reported by David J. MacKenzie.
  1052.  
  1053. Mon Mar 20 21:44:40 1995  Jim Meyering  (meyering@comco.com)
  1054.  
  1055.     * rename.c (rename): Compare src and dest inode numbers rather
  1056.     than src inode and dest dev when determining whether they refer
  1057.     to the same file.  From marc@math.cornell.edu (Marc Parmet).
  1058.  
  1059.     * df.c (usage): Add ellipsis after `[OPTION]'.  Use FILE,
  1060.     not deprecated PATH in text of help message.  From Karl Berry.
  1061.  
  1062. Fri Mar 10 21:13:23 1995  Jim Meyering  (meyering@comco.com)
  1063.  
  1064.     * src/*.c: Update Copyright dates.
  1065.  
  1066.     * src/Makefile.in (uninstall): Handle case in which LIBPROGS is empty.
  1067.     Reported by Peter Smidt <smidt@cd.chalmers.se>.
  1068.  
  1069. Thu Feb 23 22:29:11 1995  Jim Meyering  (meyering@comco.com)
  1070.  
  1071.     * du.c (save_cwd) [!HAVE_FCHDIR]: Always initialize cwd->desc.
  1072.     (restore_cwd) [!HAVE_FCHDIR]: Remove unnecessary redefinition
  1073.     of fchdir.  Both from Bruno Haible.
  1074.  
  1075. Mon Feb 20 22:54:39 1995  Jim Meyering  (meyering@comco.com)
  1076.  
  1077.     * du.c (save_cwd, restore_cwd): New functions.
  1078.     (main): Use them instead of open coded versions.
  1079.     (count_entry): Use them here instead of relying on chdir ("..") --
  1080.     but only when necessary.  Before, with --dereference (-L),
  1081.     traversing a symlink caused failure because chdir ("..") didn't
  1082.     work as expected.  Reported by Bruno Haible.
  1083.  
  1084. Sat Feb 11 07:52:01 1995  Jim Meyering  (meyering@comco.com)
  1085.  
  1086.     * configure.in (AC_REPLACE_FUNCS): Add memcmp, memcpy, and memset.
  1087.     (AC_CHECK_FUNCS): Add strchr and strrchr.
  1088.     * lib/Makefile.in (SOURCES): Add memcmp.c, memcpy.c, and memset.c.
  1089.  
  1090.     * system.h: Remove index/rindex and bcmp/bcopy/bzero references.
  1091.     Separate errno declaration from STDC_HEADERS.
  1092.  
  1093.     * dd.c (copy): Use memset, not bzero.
  1094.     (copy_simple): Use memcpy, not bcopy.
  1095.  
  1096.     * fsusage.c (get_fs_usage, statfs): Use safe_read, and safe_stat
  1097.     rather than bare read and stat.  From Bruno Haible.
  1098.  
  1099.     * lib/Makefile.in (DISTFILES): Add error.h.
  1100.  
  1101.     * chgrp.c, chmod.c, chown.c, cp-hash.c, cp.c, df.c, du.c, install.c,
  1102.     ln.c, ls.c, mv.c, mvdir.c, rm.c, touch.c: Rename SAFE_STAT and
  1103.     SAFE_LSTAT to safe_stat and safe_lstat.
  1104.  
  1105.     * basename.c (basename): Use strrchr, not rindex.
  1106.     [!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex.
  1107.  
  1108. Tue Dec 27 07:07:53 1994  Jim Meyering  (meyering@comco.com)
  1109.  
  1110.     * src/*.c: Include "error.h" rather than simply declaring
  1111.     `void error ();'.
  1112.     * src/Makefile.in (OBJECTS): Depend on ../lib/error.h.
  1113.  
  1114.     * sync.c (main): Make error message accurate.
  1115.  
  1116.     * dd.c (skip): Use safe_read instead of read.
  1117.     (copy): Use full_write instead of write.
  1118.     From Bruno Haible.
  1119.  
  1120. Sat Dec 10 00:02:09 1994  Jim Meyering  (meyering@comco.com)
  1121.  
  1122.     * Makefile.in (install): Install `install' first as transformed
  1123.     `ginstall,' then remove the target (transformed `install')
  1124.     and move GNU install into its place.  Before, the installation
  1125.     process failed on systems (e.g. HPUX) that can't overwrite the
  1126.     executable associated with a running process.
  1127.  
  1128.     * system.h [!HAVE_STRING_H]: Define strchr to index and strrchr to
  1129.     rindex instead of the other way around.
  1130.     * rmdir.c (remove_parents): Use strr?chr instead of r?index.
  1131.     * mvdir.c (main): Likewise.
  1132.     * dd.c (parse_conversion, scan_args): Likewise.
  1133.     * cp.c (copy, make_path_private): Likewise.
  1134.  
  1135.     * system.h: Include <ctype.h> and define IS* macros.
  1136.     * touch.c: No longer include <ctype.h>.
  1137.     * chown.c: Likewise.
  1138.     * install.c: Likewise.
  1139.     [isascii, ISDIGIT]: Remove definitions.
  1140.     * chgrp.c: Likewise.
  1141.     * dd.c: Likewise.
  1142.  
  1143. Sun Dec  4 14:53:12 1994  Jim Meyering  (meyering@comco.com)
  1144.  
  1145.     * doc/Makefile.in (DISTFILES): Add getdate.texi.
  1146.  
  1147. Fri Nov 11 11:15:20 1994  Jim Meyering  (meyering@comco.com)
  1148.  
  1149.     * mknod.c (my_strtol): New function.
  1150.     (main): Use it instead of atoi to convert argument strings to
  1151.     major and minor device numbers.  Now, mknod diagnoses invalid
  1152.     device numbers and accepts octal and hexadecimal as well as
  1153.     decimal string arguments.  Ralf Lammers
  1154.     <rlammers@physik.uni-osnabrueck.de> suggested that mknod accept
  1155.     hex device numbers for compatibility with HPUX's mknod program.
  1156.  
  1157.     * configure.in (AC_REPLACE_FUNCS): Add strtol.
  1158.     * lib/Makefile.in (SOURCES): Add strtol.c.
  1159.  
  1160. Sun Nov 06 00:18:56 1994  Jim Meyering  (meyering@comco.com)
  1161.  
  1162.     * Version 3.12.
  1163.  
  1164. Sat Nov 05 15:20:07 1994  Jim Meyering  (meyering@comco.com)
  1165.  
  1166.     * group-member.c: Use up-to-date version.
  1167.     * group-member.h: New file.
  1168.     * lib/Makefile.in (DISTFILES): Add group-member.h.
  1169.     (group-member.o): Depend on group-member.h.
  1170.  
  1171.     * Version 3.11.
  1172.  
  1173.     * src/Makefile.in (obstack.o): Depend on obstack.h.
  1174.     * makepath.c (makepath) [__STDC__]: Add an ANSI-style prototype.
  1175.     From Kaveh Ghazi.
  1176.  
  1177. Fri Nov 04 17:27:55 1994  Jim Meyering  (meyering@comco.com)
  1178.  
  1179.     * Version 3.10.
  1180.  
  1181. Thu Nov 03 12:59:34 1994  Jim Meyering  (meyering@comco.com)
  1182.  
  1183.     * makepath.h: New file.
  1184.     * makepath.c: Include it.
  1185.     Add an argument: PRESERVE_EXISTING.
  1186.     Declare char* arguments const.
  1187.     * install.c, mkdir.c: Update callers.  Set it in mkdir.c so
  1188.     that `mkdir -p' ignores existing directories as POSIX mandates.
  1189.     Before, it would try to change owner and/or permissions of such
  1190.     directories.  Christopher S. Arthur <csa@halcyon.com> reported
  1191.     the mkdir -p failure.
  1192.     * lib/Makefile.in (DISTFILES): Add it.
  1193.     (makepath.o): Depend on makepath.h.
  1194.     * src/Makefile.in (install.o, mkdir.o): Depend on makepath.h.
  1195.     * cp.c (make_path_private): Rename function from make_path to
  1196.     avoid confusion.
  1197.     (do_copy): Update caller.
  1198.  
  1199.     * ls.c: Include <limits.h> before system.h because limits.h on
  1200.     some systems undefines PATH_MAX, whereas system.h includes pathmax.h
  1201.     which sets PATH_MAX.  From Kaveh Ghazi.
  1202.  
  1203.     * euidaccess.c: Define S_IXUSR, S_IXGRP, and S_IXOTH in terms of
  1204.     S_IEXEC if they're not already defined.  Reported by Kaveh Ghazi
  1205.     and Daniel Hagerty <hag@gnu.ai.mit.edu>.
  1206.  
  1207. Tue Nov 01 06:18:20 1994  Jim Meyering  (meyering@comco.com)
  1208.  
  1209.     * eaccess.c (euidaccess): Rename from eaccess to avoid conflict
  1210.     with like-named, different function in some C libraries.
  1211.     * euidaccess.c: Renamed from eaccess.c
  1212.     * lib/Makefile.in (SOURCES): Rename eaccess.c.
  1213.     Update dependency, too.
  1214.     * configure.in (AC_REPLACE_FUNCS): Check for euidaccess
  1215.  
  1216. Mon Oct 31 08:02:31 1994  Jim Meyering  (meyering@comco.com)
  1217.  
  1218.     * ls.c (dired_dump_obstack): Cast obstack_finish for non-ANSI
  1219.     compilers.  Kaveh Ghazi reported the problem.
  1220.  
  1221. Sat Oct 29 00:42:18 1994  Jim Meyering  (meyering@comco.com)
  1222.  
  1223.     * fsusage.c (get_fs_usage) [STAT_STATFS4]: Define CONVERT_BLOCKS
  1224.     to adjust_blocks for _AIX.  Was getting off-by-8x numbers.
  1225.  
  1226.     * df.c: Make --sync the default.
  1227.     Add new option: --no-sync.
  1228.     Remove short option alias for --sync.
  1229.     (usage): Update.
  1230.  
  1231.     * ls.c [!STDC_HEADERS]: Declare free.
  1232.     (dired_dump_obstack): Cast pos[i] (of type size_t) to int so it
  1233.     matches %d in printf.
  1234.     (quote_filename): Fix typo in stpcpy call.
  1235.  
  1236. Thu Oct 27 00:02:45 1994  Jim Meyering  (meyering@comco.com)
  1237.  
  1238.     * fsusage.c: Include <sys/stat.h> before safe-stat.h.
  1239.  
  1240.     * cp.c (make_path): Don't change protections on existing directory.
  1241.     Reported by Andreas Schwab.
  1242.  
  1243.     * df.c: New option: --sync.  No longer perform sync by default.
  1244.     Do it only when this option is used.  Invoking sync can be very
  1245.     expensive, and it's not clear that doing so yields more up to date
  1246.     results.  With encouragement/prodding from Paolo Zeppegno
  1247.     (paolo@to.sem.it), Nick Holloway, and Kaveh Ghazi.
  1248.  
  1249. Thu Oct 20 00:52:59 1994  Jim Meyering  (meyering@comco.com)
  1250.  
  1251.     * system.h [!S_IEXEC]: Define as S_IXUSR.
  1252.  
  1253.     * cp.h [S_IEXEC]: Remove definition.  cp.c doesn't use it.
  1254.  
  1255.     * ls.c [!INT_MAX]: Define to 2^31 - 1 so subsequent #if test works.
  1256.     [S_IEXEC]: Remove definition.  It's in system.h now.
  1257.     (usage): Sort options, but without segregating upper and lower case.
  1258.  
  1259.     * ls.c: Support for new option: --dired (-D).
  1260.     (dired, dired_pos, dired_obstack, subdired_obstack): Global variables.
  1261.     [PUTCHAR, FPUTS, FPUTS_LITERAL, PUSH_CURRENT_DIRED_POS]: New macros
  1262.     (dired_dump_obstack, quote_filename): New functions.
  1263.     (main): Initialize obstacks.
  1264.     (decode_switches): Recognize -D.
  1265.     (print_dir): Make arguments `const.'
  1266.     Record directory name indices in obstack.
  1267.     (print_dir, print_long_format, print_type_indicator): Use macros
  1268.     FPUTS, FPUTS_LITERAL, PUTCHAR for output.
  1269.     (print_long_format): Record file name indices in obstack.
  1270.     (print_name_with_quoting): Just call quote_filename and output the
  1271.     result.
  1272.  
  1273. Mon Oct 17 23:56:36 1994  Jim Meyering  (meyering@comco.com)
  1274.  
  1275.     * savedir.c: Indent CPP conditionals.  Change some #ifdefs to #ifs.
  1276.     From Franc,ois Pinard.
  1277.  
  1278. Mon Oct 17 10:27:26 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
  1279.  
  1280.     * lib/dirname.c: Use strrchr, not rindex.
  1281.  
  1282. Sun Oct 16 07:53:27 1994  Jim Meyering  (meyering@comco.com)
  1283.  
  1284.     * system.h (S_IXUSR, S_IXGRP, S_IXOTH): Define these in terms of
  1285.     S_IEXEC if they're not already defined. From Kaveh Ghazi.
  1286.  
  1287.     * eaccess.c (eaccess_stat): Don't use NULL in comparison.
  1288.     Some systems don't define it except in stdio.h -- and including
  1289.     (yes, just including) stdio.h has been known to significantly
  1290.     increase object code size (though admittedly, that probably
  1291.     happens only on old systems).  Kaveh Ghazi reported the problem.
  1292.  
  1293.     * src/Makfile.in lib/Makfile.in (DEFS): Remove -Dlint.
  1294.     It causes problems on broken pyramid system.
  1295.     From Kaveh Ghazi.
  1296.  
  1297. Sat Oct 08 10:39:32 1994  Jim Meyering  (meyering@comco.com)
  1298.  
  1299.     * mountlist.c: Always include <sys/param.h> if it exists.
  1300.     (fstype_to_string) [__NetBSD__]: Don't define this function.
  1301.     (read_filesystem_list) [__NetBSD__]: Use fsp's f_fstypename field,
  1302.     rather than fstype_to_string (f_type).  With suggestions from
  1303.     Greg Hudson (ghudson@mit.edu).
  1304.  
  1305.     * lib/Makefile.in (OBJECTS): Remove eaccess.o.
  1306.     * configure.in (AC_REPLACE_FUNCS): Add `eaccess' here instead.
  1307.     The Hurd and Linux will have it.
  1308.  
  1309. Fri Oct 07 20:27:48 1994  Jim Meyering  (meyering@comco.com)
  1310.  
  1311.     * (doc): New subdirectory with texinfo documentation.
  1312.     * fileutils.texi: Thanks to Franc,ois Pinard and Karl Berry!
  1313.  
  1314.     * Makefile.in (All of them): Update from the ones in sh-utils.
  1315.     From now on, rules and definitions that are comon to the fileutils,
  1316.     textutils, and sh-utils will get ChangeLog entries only in the
  1317.     sh-utils.
  1318.  
  1319.     * Makefile.in (install, uninstall): Prepend ginstall->install
  1320.     mapping to standard $(transform) sed mapping.
  1321.  
  1322.     * chgrp.c, chmod.c, chown.c, install.c, mkdir.c, mkfifo.c, mknod.c,
  1323.     rm.c, rmdir.c (main): Diagnose wrong number of argument -- usually
  1324.     too few -- instead of just referring the user to the --help option.
  1325.     * mknod.c (main): Give diagnostics explaining specific problems
  1326.     instead of just the usage message.  Reported by Karl Berry.
  1327.  
  1328.     * configure.in: Overhaul tests that determine how to get filesystem
  1329.     usage statistics.  Now, most use AC_TRY_RUN and test for the precise
  1330.     feature that will be used.  I know that that will make configuring a
  1331.     little harder for the people who cross compile, but if one of them
  1332.     is annoyed enough (or complains loudly enough :-) maybe someone will
  1333.     find the time to add tests to be used solely when cross compiling.
  1334.     * acconfig.h (STAT_READ): Rename to STAT_READ_FILSYS.
  1335.     * fsusage.c: Reorganize accordingly.
  1336.  
  1337. Tue Oct 04 20:38:12 1994  Jim Meyering  (meyering@comco.com)
  1338.  
  1339.     * chmod.c (main): Remove trailing slashes from file name arguments.
  1340.     Otherwise, `chmod 600 foo/; chmod 700 foo/' failed with the error
  1341.     `chmod: foo/: Permission denied' under Linux 1.1.51.  Reported by
  1342.     Thomas Koenig (ig25@fg70.rz.uni-karlsruhe.de).
  1343.     * chown.c (main): Likewise.
  1344.  
  1345. Thu Oct  2 23:03:32 1994  Jim Meyering  (meyering@comco.com)
  1346.  
  1347.     * configure.in: Replace obsolete AC_DIR_HEADER with AC_HEADER_DIRENT
  1348.     and AC_FUNC_CLOSEDIR_VOID.
  1349.  
  1350.     * configure.in: Remove AC_SIZEOF_TYPE(int).
  1351.     ls.c: Instead of comparing SIZEOF_INT == 2, compare INT_MAX to 2^16.
  1352.     Suggestion from Roland McGrath.
  1353.  
  1354. Sat Oct 01 21:23:27 1994  Jim Meyering  (meyering@comco.com)
  1355.  
  1356.     * src/*.c: Remove CONFIG_BROKETS conditional.
  1357.  
  1358.     * {*/,}Makefile.in: Revamp to look much like those in sh-utils.
  1359.     * acconfig.h (HAVE_FTRUNCATE): Remove it.
  1360.     (ino_t, D_INO_IN_DIRENT): Add these.
  1361.  
  1362.     * configure.in: Convert for autoconf-2.0.
  1363.     * backupfile.c: Likewise.
  1364.     * savedir.c: Likewise.
  1365.  
  1366.     * mkdir.c, rmdir.c: Split the two functions from old mkdir.c into
  1367.     separate files.
  1368.  
  1369.     * chgrp.c [_POSIX_VERSION]: Test this instead of _POSIX_SOURCE.
  1370.  
  1371.     * ls.c: Don't use SIZEOF_INT because it would require configure
  1372.     to run a program -- then cross compilers would lose.  Instead,
  1373.     compare INT_MAX to 64k-1 since all we need to know is whether
  1374.     an int is 2 bytes or larger.
  1375.  
  1376.     * rm.c [D_INO]: Use D_INO_IN_DIRENT rather than _POSIX_SOURCE in the
  1377.     test for how to define this macro.
  1378.  
  1379.     * system.h: Use HAVE_SYS_PARAM_H (not _POSIX_SOURCE) in test
  1380.     for whether to include <sys/param.h>.
  1381.     Likewise for <utime.h>.
  1382.     Update for DIRENT->HAVE_DIRENT_H etc. autoconf-2.0 changes.
  1383.     Ditto for VOID_CLOSEDIR->CLOSEDIR_VOID.
  1384.  
  1385.     * xgetcwd.c [!_POSIX_VERSION && !HAVE_GETCWD]: Remove
  1386.     !defined (_POSIX_VERSION) conjunct.  From Kaveh Ghazi.
  1387.  
  1388. Mon Sep 26 17:47:17 1994  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1389.  
  1390.     * lib/*.c: Remove CONFIG_BROKETS conditional.
  1391.     * lib/Makefile.in src/Makefile.in: Don't define it.
  1392.  
  1393. Sun Sep 25 12:20:52 1994  Jim Meyering  (meyering@comco.com)
  1394.  
  1395.     * ln.c (do_link): Give a diagnostic when trying to make a hard
  1396.     link to a nonexistent source file.  Before, running the command
  1397.     `ln -i no-such-file existing-file' and responding `yes' to the
  1398.     prompt would both remove `existing-file' and fail to make a link.
  1399.     Karl Berry reported the problem.
  1400.  
  1401. Sat Sep 10 04:34:34 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1402.  
  1403.     * src/rm.c (remove_dir): Pass pathname to eaccess_stat.
  1404.  
  1405. Fri Sep  2 13:54:13 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>
  1406.  
  1407.     * lib/Makefile.in (safe-lstat.c, safe-lstat.h, safe-stat.c,
  1408.     safe-stat.h): Use $(srcdir) to find source files.
  1409.     (.c.o): Use -I. to get safe-lstat.h and safe-stat.h from the
  1410.     build directory.
  1411.     * src/Makefile.in (incl): Add -I../lib to get lib/safe-lstat.h and
  1412.     lib/safe-stat.h from the build directory.
  1413.  
  1414. Sat Aug 27 16:33:04 1994  Jim Meyering  (meyering@comco.com)
  1415.  
  1416.     * ln.c (main): Accept new option --no-dereference (-n).
  1417.     (do_link): If the destination command line argument is a symlink
  1418.     to a directory and --no-dereference is given, use that as the
  1419.     destination instead of the file in the directory.
  1420.     * ln.1: Document this.
  1421.  
  1422.     * system.h [BROKEN_STAT_MACROS]: Remove unnecessary #ifdef's.
  1423.     From Francois Pinard.
  1424.  
  1425.     * isdir.c, makepath.c, rename.c [STAT_MACRO_BROKEN]: Remove
  1426.     spurious #ifdef's.
  1427.  
  1428. Thu Aug 25 00:12:20 1994  Jim Meyering  (meyering@comco.com)
  1429.  
  1430.     * dd.c (copy): Clean up and fix off-by-one error when freeing
  1431.     the input buffer.
  1432.  
  1433. Thu Aug 18 11:41:16 1994  Jim Meyering  (meyering@comco.com)
  1434.  
  1435.     * du.c (du_files) [HAVE_FCHDIR]: Use open (".", ...) and fchdir
  1436.     instead of xgetcwd and chdir.  Otherwise, running du in a subdirectory
  1437.     of an unreadable directory would fail because xgetcwd fails.
  1438.     * configure.in (AC_HAVE_FUNCS): Add fchdir.  AIX-2.3 (for one)
  1439.     doesn't have it.
  1440.  
  1441.     * lib/Makefile.in (DISTFILES): Include getdate.c and posixtim.c
  1442.     so one doesn't need $(YACC).
  1443.     Add dependencies on safe-stat.h.
  1444.  
  1445. Sat Jul 30 08:08:02 1994  Jim Meyering  (meyering@comco.com)
  1446.  
  1447.     * du.c (main): Don't initialize automatic array CWD_ONLY in declaration.
  1448.     Some compilers don't allow that.
  1449.  
  1450.     * backupfile.c [DIRENT]: Remove spurious `|| defined(_POSIX_VERSION)'.
  1451.     * savedir.c: Ditto.
  1452.  
  1453.     * safe-xstat.c.in, safe-xstat.h.in: New files.
  1454.     * lib/Makefile.in: Add rules and dependencies for building safe-stat.c,
  1455.     safe-stat.h, safe-lstat.c, and safe-lstat.h from them.
  1456.  
  1457.     * eaccess.c (eaccess): Use SAFE_STAT instead of stat
  1458.     (and/or SAFE_LSTAT instead of lstat) to avoid unnecessary failure
  1459.     on systems for which stat (lstat) can return EINTR.
  1460.     * fsusage.c (statfs): Ditto.
  1461.     * isdir.c (isdir): Ditto.
  1462.     * makepath.c (make_path): Ditto.
  1463.     * rename.c (rename): Ditto.
  1464.     * chgrp.c (change_file_group): Ditto.
  1465.     * chmod.c (change_file_mode): Ditto.
  1466.     * chown.c (change_file_owner): Ditto.
  1467.     * cp-hash.c (remember_created): Ditto.
  1468.     * cp.c (main, do_copy): Ditto.
  1469.     * df.c (main, show_point): Ditto.
  1470.     * du.c (main, du_files, count_entry): Ditto.
  1471.     * install.c (copy_file): Ditto.
  1472.     * ln.c (main, do_link): Ditto.
  1473.     * ls.c (gobble_file): Ditto.
  1474.     * mv.c (is_real_dir, do_move): Ditto.
  1475.     * mvdir.c (main): Ditto.
  1476.     * rm.c (rm): Ditto.
  1477.     * touch.c (main, touch): Ditto.
  1478.  
  1479.     * Makefile.in (install): Tell GNU make that this target is .PHONY
  1480.     so it doesn't unnecessarily build ./install from install.sh.
  1481.  
  1482. Tue Jul 26 11:33:53 1994  Jim Meyering  (meyering@comco.com)
  1483.  
  1484.     * system.h: Remove `|| defined(_POSIX_VERSION)' from test that
  1485.     decides whether to include <fcntl.h>.  From Francois Pinard.
  1486.  
  1487. Sun Jul 03 08:44:00 1994  Jim Meyering  (meyering@comco.com)
  1488.  
  1489.     * configure.in [AC_HAVE_HEADERS]: Add sys/param.h, for definition
  1490.     of HAVE_SYS_PARAM_H, now tested in pathmax.h.
  1491.  
  1492.     * makepath.c (make_path): Avoid spurious failure for file names
  1493.     that contain `/.' or `/..'.  From Andreas Schwab
  1494.     <schwab@issan.informatik.uni-dortmund.de>.
  1495.  
  1496.     * dd.c (main): Handle SIGPIPE like other interrupts.
  1497.     From Scott L. Burson <gyro@zeta-soft.com>.
  1498.  
  1499.     * df.c (main, show_dev, usage): New option --print-type=fstype.
  1500.     From Arne Henrik Juul.
  1501.     * df.1: Update.
  1502.  
  1503. Thu Jun 30 10:28:32 1994  Jim Meyering  (meyering@comco.com)
  1504.  
  1505.     * ls.c (longdiff) [SIZEOF_INT == 2]: Choose which version of this
  1506.     macro to use based on SIZEOF_INT rather than obsolete INT_16_BITS.
  1507.     [INODE_DIGITS]: New macro.
  1508.     (print_long_format): Use it.
  1509.     (print_file_name_and_frills): Ditto.
  1510.     (length_of_file_name_and_frills): Ditto.
  1511.     (print_long_format): Add a couple casts to unsigned types.
  1512.  
  1513.     * ls.c: Change type name from `struct file' to `struct fileinfo'.
  1514.     David J. Mackenzie reported a name conflict on HPUX with the former.
  1515.  
  1516.     * dd.c (copy): Allocate an extra byte so I/O buffer begins on an
  1517.     even address.  This because the ITOS 3000WS running SEIUX 3.1
  1518.     (a descendant of MIPS RISC/OS 4.x) has SCSI device drivers that
  1519.     require the I/O buffer begin on an even address.  From
  1520.     Tilman Schmidt <tilman@gb1.sema.de>.
  1521.  
  1522. Mon Jun 20 23:45:34 1994  Jim Meyering  (meyering@comco.com)
  1523.  
  1524.     * configure.in: Use AC_PROGRAM_PATH to get values for LN, MV, RM.
  1525.     (AC_HAVE_FUNCS): Add getgroups.
  1526.     (AC_OUTPUT): Remove touch command.
  1527.  
  1528.     * eaccess.c (in_group): Remove static function.  Use group_member
  1529.     instead.
  1530.     (eaccess_stat, eaccess): Change calling sequence to take filename.
  1531.     Save UID and GID and use access if they are the same as effective IDs.
  1532.     (main) [TEST]: Test driver.
  1533.     * cp.c (copy): Update callers.
  1534.     * mv.c (do_move): Ditto.
  1535.     * rm.c (remove_file): Ditto.
  1536.  
  1537.     * cp.c (copy): With --preserve (-p) for non-root users, don't even
  1538.     try to preserve file ownership in chown call.  Otherwise, on systems
  1539.     with the mis-feature allowing non-root users to change file ownership,
  1540.     the subsequent chmod would fail.
  1541.  
  1542.     * userspec.c (parse_user_spec): Rewrite.  Be careful to free all
  1543.     allocated memory upon error.
  1544.     (main) [TEST]: Test driver.
  1545.  
  1546.     * src/Makefile.in (uninstall): Delete $(LIBPROGS) one at a time
  1547.     instead of like `rm -f $(libdir)/$(LIBPROGS)'.  The old way loses
  1548.     when LIBPROGS is empty and $(libdir) is a non-directory, and would
  1549.     lose if LIBPROGS could ever have more than one word.
  1550.     * (RM, LN, MV, INSTALL): Use values determined by ./configure instead
  1551.     of the newly built binaries so people can build with a cross
  1552.     compiler and still run `make (un)install.'
  1553.  
  1554.     * chgrp.c (change_file_group): Give a better error message when
  1555.     failing because the invoking user does not belong to the requested
  1556.     group.  This affects systems on which chown sets errno to EPERM
  1557.     for both `inaccessible file' and `user not a member of the specified
  1558.     group' errors.  Before, `chgrp bin file-I-own' would give the
  1559.     misleading and incorrect diagnostic `chgrp: file-I-own: Not owner'.
  1560.     Now it reports `you are not a member of group `bin''.
  1561.     Thomas A Peterson (tap@src.honeywell.com) reported this weakness.
  1562.  
  1563.     * long-options.c: Move from src/ to lib/.
  1564.     * long-options.h: Ditto.
  1565.     * src/Makefile.in: Remove references to long-options.[ch].
  1566.     * lib/Makefile.in (SOURCES, OBJECTS): Add long-options.[co].
  1567.  
  1568. Sat Jun 18 15:45:34 1994  Jim Meyering  (meyering@comco.com)
  1569.  
  1570.     * du.c (count_entry): Print "/" instead of zero-length string.
  1571.     From Kjetil Torgrim Homme <kjetilho@ifi.uio.no>.
  1572.  
  1573. Sun May 29 13:43:50 1994  Jim Meyering  (meyering@comco.com)
  1574.  
  1575.     * group-member.c: New file.
  1576.     * lib/Makefile.in (SOURCES, OBJECTS): Add group-member.[co].
  1577.  
  1578.     * sync.c: New file.
  1579.     * Makefile.in (PROGS): Add sync.
  1580.     (SOURCES): Add sync.c
  1581.     * src/Makefile.in: Add rules and dependencies for sync.
  1582.  
  1583.     * configure.in: Use AC_SET_MAKE and AC_PROG_INSTALL.
  1584.     If AC_FUNC_CHECK doesn't find getgroups, add -lbsd if possible.
  1585.     This was reported by Tilman Schmidt <ts@gb1.sema.de>
  1586.     to be necessary on an ITOS 3000WS running SEIUX 3.1.
  1587.  
  1588.     * Makefile.in: Edit MAKE assignments into @SET_MAKE@.
  1589.     (Makefile): Remove dependencies on */Makefile.in.
  1590.     Change the rule so running config.status creates only Makefile.
  1591.     (stamp-config): Have config.status generate only config.h.
  1592.  
  1593.     * {lib,man,src}/Makefile.in (Makefile): Add single dependency on
  1594.     Makefile.in and rule to make config.status create only Makefile.
  1595.  
  1596.     * system.h: Move from lib to src.
  1597.     * src/Makefile.in (DISTFILES): Add system.h.
  1598.     * lib/Makefile.in (DISTFILES): Remove system.h.
  1599.  
  1600. Mon Apr 18 19:54:24 1994  Jim Meyering  (meyering@comco.com)
  1601.  
  1602.     * documentation: Change uses of `pathname' and `path' as per
  1603.     GNU standards.
  1604.  
  1605. Fri Apr 15 20:41:15 1994  Jim Meyering  (meyering@comco.com)
  1606.  
  1607.     * mv.c (main): Give a reason for failure when given fewer than
  1608.     two non-option arguments, rather than just the pointer to --help.
  1609.     * ln.c (main): Ditto, but for no non-option arguments.
  1610.  
  1611.     * configure.in: Update for autoconf-1.8.
  1612.     Use AC_CHECKING instead of echo.
  1613.     Use AC_SIZEOF_TYPE instead of obsolete AC_INT_16_BITS.
  1614.  
  1615. Wed Apr 13 11:18:19 1994  Jim Meyering  (meyering@comco.com)
  1616.  
  1617.     * cp.c (copy_reg): Correct off-by-DEV_BSIZE error in test for
  1618.     whether a file has holes.  From Michael Bushnell <mib@gnu.ai.mit.edu>.
  1619.  
  1620. Wed Mar 30 08:53:21 1994  Jim Meyering  (meyering@comco.com)
  1621.  
  1622.     * configure.in: Use AC_SET_MAKE.
  1623.     * Makefile.in: Edit MAKE assignments into @SET_MAKE@.
  1624.  
  1625. Mon Mar 14 11:01:09 1994  Jim Meyering  (meyering@comco.com)
  1626.  
  1627.     * fsusage.c (adjust_blocks): Return -1 when FROMSIZE is non-positive.
  1628.     Suggestion from Andries.Brouwer@cwi.nl.  He reported that df failed
  1629.     with divide by zero when trying to process an entry for an nfs file
  1630.     system mounted over a SLIP line after the SLIP connection had been
  1631.     broken.
  1632.     [convert_blocks]: Rename macro to CONVERT_BLOCKS.
  1633.  
  1634. Sat Jan 29 13:24:07 1994  Jim Meyering  (meyering@comco.com)
  1635.  
  1636.     * du.c (main): Call du_files (with ".") when there are no
  1637.     non-option arguments rather than treating that as a special case.
  1638.     (du_files): Ignore return value from count_entry.
  1639.     (count_entry): Accumulate file sizes into new global sum used for
  1640.     the -c option;  the return value is unchanged and is still used
  1641.     by recursive calls.  Now, using -S and -c together works.
  1642.     Add parentheses to clarify precedence.
  1643.  
  1644. Fri Jan 28 11:02:21 1994  Jim Meyering  (meyering@comco.com)
  1645.  
  1646.     * configure.in: Don't set LDFLAGS since linking now uses both
  1647.     LDFLAGS and CFLAGS.
  1648.  
  1649. Thu Jan 13 17:27:38 1994  Jim Meyering  (meyering@comco.com)
  1650.  
  1651.     * src/Makefile.in: Change all link commands to use both $(CFLAGS)
  1652.     and $(LDFLAGS).
  1653.  
  1654. Mon Jan 10 01:20:38 1994  Jim Meyering  (meyering@comco.com)
  1655.  
  1656.     * man/Makefile.in (manprefix): Use binprefix as the default.
  1657.  
  1658. Thu Dec 30 23:11:10 1993  Jim Meyering  (meyering@comco.com)
  1659.  
  1660.     * The following changes are necessary to avoid spurious failures
  1661.     when a read or write system call is interrupted (e.g. by SIGTSTP).
  1662.     A POSIX implementation of those system calls may either return
  1663.     -1 and set errno to EINTR or return a positive value indicating
  1664.     that a partial read or write has completed successfully.  On Linux
  1665.     0.99.14, interrupted read and write system calls return -1/EINTR.
  1666.     Thanks to Bruno Haible <haible@ma2s2.mathematik.uni-karlsruhe.de>
  1667.     for pointing this out.
  1668.  
  1669.     * full-write.c, safe-read.c: New files.
  1670.  
  1671.     * cp.c (copy_reg): Use full_write instead of write.  Handle
  1672.     errno == EINTR (instead of failing) after read system call.
  1673.     * dd.c (skip): Handle errno == EINTR (instead of failing) after
  1674.     read system call.
  1675.     (copy): Use safe_read instead of read.
  1676.     * install.c (copy_file): Use safe_read and full_write instead of
  1677.     read and write system calls.
  1678.     * mv.c (copy_reg): Ditto.
  1679.     * touch.c (utime_now): Ditto.
  1680.  
  1681. Tue Dec 28 15:49:32 1993  Jim Meyering  (meyering@comco.com)
  1682.  
  1683.     * install.sh: New file.
  1684.     Makefile.in [DISTFILES]: Add it.
  1685.  
  1686. Sat Dec 18 01:12:24 1993  Jim Meyering  (meyering@comco.com)
  1687.  
  1688.     * configure.in (AC_OUTPUT): Put `touch stamp-config' in second arg
  1689.     so it goes in config.status.  This eliminates unnecessary second run
  1690.     of configure.
  1691.  
  1692. Thu Nov 18 00:03:24 1993  Jim Meyering  (meyering@comco.com)
  1693.  
  1694.     * configure.in [STAT_STATFS2_FSIZE]: Fix test (that had obsolete
  1695.     and now-broken use of AC_HEADER_EGREP) so that this flag is set
  1696.     for NetBSD 0.9.
  1697.  
  1698. Mon Oct 25 20:27:00 1993  Jim Meyering  (meyering@comco.com)
  1699.  
  1700.     * cp-aux.c, df.c, install.c, ln.c, ls.c, mkdir.c, mkfifo.c,
  1701.     mknod.c, mv.c, touch.c: Use the preferred `--longopt=arg'
  1702.     syntax in --help message rather than `--longopt arg'.
  1703.     From Francois Pinard.
  1704.  
  1705. Tue Oct 19 07:02:18 1993  Jim Meyering  (meyering@comco.com)
  1706.  
  1707.     * Version 3.9.
  1708.  
  1709. Mon Oct 18 00:13:40 1993  Jim Meyering  (meyering@comco.com)
  1710.  
  1711.     * src/*.c (usage): Now the usage message is simply
  1712.     "Try `%s --help' for more information.  From Francois Pinard.
  1713.  
  1714.     * src/Makefile.in [LIBPROGS]: Depend on ../lib/libfu.a and
  1715.     version.o.  From Francois Pinard.
  1716.  
  1717.     * src/*.c (usage): Remove blank line before "Try `%s --help..."
  1718.     in usage message.
  1719.  
  1720. Sun Oct 17 00:19:58 1993  Jim Meyering  (meyering@comco.com)
  1721.  
  1722.     * fileblocks.c [!NINDIR]: Define BSIZE only if it's not already
  1723.     defined.
  1724.  
  1725.     * ls.c (print_long_format): Cast printf args major and minor
  1726.     so they'll have types matching %u format even on systems
  1727.     where those macros have signed type.
  1728.  
  1729. Sat Oct 16 00:25:42 1993  Jim Meyering  (meyering@comco.com)
  1730.  
  1731.     * chmod.c (change_file_mode): Reapply Oct 6 change for symlinks.
  1732.     Somehow it got removed from working sources.
  1733.  
  1734.     * lib/Makefile.in [OBJECTS]: Change dependency to ../config.h so
  1735.     it works when building in a subdirectory.  From Rick Sladkey
  1736.     (jrs@world.std.com).
  1737.  
  1738. Wed Oct 13 19:43:47 1993  Jim Meyering  (meyering@comco.com)
  1739.  
  1740.     * cp.c (copy), ls.c (get_link_name): Complete Aug 27 change so
  1741.     that we use PATH_MAX + 1 rather than sizeof(char*) as size of
  1742.     buffer in readlink call.  This was causing spurious errors.
  1743.  
  1744.     * cp.c (copy), mv.c (do_move), rm.c (remove_file, remove_dir):
  1745.     Cast to `unsigned int' stat->st_mode printf arguments corresponding
  1746.     to %o formats to avoid warnings.
  1747.  
  1748.     * lib/Makefile.in [DEFS]: Remove -DMVDIR.  Add -DCONFIG_BROKETS.
  1749.     (rename.o): Add a specific rule.  Use -DMVDIR=... here instead.
  1750.  
  1751.     * src/Makefile.in [DEFS]: Add -DCONFIG_BROKETS.
  1752.     (distclean): Don't delete dir.c and vdir.c; they aren't
  1753.     created anymore.
  1754.  
  1755.     * lib/Makefile.in: Make all .o files depend on $(srcdir)/../config.h.
  1756.     * src/Makefile.in: Ditto.
  1757.  
  1758. Sun Oct 10 13:38:54 1993  Jim Meyering  (meyering@comco.com)
  1759.  
  1760.     * src/Makefile.in (dist): Depend on $(DISTFILES).
  1761.  
  1762.     * src/Makefile.in [libdir, LIBPROGS]: Define them.
  1763.     From Francois Pinard.
  1764.  
  1765.     * posixtm.y: [HAVE_CONFIG_H, CONFIG_BROKETS]: Include <config.h>
  1766.     or "config.h".  From Francois Pinard.
  1767.  
  1768.     * makepath.c: [HAVE_CONFIG_H, CONFIG_BROKETS]: Remove the duplicate
  1769.     #ifdef block following the alloca #ifdefs.  From Francois Pinard.
  1770.  
  1771.     * df.c: Remove unnecessary dcl of strstr.
  1772.  
  1773. Sat Oct  9 13:30:28 1993  Jim Meyering  (meyering@comco.com)
  1774.  
  1775.     * configure.in [STATFS_OSF1]: Change name to STAT_STATFS3_OSF1
  1776.     to be consistent with names of the other STAT_* macros.
  1777.     * acconfig.h: Ditto.
  1778.     * fsusage.c: Ditto.
  1779.  
  1780.     * acconfig.h: Add comments.
  1781.     * Makefile.in: Remove comments about -D flags that could be added
  1782.     to DEFS; now (using autoheader) those comments end up in config.h.
  1783.  
  1784.     * Makefile.in (configure, config.h.in): Warn that they may not be
  1785.     up to date.  Don't touch them.
  1786.  
  1787.     * ls.c (usage): Split long usage string between two fprintf
  1788.     statements to avoid default limit of SGI's cc on string length.
  1789.  
  1790.     * Makefile.in, src/Makefile.in [PROGS]: Alphabetize.
  1791.  
  1792.     * configure.in: Remove AC_UNISTD_H; add unistd.h to AC_HAVE_HEADERS.
  1793.  
  1794. Thu Oct 07 12:57:10 1993  Jim Meyering  (meyering@comco.com)
  1795.  
  1796.     * chgrp.c, chmod.c, chown.c, cp-aux.c, cp.c, dd.c, df.c, du.c,
  1797.     install.c, ln.c, ls.c, mkdir.c, mkfifo.c, mknod.c, mv.c, mvdir.c,
  1798.     rm.c, rmdir.c, touch.c (usage): Using --help gets long well-
  1799.     formatted help.  Now --help writes to stdout and exits successfully.
  1800.     From Francois Pinard <pinard@iro.umontreal.ca>.
  1801.  
  1802.     * lib/Makefile.in [libdir]: Make sure it's defined.
  1803.  
  1804.     * posixtm.y [!__GNUC__ && !HAVE_ALLOCA_H]: Declare alloca as void*
  1805.     rather than char*.  The latter conflicts with a dcl from bison.simple.
  1806.  
  1807. Wed Oct 06 18:22:00 1993  Jim Meyering  (meyering@comco.com)
  1808.  
  1809.     * chmod.c (change_file_mode): Add an argument to control how symbolic
  1810.     links are treated.
  1811.     (main, change_dir_mode): Reflect changed calling sequence.
  1812.     Now symlinks listed on the command line are processed (they
  1813.     were ignored before); the permissions of the dereferenced files are
  1814.     changed.  Symlinks encountered in recursive traversals are still
  1815.     ignored.  This makes GNU chmod act more like e.g. Sun's.
  1816.     From Nick Holloway <alfie@dcs.warwick.ac.uk>.
  1817.     * chmod.1: Document it.
  1818.  
  1819. Tue Oct 05 14:52:02 1993  Jim Meyering  (meyering@comco.com)
  1820.  
  1821.     * configure.in: Add AC_STAT_MACROS_BROKEN.
  1822.  
  1823.     * isdir.c, makepath.c, rename.c, system.h [STAT_MACROS_BROKEN]:
  1824.     Test this.
  1825.  
  1826.     * install.c (install_file_in_dir): Use stpcpy instead of slow sprintf.
  1827.  
  1828.     * argmatch.c, backupfile.c, basename.c, dirname.c, eaccess.c,
  1829.     fileblocks.c, fsusage.c, getversion.c, idcache.c, isdir.c,
  1830.     makepath.c, mountlist.c, rename.c, savedir.c, stripslash.c,
  1831.     userspec.c, xgetcwd.c, xstrdup.c, yesno.c, [HAVE_CONFIG_H,
  1832.     CONFIG_BROKETS]: Include <config.h> or "config.h".
  1833.  
  1834.     * lib/Makefile.in, src/Makefile.in [.c.o]: Put -I.. before
  1835.     -I$(srcdir) so <config.h> will get the right file.
  1836.  
  1837.     * chgrp.c, chmod.c, chown.c, cp-aux.c, cp-hash.c, cp.c, dd.c,
  1838.     df.c, du.c, install.c, ln.c, ls.c, mkdir.c, mkfifo.c, mknod.c,
  1839.     mv.c, mvdir.c, rm.c, rmdir.c, touch.c, version.c [HAVE_CONFIG_H,
  1840.     CONFIG_BROKETS]: Include <config.h> or "config.h".
  1841.  
  1842.     * configure.in [AC_CONFIG_HEADER]: Use it.
  1843.  
  1844.     * configure.in (rename.o) [MVDIR definition]: Remove it.
  1845.     * lib/Makefile.in [DEFS]: Put it here instead.
  1846.  
  1847.     * config.h.in, acconfig.h: New files
  1848.     * Makefile [DISTFILES]: Add them.
  1849.     (config.h.in): Add a rule to warn if it may need to be rebuilt.
  1850.  
  1851.     * lib/Makefile [YACC]: Get definition from @YACC@.
  1852.  
  1853.     * system.h: Include <unistd.h>.  This is needed for the definition
  1854.     of _POSIX_VERSION.
  1855.  
  1856. Thu Sep  9 08:52:10 1993  Jim Meyering  (meyering@comco.com)
  1857.  
  1858.     * src/*.c: Print version on standard output, not stderr.
  1859.  
  1860. Fri Aug 27 23:53:50 1993  Jim Meyering  (meyering@comco.com)
  1861.  
  1862.     * cp.c (copy), ls.c (get_link_name): Don't use PATH_MAX as array
  1863.     length in declarations because on some systems it gets defined
  1864.     to the function pathconf.  Use dynamic allocation instead.
  1865.  
  1866.     * fsusage.c (adjust_blocks): Use `1' instead of `+1'.  Many
  1867.     compilers don't parse the latter.  From Kaveh R. Ghazi.
  1868.  
  1869. Thu Aug 26 22:26:09 1993  Jim Meyering  (meyering@comco.com)
  1870.  
  1871.     * ls.c (print_long_format, print_file_name_and_frills): Cast inode
  1872.     number to unsigned long and print it with %lu to avoid warnings from
  1873.     gcc -Wformat because the size and type of ino_t are system dependent.
  1874.  
  1875.     * cp.c (do_copy): Plug a memory leak with --parents.
  1876.  
  1877.     * ln.c (main): Like mv and cp, convert `ln x y/' to ln x y/x
  1878.     when a is not a directory.
  1879.     [PATH_BASENAME_CONCAT]: New macro.
  1880.     (do_link): Use it here, too.
  1881.  
  1882.     * ls.c (sort_files): Add `default: abort();' clause to switch stmts.
  1883.  
  1884.     * cp.c (do_copy): Don't remove trailing slashes from source.
  1885.  
  1886. Wed Aug 25 21:40:00 1993  Jim Meyering  (meyering@comco.com)
  1887.  
  1888.     * cp.c: Add --parents as synonym for --path.  Change --path to
  1889.     --parents in comments.  --path is deprecated.
  1890.  
  1891.     * rm.c (clear_directory): Fix incorrect test for determining when
  1892.     to reallocate buffer.  Thanks to Ric Anderson <ric@CS.Arizona.EDU>.
  1893.  
  1894. Fri Aug 13 17:19:52 1993  Jim Meyering  (meyering@comco.com)
  1895.  
  1896.     * fsusage (adjust_blocks): Round away from zero -- this matters
  1897.     when computing the negative free-block count for disks that are
  1898.     more than 100% full.
  1899.  
  1900.     * mv.c (movefile): Use nested calls to stpcpy instead of sprintf.
  1901.     (is_real_dir): New function.
  1902.     (movefile): In addition to when dest is a directory, if dest has
  1903.     a trailing `/' and source is not a directory, presume the target
  1904.     is dest/`basename source`.  This converts `mv x y/' to `mv x y/x'
  1905.     when x is not a directory.  This change means that the command
  1906.     `mv any file/' will now fail rather than performing the move.
  1907.  
  1908.     * cp.c (do_copy): Similarly, convert `cp x y/' to cp x y/x when
  1909.     x is not a directory.
  1910.  
  1911. Wed Aug  4 17:43:18 1993  Jim Meyering  (meyering@comco.com)
  1912.  
  1913.     * ls.c (get_link_name): Don't ever use the stat field st_size as a
  1914.     buffer size.  Too many systems don't set it properly for mount points.
  1915.     Instead, use a fixed-length buffer.  From Michael Joosten
  1916.     <joost@ori.CAdlab.DE>.
  1917.     * cp.c (copy): Ditto.
  1918.  
  1919. Mon Jul 19 17:39:01 1993  Jim Meyering  (meyering@comco.com)
  1920.  
  1921.     * backupfile.c (concat): Temporary STR1_LENGTH should have type `int'
  1922.     instead of `char.'
  1923.  
  1924. Fri Jul 16 22:00:16 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1925.  
  1926.     * dd.c (print_stats): Change message from "truncated blocks"
  1927.     to "truncated records" for final POSIX.2 spec.
  1928.  
  1929. Fri Jun 25 17:18:15 1993  Jim Meyering  (meyering@comco.com)
  1930.  
  1931.     * mkdir.c, rmdir.c: Change --path long option to --parents to avoid
  1932.     confusion with search-path semantics of --path as an option to other
  1933.     programs.  --path will still work, but is no longer documented.
  1934.  
  1935. Tue Jun  8 00:46:26 1993  Jim Meyering  (meyering@comco.com)
  1936.  
  1937.     * dd.c (parse_integer): Also accept `c' multiplier for consistency
  1938.     with find's -size option.
  1939.  
  1940. Thu May 27 00:03:51 1993  Jim Meyering  (meyering@comco.com)
  1941.  
  1942.     * Version 3.8.
  1943.  
  1944.     * configure.in (STAT_OSF1): Reference the statfs f_fsize member
  1945.     so that configure defines STAT_OSF1 only if there is such a member.
  1946.     Without such a reference, a Pyramid MIServer running OSx 5.1
  1947.     improperly defined STAT_OSF1 instead of the one it needed:
  1948.     STAT_STATFS2_BSIZE.
  1949.  
  1950. Wed May 26 00:57:46 1993  Jim Meyering  (meyering@comco.com)
  1951.  
  1952.     * ls.h, ls-ls.c ls-dir.c, ls-vdir.c: New files that define or
  1953.     simply set the new global variable ls_mode.  ls_mode defines whether
  1954.     the executable built from ls.o should act like ls, dir, or vdir.
  1955.     * ls.c (decode_switches): Use the variable instead of #ifdefs.
  1956.     This is modelled after the approach used in GNU binutils 2.x for
  1957.     ar and ranlib.  Here we avoid two redundant compilations.
  1958.  
  1959.     * install.c (change_attributes, copy_file, install_file_in_file):
  1960.     Don't call chown if we can efficiently determine that doing so is
  1961.     unnecessary.  On some systems, calls to chown (even with your own
  1962.     uid and gid) fail unless made by root.  On such systems install
  1963.     got spurious failures.
  1964.  
  1965. Sat May 22 02:13:12 1993  Jim Meyering  (meyering@comco.com)
  1966.  
  1967.     * Version 3.6.
  1968.  
  1969. Fri May 21 18:42:27 1993  Jim Meyering  (meyering@comco.com)
  1970.  
  1971.     * rename.c (rename): Be careful not to unlink `from' if it happens
  1972.     to be equal to `to' or (on filesystems that silently truncate
  1973.     filenames after 14 characters) if `from' and `to' share the
  1974.     significant characters.  From Bruno Haible
  1975.     <haible@ma2s2.mathematik.uni-karlsruhe.de>.
  1976.  
  1977.     * mountlist.c, fsusage.c: Make these work under m88k DolphinOS.
  1978.     From Kjetil Wiekhorst J|rgensen <jorgens@pvv.unit.no>.
  1979.  
  1980. Tue May 18 23:49:26 1993  Jim Meyering  (meyering@comco.com)
  1981.  
  1982.     * mkinstalldirs: New file.
  1983.     * Makefile.in (installdirs): Use it.
  1984.  
  1985. Sat May 15 01:20:26 1993  Jim Meyering  (meyering@comco.com)
  1986.  
  1987.     * ln.c (do_link): Make `ln -s dir_pathname .' work when the
  1988.     pathname has a trailing slash.
  1989.  
  1990. Fri May 14 23:45:52 1993  Jim Meyering  (meyering@comco.com)
  1991.  
  1992.     * all source: With --version, print version and exit immediately.
  1993.  
  1994. Wed May 12 20:48:55 1993  Jim Meyering  (meyering@comco.com)
  1995.  
  1996.     * configure.in: Add check for the -ldgc library that is required
  1997.     for getmntent on m88k DGUX-5.4 systems.
  1998.  
  1999.     * Makefile.in (installdirs): New rules for creating installation
  2000.     directories. (install): Depend on it.
  2001.  
  2002. Sat May  8 11:31:14 1993  Jim Meyering  (meyering@comco.com)
  2003.  
  2004.     * lib/Makefile.in (dist): Use `cp -p' instead of just `cp'
  2005.     if linking fails.
  2006.  
  2007. Thu May  6 22:45:25 1993  Jim Meyering  (meyering@comco.com)
  2008.  
  2009.     * makepath.c: Use explicit dcl of errno only if !STDC_HEADERS.
  2010.     Some systems have <errno.h> but don't declare errno.
  2011.     From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>.
  2012.  
  2013.     * getdate.y: Test TIME_WITH_SYS_TIME, not TIME_AND_SYS_TIME.
  2014.  
  2015. Wed May  5 00:21:12 1993  Jim Meyering  (meyering@comco.com)
  2016.  
  2017.     * configure.in: Add AC_TIME_WITH_SYS_TIME.
  2018.     * getdate.y: Use it (this is a version local to fileutils).
  2019.  
  2020. Tue May  4 20:25:41 1993  Jim Meyering  (meyering@comco.com)
  2021.  
  2022.     * du.c (count_entry): Give an error and exit if chdir ("..") fails.
  2023.     From Bruce Evans <bde@runx.oz.AU>.
  2024.  
  2025.     * eaccess (eaccess_stat): Cast NGROUPS_MAX to appropriate types.
  2026.     From Bruce Evans <bde@runx.oz.AU>.
  2027.  
  2028. Mon May  3 22:09:24 1993  Jim Meyering  (meyering@comco.com)
  2029.  
  2030.     * configure.in: Add AC_GETGROUPS_T.
  2031.     * eaccess.c: Don't define GETGROUPS_T.  Now configure does it.
  2032.  
  2033. Sun May  2 09:18:53 1993  Jim Meyering  (meyering@comco.com)
  2034.  
  2035.     * configure.in: Check for libypsec.a on Dolphin M88K machines.
  2036.     This can result in significant speedup for programs that access
  2037.     YP information.  From Kjetil Wiekhorst J{\o}rgensen
  2038.     <jorgens@pvv.unit.no>.
  2039.  
  2040. Fri Apr 30 02:21:48 1993  Jim Meyering  (meyering@comco.com)
  2041.  
  2042.     * ls.c (main): Make `-f' work like on standard Unix ls, instead
  2043.     of as a short equivalent of --full-time.
  2044.     * ls.1: Document it.
  2045.  
  2046. Thu Apr 29 00:46:46 1993  Jim Meyering  (meyering@comco.com)
  2047.  
  2048.     * src/Makefile.in [dir.o, vdir.o]: Make ordering of CFLAGS etc
  2049.     in compilation rules consistent with that in .c.o rule.
  2050.  
  2051.     * Makefile.in (dist): Depend on Makefile so that changes to
  2052.     Makefile.in (like adding new files to DISTRIB) are reflected
  2053.     in the new distribution.
  2054.  
  2055. Tue Apr 27 21:35:11 1993  Jim Meyering  (meyering@comco.com)
  2056.  
  2057.     * configure.in: Remove unnecessary AC_PROG_INSTALL.
  2058.  
  2059. Fri Apr 23 23:39:16 1993  Jim Meyering  (meyering@comco.com)
  2060.  
  2061.     * {lib,src}/Makefile.in [.c.o]: Make CPPFLAGS and CFLAGS follow
  2062.     other options so users can use them to override DEFS.
  2063.  
  2064.     * lib/mktime.c: Use new version from glibc instead of one from
  2065.     libc-subst.  `touch' built with the latter didn't set proper
  2066.     time unless given a specific --date option.
  2067.  
  2068. Thu Apr 22 00:22:25 1993  Jim Meyering  (meyering@comco.com)
  2069.  
  2070.     * makepath.c: Decouple inclusion of errno.h from definition of
  2071.     STDC_HEADERS; many systems have errno.h, yet shouldn't define
  2072.     STDC_HEADERS.
  2073.     * makepath.c (make_path): Add EPERM clause only if both AFS and
  2074.     EPERM are defined.
  2075.     * configure.in: Test for errno.h header file.
  2076.  
  2077. Mon Apr 19 11:21:14 1993  Jim Meyering  (meyering@comco.com)
  2078.  
  2079.     * Version 3.5.
  2080.  
  2081.     * ls.c, touch.c: Don't include time.h explicitly -- it's included
  2082.     by system.h.  From Franc,ois Pinard.
  2083.  
  2084.     * posixtm.y: Use TM_IN_SYS_TIME.
  2085.  
  2086.     * backupfile.c [index, rindex]: Don't redefine them.
  2087.  
  2088.     * system.h [alloca]: Don't redefine it.
  2089.  
  2090.     * configure.in: Check for sys/time.h; getdate.y needs it for
  2091.     structs timeval and timezone on some systems.
  2092.  
  2093. Sun Apr 18 22:40:19 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  2094.  
  2095.     * ls.c: Include fnmatch.h after system.h, so we get our
  2096.     definitions of FNM_*, not those from unistd.h.
  2097.  
  2098.     * mountlist.c [MOUNTED_GETMNTINFO]: Add #ifdef around MOUNT_PC.
  2099.  
  2100.     * configure.in: Fix test for 4.4BSD statfs to not grep for a
  2101.     macro in cpp output.
  2102.  
  2103. Sun Apr 18 02:35:36 1993  Jim Meyering  (meyering@comco.com)
  2104.  
  2105.     * configure.in: Check for gettimeofday.
  2106.     Check for `struct tm'.
  2107.     Change MVDIR definition so it works with new AC_DEFINE.
  2108.  
  2109.     * system.h: Remove last vestiges of USG;  instead, use specific
  2110.     test for TM_IN_SYS_TIME to determine whether to include time.h
  2111.     or sys/time.h.
  2112.  
  2113.     * src/Makefile.in (install): Rewrite the test for whether to install
  2114.     mvdir so that it doesn't cause gratuitous failures with broken shells.
  2115.     Split long rule so the pieces fit in 80-column lines.
  2116.  
  2117. Thu Apr 15 23:44:01 1993  Jim Meyering  (meyering@comco.com)
  2118.  
  2119.     * lib/Makefile.in (posixtm.c): Add dependency on getdate.c to enforce
  2120.     sequential invocations of YACC.
  2121.     * (posixtm.c, getdate.c): Remove use of `bison -o' and associated
  2122.     conditional rename commands -- not needed since the parser generators
  2123.     won't be run in parallel;  now bison (when used) is always invoked
  2124.     with -y.
  2125.  
  2126. Tue Apr 13 09:18:18 1993  Jim Meyering  (meyering@comco.com)
  2127.  
  2128.     * configure.in: Find a parser generator.
  2129.     * Makefile.in [MDEFINES]: Add YACC to the list of variables passed to
  2130.     sub-makes.
  2131.     * lib/Makefile.in (posixtm.c, getdate.c): Try first to build with
  2132.     `bison -o' -- for parallel makes.  If that fails, use $(YACC).
  2133.  
  2134.     * posixtm.y [HAVE_MEMCPY && !HAVE_BCOPY]: Define bcopy in terms
  2135.     of memcpy for old versions of bison that generate parsers that
  2136.     use bcopy.
  2137.  
  2138.     * configure.in: Add tests for memcpy and bcopy.
  2139.  
  2140. Mon Apr 12 23:02:14 1993  Jim Meyering  (meyering@comco.com)
  2141.  
  2142.     * configure.in (mounted, space): Add filesystem checks for DEC Alpha
  2143.     running OSF/1 to complement new code in mountlist.c and fsusage.c.
  2144.  
  2145.     * lib/mountlist.c (read_filesystem_list) [MOUNTED_GETFSSTAT]: Add code
  2146.     to do it the OSF/1 way on a DEC alpha.
  2147.     From Brian Fox (bfox@tinker.crseo.ucsb.edu).
  2148.  
  2149.     * lib/fsusage.c (get_fs_usage) [STATFS_OSF1]: Add code to call OSF/1's
  2150.     variant of statfs.  From Brian Fox (bfox@tinker.crseo.ucsb.edu).
  2151.  
  2152. Sun Apr 11 20:29:31 1993  Jim Meyering  (meyering@comco.com)
  2153.  
  2154.     * df.c (main, show_dev): Don't list dummy (automounter) filesystems
  2155.     unless they're explicitly listed on the command line or if the -a
  2156.     option is given.
  2157.  
  2158. Fri Apr  9 11:40:48 1993  Jim Meyering  (meyering@comco.com)
  2159.  
  2160.     * src/Makefile.in [.c.o]: Put CFLAGS after include directives.
  2161.  
  2162. Wed Apr  7 23:54:48 1993  Jim Meyering  (meyering@comco.com)
  2163.  
  2164.     * eaccess.c: Undefine NGROUPS_MAX before redefining it.
  2165.     From ghazi@caip.rutgers.edu (Kaveh R. Ghazi).
  2166.  
  2167. Mon Apr  5 20:14:17 1993  Jim Meyering  (meyering@comco.com)
  2168.  
  2169.     * chgrp.c, chmod.c, chown.c, install.c, ls.c, mkfifo.c, mknod.c,
  2170.     touch.c: Add `case 0: break;' for long-only options help and version.
  2171.  
  2172. Sun Apr  4 09:38:00 1993  Jim Meyering  (meyering@comco.com)
  2173.  
  2174.     * src/*.c (usage): Mention --help and --version.
  2175.     (main): Handle flag_help and flag_version before checking for
  2176.     invocation errors.
  2177.  
  2178.     * cp.c (copy): Declare to be static.
  2179.  
  2180.     * cp.c (copy, make_path, re_protect): Explicitly cast alloca return
  2181.     value to (char *).
  2182.     * ln.c (do_link): Ditto
  2183.     * mv.c (do_move): Ditto
  2184.     * makepath.c (make_path): Ditto
  2185.  
  2186.     * lib/eaccess.c (eaccess_stat): Cast to unsigned the value to
  2187.     be right-shifted to avoid ANSI vs K&R semantic ambiguity.
  2188.  
  2189.     * src/Makefile.in (incl): New variable.
  2190.  
  2191.     * chown.c (main): Explicitly cast -1 to [ug]id_t to avoid compiler
  2192.     warnings.
  2193.  
  2194.     * cp.h: Remove unneeded extern dcl of exit_status.
  2195.  
  2196.     * basename.c [rindex]: Don't redefine it.
  2197.     * system.h [rindex, incl, bcopy, bzero]: Ditto.
  2198.     * userspec.c [index]: Ditto.
  2199.  
  2200.     * Makefile.in [CFLAGS, LDFLAGS]: Don't hard-code these; get their
  2201.     definitions from configure.
  2202.     * configure.in [CFLAGS, LDFLAGS]: Assign reasonable defaults.
  2203.  
  2204. Sat Apr  3 18:17:23 1993  Jim Meyering  (meyering@comco.com)
  2205.  
  2206.     * Makefile.in [Makefile]: Add dependencies and a rule to remake it.
  2207.     [targets that cd then run make in subdirectories]: Don't depend
  2208.     on `cd ..';  use a subshell instead.
  2209.     [info, install-info, dvi, check, installcheck]: New targets but no
  2210.     rules; comply with standards.
  2211.  
  2212.     * src/Makefile.in [.c.o, dir.o, vdir.o]: Put CFLAGS after DEFS and
  2213.     CPPFLAGS per standards.texi.
  2214.     Use automatically generated dependencies.
  2215.  
  2216.     * mvdir.c (main): Remove dcl of unused variable.
  2217.  
  2218. Thu Apr  1 18:05:48 1993  Jim Meyering  (meyering@comco.com)
  2219.  
  2220.     * install.c, chgrp.c, dd.c [isascii]: Undefine before redefining.
  2221.  
  2222.     * ls.c: Move some dcls so they appear before first function.
  2223.  
  2224.     * all programs: Add --help and --version options.
  2225.     * version.c: Remove `Version: ' and newlines from version string.
  2226.  
  2227.     * dd.c: Convert usage to take no arguments.
  2228.     * lib/Makefile.in [DISTFILES]: Add version.h.
  2229.  
  2230. Wed Mar 31 22:03:28 1993  Jim Meyering  (meyering@comco.com)
  2231.  
  2232.     * configure.in [MVDIR]: Don't quote right hand side.
  2233.     * backupfile.c, chgrp.c, install.c: Define isascii macro to be 1
  2234.     also if STDC_HEADERS.
  2235.  
  2236. Tue Mar 30 17:42:11 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  2237.  
  2238.     * ls.c: Add -G,--no-group option to inhibit display of group
  2239.     information.
  2240.     * ls.1: Document it.
  2241.  
  2242. Mon Mar 29 22:22:40 1993  Jim Meyering  (meyering@comco.com)
  2243.  
  2244.     * system.h [ST_NBLOCKS]:  Check also for __hpux.  From Henrik B}kman
  2245.     <Henrik.Bakman@csd.uu.se>.
  2246.  
  2247. Sun Mar 28 21:22:30 1993  Jim Meyering  (meyering@comco.com)
  2248.  
  2249.     * Makefile.in (dist): Use cp when hard link fails.
  2250.     Use tar-1.11.2's -z option instead of -Z.
  2251.  
  2252.     * makepath.c [index]: Don't redefine.
  2253.  
  2254. Fri Mar 26 00:32:39 1993  Jim Meyering  (meyering@comco.com)
  2255.  
  2256.     * df.c (add_excluded_fs_type, excluded_fs_type): New functions adding
  2257.     support for --exclude-type option.  Derived from Kaveh R. Ghazi
  2258.     <ghazi@caip.rutgers.edu>.
  2259.  
  2260.     * ls.c (decode_switches, print_long_format): New option: --full-time.
  2261.     From K. Richard Pixley (rich@rtl.cygnus.com)
  2262.  
  2263. Thu Mar 25 21:02:36 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  2264.  
  2265.     * dirname.c [rindex]: Don't redefine.
  2266.  
  2267. Tue Mar 23 23:13:33 1993  Jim Meyering  (meyering@comco.com)
  2268.  
  2269.     * ls.c (gobble_file): Don't stat symlinks unless we need to.
  2270.     From Mike Rendell <michael@mercury.cs.mun.ca>.
  2271.  
  2272.     * dd.c (copy, copy_with_block, copy_with_block): Decrement
  2273.     pending_spaces only if it's > 0. The following command didn't
  2274.     terminate:
  2275.     perl -e 'print "a  a\n";'| dd of=/dev/null ibs=1 cbs=3 conv=unblock
  2276.     With suggestions from Chris Weber <weber@bucknell.edu>,
  2277.     Marlys.A.Nelson@uwrf.edu, and Albert-Lunde@nwu.edu.
  2278.  
  2279. Fri Mar 05 00:02:53 1993  Jim Meyering  (meyering@comco.com)
  2280.  
  2281.     * chmod.c: Add long-named options.
  2282.  
  2283. Mon Feb 15 23:34:55 1993  Jim Meyering  (meyering@comco.com)
  2284.  
  2285.     * rm.c (remove_file): Don't ask about overriding a mode if the
  2286.     target is a symbolic link -- some systems (like SGI's Irix 4.0)
  2287.     zero the permissions fields of symbolic links.
  2288.     From Arne Henrik Juul (arnej@imf.unit.no).
  2289.  
  2290. Fri Dec 11 16:46:50 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  2291.  
  2292.     * rm.c (main): If -f is given, don't complain if no file args
  2293.     are given.
  2294.  
  2295. Tue Dec  8 21:09:16 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  2296.  
  2297.     * posixtm.y: Include alloca.h if HAVE_ALLOCA_H, not if sparc.
  2298.  
  2299. Mon Dec  7 20:09:59 1992  Jim Meyering  (meyering@idefix.comco.com)
  2300.  
  2301.     * install.c (isnumber), chgrp.c (change_file_group): Define ISDIGIT
  2302.     and use it instead of isdigit.
  2303.  
  2304.     * dd.c: Define ISLOWER and ISUPPER independent of STDC_HEADERS.
  2305.     Define ISDIGIT and use it instead of isdigit.
  2306.  
  2307. Wed Dec  2 12:28:10 1992  Jim Meyering  (meyering@idefix.comco.com)
  2308.  
  2309.     * all files using getopt.h: Convert static declarations of
  2310.     struct option to use new macros from getopt.h: no_argument,
  2311.     required_argument, and optional_argument.
  2312.  
  2313. Tue Nov 24 07:54:45 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  2314.  
  2315.     * system.h: Use HAVE_FCNTL_H instead of USG.
  2316.  
  2317.     * xgetcwd.c: Use HAVE_GETCWD instead of USG.
  2318.  
  2319.     * backupfile.c, basename.c, dirname.c, idcache.c, makepath.c,
  2320.     mountlist.c, stripslash.c, userspec.c, xstrdup.c, system.h:
  2321.     Use HAVE_STRING_H instead of USG.
  2322.  
  2323.     * system.h: Use SYSDIR and NDIR instead of USG.
  2324.     Define direct as dirent, not vice-versa.
  2325.     * ls.c, rm.c, backupfile.c, savedir.c: Use `struct dirent',
  2326.     not `struct direct'.
  2327.  
  2328. Thu Nov 12 23:10:56 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  2329.  
  2330.     * system.h: If dirent is #defined, don't define direct as dirent;
  2331.     for Sinix.  Derived from Heinfried Korn (korn@med-in.uni-sb.de).
  2332.  
  2333. Mon Nov  9 14:13:57 1992  Jim Meyering  (meyering@idefix.comco.com)
  2334.  
  2335.     * fsusage.c (adjust_blocks): Reverse Oct 31 change --
  2336.     the function is more readable than the macro.
  2337.  
  2338.     * All files in src: Make all functions and extern variables static.
  2339.     Make all longopts arrays const as well as static.
  2340.     Make a couple statically initialized aggregates `const.'
  2341.  
  2342. Sat Oct 31 16:32:17 1992  Jim Meyering  (meyering@idefix.comco.com)
  2343.  
  2344.     * fsusage.c (adjust_blocks): Convert to a macro.  The static
  2345.     function wasn't always used.
  2346.  
  2347.     * makepath.c, cp.c, ls.c: Add parentheses to expressions
  2348.     like (c = *p++) as per suggestion from gcc -Wall.
  2349.  
  2350.     * dd.c (swab_buffer): Fix typo that incremented pointer instead
  2351.     of counter.  Add braces around static struct initializers.
  2352.  
  2353. Fri Oct 30 11:40:58 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  2354.  
  2355.     * ln.c, cp.c (main): Make -s on systems without symlinks an
  2356.     error, not a warning.
  2357.  
  2358. Thu Oct 29 14:57:21 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  2359.  
  2360.     * Version 3.4.
  2361.  
  2362.     * cp.c (copy, re_protect), mv.c (copy_reg): Do utime and chown
  2363.     before chmod, so set[ug]id bits don't get nuked.
  2364.     Don't use fchmod.
  2365.  
  2366. Wed Oct 28 16:13:18 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  2367.  
  2368.     * cp.c, mv.c, ln.c: Rename some variables to use consistent
  2369.     terminology: source and destination.
  2370.  
  2371.     * ln.c, mkdir.c, mkfifo.c, mknod.c: Don't strip trailing slashes.
  2372.     * install.c: Don't strip slashes from dest. dirs.
  2373.  
  2374. Mon Aug 24 12:49:14 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2375.  
  2376.     * xgetcwd.c: Make path_max unsigned, not long.  From Bruce Evans.
  2377.  
  2378. Sun Aug 23 03:06:04 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2379.  
  2380.     * idcache.c: Use a union for uid_t and gid_t.  From
  2381.     bde@runx.oz.au (Bruce Evans).
  2382.  
  2383.     * eaccess.c: Use NGROUPS_MAX if it's defined.  386BSD is like sun.
  2384.  
  2385. Sat Aug 22 02:36:49 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  2386.  
  2387.     * makepath.c: Use uid_t and gid_t.
  2388.  
  2389.     * system.h, makepath.c: Use HAVE_ALLOCA_H, not sparc.
  2390.  
  2391.     * cp.c (make_path, re_protect): Allocate room for terminating NULs.
  2392.  
  2393. Fri Aug 21 21:12:18 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2394.  
  2395.     * fsusage.c [STAT_STATVFS]: Use f_bsize if f_frsize is 0.
  2396.     From Paul M Reilly <pmr@rock.concert.net>.
  2397.  
  2398.     * xgetcwd.c [!errno]: Declare errno.  From Karl Berry.
  2399.  
  2400.     * chown.c (main, change_file_owner, change_dir_owner): Use
  2401.     uid_t and gid_t.  From Rob McMahon <cudcv@csv.warwick.ac.uk>
  2402.     and glaze@cs.mu.oz.au (Glaze).
  2403.  
  2404. Thu Jul 23 14:29:17 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2405.  
  2406.     * Version 3.3.
  2407.  
  2408. Sat Jul 18 20:12:56 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2409.  
  2410.     * idcache.c: Use uid_t and gid_t.
  2411.     (getuidbyname, getgidbyname): New functions, for cpio.
  2412.  
  2413.     * userspec.c: New file, from code in chown.c.
  2414.     * chown.c: Use it.
  2415.  
  2416. Fri Jul 17 00:43:38 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2417.  
  2418.     * system.h: Protect from getopt prototype in stdlib.h.
  2419.  
  2420.     * ls.c [_AIX]: Include sys/ioctl.h.
  2421.     * fsusage.c: Include sys/vfs.h if AIX PS/2, but not if RS6000.
  2422.     From tranle@intellicorp.com (Minh Tran-Le).
  2423.  
  2424.     * mvdir.c: Declare getcwd.  From Francois Pinard.
  2425.  
  2426.     * chown.c, chgrp.c, install.c [_POSIX_SOURCE]: Define endpwent
  2427.     and endgrent as empty.
  2428.  
  2429.     * makepath.c (make_path): Add cast to alloca call.
  2430.     From Jim Meyering.
  2431.  
  2432.     * cp.c (copy, re_protect), mv.c (copy_reg): Notify root of
  2433.     EPERM errors from chown.
  2434.     * makepath.c, install.c [AFS]: Ignore EPERM from chown.
  2435.  
  2436.     * system.h (ST_NBLOCKS) [_AIX && _I386]: st_blocks is in 4K units.
  2437.     * fsusage.c (statfs) [_AIX && _I386]: Supply this function.
  2438.     From tranle@intellicorp.com (Minh Tran-Le).
  2439.  
  2440. Thu Jul 16 23:08:39 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2441.  
  2442.     * df.c (print_header, show_dev): In inode format, print the
  2443.     total number of inodes as well.
  2444.  
  2445.     * fsusage.[ch], df.c (show_dev): Count internally using
  2446.     512-byte blocks, not 1024-byte, to avoid rounding errors.
  2447.  
  2448. Mon Jul  6 20:03:54 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2449.  
  2450.     * rename.c: Use S_ISDIR instead of S_IFDIR.
  2451.  
  2452. Fri Jul  3 14:36:34 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2453.  
  2454.     * fileblocks.c, system.h, cp.c, dd.c, mv.c, touch.c: Change
  2455.     FOO_MISSING to HAVE_FOO.
  2456.  
  2457. Wed Jun  3 19:28:04 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2458.  
  2459.     * xgetcwd.c (xgetcwd): Accept errno==EINVAL as nonfatal.
  2460.  
  2461. Wed May 20 00:05:52 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  2462.  
  2463.     * system.h: If we include a header file specifically to get
  2464.     major et al., assume we have them.
  2465.  
  2466. Mon May 11 20:04:10 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  2467.  
  2468.     * chgrp.c, chown.c: --show-changes -> --changes.
  2469.  
  2470. Sat May  9 18:39:38 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2471.  
  2472.     * system.h: Define DEV_BSIZE if not defined.
  2473.  
  2474. Thu Apr 30 13:55:37 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  2475.  
  2476.     * du.c (count_entry): Remove the trailing "/" before printing.
  2477.  
  2478. Wed Apr 29 11:34:38 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  2479.  
  2480.     * rename.c (rename): If removing `from' fails, remove `to' to
  2481.     clean up.  From Matthew Farwell <dylan@ibmpcug.co.uk>.
  2482.  
  2483. Thu Apr 23 21:14:16 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  2484.  
  2485.     * ls.c (gobble_file): Only read the link contents if -l or the
  2486.     file was named on the command line.
  2487.  
  2488. Wed Apr 22 02:16:38 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  2489.  
  2490.     * fsusage.c (get_fs_usage) [STAT_STATFS4 and _SEQUENT_]: Has f_bavail.
  2491.     From Donn Cave <donn@carson.u.washington.edu>.
  2492.  
  2493.     * getversion.c (get_version): If given invalid arg, exit.
  2494.  
  2495.     * cp.c (copy): Fix mode with chmod if copying as a regular file.
  2496.  
  2497.     * system.h, dd.c: SIGTYPE -> RETSIGTYPE.
  2498.  
  2499. Sat Apr 18 00:18:41 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2500.  
  2501.     * fsusage.[ch] (get_fs_usage): Take another arg, the device name.
  2502.     * fsusage.c (get_fs_usage) [STAT_READ]: Fix number of inodes
  2503.     calculation.  Use the device name.  From Brian Matthews.
  2504.     * df.c (show_dev): Pass the device name.
  2505.  
  2506. Fri Apr 17 11:25:28 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2507.  
  2508.     * fsusage.c: Special-case AIX.
  2509.  
  2510.     * mountlist.c [MOUNTED_VMOUNT]: New code for AIX, from
  2511.     Garrett A. Wollman (wollman@uvm.edu).
  2512.  
  2513.     * ls.c (gobble_file): Use stat, not lstat, on symlinked-to
  2514.     file, for Unix compat.  From ian@airs.com (Ian Lance Taylor).
  2515.  
  2516. Mon Apr  6 14:16:06 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2517.  
  2518.     * xgetcwd.c: Include stdio.h to get NULL.
  2519.  
  2520. Thu Apr  2 14:41:18 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2521.  
  2522.     * df.c: Call sync only once, instead of once per filesystem.
  2523.  
  2524. Wed Apr  1 16:00:08 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2525.  
  2526.     * Version 3.2.
  2527.  
  2528. Tue Mar 31 13:39:06 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2529.  
  2530.     * df.c (main): stat all arg pathnames before getting
  2531.     list of mounted filesystems.
  2532.     (show_entry, show_point): Take a struct stat * as another arg,
  2533.     to avoid repeatedly statting files.
  2534.  
  2535. Mon Mar 30 12:21:28 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2536.  
  2537.     * install.c (main): Allow symbolic modes for -m.
  2538.     (atoo): Function removed.
  2539.  
  2540.     * mkdir.c (main): Include invalid -m arg in error message.
  2541.  
  2542.     * fsusage.c (get_fs_usage) [STAT_STATFS4]: Go back to using
  2543.     512 instead of f_bsize.  Empirically, it gives the right answer.
  2544.  
  2545.     * mvdir.c (main): Don't deref NULL pointer on last iteration
  2546.     of loop.
  2547.  
  2548.     * fsusage.c (adjust_blocks): New function.
  2549.     (get_fs_usage): Call it.
  2550.  
  2551.     * mvdir.c (main): Don't possibly try to use ".." entry of new dir
  2552.     before creating it.
  2553.  
  2554.     * fsusage.c (get_fs_usage) [STAT_STATFS4]: Use f_bsize member
  2555.     of struct statfs.
  2556.  
  2557. Sat Mar 28 00:36:57 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2558.  
  2559.     * dd.c (copy_simple, copy_with_block, copy_with_unblock,
  2560.     translate_buffer, swab_buffer): New functions, mostly made
  2561.     from code taken from copy.  Incorporate some optimizations due
  2562.     to Stuart Kemp: For each type of conversion, only check
  2563.     whether to do it once per buffer read, instead of once per character.
  2564.     (copy): If conv=block and the input didn't end with a newline,
  2565.     pad the final block with spaces.
  2566.  
  2567. Wed Mar 25 14:35:17 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2568.  
  2569.     * system.h: Don't use BSIZE for calculating ST_BLKSIZE if it
  2570.     isn't defined.
  2571.  
  2572.     * mountlist.c [MOUNTED_FREAD], fsusage.c [STAT_READ]: New code
  2573.     for SVR2, from archive@ideahb.sublink.org (Lele Gaifax).
  2574.  
  2575. Tue Mar 24 14:53:19 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2576.  
  2577.     * mvdir.c: Use getcwd, not getwd.
  2578.  
  2579.     * system.h, xgetcwd.c: Redo how PATH_MAX is figured out, to
  2580.     work on SVR3.
  2581.  
  2582.     * fsusage.c, mountlist.c: New files split from fsinfo.c.
  2583.     Revise conditionals to make the two files independent of each other.
  2584.     * fsusage.h, mountlist.h: New files split from fsinfo.h.
  2585.     * df.c: Use them.
  2586.  
  2587. Mon Mar 23 13:01:07 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2588.  
  2589.     * fsinfo.c (read_filesystem_list): Take another arg, all_fs.
  2590.     [FS_MNTENT]: Ignore type "auto" (from amd) as well as "ignore"
  2591.     (from automounter), if not all_fs.
  2592.     * df.c (main): Pass the new arg.
  2593.  
  2594.     * fsinfo.h: Add function decls.
  2595.  
  2596.     * chown.c, chgrp.c, chmod.c: Remove -L option.  Didn't handle
  2597.     changing symlinks correctly and wasn't very useful.
  2598.  
  2599. Sat Mar 14 17:38:38 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2600.  
  2601.     * dirname.c (dirname): Don't use strdup.
  2602.  
  2603. Fri Mar 13 14:56:15 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  2604.  
  2605.     * rm.c (remove_file, remove_dir, clear_directory): If -f was
  2606.     given, don't complain about ENOENT when removing.
  2607.  
  2608. Mon Mar  9 00:09:48 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2609.  
  2610.     * install.c (main): Allow making multiple dirs with -d.
  2611.     (usage): Document it.
  2612.     * makepath.c (make_path): Clear umask while working and
  2613.     restore it when done.  chmod dirs that should have
  2614.     set[ug]id or sticky bits set, if we're chowning them.
  2615.     Make chown failure nonfatal.  Do chmod after chown, not before.
  2616.  
  2617.     * du.c (count_entry): Set exit_status on nonfatal error.
  2618.     (main): Use it.
  2619.  
  2620. Sun Mar  8 22:07:50 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  2621.  
  2622.     * du.c (du_files): New function, from code in main.
  2623.     Use xgetcwd instead of getcwd or getwd.
  2624.     * system.h: Don't declare getcwd or getwd.
  2625.  
  2626.     * xgetcwd.c: New file.
  2627.  
  2628.     * ls.c (main): Exit with `exit_status' instead of 0.
  2629.     (print_dir, gobble_file, get_link_name): Set exit_status on error.
  2630.  
  2631.     * ls.c (print_long_format): Allow a slop factor for deciding
  2632.     what is in the future.
  2633.  
  2634.     * All programs: Change usage messages and documentation for
  2635.     long options to use -- instead of +.
  2636.  
  2637.     * df.c (main, usage): Add -v option for SysV compat.
  2638.  
  2639. Tue Feb  4 12:45:09 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2640.  
  2641.     * fileblocks.c [!NINDIR]: Try to fake indirect block info for
  2642.     systems that don't define it.
  2643.  
  2644. Thu Jan 16 01:04:16 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2645.  
  2646.     * df.c (print_header): Capitalize some header words for
  2647.     POSIX.2a draft 8.
  2648.  
  2649. Sat Jan  4 01:19:25 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2650.  
  2651.     * posixtm.y: Capitalize token name.
  2652.  
  2653. Tue Dec 24 01:05:44 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2654.  
  2655.     * system.h, makepath.c, idcache.c, eaccess.c, backupfile.c,
  2656.     install.c, dd.c, chown.c, chgrp.c: Change POSIX ifdefs to
  2657.     HAVE_UNISTD_H.
  2658.  
  2659. Wed Dec 18 16:42:00 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2660.  
  2661.     * system.h: To get major, minor and makedev, don't check for
  2662.     _POSIX_SOURCE and USG; use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS.
  2663.  
  2664. Mon Dec 16 18:16:42 1991  David J. MacKenzie  (djm at wombat.gnu.ai.mit.edu)
  2665.  
  2666.     * dd.c (skip): Fix typos in arg name.
  2667.     (output_char): Fix off by one error in check.
  2668.  
  2669. Sun Dec  8 19:55:06 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2670.  
  2671.     * system.h: Only define major et al. if not already defined.
  2672.  
  2673. Fri Dec  6 18:26:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2674.  
  2675.     * dd.c (main) [POSIX]: Use sigaction instead of signal, which
  2676.     POSIX doesn't have.
  2677.  
  2678.     * df.c, du.c, ls.c: POSIX_ME_HARDER -> POSIXLY_CORRECT.
  2679.  
  2680. Wed Dec  4 14:30:16 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2681.  
  2682.     * dd.c: Cleanups, mostly from Stuart Kemp:
  2683.     (output_char): New macro, from code in copy.
  2684.     (write_output): New function, used by output_char, from code
  2685.     in copy.
  2686.     (skip): New function, from code in copy.
  2687.     (copy): Use output_char and skip.
  2688.     Simplify test for quitting before main loop.
  2689.     Zero buffer using bzero for speed.
  2690.  
  2691. Sun Nov 17 19:39:04 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2692.  
  2693.     * fsinfo.c (get_fs_usage) [FS_MNTENT]: Take blocksize into account.
  2694.     (read_filesystem_list) [FS_MNTENT]: Ignore filesystems of type
  2695.     "ignore" (automounter dummy entries).
  2696.  
  2697.     * install.c (change_attributes): Do chmod even if chown fails.
  2698.  
  2699. Thu Oct 24 23:50:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2700.  
  2701.     * chown.c (change_file_owner), chgrp.c (change_file_group):
  2702.     don't skip symlinks, since the chown system call works on them.
  2703.  
  2704. Fri 18 Oct 1991 23:29:24  Jim Meyering  (meyering at wombat)
  2705.  
  2706.     * configure: fixed test to detect sequent's strange interpretation
  2707.     of utime(file, NULL).
  2708.  
  2709. Fri Oct 18 00:30:42 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2710.  
  2711.     * eaccess.c: GID_T -> GETGROUPS_T, for clarity.
  2712.  
  2713. Sat Oct 12 12:25:55 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  2714.  
  2715.     * configure: Define uid_t and gid_t as int if they're not
  2716.     defined in sys/types.h.  That's probably right for old Unixes
  2717.     and avoids trying to find the C preprocessor.
  2718.  
  2719.     * df.c: Don't declare sync, to avoid conflict with Minix (and
  2720.     maybe others) unistd.h.
  2721.     (show_point): Cast -1 to dev_t before comparing, in case dev_t
  2722.     is unsigned.  From Rainer Orth.
  2723.  
  2724.     * chown.c [!POSIX]: Declare getgrgid.
  2725.  
  2726. Fri Sep 13 14:55:41 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  2727.  
  2728.     * eaccess.c [POSIX]: Always use sysconf to get NGROUPS_MAX.
  2729.  
  2730. Thu Sep  5 23:40:39 1991  David J. MacKenzie  (djm at apple-gunkies)
  2731.  
  2732.     * system.h: Instead of defining getwd in terms of getcwd with
  2733.     PATH_MAX as an arg (which might be -1 on POSIX), define getcwd
  2734.     in terms of getwd.
  2735.     * du.c (main): Call getcwd with path_max as an arg.
  2736.  
  2737.     * install.c (change_attributes): Do chown before chmod, so
  2738.     chown doesn't remove set[ug]id bits.
  2739.  
  2740. Wed Aug 28 20:53:50 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2741.  
  2742.     * Version 3.1.
  2743.  
  2744. Mon Aug 26 15:44:16 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
  2745.  
  2746.     * du.c (main): If pathconf fails, use 1024 for PATH_MAX.  This
  2747.     happens if "/" is NFS-mounted.
  2748.  
  2749. Sun Aug 25 00:56:11 1991  David J. MacKenzie  (djm at apple-gunkies)
  2750.  
  2751.     * df.c, fsinfo.c, fsinfo.h: New program.
  2752.     * configure: Check for various ways of getting info on mounted
  2753.     filesystems.
  2754.  
  2755. Thu Aug 22 10:53:23 1991  David J. MacKenzie  (djm at apple-gunkies)
  2756.  
  2757.     * src/Makefile.in: Workaround #10006 for C compilers that are
  2758.     too dumb to allow -c and -o together.  Copy the source files.
  2759.     * system.h: Moved from src to lib to avoid having to add yet
  2760.     more -I options to CFLAGS.
  2761.  
  2762.     * du.c, ls.c: If POSIX_ME_HARDER is set in environment, use
  2763.     512-byte blocks by default.
  2764.  
  2765. Wed Aug 21 13:03:14 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2766.  
  2767.     * Version 3.0.
  2768.  
  2769.     * du.c, ls.c: Make 1K blocks the default size, and -k a no-op.
  2770.     Down with dumb standards!
  2771.  
  2772.     * system.h, backupfile.c, savedir.c [VOID_CLOSEDIR]: Fake a
  2773.     return value for closedir, which returns void on some systems,
  2774.     like Sequents.
  2775.     * configure: Check sys/dir.h for 'void closedir'.
  2776.  
  2777. Tue Aug 20 22:22:47 1991  Jim Meyering  (meyering at nutrimat)
  2778.  
  2779.     * mvdir.c (main):  Clean up loop to stat component
  2780.     directories -- as in makepath and pathchk.
  2781.  
  2782. Tue Aug 20 22:10:47 1991  Jim Meyering  (meyering at nutrimat)
  2783.  
  2784.     * dirname.c (dirname):  Allocate exact amount of space
  2785.     needed for result.
  2786.  
  2787. Tue Aug 20 02:13:40 1991  David J. MacKenzie  (djm at apple-gunkies)
  2788.  
  2789.     * savedir.c (savedir): Try to open directory before allocating
  2790.     buffer.  From Jim Meyering.
  2791.  
  2792. Mon Aug 19 01:14:13 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2793.  
  2794.     * Many files: indent '#pragma alloca' so non-ANSI compilers
  2795.     don't choke on it.
  2796.  
  2797.     * backupfile.c (max_backup_version): Check closedir return
  2798.     value (though it might not do any good).
  2799.  
  2800. Tue Aug  6 20:50:56 1991  David J. MacKenzie  (djm at wheat-chex)
  2801.  
  2802.     * configure, Makefile.in's: Support +srcdir option, using VPATH.
  2803.     Don't check for bison, just try it and if it fails use yacc.
  2804.     Create config.status.  Fix up clean targets.
  2805.  
  2806.     * posixtm.y (posixtm): New function.
  2807.  
  2808.     Most of the following is from Paul Eggert:
  2809.     * savedir.c (savedir), ls.c (print_dir), rm.c
  2810.     (clear_directory): Check closedir return for errors.
  2811.     * dd.c (main): Check for stdin or stdout being closed.
  2812.     * dd.c (quit), install.c (copy_file): Check for close errors.
  2813.     * mv.c (copy): Was missing a close.
  2814.  
  2815. Sat Aug  3 02:05:51 1991  David J. MacKenzie  (djm at apple-gunkies)
  2816.  
  2817.     * ln.c: Declare link() unconditionally (SCO UNIX needs it).
  2818.  
  2819. Tue Jul 30 00:23:19 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2820.  
  2821.     * configure: NEED_TZSET has become FTIME_MISSING.
  2822.  
  2823.     * configure: Define uid_t and gid_t if sys/types.h doesn't.
  2824.  
  2825. Sat Jul 27 00:55:16 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2826.  
  2827.     * configure: Only compile fileblocks.c if st_blocks is missing.
  2828.  
  2829.     * cp.c (copy): Make directories with initial mode of source
  2830.     permissions minus umask, plus 0700.  For POSIX and John Gilmore.
  2831.  
  2832.     * system.h: Include errno.h and, if STDC_HEADERS, stdlib.h.
  2833.     * All programs: Remove includes of those files.
  2834.  
  2835.     * ftruncate.c: New file.
  2836.     * configure: Use it if needed.
  2837.  
  2838. Wed Jul 24 02:09:45 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2839.  
  2840.     * ls.c (get_name_link), cp.c (copy) [_AIX]: Allocate extra
  2841.     space for the buffer, since st_size is wrong.
  2842.  
  2843.     * system.h: Don't declare alloca for AIX.
  2844.     * makepath.c, posixtm.y, cp.c, du.c, ln.c, ls.c, mv.c:
  2845.     Declare alloca first (AIX needs it).
  2846.  
  2847.     * cp.c, dd.c, touch.c: Use SEEK_ instead of L_.
  2848.     * system.h: Define SEEK_ if not defined.
  2849.  
  2850. Tue Jul 23 15:02:20 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2851.  
  2852.     * eaccess.c: GID_T is int if ultrix as well as if sun.
  2853.  
  2854. Mon Jul 22 11:39:31 1991  David J. MacKenzie  (djm at bleen)
  2855.  
  2856.     * install.c: Use uid_t and gid_t.
  2857.  
  2858.     * eaccess.c: Support POSIX method of getting multiple groups.
  2859.  
  2860. Sat Jul 20 14:24:40 1991  David J. MacKenzie  (djm at bleen)
  2861.  
  2862.     * Move cat cmp cut expand head paste split tac tail unexpand
  2863.     to textutils.
  2864.  
  2865.     * system.h [MKFIFO_MISSING]: Define mkfifo macro.
  2866.     * cp.c, mkfifo.c: Don't define it.
  2867.  
  2868.     * mknod.c, gmknod.1: New files.
  2869.  
  2870. Fri Jul 19 13:43:01 1991  David J. MacKenzie  (djm at apple-gunkies)
  2871.  
  2872.     * version.c: New file.
  2873.     * All C programs: Link with it, to get version number in the
  2874.     binary where at least `strings -' and GNU grep can find it.
  2875.  
  2876. Mon Jul 15 13:46:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2877.  
  2878.     * configure: Also look in sys/signal.h for signal decl.
  2879.  
  2880. Sun Jul 14 22:43:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2881.  
  2882.     * Rename touchtm.y back to posixtm.y, as the date command will
  2883.     use it too.
  2884.  
  2885. Mon Jul  8 22:56:36 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2886.  
  2887.     * Replace lib/Makefile with lib/Makefile.in.
  2888.     * configure: For some library functions that might be missing,
  2889.     conditionally add the .o files to lib/Makefile instead of
  2890.     defining func_MISSING.
  2891.     * lib/mkdir.c: Renamed from lib/mkrmdir.c.
  2892.  
  2893. Sat Jul  6 02:19:09 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2894.  
  2895.     * xstrdup.c [STDC_HEADERS]: Include string.h.
  2896.  
  2897.     * stripslash.h: Include string header file.
  2898.  
  2899.     * configure: Add to DEFS if Minix.
  2900.  
  2901.     * system.h [_POSIX_SOURCE]: Make ST_BLKSIZE 1024 instead of
  2902.     512, for better performance.
  2903.  
  2904.     * system.h, configure: If sys/mkdev.h exists, use it instead
  2905.     of sys/sysmacros.h.
  2906.  
  2907.     * configure: echo messages to stdout, not stderr.
  2908.     Use test programs to see if alloca needs -lPW and if chars are
  2909.     unsigned.
  2910.  
  2911. Tue Jul  2 03:16:32 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2912.  
  2913.     * chown.c, chgrp.c [!POSIX]: Declare pwd.h and grp.h functions.
  2914.  
  2915. Sat Jun 29 16:46:12 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2916.  
  2917.     * cp.h: Don't declare `open', to avoid conflict with varargs
  2918.     prototypes.
  2919.  
  2920.     * chown.c, chgrp.c: Include sys/types.h before, not after,
  2921.     pwd.h and grp.h, to get uid_t and gid_t if necessary.
  2922.  
  2923. Fri Jun 28 01:12:45 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2924.  
  2925.     * ls.c: Use time_t instead of long, where appropriate.
  2926.  
  2927. Thu Jun 27 16:31:45 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2928.  
  2929.     * touchtm.y: Renamed from posixtime.y for SysV systems with Bison.
  2930.  
  2931.     * configure: No longer need to pass bison the -y option.
  2932.     Now lib/Makefile should allow a parallel make with bison.
  2933.  
  2934.     * cp.c (copy_reg), cat.c (main),
  2935.     touch.c (touch, utime_now), mv.c (copy): Check close return
  2936.     value for delayed error report due to NFS.
  2937.  
  2938. Thu Jun 20 01:33:06 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2939.  
  2940.     * configure: Include $DEFS when compiling test programs.
  2941.  
  2942.     * configure: Use test programs instead of grep to check for
  2943.     USG, POSIX, and ANSI C headers, in case symbols are defined in
  2944.     header files included by the standard ones.  Check for BSD
  2945.     memory functions (bcopy et al.) as well as string functions.
  2946.     Add notice to top of generated Makefile saying that it's
  2947.     automatically generated.
  2948.  
  2949. Thu Jun 13 00:50:18 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2950.  
  2951.     * Version 2.1.
  2952.  
  2953.     * configure: If rename is missing, define MVDIR.
  2954.     Use , instead of / as sed substitution separator so variables'
  2955.     values can contain slashes.
  2956.  
  2957.     * du.c (main): Use alloca to allocate `wd' instead of making
  2958.     it an auto array, since PATH_MAX might be a call to pathconf.
  2959.  
  2960. Wed Jun 12 19:56:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2961.  
  2962.     * cp-aux.c (usage), install.c (usage), ln.c (usage), mv.c
  2963.     (usage): Combine the option lists for the multiple usage forms.
  2964.  
  2965. Tue Jun 11 00:12:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2966.  
  2967.     * idcache.c: pwd.h and grp.h might need sys/types.h.
  2968.  
  2969.     * configure: Create Makefile from Makefile.in instead of
  2970.     makefile from makefile.skel, to more closely follow the new
  2971.     GNU coding standards.
  2972.  
  2973.     * ls.c (file_interesting): Use POSIX.2 fnmatch instead of glob_match.
  2974.  
  2975.     * configure: If $RANDOM is implemented (ksh, bash or zsh), use
  2976.     the `type' builtin to determine if gcc, bison, ranlib are
  2977.     available.  ksh writes "fubar: command not found" to stderr,
  2978.     foiling the test -n "`command 2>&1`" method.
  2979.     Remove makefile on signal.
  2980.  
  2981.     * system.h: Include sys/param.h if not _POSIX_SOURCE instead
  2982.     of if not POSIX, to get DEV_BSIZE.
  2983.  
  2984.     * makepath.c, posixtime.y, system.h: Add _AIX case to alloca decl.
  2985.  
  2986. Sun Jun  9 01:26:27 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2987.  
  2988.     * Version 2.0.
  2989.  
  2990.     * basename.c, dirname.c: Use str[r]chr and string.h if
  2991.     STDC_HEADERS as well as if USG.
  2992.  
  2993.     * touch.c (utime_now): Created from code in touch ().
  2994.  
  2995. Sat Jun  8 11:02:32 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2996.  
  2997.     * backupfile.c: Use POSIX instead of _POSIX_SOURCE to
  2998.     determine whether to check whether readdir returned a valid
  2999.     entry.
  3000.  
  3001. Fri Jun  7 21:44:51 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  3002.  
  3003.     * fileblocks.c (st_blocks), system.h (ST_NBLOCKS): Always
  3004.     return number of 512 byte blocks, not DEV_BSIZE blocks.
  3005.     (convert_blocks): Always expect 512-byte blocks.
  3006.  
  3007. Thu Jun  6 12:54:26 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  3008.  
  3009.     * system.h [POSIX]: If PATH_MAX not defined, use pathconf.
  3010.     Remove NAME_MAX stuff; not used.
  3011.  
  3012.     * system.h: Make #include <strings.h> depend on not (USG or
  3013.     STDC_HEADERS) instead of not (USG or POSIX).
  3014.  
  3015.     * configure: New shell script to aid compilation.
  3016.  
  3017. Mon Jun  3 16:42:41 1991  David J. MacKenzie  (djm at wheat-chex)
  3018.  
  3019.     * cp.h: Remove some decls of functions returning int that
  3020.     conflict with prototypes on HPUX.
  3021.  
  3022.     * cp.c (make_path, re_protect): New functions from Jim
  3023.     Meyering.  Changes to other functions as well, to add +path,
  3024.     +link, +symbolic-link options.
  3025.  
  3026. Sun Jun  2 15:45:24 1991  David J. MacKenzie  (djm at wheat-chex)
  3027.  
  3028.     * most files: use GPL version 2.
  3029.  
  3030. Sat Jun  1 20:17:35 1991  David J. MacKenzie  (djm at wheat-chex)
  3031.  
  3032.     * rm.c, backupfile.c: If _POSIX_SOURCE, don't refer to d_ino.
  3033.  
  3034. Sun May 19 18:42:09 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  3035.  
  3036.     * touch.c: Renamed getdate to get_date to avoid SVR4 conflict.
  3037.  
  3038. Thu May 16 23:12:01 1991  David J. MacKenzie  (djm at albert.gnu.ai.mit.edu)
  3039.  
  3040.     * cp.c, mv.c, ln.c: Use alloca and strcpy directly instead of
  3041.     in a macro for generating backup filename.  The latter
  3042.     sometimes coredumps for some reason.
  3043.  
  3044. Sat Apr 20 00:03:09 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  3045.  
  3046.     * dd.c: Add conv=notrunc and truncate output file by default,
  3047.     for POSIX.
  3048.  
  3049.     * rm.c (rm): Refuse to remove path/. and path/.., as well as `.'
  3050.     and `..', for POSIX.
  3051.  
  3052.     * chown.c: Allow `:' as well as `.' to separate group from
  3053.     user, for POSIX.2 draft 11.
  3054.  
  3055.     * Many programs: Don't bother to get the long-option index
  3056.     value from getopt_long, since we ignore it.
  3057.  
  3058.     * Many programs: Separate long-option option names from their
  3059.     args with `=' instead of ` ' in usage messages.
  3060.  
  3061.     * touch.c (touch): Don't refuse to touch non-regular files.
  3062.  
  3063. Wed Apr 10 12:19:30 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  3064.  
  3065.     * cp.c, cp-aux.c: Add -a +archive option, an easier to
  3066.     remember synonym for -dpR.
  3067.  
  3068. Fri Mar 15 16:16:54 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  3069.  
  3070.     * mv.c (copy): Try to preserve file ownership in
  3071.     cross-filesystem copies.
  3072.  
  3073.     * backupfile.c, rm.c: Go back to using d_ino instead of
  3074.     d_fileno.  POSIX.1 specifies neither, and d_ino is more
  3075.     common, perhaps ubiquitous.
  3076.  
  3077.     * chown.c (describe_change): Don't print the group name if it
  3078.     didn't change (thus is a null pointer).
  3079.     (main): Initialize group name to null.
  3080.  
  3081. Mon Feb 25 11:44:14 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  3082.  
  3083.     * dd.c (copy): Only seek if not seeking to start of file, so
  3084.     "dd >> foo" works with Minix shell that doesn't open foo in
  3085.     append mode.
  3086.  
  3087. Thu Feb 21 11:59:39 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  3088.  
  3089.     * ln.c (do_link), mv.c (do_move), cp.c (copy): Store backup
  3090.     filename using alloca so we don't have to free it every place
  3091.     we return.  From Jim Meyering.
  3092.  
  3093. Thu Feb 14 00:41:43 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  3094.  
  3095.     * cp.c (copy_reg): Only make holes when copying a regular file
  3096.     onto a regular file.
  3097.  
  3098. Fri Jan 18 06:31:59 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3099.  
  3100.     * ls.c: Move defn. of S_IEXEC to after header files are included.
  3101.     * cp.h: Always declare stat and lstat.
  3102.  
  3103. Thu Jan 10 02:16:55 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3104.  
  3105.     * cp.h: Only declare some system calls if not POSIX.
  3106.  
  3107.     * eaccess.c, idcache.c, dd.c, install.c, ln.c, system.h:
  3108.     Change _POSIX_SOURCE to POSIX.
  3109.  
  3110.     * fileblocks.c, system.h: Change STBLOCKS_MISSING to
  3111.     ST_BLOCKS_MISSING (was already that way in cp.c).
  3112.  
  3113. Fri Dec 28 18:40:34 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3114.  
  3115.     * chmod.c, chown.c, chgrp.c, du.c: Rename -d option to -L for
  3116.     similarity to ls and cpio.
  3117.  
  3118. Thu Dec 27 00:06:45 1990  David J. MacKenzie  (djm at egypt)
  3119.  
  3120.     * rm.c (clear_directory): Keep looking for files to remove
  3121.     until we don't find any, so that any .nfs* files created by
  3122.     removing other files are also removed, eventually.
  3123.  
  3124.     * install.c (main): Strip trailing slashes on all args.
  3125.  
  3126.     * mv.c (copy): Open target file with mode 0600, not 0777.
  3127.     [FCHMOD_MISSING]: Perform chmod after closing files, not
  3128.     before, for MS-DOS.
  3129.  
  3130.     * cp.c (do_copy): Don't append `..' to target dir name.
  3131.  
  3132.     * du.c (main, count_entry, usage): Add -D +dereference-args
  3133.     and -d +dereference options.
  3134.  
  3135. Wed Dec 26 03:39:18 1990  David J. MacKenzie  (djm at egypt)
  3136.  
  3137.     * dirname.c, xstrdup.c: Get decls from standard files, if available.
  3138.  
  3139. Thu Dec 20 23:10:22 1990  David J. MacKenzie  (djm at egypt)
  3140.  
  3141.     * makepath.c: New file, adapted from code in mkdir.c,
  3142.     install.c, and cpio util.c by Jim Meyering.
  3143.     * mkdir.c, install.c: Use make_path.
  3144.  
  3145. Sun Dec 16 00:56:54 1990  David J. MacKenzie  (djm at egypt)
  3146.  
  3147.     * chown.c, chgrp.c: New files.
  3148.  
  3149. Sat Dec 15 20:42:32 1990  David J. MacKenzie  (djm at egypt)
  3150.  
  3151.     * cp.h: Declare POSIX functions always -- _POSIX_SOURCE
  3152.     doesn't imply STDC declarations.
  3153.  
  3154.     * system.h: Define S_ISTYPE macros not defined by sys/stat.h.
  3155.  
  3156.     * Many files: Use S_ISTYPE macros.
  3157.  
  3158.     * backupfile.c, rm.c: Use name d_fileno for member of struct
  3159.     dirent instead of d_ino, for POSIX.
  3160.  
  3161. Wed Dec 12 23:38:22 1990  David J. MacKenzie  (djm at egypt)
  3162.  
  3163.     * ls.c: Declare time() as time_t instead of long, to prevent
  3164.     conflict with standard header files.
  3165.  
  3166.     * cp.c (copy_reg): Instead of using NO_SPARSE_FILES, use
  3167.     st_blocks to determine whether the original file contains any
  3168.     sparse blocks, and only create them if so.  On systems without
  3169.     st_blocks, to be safe, never create sparse blocks.
  3170.  
  3171. Thu Nov  8 12:16:27 1990  David J. MacKenzie  (djm at apple-gunkies)
  3172.  
  3173.     * idcache.c: If _POSIX_SOURCE not defined, declare getpw and
  3174.     getgr functions (not an optimal solution, but I hate to add
  3175.     yet another configuration macro).
  3176.  
  3177.     * Makefile: Define AR and RANLIB and pass to child makes.
  3178.     lib/Makefile: Use them.
  3179.  
  3180. Tue Nov  6 23:18:06 1990  David J. MacKenzie  (djm at mole.ai.mit.edu)
  3181.  
  3182.     * idcache.c: New file from code in ls.c.
  3183.  
  3184. Fri Nov  2 14:34:40 1990  David J. MacKenzie  (djm at apple-gunkies)
  3185.  
  3186.     * Move files into src and lib directories, split out library
  3187.     functions into separate files in lib, and rewrite Makefiles.
  3188.  
  3189. Mon Oct 29 01:20:46 1990  David J. MacKenzie  (djm at apple-gunkies)
  3190.  
  3191.     * mv.c (do_move), rm.c (remove_file, remove_dir): If stdin is
  3192.     a tty and file is unwritable, prompt before overwriting.
  3193.  
  3194.     * cp.c (copy_reg): Only make sparse files if
  3195.     NO_SPARSE_FILES is undefined, to accommodate dumb kernels.
  3196.  
  3197.     * du.c (count_entry): Remove misinformed HPUX kludge that
  3198.     doesn't really fix the problem.
  3199.  
  3200.     * rm.c (rm): Check for textual equality with '.' and '..', not
  3201.     dev/inode equality.
  3202.  
  3203. Sat Oct 27 23:38:55 1990  David J. MacKenzie  (djm at apple-gunkies)
  3204.  
  3205.     * rm.c (check_stack): If not interactive, don't prompt when
  3206.     corruption is found, just quit.
  3207.     (remove_file, remove_dir): Delete leading spaces in verbose
  3208.     output.
  3209.  
  3210.     * cp.c (copy), rm.c (remove_dir): If we think the dest. file
  3211.     is unwritable, warn the user in the interactive prompt instead
  3212.     of automatically skipping the file.  Because of race
  3213.     conditions and other protection mechanisms we might not know
  3214.     about, and POSIX.
  3215.  
  3216. Mon Oct  8 18:51:25 1990  David J. MacKenzie  (djm at apple-gunkies)
  3217.  
  3218.     * du.c (main, usage, count_entry): Add +separate-dirs -S option.
  3219.  
  3220.     * dd.c (main): Don't trap SIGINT if it was being ignored.
  3221.  
  3222. Tue Sep 25 16:40:43 1990  David J. MacKenzie  (djm at apple-gunkies)
  3223.  
  3224.     * install.c (copy_file, install_file_in_file): Change
  3225.     attributes after stripping, to guard against strip programs
  3226.     that clear setuid bits, etc.
  3227.  
  3228. Fri Sep 21 22:31:43 1990  David J. MacKenzie  (djm at apple-gunkies)
  3229.  
  3230.     * cp.c (copy_reg): Put back ftruncate way of making holes
  3231.     because the other way can't make a hole at the end of a file.
  3232.  
  3233. Tue Sep 18 03:47:45 1990  David J. MacKenzie  (djm at apple-gunkies)
  3234.  
  3235.     * install.c (change_attributes): Don't ignore EPERM for chown,
  3236.     since the default uid is now the current uid.
  3237.  
  3238. Sun Sep  9 16:54:19 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3239.  
  3240.     * Version 1.4.
  3241.  
  3242.     * cp.h: Declare free returning void, not int, so it
  3243.     doesn't bomb on Xenix.
  3244.  
  3245. Fri Sep  7 04:35:35 1990  David J. MacKenzie  (djm at apple-gunkies)
  3246.  
  3247.     * system.h, backupfile.c, savedir.c [DIRENT]: if direct is
  3248.     defined (as on Ultrix 4.0), undefine it before redefining it.
  3249.  
  3250. Tue Sep  4 03:10:24 1990  David J. MacKenzie  (djm at apple-gunkies)
  3251.  
  3252.     * dd.c (apply_translations, translate_charset): Code moved
  3253.     from parse_conversion.
  3254.     (apply_translations): Convert from EBCDIC to ASCII before
  3255.     converting case.
  3256.  
  3257.     * mvdir.c (fullpath): Return a value.
  3258.  
  3259.     * dd.c (copy): Increment count of truncated records once
  3260.     per record, not once per character that overflows.
  3261.  
  3262. Mon Sep  3 22:23:57 1990  David J. MacKenzie  (djm at coke)
  3263.  
  3264.     * dd.c (swab_array): Function removed.
  3265.     (copy): Rewrite conv=swab to work when odd number of bytes
  3266.     are read.
  3267.     (scanargs): Die if invalid numeric value is given.
  3268.     (parse_integer): Return -1 if invalid arg.
  3269.     (bit_count): Faster version from Jim Meyering.
  3270.  
  3271.     * cp.c, mkfifo.c [MKFIFO_MISSING]: Define mkfifo.
  3272.  
  3273. Thu Aug 30 00:17:02 1990  David J. MacKenzie  (djm at apple-gunkies)
  3274.  
  3275.     * mvdir.c (main): Make sure `from' is not a parent of any part
  3276.     of `to', not just the explicitly given part.
  3277.     (fullpath): New function.
  3278.  
  3279. Wed Aug 29 19:50:05 1990  David J. MacKenzie  (djm at apple-gunkies)
  3280.  
  3281.     * mvdir.c: Renamed from mv_dir.c, for consistency with mkdir and rmdir.
  3282.     * dirlib.c: Caller changed.
  3283.  
  3284. Tue Aug 28 18:05:24 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3285.  
  3286.     * touch.c (main): Don't interpret first non-option arg as a
  3287.     time if `--' is given (POSIX-required kludge).
  3288.  
  3289.     * touch.c: Add long-named options.
  3290.  
  3291.     * Many files: Include <getopt.h> instead of "getopt.h" since
  3292.     getopt.h will be in the GNU /usr/include.
  3293.  
  3294.     * install.c: Declare some functions.
  3295.  
  3296.     * touch.c, getdate.y, posixtime.y, mktime.c: New files, from bin-src.
  3297.  
  3298.     * posixtime.y: Move year from before time to after it (but
  3299.     before the seconds), for 1003.2 draft 10.
  3300.  
  3301. Mon Aug 27 03:25:36 1990  David J. MacKenzie  (djm at apple-gunkies)
  3302.  
  3303.     * touch.c (main): If no time is given and first arg is a valid
  3304.     timespec, use it as one.
  3305.  
  3306. Sat Aug 25 01:36:16 1990  David J. MacKenzie  (djm at apple-gunkies)
  3307.  
  3308.     * posixtime.y: Enclose YYABORT in braces in case some yacc's
  3309.     need it.
  3310.  
  3311.     * touch.c: Remove -i option.  Change some error messages.
  3312.     (readname): Function removed.
  3313.  
  3314. Thu Aug 23 12:56:33 1990  David J. MacKenzie  (djm at apple-gunkies)
  3315.  
  3316.     * cp.c (copy): Only restore dir mode if it was changed.
  3317.  
  3318. Wed Aug 22 01:45:54 1990  David J. MacKenzie  (djm at apple-gunkies)
  3319.  
  3320.     * cp.c (copy): Don't only backup files when -f is given.
  3321.  
  3322.     * ls.c: Add -X +sort=extension option.  Rename
  3323.     +kilobyte-file-size to +kilobytes.
  3324.  
  3325.     * du.c: Rename -f option to -x, for POSIX.  Rename
  3326.     +kilobyte-file-size to +kilobytes.  Add -b, +bytes option for
  3327.     POSIX.
  3328.  
  3329.     * cp-aux.c (usage): Change -o to -x.
  3330.     (stpcpy): Renamed from str_cpy.  Change callers in cp.c.
  3331.  
  3332.     * cp.c: New variable, `flag_copy_as_regular'.
  3333.     (main): For -R, unset `flag_copy_as_regular'.
  3334.     Rename -o to -x for consistency with du.
  3335.     (copy): Only unlink destination files when -f is given.
  3336.     Only prompt when -i given and copying as a regular file.
  3337.     Move check for previous link after other checks, reducing
  3338.     duplicate code.
  3339.     Create directories with mode 0700 initially, for POSIX.
  3340.  
  3341. Mon Aug 20 03:29:08 1990  David J. MacKenzie  (djm at apple-gunkies)
  3342.  
  3343.     * dd.c (copy): Swap input bytes instead of output bytes.
  3344.     (swab_array): New function.
  3345.  
  3346.     * dd.c (copy): If sync and noerror, zero the buffer before the
  3347.     read instead of after so that any data read before an error
  3348.     occurred are preserved.
  3349.     On read error, print stats and seek past the bad block if noerror.
  3350.     noerror doesn't affect write errors, for POSIX.
  3351.     (scanargs): Use two buffers if no buffer sizes given.
  3352.     Do not block or unblock if cbs not given.
  3353.     (print_stats): New function.
  3354.     (quit): Call it.
  3355.  
  3356. Mon Aug 13 23:30:03 1990  David J. MacKenzie  (djm at apple-gunkies)
  3357.  
  3358.     * cp.c (copy): If dest. exists and is unwritable, skip the file.
  3359.  
  3360.     * rm.c, mv.c, cp.c, ln.c (main): Respect the last -f or -i given,
  3361.     for POSIX.
  3362.  
  3363.     * rm.c (remove_file): Only prompt if -i is given.
  3364.     (main, usage): Remove -o +override-mode option, obsolete if
  3365.     POSIX accepts our objection about prompting.
  3366.  
  3367.     * mv.c (do_move): Only prompt if -i is given.
  3368.  
  3369.     * ln.c (do_link): If dest. file exists and -i and -f not
  3370.     given, skip the file.
  3371.  
  3372. Tue Aug  7 12:51:18 1990  David J. MacKenzie  (djm at apple-gunkies)
  3373.  
  3374.     * dd.c (main): If seek= given, don't truncate output file.
  3375.     (copy): Use `read' to skip output blocks if not regular file.
  3376.     Sync with NUL instead of SPC.
  3377.  
  3378. Mon Aug  6 14:43:30 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  3379.  
  3380.     * rm.c: Rename `ignore_errors' to `ignore_missing_files', and
  3381.     have it only suppress messages about nonexisting files.
  3382.     (main): Get dev and ino of `.' and `..'.
  3383.     (rm): If file is the same as `.' or `..', return with error.
  3384.     (remove_file): Remove the file rather than skipping it if
  3385.     unwritable, no -i, and stdin not tty.
  3386.     (remove_dir): Return an error if directory is nonwritable,
  3387.     rather than nonreadable or nonsearchable, for POSIX.2 draft 10.
  3388.  
  3389.     * chmod.c (main): Use fixed error checking to make sure that
  3390.     options aren't mixed together in the same args as mode specifiers.
  3391.  
  3392. Sun Aug  5 11:51:12 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  3393.  
  3394.     * chmod.c (main): Use umask for '-' op.
  3395.  
  3396. Sat Aug  4 10:11:30 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  3397.  
  3398.     * mkfifo.c: Remove -p +path option, no longer specified by POSIX.
  3399.  
  3400. Fri Aug  3 13:38:28 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  3401.  
  3402.     * mkdir.c, mkfifo.c, create.c (main): Don't tell mode_compile to
  3403.     respect the umask for certain operations, since the umask is 0 anyway.
  3404.  
  3405.     * install.c (get_ids): Use getuid and getgid to get defaults,
  3406.     instead of -1.
  3407.  
  3408. Fri Jul 27 14:32:40 1990  David J. MacKenzie  (djm at apple-gunkies)
  3409.  
  3410.     * backupfile.c (dirname): Always replace frontmost slash with a null.
  3411.  
  3412. Thu Jul 26 00:20:35 1990  David J. MacKenzie  (djm at apple-gunkies)
  3413.  
  3414.     * cp.h: Declare umask as unsigned short.
  3415.  
  3416.     * eaccess.c: Make uid and gid unsigned short, and group array unsigned.
  3417.  
  3418. Wed Jul 25 18:38:57 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3419.  
  3420.     * rm.c (remove_file, remove_dir): Print verbose message right
  3421.     before actually trying to remove the file, after the prompting.
  3422.  
  3423.     * ls.c (getuser, getgroup): Make uid and gid unsigned short, not int.
  3424.  
  3425. Tue Jul 24 03:39:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3426.  
  3427.     * cp.c (copy), ln.c (do_link), mv.c (do_move): For +verbose,
  3428.     print the file names just before actually attempting the
  3429.     copy/link/move, to produce a list of the files that they
  3430.     actually try to copy/link/move, omitting skipped files.
  3431.     Remove leading spaces from +verbose output.
  3432.  
  3433. Mon Jul 23 16:57:44 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3434.  
  3435.     * cp.c (copy): Make +update operate silently, like +one-file-system.
  3436.  
  3437.     * ln.c: Add -F as synonym for -d, for SunOS compatibility.
  3438.  
  3439. Sun Jul 15 23:23:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3440.  
  3441.     * cp.c (copy): Go back to using xstat on dest.
  3442.  
  3443. Wed Jul 11 12:10:33 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3444.  
  3445.     * cp.c (copy): Make directories with desired mode plus u+wx so
  3446.     if the copy is interrupted, the dir is closer to the desired mode.
  3447.     Don't backup directories.
  3448.  
  3449. Sun Jul  8 00:39:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  3450.  
  3451.     * rm.c (main, usage): Add new option -d, +directory.
  3452.     (rm): If -d given, use remove_file instead of remove_dir for
  3453.     directories.
  3454.     (remove_file): If directory, print "remove directory `foo'?"
  3455.     for interactive instead of "remove `foo'?".
  3456.  
  3457.     * ln.c (main): If -s given, print warning message if symlinks
  3458.     are not available.
  3459.     * mkfifo.c (main): If fifo's are not available, print message
  3460.     and exit.
  3461.  
  3462. Fri Jul  6 02:02:49 1990  David J. MacKenzie  (djm at apple-gunkies)
  3463.  
  3464.     * install.c (main): Use the current user and group ID for the
  3465.     default owner and group.
  3466.  
  3467.     * mv.c (main): New option -u, +update.
  3468.     (do_move): Don't move nondirectories if -u and there is an existing
  3469.     destination that has the same or newer mtime.
  3470.     (usage): Document -u, +update.
  3471.  
  3472.     * cp.c (main): New option -u, +update.
  3473.     (copy): Don't copy nondirectories if -u and there is an existing
  3474.     destination that has the same or newer mtime.
  3475.     * cp-aux.c (usage): Document -u ,+update.
  3476.  
  3477. Thu Jul  5 10:04:12 1990  David J. MacKenzie  (djm at apple-gunkies)
  3478.  
  3479.     * ln.c (do_link): Don't check whether OLD exists before trying
  3480.     to make link.
  3481.  
  3482. Tue Jul  3 01:51:55 1990  David J. MacKenzie  (djm at apple-gunkies)
  3483.  
  3484.     * ls.c: Allow "+time=atime" and "+time=ctime" for C hackers.
  3485.  
  3486.     * chmod.c (main): Don't check whether multiple mode arguments
  3487.     are given, because optind has a different value depending on
  3488.     whether or not the option is the last character in the
  3489.     ARGV-element.
  3490.  
  3491. Sat Jun 30 12:32:51 1990  David J. MacKenzie  (djm at apple-gunkies)
  3492.  
  3493.     * cp.c (copy): Use lstat on dest. file, not *xstat.
  3494.  
  3495. Mon Jun 25 18:07:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3496.  
  3497.     * ls.c (print_long_format): Truncate user and group names to 8
  3498.     chars to preserve column alignment.
  3499.     (length_of_file_name_and_frills): Don't assume type indicator
  3500.     will be printed for unknown file types that some os's have.
  3501.  
  3502.     * install.c: Declare getgrnam for systems where grp.h doesn't.
  3503.  
  3504. Sat Jun 23 00:06:35 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3505.  
  3506.     * Version 1.3.
  3507.  
  3508.     * du.c (count_entry) [HPUX_NFS_BUG]: If the size of the file
  3509.     according to the number of blocks reported is twice or more than
  3510.     the size of the file according to the number of bytes
  3511.     reported, halve the number of blocks.
  3512.  
  3513. Fri Jun 22 00:38:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3514.  
  3515.     * cp.c (copy_dir): Initialize 'ret' to 0.
  3516.  
  3517.     * cp.c (main), ln.c (main), mv.c (main), rm.c (main):
  3518.     Make -i override -f and -o, to be conservative about
  3519.     removing peoples' files.
  3520.  
  3521.     * mkdir.c (make_path), mkfifo.c (make_path): Don't try to stat
  3522.     "" or "/".
  3523.  
  3524.     * rm.c, rmdir.c, mkdir.c, mkfifo.c: Move code to remove
  3525.     slashes at the end of an arg from main to
  3526.     strip_trailing_slashes.
  3527.  
  3528.     * install.c (strip): Print error message if the `strip'
  3529.     program can't be run.
  3530.  
  3531.     * system.h (convert_blocks): Macro moved from du.c and ls.c.
  3532.     Take a second parameter indicating whether to convert to
  3533.     kilobytes or 512 byte blocks.
  3534.     * ls.c, du.c: Pass second parameter to convert_blocks.
  3535.  
  3536. Thu Jun 21 01:19:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3537.  
  3538.     * ls.c (print_long_format): Use mode_string instead of filemodestring.
  3539.  
  3540.     * ls.c (print_long_format): Compare times as longs, not ints.
  3541.     (longdiff): Macro to compare two longs efficiently if sizeof
  3542.     int == sizeof long and less efficiently but correctly if they
  3543.     are different sizes.
  3544.     (compare_ctime, etc.): Use longdiff.
  3545.  
  3546.     * ls.c (decode_switches): Make -k not imply -s, to allow the
  3547.     summary directory size printed by -l to be in 1k blocks
  3548.     without having the size of each file printed as well.
  3549.     (convert_blocks): Provide for systems with a blocksize that is
  3550.     other than 512 or 1024 bytes.
  3551.  
  3552.     * du.c (main): Exit with status 0 normally.
  3553.     (convert_blocks): Provide for systems with a blocksize that is
  3554.     other than 512 or 1024 bytes.
  3555.  
  3556. Wed Jun 20 01:46:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3557.  
  3558.     * ln.c (do_link): Take out code to give an error if source and
  3559.     dest are the same file.  The dubious usefulness of the special
  3560.     case to prevent 'ln x x' from removing 'x' (ln -i can be used
  3561.     instead) is not worth preventing 'ln x y' from failing the
  3562.     second time in a row, and appears to contradict POSIX anyway.
  3563.  
  3564. Mon Jun 18 02:48:17 1990  David J. MacKenzie  (djm at apple-gunkies)
  3565.  
  3566.     * ls.c (print_file_name_and_frills):
  3567.     (length_of_file_name_and_frills, print_long_format):
  3568.     Allow 6 digits for i-number, not 5.
  3569.  
  3570. Sun Jun 17 00:09:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3571.  
  3572.     * install.c (install_dir): Don't check whether "" or the root
  3573.     directory exists (the former fails on some systems).
  3574.  
  3575.     * system.h: Make inclusion of sys/file.h conditional on USG
  3576.     and _POSIX_SOURCE, not DIRENT.
  3577.  
  3578.     * chmod.c (change_dir_mode): Use xrealloc instead of free and
  3579.     xmalloc in case malloc already left extra room.
  3580.     (xrealloc): New function.
  3581.  
  3582.     * rm.c (clear_directory): Prevent buffer overruns.
  3583.     More efficient string handling.  Don't skip rest of directory
  3584.     if continuing after finding circular inode.
  3585.     (xrealloc): New function.
  3586.  
  3587. Sat Jun 16 01:45:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3588.  
  3589.     * argmatch.c (invalid_arg): Change order in which the items
  3590.     are printed.
  3591.  
  3592.     * ls.c: Add +tabsize (-T) option.
  3593.  
  3594. Fri Jun 15 23:40:55 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3595.  
  3596.     * dd.c (scanargs): For ibs and obs, set C_HARDWAY.
  3597.     (copy): Use different buffers only if C_HARDWAY, not if
  3598.     blocksizes are the same, to ensure constant output block sizes.
  3599.  
  3600. Wed Jun 13 23:56:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3601.  
  3602.     * savedir.c: New file from code in chmod.c, modified to
  3603.     prevent buffer overruns.
  3604.     * chmod.c (change_dir_mode), cp.c (copy_dir), du.c
  3605.     (count_entry): Use savedir.
  3606.  
  3607. Thu Jun  7 03:52:02 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3608.  
  3609.     * system.h (ST_BLKSIZE) [!STBLOCKS_MISSING]: If st_blksize is
  3610.     0 (as on pipe reads on some systems), use BSIZE instead.
  3611.     Define BSIZE as DEV_BSIZE if necessary.
  3612.  
  3613.     * Makefile, system.h, fileblocks.c: Use STBLOCKS_MISSING to
  3614.     control whether st_blksize and st_blocks are used.
  3615.     * Makefile, system.h, backupfile.c: Use DIRENT to control
  3616.     whether <dirent.h> is used.
  3617.  
  3618. Thu May 31 00:55:36 1990  David J. MacKenzie  (djm at apple-gunkies)
  3619.  
  3620.     * fileblocks.c: New file.
  3621.     * du.c (blocks_to_kb): Replace with convert_blocks macro.
  3622.     (main): Recognize new -k option.
  3623.     (usage): Document it.
  3624.     * ls.c (nblocks): Replace with convert_blocks macro.
  3625.     * system.h (ST_BLKSIZE) [USG]: Use BSIZE from sys/param.h instead of
  3626.     having the user define BLKSIZE.
  3627.     (ST_NBLOCKS) [USG]: Use st_blocks from fileblocks.c.
  3628.  
  3629. Wed May 23 00:40:39 1990  David J. MacKenzie  (djm at apple-gunkies)
  3630.  
  3631.     * argmatch.c: New file, taken from ls.c.
  3632.     * getversion.c (get_version): Use argmatch, to allow
  3633.     abbreviations.  Default backup type is existing_numbered.
  3634.     * mv.c (main), ln.c (main), cp.c (main): Only make backups if
  3635.     -b (+backup) is given.  If envar SIMPLE_BACKUP_SUFFIX is set,
  3636.     use it as a default instead of `~'.
  3637.     * mv.c (usage), ln.c (usage), cp-aux.c (usage): Update messages.
  3638.  
  3639. Tue May 22 00:56:51 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3640.  
  3641.     * install.c: New file (from ../bin-src).
  3642.  
  3643.     * dd.c (copy): Don't count completely failed writes as partial
  3644.     writes.  Make buffers unsigned.  If blocking or unblocking,
  3645.     pad final partial buffer if necessary.
  3646.  
  3647.     * getversion.c: New file.
  3648.     * mv.c (main), cp.c (main), ln.c (main): Control backup types
  3649.     with getenv ("VERSION_CONTROL") and +version-control or -V.
  3650.  
  3651.     * cp.c (yesno), mv.c (yesno), ln.c (yesno): Stop reading if
  3652.     EOF reached as well as at newline.
  3653.  
  3654.     * backupfile.[ch]: Rename var `version_control' to `backup_type'.
  3655.  
  3656. Sat May 19 23:38:46 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3657.  
  3658.     * touch.c: Change some error messages.  Include "getopt.h".
  3659.  
  3660. Sat May 19 00:16:50 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3661.  
  3662.     * mv.c (main), ln.c (main), cp.c (main): Revise
  3663.     backup-creation options.
  3664.     * mv.c (usage), ln.c (usage), cp-aux.c (usage): Revise messages.
  3665.  
  3666.     * chmod.c (describe_change): Use mode_string instead of
  3667.     filemodestring.
  3668.  
  3669.     * cp.c (main): Recognize new options for making backups.
  3670.     * cp.c (copy): Make backups if requested.  Fix typo.
  3671.     * cp-aux.c (usage): Update message.
  3672.  
  3673.     * mv.c, cp.c: Remove code to conditionally use utimes instead
  3674.     of utime, since the extra resolution of utimes was not being
  3675.     used, the emulation overhead is probably insignificant,
  3676.     and utime is a standard function.
  3677.  
  3678.     * cp-hash.c: Fix up comments.
  3679.  
  3680. Fri May 18 23:06:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3681.  
  3682.     * mv.c (do_move): Only make backup if dest file exists.
  3683.     Don't continue moving file if dest can't be backed up.
  3684.     * ln.c (do_link): Don't try to unlink dest if it was backed up.
  3685.     Don't continue moving file if dest can't be backed up.
  3686.  
  3687.     * system.h: Make SIGTYPE default to void if not defined.
  3688.  
  3689.     * modechange.[ch]: Rename struct and external functions to start
  3690.     with 'mode_'.
  3691.     * modechange.c (oatoi): Make static.
  3692.     (mode_compile): Take an additional arg indicating which
  3693.     symbolic operators should be affected by the umask.
  3694.     * modechange.h: Add defines for mode_compile arg mask.
  3695.     If __STDC__, use prototypes.
  3696.     * chmod.c, mkdir.c, mkfifo.c, create.c: Account for above changes.
  3697.  
  3698. Tue May 15 16:17:34 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3699.  
  3700.     * dd.c (copy): Quit with nonzero status if final write fails.
  3701.  
  3702. Mon May 14 14:34:10 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3703.  
  3704.     * dd.c: Make translation tables unsigned.
  3705.     (main): Give `input_file' and `output_file' nonzero values for
  3706.     stdin and stdout.
  3707.     (parse_conversion): Set new global vars 'space_character' and
  3708.     'newline_character' to correct values when translating to EBCDIC
  3709.     (either flavor).
  3710.     (copy): Use 'space_character' and 'newline_character' instead
  3711.     of hardcoded ASCII values.  Ignore attempts to seek on output pipe,
  3712.     socket, or fifo.  If possible, seek instead of reading to skip
  3713.     initial input records.  Sync with `space_character' instead of
  3714.     nulls, for POSIX.
  3715.  
  3716.     * cp.c (copy_reg): Compare lseek values as longs, not ints.
  3717.  
  3718. Sat May 12 01:16:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3719.  
  3720.     * cp-hash (remember_created): Return error status instead of
  3721.     fatal error.
  3722.     * cp.c (copy): Change caller.
  3723.     (do_copy, copy_reg): Return error status instead of fatal error.
  3724.  
  3725.     * Move rename emulation from mv.c to dirlib.c so other
  3726.     programs can use it.
  3727.     * mv.c, ln.c (main): Recognize new options for making backups.
  3728.     * mv.c (do_move), ln.c (do_link): Make backups if requested.
  3729.     * mv.c, ln.c (usage): Update message.
  3730.     * backupfile.c, backupfile.h: New files.
  3731.  
  3732.     * cp.h: Ifdef out decl of umask because of SunOS 4.1 (POSIX) conflict.
  3733.  
  3734.     * Define all `main' functions as returning void.
  3735.  
  3736. Fri May 11 02:11:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3737.  
  3738.     * ln.c, mv.c, rm.c, rmdir.c, create.c, chmod.c: Change some
  3739.     error messages.
  3740.  
  3741.     * du.c, cp-aux.c (error): Function removed.
  3742.     Change callers to use error.c version.
  3743.     * cp.c (copy, do_copy, copy_dir): Return an error status.
  3744.     * ls.c (error, fatal, perror_with_name): Functions removed.
  3745.     Change callers to use error.c.
  3746.  
  3747. Sat May  5 23:46:48 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3748.  
  3749.     * ln.c (do_link): Don't allow trying to link a file to itself,
  3750.     because the source file would be removed if they are the same
  3751.     directory entry, and also for consistency with mv and cp.
  3752.  
  3753. Fri May  4 13:42:53 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3754.  
  3755.     * cp.c (copy_reg): Only write a null to the end of the file if
  3756.     the end of the file was sparse.
  3757.  
  3758.     * ls.c (print_name_with_quoting): Make the char to print
  3759.     unsigned to prevent sign extension problems with -b.
  3760.  
  3761. Fri Apr 20 13:52:15 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3762.  
  3763.     * Version 1.2 released.
  3764.  
  3765. Wed Apr 18 14:36:15 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3766.  
  3767.     * Makefile: Use chsize for ftruncate on Xenix.
  3768.  
  3769.     * cp.c (copy): Remove broken code that attempted to
  3770.     substitute for ftruncate on systems missing it.
  3771.  
  3772. Mon Apr 16 13:58:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3773.  
  3774.     * cp-aux.c (usage): Fix mistake in message.
  3775.  
  3776.     * Version 1.1 released.
  3777.  
  3778. Sat Apr 14 17:23:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3779.  
  3780.     * ls.c (main): Don't remove leading path from program_name.
  3781.     (basename): Function removed.
  3782.     (length_of_file_name_and_frills): Don't add 1 for type indicator
  3783.     for block and character special files.
  3784.  
  3785. Thu Apr 12 19:50:15 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3786.  
  3787.     * Makefile: Suggest using -DBLKSIZE=512 instead of 1024 for USG.
  3788.  
  3789.     * dd.c (copy): Print copying statistics when exiting because
  3790.     of a read or seek error.
  3791.     (interrupt_handler): New function.
  3792.     (main): Trap SIGINT to run interrupt_handler, for POSIX.
  3793.  
  3794. Tue Apr 10 01:09:38 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3795.  
  3796.     * chmod.c (change_file_mode): Don't change the mode of
  3797.     symbolic links.
  3798.  
  3799. Mon Apr  9 13:30:00 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3800.  
  3801.     * modechange.c (compile_mode): Return an error if an octal
  3802.     number argument is too large.
  3803.  
  3804. Sun Apr  8 20:33:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3805.  
  3806.     * dd.c: Use `error' instead of `fatal' and `pfatal_with_name',
  3807.     for greater control of the message format.
  3808.     * head.c, tail.c: Use `error' instead of `fatal_perror' and
  3809.     `nonfatal_perror'.  Remove some unnecessary info from messages.
  3810.     * chmod.c, create.c, ln.c, mkdir.c, mkfifo.c, mv.c, mv_dir.c,
  3811.     rm.c, rmdir.c: Remove definition of `error'.
  3812.     * error.c: New file created from code in mv.c.
  3813.     * Makefile: Link the above programs with error.o.
  3814.  
  3815.     * ln.c (do_link): Use eaccess_stat to determine writability.
  3816.     * mv.c (do_move): Ditto.
  3817.     * rm.c (remove_file): Ditto.
  3818.     (remove_dir): Use eaccess_stat to determine readability and
  3819.     searchability.  Move initial interactive query here from
  3820.     clear_directory.
  3821.     * Makefile: Link ln, mv, and rm with eaccess.o.
  3822.  
  3823. Sat Apr  7 11:47:52 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3824.  
  3825.     * Makefile: Link cp with eaccess.o.
  3826.     * eaccess.c: New file adapted from code in cp.c and cp-aux.c.
  3827.     * cp.c (copy): Use eaccess_stat to determine writability.
  3828.     Consider a file unwritable by root if it has no permissions.
  3829.     (main): Remove groups initialization code.
  3830.     * cp-aux.c (member): Function deleted.
  3831.  
  3832.     * cp.c (copy): Temporarily change the mode of directories if
  3833.     necessary to overwrite them when running recursively.
  3834.     Consider a directory to be non-overwritable if it lacks write
  3835.     permission as well as if it lacks execute permission.
  3836.  
  3837.     * rm.c, mv.c, mv_dir.c, chmod.c, create.c, ln.c: Remove some
  3838.     irrelevant or redundant information from error messages.
  3839.  
  3840. Fri Apr  6 15:20:45 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3841.  
  3842.     * cp.c (copy): Only change mode of regular files and directories;
  3843.     others are already correct.
  3844.  
  3845. Thu Apr  5 04:31:56 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3846.  
  3847.     * dd.c: Remove the vars that are set by command line options
  3848.     from a useless struct and give them more meaningful names.
  3849.  
  3850. Mon Apr  2 02:58:34 1990  David J. MacKenzie  (djm at spike.ai.mit.edu)
  3851.  
  3852.     * cp.c (main): Use NGROUPS from sys/param.h to determine
  3853.     whether BSD multiple groups are supported and how large to
  3854.     make the array.
  3855.     * Makefile: Remove references to GETGROUPS_MISSING.
  3856.  
  3857. Sun Apr  1 18:53:57 1990  David J. MacKenzie  (djm at spike.ai.mit.edu)
  3858.  
  3859.     * cp.c (main): Always initialize group info.
  3860.  
  3861. Sat Mar 31 22:29:57 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3862.  
  3863.     * mv.c [RENAME_MISSING] (rename): To rename directories, run
  3864.     setuid root mv_dir program.
  3865.  
  3866. Tue Mar 20 14:28:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  3867.  
  3868.     * touch.c: Remove POSIX_COMPAT ifdef since there is no reason
  3869.     to disable the GNU extensions.
  3870.     (main): Set new global var `program_name'.
  3871.     (error): Replace with more versatile version.
  3872.     Global: Change calls to fprintf and error to use the new error.
  3873.     (main): Initialize global variables.  Don't bother making
  3874.     temporary copy of arg to -d.  Don't ignore any files named on
  3875.     the command line if -i is given.
  3876.     (usage): Don't take an arg.  Use `program_name' instead of
  3877.     hardcoded name.
  3878.     (touch): In utime emulation for BSD, ftruncate the file to its
  3879.     original size so empty files stay empty after being touched.
  3880.  
  3881. Sun Mar 18 01:02:39 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3882.  
  3883.     * ln.c (strip_trailing_slashes): New function.
  3884.     (main, do_link): Call it.
  3885.  
  3886.     * cp-aux.c (strip_trailing_slashes): New function.
  3887.     * cp.c (do_copy): Call it.
  3888.     * cp.h: Declare it.
  3889.  
  3890.     * mv.c (strip_trailing_slashes): New function.
  3891.     (main, movefile): Call it.
  3892.  
  3893. Sat Mar 17 21:45:35 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3894.  
  3895.     * cp-aux.c, cp.h: Rename user_confirm_overwriting to yesno and
  3896.     don't have it print a prompt, so it can be used in several
  3897.     places.
  3898.  
  3899.     * cp.c (do_copy): Change an error message to resemble mv's.
  3900.     Remove all trailing slashes from all non-option args.
  3901.     (main): Set new global var `stdin_not_tty'.
  3902.     (copy): Use POSIX method of handling file overwriting and
  3903.     prompting.
  3904.  
  3905.     * dirlib.c (mkdir): Use chmod to set the directory mode after
  3906.     successful creation, so set[ug]id and sticky bits are set
  3907.     correctly.
  3908.  
  3909. Thu Mar 15 12:33:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3910.  
  3911.     * Makefile: Add commented out definitions for SCO Xenix.
  3912.  
  3913.     * ls.c (print_type_indicator): Don't print a '*' next to
  3914.     executable block or character special files.
  3915.  
  3916.     * chmod.c (error): New function, replacing nonfatal_perror,
  3917.     memory_out, and invalid_mode.
  3918.     Global: Call error instead of the above functions.
  3919.     (change_dir_mode): Make the new size of the path twice the
  3920.     size of the name that was too long, rather than twice its old
  3921.     size.
  3922.  
  3923.     * rm.c: Move interactive query about whether to remove a
  3924.     directory from remove_dir to clear_directory; only query for
  3925.     directories that are not empty.
  3926.  
  3927. Wed Mar 14 10:48:40 1990  David J. MacKenzie  (djm at rice-chex)
  3928.  
  3929.     * system.h [USG]: Define X_OK.
  3930.  
  3931.     * rm.c (main): Set new global var `stdin_not_tty'.
  3932.     (rm): Most of code moved to two new functions, remove_file and
  3933.     remove_dir.
  3934.     (remove_file): Use POSIX method of determining whether to remove
  3935.     non-directories.
  3936.     (remove_dir): Use POSIX method of determining whether to
  3937.     remove directories, almost.
  3938.     (perror_with_name): Function removed.
  3939.     (error): Simple version replaced with more powerful version.
  3940.     Global: Change calls to fprintf, perror_with_name, and old
  3941.     error to calls to new error.
  3942.  
  3943.     * ln.c (main): Set new global var `stdin_not_tty'.
  3944.     If force, turn off interactive.
  3945.     (do_link): By default, don't allow hard links to symbolic links to
  3946.     directories.  Use POSIX method of determining whether to
  3947.     overwrite destination.
  3948.     (yesno): Function renamed from confirm, and arg removed.
  3949.     (lisdir): Function removed.
  3950.  
  3951.     * mv.c (main): Set new global var `stdin_not_tty'.
  3952.     (yesno): Function renamed from yes.
  3953.     (do_move): Use POSIX method of determining whether to
  3954.     overwrite destination.
  3955.  
  3956.     * Makefile: Make executables depend on .o files, not .c files,
  3957.     to allow for parallel compilation.
  3958.  
  3959. Tue Mar 13 00:50:14 1990  David J. MacKenzie  (djm at rice-chex)
  3960.  
  3961.     * rm.c (main): Disallow removal of paths that have '..' as the
  3962.     final element.
  3963.     (basename): New function.
  3964.  
  3965.     * ls.c (print_type_indicator): Mark FIFOs with '|' and sockets
  3966.     with '='.
  3967.     (print_long_format): Print numbers as unsigned and add extra
  3968.     space for POSIX flag.
  3969.  
  3970.     * dd.c: Make the record counts unsigned.
  3971.     (quit): Print them as unsigned.
  3972.  
  3973.     * modechange.c (compile_mode): Only get umask value when needed.
  3974.     If users are not given or are `a', affect set?id and sticky bits.
  3975.     If memory is exhausted while allocating a new list element,
  3976.     free the old elements before returning.
  3977.  
  3978.     * Makefile (CC): Add comment noting that either fixincludes or
  3979.     -traditional needs to be used for gcc to compile ioctl calls
  3980.     correctly.
  3981.  
  3982. Mon Mar 12 16:25:23 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  3983.  
  3984.     * touch.c [UTIME_OF_NULL_MISSING]: Call lseek() before write().
  3985.  
  3986.     * posixtime.y [__GNUC__]: Use __builtin_alloca.
  3987.  
  3988. Fri Mar  9 10:25:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  3989.  
  3990.     * chmod.c (main): Recognize "a,+-=" as valid options.
  3991.  
  3992.     * mv.c: Move the code to copy files across filesystems from
  3993.     do_move to a new function, copy, which will eventually be
  3994.     replaced with modules from cp and rm (POSIX requires mv to
  3995.     move directories recursively across filesystems).
  3996.     (do_move): Don't query about overriding a mode that prohibits
  3997.     writing if interactive.  Remove unneeded variable.
  3998.     (copy): Unlink target if copy fails partway through.
  3999.  
  4000. Thu Mar  8 10:56:16 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4001.  
  4002.     * cp.c (copy): Don't remove a destination file of a different
  4003.     type unless +force is given.
  4004.  
  4005.     * ls.c (decode_switches, usage): Add -U (for "unsorted") as an
  4006.     equivalent to +sort=none.
  4007.  
  4008. Mon Mar  5 16:31:14 1990  Torbj|rn Granlund  (tege at echnaton)
  4009.  
  4010.     * cp.c (copy): Test for temporarily modified permission mode
  4011.       after the other test, so that `-p' work for files whose mode
  4012.       needed a temporary mode change.
  4013.     * cp.c (copy): Don't waste time calling unlink if we already
  4014.       know that the destination doesn't exists.
  4015.     * cp.c (comment before do_copy): Correct.
  4016.     * cp.c (comment before copy): Describe all params.
  4017.     * cp.c (copy): Only change permission mode for regular files
  4018.       and directories.
  4019.     * cp.c (copy): Unlink the destination file if its type is
  4020.       different from the source.  If the destination is a
  4021.       directory,  error.
  4022.  
  4023. Mon Mar  5 00:34:36 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4024.  
  4025.     * chmod.c (nonfatal_perror): Don't check for force_silent.
  4026.     (change_file_mode, change_dir_mode): If force_silent, don't
  4027.     print error messages.
  4028.  
  4029.     * mv.c (main): If force, turn off interactive.
  4030.     (do_move): Simplify check for query.  Rename `stb' to
  4031.     `to_stats' and `stbf' to `from_stats'.
  4032.     Return error condition if original file could not be renamed or
  4033.     unlinked.
  4034.  
  4035.     * rm.c: Rename global `force_flag' to `ignore_errors' and change its
  4036.     meaning so that it does not overlap with `override_mode'.
  4037.     (main): Have -f +force set override_mode.  If override_mode is
  4038.     set, turn off interactive.
  4039.     (rm): Simplify checks for whether to query the user, based on
  4040.     the new relationship between override_mode and interactive.
  4041.  
  4042. Sun Mar  4 23:39:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4043.  
  4044.     * ln.c (main): Reword an error message to be more like mv's.
  4045.  
  4046.     * rmdir.c: Move global `errors' into main instead of having
  4047.     error set it.
  4048.  
  4049.     * mkdir.c: Move global `errors' into main and have make_path
  4050.     return an error status instead of having error set it.
  4051.  
  4052.     * chmod.c: Move global `errors' into main and have
  4053.     change_file_mode and change_dir_mode return an error status
  4054.     instead of setting it in nonfatal_perror.
  4055.  
  4056. Sat Mar  3 13:59:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4057.  
  4058.     * ln.c (main): Don't strip leading dirs from argv[0].
  4059.  
  4060.     * ln.c (confirm), mv.c (yes, do_move),
  4061.     cp-aux.c (user_confirm_overwriting), rm.c (rm, yesno, check_stack):
  4062.     Print query messages to stderr instead of stdout, for POSIX.
  4063.     Include program name in messages.
  4064.  
  4065. Sat Mar  3 11:27:27 1990  Torbj|rn Granlund  (tege at echnaton)
  4066.  
  4067.     * cp.c (copy): Don't unlink directories with flag_force
  4068.       (`-f').  Also avoid using force when not necessary.
  4069.       Always copy fifo's and symbolic links as themselves.
  4070.  
  4071.     * cp.c (copy_reg): Make int scan first, char scan then, to
  4072.       find first non-zero byte.  This to avoid false hole
  4073.       creation.
  4074.  
  4075. Sat Mar  3 10:22:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4076.  
  4077.     * mv.c: Rename `pgm' to `program_name'.  Move global `errors'
  4078.     into main.  Have do_move and movefile return an error status
  4079.     instead having error set it.  Remove global vars `args'
  4080.     and `args_left'.
  4081.     (main): Rename `ac' and `av' to `argc' and `argv' and use them
  4082.     and `optind' instead of `args' and `args_left'.
  4083.  
  4084.     * cp.c (copy): Don't ignore errors other than EPERM from chown.
  4085.  
  4086. Fri Mar  2 16:20:57 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4087.  
  4088.     * rm.c (main, usage): Allow -R as a synonym for -r, for POSIX.
  4089.  
  4090.     * cp.c (copy): If flag_preserve, preserve the owner and group
  4091.     if possible, as well as mode.
  4092.     (main): Allow -R as a synonym for -r option, for POSIX.
  4093.     * cp-aux.c (usage): Mention -R.
  4094.  
  4095. Tue Feb 27 11:49:04 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4096.  
  4097.     * cp.c (copy): If not recursive, copy special files and
  4098.     symlinks like regular files and omit fifos.
  4099.  
  4100. Mon Feb 26 19:55:24 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  4101.  
  4102.     * ls.c (print_long_format): If time is in the future, print the year.
  4103.     Make the cutoff for old files 6 months not 300 days.
  4104.  
  4105. Mon Feb 26 13:31:07 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  4106.  
  4107.     * touch.c, Makefile: Use getdate.y instead of unctime.y.
  4108.  
  4109.     * touch.c: Remove posixtime.
  4110.     (main): Check for error from posixtime.
  4111.     posixtime.y: New file.
  4112.  
  4113.     * touch.c: Change a few cryptic error messages.
  4114.     Include <errno.h> not <sys/errno.h>.
  4115.     (just_set_amtime): New variable.
  4116.     (touch): Add if (just_set_amtime) code.
  4117.  
  4118. Mon Feb 26 15:03:29 1990  Torbj|rn Granlund  (tege at echnaton)
  4119.  
  4120.     * cp.c (copy): Test for recursive copy in DIR alternative in
  4121.       the switch statement, so all file types are copied correctly
  4122.       even in a non-recursive copy.
  4123.     * cp.c (copy): Return after having created a symlink, since
  4124.       chmod and utimes dereference, and would affect the symlink
  4125.       target.  Remove test for symlinks after switch.
  4126.  
  4127. Sun Feb 25 18:31:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4128.  
  4129.     * Makefile: Compile ls after vdir so systems with a cc that
  4130.     can't do -c -o don't have to compile ls.c twice for ls.
  4131.  
  4132.     * dd.c (usage): Add braces around alternatives.
  4133.  
  4134.     * ls.c (print_long_format): Always print the group, for POSIX.
  4135.     (decode_switches): Make -g option a no-op for BSD users.
  4136.     (usage): Remove +group option.
  4137.  
  4138. Wed Feb 21 11:13:26 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4139.  
  4140.     * ln.c (error): New function.
  4141.     (main, do_link): Call error instead of fprintf and exit.
  4142.     (main): Recognize new -d +directory option to allow superuser to
  4143.     make hard links to dirs, like the BSD ln -f option.
  4144.     (do_link): Don't allow hard links to dirs (they are hard to
  4145.     get rid of -- rmdir and unlink don't do it), unless -d was given.
  4146.     (usage): Mention -d +directory option.
  4147.  
  4148.     * rmdir.c (main): Remove trailing slashes from args (added by
  4149.     shell file completion but the rmdir syscall can't handle them).
  4150.     * mkdir.c (main): Remove trailing slashes from args, for
  4151.     uniformity with rmdir (you can't do file completion on dirs
  4152.     that haven't been made yet . . .).
  4153.  
  4154.     * mv.c: Rename global var `nargs' to `args_left' to avoid
  4155.     conflict with undocumented BSD libc function (the new name is
  4156.     clearer, anyway).
  4157.  
  4158. Tue Feb 20 17:09:19 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4159.  
  4160.     * dd.c: Use new global var `program_name' in error messages
  4161.     instead of hardcoded "dd".
  4162.     (main): Set program_name from argv[0].
  4163.  
  4164.     * chmod.c, head.c, tail.c (main): Don't strip leading dirs
  4165.     from argv[0].
  4166.     (basename): Function removed.
  4167.  
  4168.     * rm.c (main): Don't strip leading dirs from argv[0].
  4169.  
  4170. Mon Feb 19 14:34:18 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4171.  
  4172.     * rm.c (main): Strip trailing slashes from each arg.
  4173.  
  4174. Thu Feb 15 13:23:52 1990  David J. MacKenzie  (djm at rice-chex)
  4175.  
  4176.     * Makefile [HPUX CFLAGS]: Add -DUTIMES_MISSING.
  4177.  
  4178. Wed Feb 14 15:01:18 1990  David J. MacKenzie  (djm at rice-chex)
  4179.  
  4180.     * Makefile (dist): Don't make a non-compressed tar file.
  4181.  
  4182.     * mv.c (do_move): Refuse to copy non-regular files across filesystems.
  4183.  
  4184. Tue Feb 13 15:06:18 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  4185.  
  4186.     * touch.c (getname): New function.
  4187.     (main): Use it.
  4188.  
  4189. Mon Feb 12 11:30:45 1990  David J. MacKenzie  (djm at rice-chex)
  4190.  
  4191.     * ln.c (do_link): Check error return from unlink.
  4192.     Include errno.h.
  4193.  
  4194.     * du.c (main): Check error return from stat.
  4195.     (str_copyc, str_concatc): Don't return a value, since it is
  4196.     ignored.
  4197.  
  4198.     * cp.c (copy): Check error return from unlink and chmod.  Fix
  4199.     typo in call to error.
  4200.  
  4201.     * mv.c (do_move): Check error return of fchmod/chmod and utime[s].
  4202.     (rename): Check error return of unlink.
  4203.  
  4204.     * Makefile Definitions of preprocessor macros moved from
  4205.     cp.c and mv.c.  HAVE_FTRUNCATE changed to FTRUNCATE_MISSING.
  4206.     * Makefile, dirlib.c: NEED_MKDIR changed to MKDIR_MISSING.
  4207.     * mv.c, cp.c: Change USG ifdefs to UTIMES_MISSING.
  4208.  
  4209. Sun Feb 11 17:50:29 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4210.  
  4211.     * chmod.c (usage): Add yet another ellipsis.
  4212.  
  4213. Sun Feb 11 16:41:30 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  4214.  
  4215.     * cp.c (copy_reg): Use HAVE_FTRUNCATE to decide whether to
  4216.     use ftruncate().
  4217.     (main): Use GETGROUPS_MISSING to decide whether to use getgroups().
  4218.     [hpux || !USG]: Define HAVE_FTRUNCATE.
  4219.     [USG && !hpux]: Define GETGROUPS_MISSING.
  4220.     mv.c (rename): Put in #ifdef RENAME_MISSING not #ifdef USG.
  4221.     (do_move): Use FCHMOD_MISSING to decide whether to use fchmod().
  4222.     [USG && !hpux]: Define FCHMOD_MISSING and RENAME_MISSING.
  4223.  
  4224. Fri Feb  9 10:25:03 1990  David J. MacKenzie  (djm at rice-chex)
  4225.  
  4226.     * mv.c (movefile): Remove trailing slashes from FROM (some
  4227.     filename completion systems add them for dirs, and they cause
  4228.     the rename syscall to fail).
  4229.  
  4230. Thu Feb  8 22:50:12 1990  Torbj|rn Granlund  (tege at sics.se)
  4231.  
  4232.     * cp.c (copy_reg): Change error handling after lseek, since
  4233.       this is a fatal error.  Also change error message to
  4234.       something more generally understood.
  4235.     * Handle files that end in a zero block on USG systems.
  4236.  
  4237.     * cp-aux.c (error): Use FATAL to recog fatal errs.
  4238.  
  4239. Thu Feb  8 21:25:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4240.  
  4241.     * ln.c: Remove incorrect comment.
  4242.  
  4243.     * cp.c, cp-aux.c (usage): Change +dereference option to
  4244.     +no-dereference, since dereferencing is done by default and
  4245.     the option turns it off.
  4246.  
  4247. Mon Feb  5 17:29:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  4248.  
  4249.     * Version 1.0 released.
  4250.  
  4251. Local Variables:
  4252. mode: indented-text
  4253. left-margin: 8
  4254. version-control: never
  4255. End:
  4256.