home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 1 / FFMCD01.bin / useful / dist / gnu / fileutils / fileutils-3.6-amiga / changelog next >
Encoding:
Text File  |  1993-08-31  |  79.2 KB  |  2,295 lines

  1. Sat May 22 02:13:12 1993  Jim Meyering  (meyering@comco.com)
  2.  
  3.     * Version 3.6.
  4.  
  5. Fri May 21 18:42:27 1993  Jim Meyering  (meyering@comco.com)
  6.  
  7.     * rename.c (rename): Be careful not to unlink `from' if it happens
  8.     to be equal to `to' or (on filesystems that silently truncate
  9.     filenames after 14 characters) if `from' and `to' share the
  10.     significant characters.  From Bruno Haible
  11.     <haible@ma2s2.mathematik.uni-karlsruhe.de>.
  12.  
  13.     * mountlist.c, fsusage.c: Make these work under m88k DolphinOS.
  14.     From Kjetil Wiekhorst J|rgensen <jorgens@pvv.unit.no>.
  15.  
  16. Tue May 18 23:49:26 1993  Jim Meyering  (meyering@comco.com)
  17.  
  18.     * mkinstalldirs: New file.
  19.     * Makefile.in (installdirs): Use it.
  20.  
  21. Sat May 15 01:20:26 1993  Jim Meyering  (meyering@comco.com)
  22.  
  23.     * ln.c (do_link): Make `ln -s dir_pathname .' work when the
  24.     pathname has a trailing slash.
  25.  
  26. Fri May 14 23:45:52 1993  Jim Meyering  (meyering@comco.com)
  27.  
  28.     * all source: With --version, print version and exit immediately.
  29.  
  30. Wed May 12 20:48:55 1993  Jim Meyering  (meyering@comco.com)
  31.  
  32.     * configure.in: Add check for the -ldgc library that is required
  33.     for getmntent on m88k DGUX-5.4 systems.
  34.  
  35.     * Makefile.in (installdirs): New rules for creating installation
  36.     directories. (install): Depend on it.
  37.  
  38. Sat May  8 11:31:14 1993  Jim Meyering  (meyering@comco.com)
  39.  
  40.     * lib/Makefile.in (dist): Use `cp -p' instead of just `cp'
  41.     if linking fails.
  42.  
  43. Thu May  6 22:45:25 1993  Jim Meyering  (meyering@comco.com)
  44.  
  45.     * makepath.c: Use explicit dcl of errno only if !STDC_HEADERS.
  46.     Some systems have <errno.h> but don't declare errno.
  47.     From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>.
  48.  
  49.     * getdate.y: Test TIME_WITH_SYS_TIME, not TIME_AND_SYS_TIME.
  50.  
  51. Wed May  5 00:21:12 1993  Jim Meyering  (meyering@comco.com)
  52.  
  53.     * configure.in: Add AC_TIME_WITH_SYS_TIME.
  54.     * getdate.y: Use it (this is a version local to fileutils).
  55.  
  56. Tue May  4 20:25:41 1993  Jim Meyering  (meyering@comco.com)
  57.  
  58.     * du.c (count_entry): Give an error and exit if chdir ("..") fails.
  59.     From Bruce Evans <bde@runx.oz.AU>.
  60.  
  61.     * eaccess (eaccess_stat): Cast NGROUPS_MAX to appropriate types.
  62.     From Bruce Evans <bde@runx.oz.AU>.
  63.  
  64. Mon May  3 22:09:24 1993  Jim Meyering  (meyering@comco.com)
  65.  
  66.     * configure.in: Add AC_GETGROUPS_T.
  67.     * eaccess.c: Don't define GETGROUPS_T.  Now configure does it.
  68.  
  69. Sun May  2 09:18:53 1993  Jim Meyering  (meyering@comco.com)
  70.  
  71.     * configure.in: Check for libypsec.a on Dolphin M88K machines.
  72.     This can result in significant speedup for programs that access
  73.     YP information.  From Kjetil Wiekhorst J{\o}rgensen
  74.     <jorgens@pvv.unit.no>.
  75.  
  76. Fri Apr 30 02:21:48 1993  Jim Meyering  (meyering@comco.com)
  77.  
  78.     * ls.c (main): Make `-f' work like on standard Unix ls, instead
  79.     of as a short equivalent of --full-time.
  80.     * ls.1: Document it.
  81.  
  82. Thu Apr 29 00:46:46 1993  Jim Meyering  (meyering@comco.com)
  83.  
  84.     * src/Makefile.in [dir.o, vdir.o]: Make ordering of CFLAGS etc
  85.     in compilation rules consistent with that in .c.o rule.
  86.  
  87.     * Makefile.in (dist): Depend on Makefile so that changes to
  88.     Makefile.in (like adding new files to DISTRIB) are reflected
  89.     in the new distribution.
  90.  
  91. Tue Apr 27 21:35:11 1993  Jim Meyering  (meyering@comco.com)
  92.  
  93.     * configure.in: Remove unnecessary AC_PROG_INSTALL.
  94.  
  95. Fri Apr 23 23:39:16 1993  Jim Meyering  (meyering@comco.com)
  96.  
  97.     * {lib,src}/Makefile.in [.c.o]: Make CPPFLAGS and CFLAGS follow
  98.     other options so users can use them to override DEFS.
  99.  
  100.     * lib/mktime.c: Use new version from glibc instead of one from
  101.     libc-subst.  `touch' built with the latter didn't set proper
  102.     time unless given a specific --date option.
  103.  
  104. Thu Apr 22 00:22:25 1993  Jim Meyering  (meyering@comco.com)
  105.  
  106.     * makepath.c: Decouple inclusion of errno.h from definition of
  107.     STDC_HEADERS; many systems have errno.h, yet shouldn't define
  108.     STDC_HEADERS.
  109.     * makepath.c (make_path): Add EPERM clause only if both AFS and
  110.     EPERM are defined.
  111.     * configure.in: Test for errno.h header file.
  112.  
  113. Mon Apr 19 11:21:14 1993  Jim Meyering  (meyering@comco.com)
  114.  
  115.     * Version 3.5.
  116.  
  117.     * ls.c, touch.c: Don't include time.h explicitly -- it's included
  118.     by system.h.  From Franc,ois Pinard.
  119.  
  120.     * posixtm.y: Use TM_IN_SYS_TIME.
  121.  
  122.     * backupfile.c [index, rindex]: Don't redefine them.
  123.  
  124.     * system.h [alloca]: Don't redefine it.
  125.  
  126.     * configure.in: Check for sys/time.h; getdate.y needs it for
  127.     structs timeval and timezone on some systems.
  128.  
  129. Sun Apr 18 22:40:19 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  130.  
  131.     * ls.c: Include fnmatch.h after system.h, so we get our
  132.     definitions of FNM_*, not those from unistd.h.
  133.  
  134.     * mountlist.c [MOUNTED_GETMNTINFO]: Add #ifdef around MOUNT_PC.
  135.  
  136.     * configure.in: Fix test for 4.4BSD statfs to not grep for a
  137.     macro in cpp output.
  138.  
  139. Sun Apr 18 02:35:36 1993  Jim Meyering  (meyering@comco.com)
  140.  
  141.     * configure.in: Check for gettimeofday.
  142.     Check for `struct tm'.
  143.     Change MVDIR definition so it works with new AC_DEFINE.
  144.  
  145.     * system.h: Remove last vestiges of USG;  instead, use specific
  146.     test for TM_IN_SYS_TIME to determine whether to include time.h
  147.     or sys/time.h.
  148.  
  149.     * src/Makefile.in (install): Rewrite the test for whether to install
  150.     mvdir so that it doesn't cause gratuitous failures with broken shells.
  151.     Split long rule so the pieces fit in 80-column lines. 
  152.  
  153. Thu Apr 15 23:44:01 1993  Jim Meyering  (meyering@comco.com)
  154.  
  155.     * lib/Makefile.in (posixtm.c): Add dependency on getdate.c to enforce
  156.     sequential invocations of YACC.
  157.     * (posixtm.c, getdate.c): Remove use of `bison -o' and associated
  158.     conditional rename commands -- not needed since the parser generators
  159.     won't be run in parallel;  now bison (when used) is always invoked
  160.     with -y.
  161.  
  162. Tue Apr 13 09:18:18 1993  Jim Meyering  (meyering@comco.com)
  163.  
  164.     * configure.in: Find a parser generator.
  165.     * Makefile.in [MDEFINES]: Add YACC to the list of variables passed to
  166.     sub-makes.
  167.     * lib/Makefile.in (posixtm.c, getdate.c): Try first to build with
  168.     `bison -o' -- for parallel makes.  If that fails, use $(YACC).
  169.  
  170.     * posixtm.y [HAVE_MEMCPY && !HAVE_BCOPY]: Define bcopy in terms
  171.     of memcpy for old versions of bison that generate parsers that
  172.     use bcopy.
  173.  
  174.     * configure.in: Add tests for memcpy and bcopy.
  175.  
  176. Mon Apr 12 23:02:14 1993  Jim Meyering  (meyering@comco.com)
  177.  
  178.     * configure.in (mounted, space): Add filesystem checks for DEC Alpha
  179.     running OSF/1 to complement new code in mountlist.c and fsusage.c.
  180.  
  181.     * lib/mountlist.c (read_filesystem_list) [MOUNTED_GETFSSTAT]: Add code
  182.     to do it the OSF/1 way on a DEC alpha.
  183.     From Brian Fox (bfox@tinker.crseo.ucsb.edu).
  184.  
  185.     * lib/fsusage.c (get_fs_usage) [STATFS_OSF1]: Add code to call OSF/1's
  186.     variant of statfs.  From Brian Fox (bfox@tinker.crseo.ucsb.edu).
  187.  
  188. Sun Apr 11 20:29:31 1993  Jim Meyering  (meyering@comco.com)
  189.  
  190.     * df.c (main, show_dev): Don't list dummy (automounter) filesystems
  191.     unless they're explicitly listed on the command line or if the -a
  192.     option is given.
  193.  
  194. Fri Apr  9 11:40:48 1993  Jim Meyering  (meyering@comco.com)
  195.  
  196.     * src/Makefile.in [.c.o]: Put CFLAGS after include directives.
  197.  
  198. Wed Apr  7 23:54:48 1993  Jim Meyering  (meyering@comco.com)
  199.  
  200.     * eaccess.c: Undefine NGROUPS_MAX before redefining it.
  201.     From ghazi@caip.rutgers.edu (Kaveh R. Ghazi).
  202.  
  203. Mon Apr  5 20:14:17 1993  Jim Meyering  (meyering@comco.com)
  204.  
  205.     * chgrp.c, chmod.c, chown.c, install.c, ls.c, mkfifo.c, mknod.c,
  206.     touch.c: Add `case 0: break;' for long-only options help and version.
  207.  
  208. Sun Apr  4 09:38:00 1993  Jim Meyering  (meyering@comco.com)
  209.  
  210.     * src/*.c (usage): Mention --help and --version.
  211.     (main): Handle flag_help and flag_version before checking for
  212.     invocation errors.
  213.  
  214.     * cp.c (copy): Declare to be static.
  215.  
  216.     * cp.c (copy, make_path, re_protect): Explicitly cast alloca return
  217.     value to (char *).
  218.     * ln.c (do_link): Ditto
  219.     * mv.c (do_move): Ditto
  220.     * makepath.c (make_path): Ditto
  221.  
  222.     * lib/eaccess.c (eaccess_stat): Cast to unsigned the value to
  223.     be right-shifted to avoid ANSI vs K&R semantic ambiguity.
  224.  
  225.     * src/Makefile.in (incl): New variable.
  226.  
  227.     * chown.c (main): Explicitly cast -1 to [ug]id_t to avoid compiler
  228.     warnings.
  229.  
  230.     * cp.h: Remove unneeded extern dcl of exit_status.
  231.  
  232.     * basename.c [rindex]: Don't redefine it.
  233.     * system.h [rindex, incl, bcopy, bzero]: Ditto.
  234.     * userspec.c [index]: Ditto.
  235.  
  236.     * Makefile.in [CFLAGS, LDFLAGS]: Don't hard-code these; get their
  237.     definitions from configure.
  238.     * configure.in [CFLAGS, LDFLAGS]: Assign reasonable defaults.
  239.  
  240. Sat Apr  3 18:17:23 1993  Jim Meyering  (meyering@comco.com)
  241.  
  242.     * Makefile.in [Makefile]: Add dependencies and a rule to remake it.
  243.     [targets that cd then run make in subdirectories]: Don't depend
  244.     on `cd ..';  use a subshell instead.
  245.     [info, install-info, dvi, check, installcheck]: New targets but no
  246.     rules; comply with standards.
  247.  
  248.     * src/Makefile.in [.c.o, dir.o, vdir.o]: Put CFLAGS after DEFS and
  249.     CPPFLAGS per standards.texi.
  250.     Use automatically generated dependencies.
  251.  
  252.     * mvdir.c (main): Remove dcl of unused variable.
  253.  
  254. Thu Apr  1 18:05:48 1993  Jim Meyering  (meyering@comco.com)
  255.  
  256.     * install.c, chgrp.c, dd.c [isascii]: Undefine before redefining.
  257.  
  258.     * ls.c: Move some dcls so they appear before first function.
  259.  
  260.     * all programs: Add --help and --version options.
  261.     * version.c: Remove `Version: ' and newlines from version string.
  262.  
  263.     * dd.c: Convert usage to take no arguments.
  264.     * lib/Makefile.in [DISTFILES]: Add version.h.
  265.  
  266. Wed Mar 31 22:03:28 1993  Jim Meyering  (meyering@comco.com)
  267.  
  268.     * configure.in [MVDIR]: Don't quote right hand side.
  269.     * backupfile.c, chgrp.c, install.c: Define isascii macro to be 1
  270.     also if STDC_HEADERS.
  271.  
  272. Tue Mar 30 17:42:11 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  273.  
  274.     * ls.c: Add -G,--no-group option to inhibit display of group
  275.     infomation.
  276.     * ls.1: Document it.
  277.  
  278. Mon Mar 29 22:22:40 1993  Jim Meyering  (meyering@comco.com)
  279.  
  280.     * system.h [ST_NBLOCKS]:  Check also for __hpux.  From Henrik B}kman
  281.     <Henrik.Bakman@csd.uu.se>.
  282.  
  283. Sun Mar 28 21:22:30 1993  Jim Meyering  (meyering@comco.com)
  284.  
  285.     * Makefile.in (dist): Use cp when hard link fails.
  286.     Use tar-1.11.2's -z option instead of -Z.
  287.  
  288.     * makepath.c [index]: Don't redefine.
  289.  
  290. Fri Mar 26 00:32:39 1993  Jim Meyering  (meyering@comco.com)
  291.  
  292.     * df.c (add_excluded_fs_type, excluded_fs_type): New functions adding
  293.     support for --exclude-type option.  Derived from Kaveh R. Ghazi
  294.     <ghazi@caip.rutgers.edu>.
  295.  
  296.     * ls.c (decode_switches, print_long_format): New option: --full-time.
  297.     From K. Richard Pixley (rich@rtl.cygnus.com)
  298.  
  299. Thu Mar 25 21:02:36 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  300.  
  301.     * dirname.c [rindex]: Don't redefine.
  302.  
  303. Tue Mar 23 23:13:33 1993  Jim Meyering  (meyering@comco.com)
  304.  
  305.     * ls.c (gobble_file): Don't stat symlinks unless we need to.
  306.     From Mike Rendell <michael@mercury.cs.mun.ca>.
  307.  
  308.     * dd.c (copy, copy_with_block, copy_with_block): Decrement
  309.     pending_spaces only if it's > 0. The following command didn't
  310.     terminate:
  311.     perl -e 'print "a  a\n";'| dd of=/dev/null ibs=1 cbs=3 conv=unblock
  312.     With suggestions from Chris Weber <weber@bucknell.edu>,
  313.     Marlys.A.Nelson@uwrf.edu, and Albert-Lunde@nwu.edu.
  314.  
  315. Fri Mar 05 00:02:53 1993  Jim Meyering  (meyering@comco.com)
  316.  
  317.     * chmod.c: Add long-named options.
  318.  
  319. Mon Feb 15 23:34:55 1993  Jim Meyering  (meyering@comco.com)
  320.  
  321.     * rm.c (remove_file): Don't ask about overriding a mode if the
  322.     target is a symbolic link -- some systems (like SGI's Irix 4.0)
  323.     zero the permissions fields of symbolic links.
  324.     From Arne Henrik Juul (arnej@imf.unit.no).
  325.  
  326. Fri Dec 11 16:46:50 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  327.  
  328.     * rm.c (main): If -f is given, don't complain if no file args
  329.     are given.
  330.  
  331. Tue Dec  8 21:09:16 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  332.  
  333.     * posixtm.y: Include alloca.h if HAVE_ALLOCA_H, not if sparc.
  334.  
  335. Mon Dec  7 20:09:59 1992  Jim Meyering  (meyering@idefix.comco.com)
  336.  
  337.     * install.c (isnumber), chgrp.c (change_file_group): Define ISDIGIT
  338.     and use it instead of isdigit.
  339.  
  340.     * dd.c: Define ISLOWER and ISUPPER independent of STDC_HEADERS.
  341.     Define ISDIGIT and use it instead of isdigit.
  342.  
  343. Wed Dec  2 12:28:10 1992  Jim Meyering  (meyering@idefix.comco.com)
  344.  
  345.     * all files using getopt.h: Convert static declarations of
  346.     struct option to use new macros from getopt.h: no_argument,
  347.     required_argument, and optional_argument.
  348.  
  349. Tue Nov 24 07:54:45 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  350.  
  351.     * system.h: Use HAVE_FCNTL_H instead of USG.
  352.  
  353.     * xgetcwd.c: Use HAVE_GETCWD instead of USG.
  354.  
  355.     * backupfile.c, basename.c, dirname.c, idcache.c, makepath.c,
  356.     mountlist.c, stripslash.c, userspec.c, xstrdup.c, system.h:
  357.     Use HAVE_STRING_H instead of USG.
  358.  
  359.     * system.h: Use SYSDIR and NDIR instead of USG.
  360.     Define direct as dirent, not vice-versa.
  361.     * ls.c, rm.c, backupfile.c, savedir.c: Use `struct dirent',
  362.     not `struct direct'.
  363.  
  364. Thu Nov 12 23:10:56 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  365.  
  366.     * system.h: If dirent is #defined, don't define direct as dirent;
  367.     for Sinix.  Derived from Heinfried Korn (korn@med-in.uni-sb.de).
  368.  
  369. Mon Nov  9 14:13:57 1992  Jim Meyering  (meyering@idefix.comco.com)
  370.  
  371.     * fsusage.c (adjust_blocks): Reverse Oct 31 change --
  372.     the function is more readable than the macro.
  373.  
  374.     * All files in src: Make all functions and extern variables static.
  375.     Make all longopts arrays const as well as static.
  376.     Make a couple statically initialized aggregates `const.'
  377.  
  378. Sat Oct 31 16:32:17 1992  Jim Meyering  (meyering@idefix.comco.com)
  379.  
  380.     * fsusage.c (adjust_blocks): Convert to a macro.  The static
  381.     function wasn't always used.
  382.  
  383.     * makepath.c, cp.c, ls.c: Add parentheses to expressions
  384.     like (c = *p++) as per suggestion from gcc -Wall.
  385.  
  386.     * dd.c (swab_buffer): Fix typo that incremented pointer instead
  387.     of counter.  Add braces around static struct initializers.
  388.  
  389. Fri Oct 30 11:40:58 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  390.  
  391.     * ln.c, cp.c (main): Make -s on systems without symlinks an
  392.     error, not a warning.
  393.  
  394. Thu Oct 29 14:57:21 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  395.  
  396.     * Version 3.4.
  397.  
  398.     * cp.c (copy, re_protect), mv.c (copy_reg): Do utime and chown
  399.     before chmod, so set[ug]id bits don't get nuked.
  400.     Don't use fchmod.
  401.  
  402. Wed Oct 28 16:13:18 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  403.  
  404.     * cp.c, mv.c, ln.c: Rename some variables to use consistent
  405.     terminology: source and destination.
  406.  
  407.     * ln.c, mkdir.c, mkfifo.c, mknod.c: Don't strip trailing slashes.
  408.     * install.c: Don't strip slashes from dest. dirs.
  409.  
  410. Mon Aug 24 12:49:14 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  411.  
  412.     * xgetcwd.c: Make path_max unsigned, not long.  From Bruce Evans.
  413.  
  414. Sun Aug 23 03:06:04 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  415.  
  416.     * idcache.c: Use a union for uid_t and gid_t.  From
  417.     bde@runx.oz.au (Bruce Evans).
  418.  
  419.     * eaccess.c: Use NGROUPS_MAX if it's defined.  386BSD is like sun.
  420.  
  421. Sat Aug 22 02:36:49 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  422.  
  423.     * makepath.c: Use uid_t and gid_t.
  424.  
  425.     * system.h, makepath.c: Use HAVE_ALLOCA_H, not sparc.
  426.  
  427.     * cp.c (make_path, re_protect): Allocate room for terminating NULs.
  428.  
  429. Fri Aug 21 21:12:18 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  430.  
  431.     * fsusage.c [STAT_STATVFS]: Use f_bsize if f_frsize is 0.
  432.     From Paul M Reilly <pmr@rock.concert.net>.
  433.  
  434.     * xgetcwd.c [!errno]: Declare errno.  From Karl Berry.
  435.  
  436.     * chown.c (main, change_file_owner, change_dir_owner): Use
  437.     uid_t and gid_t.  From Rob McMahon <cudcv@csv.warwick.ac.uk>
  438.     and glaze@cs.mu.oz.au (Glaze).
  439.  
  440. Thu Jul 23 14:29:17 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  441.  
  442.     * Version 3.3.
  443.  
  444. Sat Jul 18 20:12:56 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  445.  
  446.     * idcache.c: Use uid_t and gid_t.
  447.     (getuidbyname, getgidbyname): New functions, for cpio.
  448.  
  449.     * userspec.c: New file, from code in chown.c.
  450.     * chown.c: Use it.
  451.  
  452. Fri Jul 17 00:43:38 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  453.  
  454.     * system.h: Protect from getopt prototype in stdlib.h.
  455.  
  456.     * ls.c [_AIX]: Include sys/ioctl.h.
  457.     * fsusage.c: Include sys/vfs.h if AIX PS/2, but not if RS6000.
  458.     From tranle@intellicorp.com (Minh Tran-Le).
  459.  
  460.     * mvdir.c: Declare getcwd.  From Francois Pinard.
  461.  
  462.     * chown.c, chgrp.c, install.c [_POSIX_SOURCE]: Define endpwent
  463.     and endgrent as empty.
  464.  
  465.     * makepath.c (make_path): Add cast to alloca call.
  466.     From Jim Meyering.
  467.  
  468.     * cp.c (copy, re_protect), mv.c (copy_reg): Notify root of
  469.     EPERM errors from chown.
  470.     * makepath.c, install.c [AFS]: Ignore EPERM from chown.
  471.  
  472.     * system.h (ST_NBLOCKS) [_AIX && _I386]: st_blocks is in 4K units.
  473.     * fsusage.c (statfs) [_AIX && _I386]: Supply this function.
  474.     From tranle@intellicorp.com (Minh Tran-Le).
  475.  
  476. Thu Jul 16 23:08:39 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  477.  
  478.     * df.c (print_header, show_dev): In inode format, print the
  479.     total number of inodes as well.
  480.  
  481.     * fsusage.[ch], df.c (show_dev): Count internally using
  482.     512-byte blocks, not 1024-byte, to avoid rounding errors.
  483.  
  484. Mon Jul  6 20:03:54 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  485.  
  486.     * rename.c: Use S_ISDIR instead of S_IFDIR.
  487.  
  488. Fri Jul  3 14:36:34 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  489.  
  490.     * fileblocks.c, system.h, cp.c, dd.c, mv.c, touch.c: Change
  491.     FOO_MISSING to HAVE_FOO.
  492.  
  493. Wed Jun  3 19:28:04 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  494.  
  495.     * xgetcwd.c (xgetcwd): Accept errno==EINVAL as nonfatal.
  496.  
  497. Wed May 20 00:05:52 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  498.  
  499.     * system.h: If we include a header file specifically to get
  500.     major et al., assume we have them.
  501.  
  502. Mon May 11 20:04:10 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  503.  
  504.     * chgrp.c, chown.c: --show-changes -> --changes.
  505.  
  506. Sat May  9 18:39:38 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  507.  
  508.     * system.h: Define DEV_BSIZE if not defined.
  509.  
  510. Thu Apr 30 13:55:37 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  511.  
  512.     * du.c (count_entry): Remove the trailing "/" before printing.
  513.  
  514. Wed Apr 29 11:34:38 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  515.  
  516.     * rename.c (rename): If removing `from' fails, remove `to' to
  517.     clean up.  From Matthew Farwell <dylan@ibmpcug.co.uk>.
  518.  
  519. Thu Apr 23 21:14:16 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  520.  
  521.     * ls.c (gobble_file): Only read the link contents if -l or the
  522.     file was named on the command line.
  523.  
  524. Wed Apr 22 02:16:38 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  525.  
  526.     * fsusage.c (get_fs_usage) [STAT_STATFS4 and _SEQUENT_]: Has f_bavail.
  527.     From Donn Cave <donn@carson.u.washington.edu>.
  528.  
  529.     * getversion.c (get_version): If given invalid arg, exit.
  530.  
  531.     * cp.c (copy): Fix mode with chmod if copying as a regular file.
  532.  
  533.     * system.h, dd.c: SIGTYPE -> RETSIGTYPE.
  534.  
  535. Sat Apr 18 00:18:41 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  536.  
  537.     * fsusage.[ch] (get_fs_usage): Take another arg, the device name.
  538.     * fsusage.c (get_fs_usage) [STAT_READ]: Fix number of inodes
  539.     calculation.  Use the device name.  From Brian Matthews.
  540.     * df.c (show_dev): Pass the device name.
  541.  
  542. Fri Apr 17 11:25:28 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  543.  
  544.     * fsusage.c: Special-case AIX.
  545.  
  546.     * mountlist.c [MOUNTED_VMOUNT]: New code for AIX, from
  547.     Garrett A. Wollman (wollman@uvm.edu).
  548.  
  549.     * ls.c (gobble_file): Use stat, not lstat, on symlinked-to
  550.     file, for Unix compat.  From ian@airs.com (Ian Lance Taylor).
  551.  
  552. Mon Apr  6 14:16:06 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  553.  
  554.     * xgetcwd.c: Include stdio.h to get NULL.
  555.  
  556. Thu Apr  2 14:41:18 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  557.  
  558.     * df.c: Call sync only once, instead of once per filesystem.
  559.  
  560. Wed Apr  1 16:00:08 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  561.  
  562.     * Version 3.2.
  563.  
  564. Tue Mar 31 13:39:06 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  565.  
  566.     * df.c (main): stat all arg pathnames before getting
  567.     list of mounted filesystems.
  568.     (show_entry, show_point): Take a struct stat * as another arg,
  569.     to avoid repeatedly statting files.
  570.  
  571. Mon Mar 30 12:21:28 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  572.  
  573.     * install.c (main): Allow symbolic modes for -m.
  574.     (atoo): Function removed.
  575.  
  576.     * mkdir.c (main): Include invalid -m arg in error message.
  577.  
  578.     * fsusage.c (get_fs_usage) [STAT_STATFS4]: Go back to using
  579.     512 instead of f_bsize.  Empirically, it gives the right answer.
  580.  
  581.     * mvdir.c (main): Don't deref NULL pointer on last iteration
  582.     of loop.
  583.  
  584.     * fsusage.c (adjust_blocks): New function.
  585.     (get_fs_usge): Call it.
  586.  
  587.     * mvdir.c (main): Don't possibly try to use ".." entry of new dir
  588.     before creating it.
  589.  
  590.     * fsusage.c (get_fs_usage) [STAT_STATFS4]: Use f_bsize member
  591.     of struct statfs.
  592.  
  593. Sat Mar 28 00:36:57 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  594.  
  595.     * dd.c (copy_simple, copy_with_block, copy_with_unblock,
  596.     translate_buffer, swab_buffer): New functions, mostly made
  597.     from code taken from copy.  Incorporate some optimizations due
  598.     to Stuart Kemp: For each type of conversion, only check
  599.     whether to do it once per buffer read, instead of once per character.
  600.     (copy): If conv=block and the input didn't end with a newline,
  601.     pad the final block with spaces.
  602.  
  603. Wed Mar 25 14:35:17 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  604.  
  605.     * system.h: Don't use BSIZE for calculating ST_BLKSIZE if it
  606.     isn't defined.
  607.  
  608.     * mountlist.c [MOUNTED_FREAD], fsusage.c [STAT_READ]: New code
  609.     for SVR2, from archive@ideahb.sublink.org (Lele Gaifax).
  610.  
  611. Tue Mar 24 14:53:19 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  612.  
  613.     * mvdir.c: Use getcwd, not getwd.
  614.  
  615.     * system.h, xgetcwd.c: Redo how PATH_MAX is figured out, to
  616.     work on SVR3.
  617.  
  618.     * fsusage.c, mountlist.c: New files split from fsinfo.c.
  619.     Revise conditionals to make the two files independant of each other.
  620.     * fsusage.h, mountlist.h: New files split from fsinfo.h.
  621.     * df.c: Use them.
  622.  
  623. Mon Mar 23 13:01:07 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  624.  
  625.     * fsinfo.c (read_filesystem_list): Take another arg, all_fs.
  626.     [FS_MNTENT]: Ignore type "auto" (from amd) as well as "ignore"
  627.     (from automounter), if not all_fs.
  628.     * df.c (main): Pass the new arg.
  629.  
  630.     * fsinfo.h: Add function decls.
  631.  
  632.     * chown.c, chgrp.c, chmod.c: Remove -L option.  Didn't handle
  633.     changing symlinks correctly and wasn't very useful.
  634.  
  635. Sat Mar 14 17:38:38 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  636.  
  637.     * dirname.c (dirname): Don't use strdup.
  638.  
  639. Fri Mar 13 14:56:15 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  640.  
  641.     * rm.c (remove_file, remove_dir, clear_directory): If -f was
  642.     given, don't complain about ENOENT when removing.
  643.  
  644. Mon Mar  9 00:09:48 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  645.  
  646.     * install.c (main): Allow making multiple dirs with -d.
  647.     (usage): Document it.
  648.     * makepath.c (make_path): Clear umask while working and
  649.     restore it when done.  chmod dirs that should have
  650.     set[ug]id or sticky bits set, if we're chowning them.
  651.     Make chown failure nonfatal.  Do chmod after chown, not before.
  652.  
  653.     * du.c (count_entry): Set exit_status on nonfatal error.
  654.     (main): Use it.
  655.  
  656. Sun Mar  8 22:07:50 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  657.  
  658.     * du.c (du_files): New function, from code in main.
  659.     Use xgetcwd instead of getcwd or getwd.
  660.     * system.h: Don't declare getcwd or getwd.
  661.  
  662.     * xgetcwd.c: New file.
  663.  
  664.     * ls.c (main): Exit with `exit_status' instead of 0.
  665.     (print_dir, gobble_file, get_link_name): Set exit_status on error.
  666.  
  667.     * ls.c (print_long_format): Allow a slop factor for deciding
  668.     what is in the future.
  669.  
  670.     * All programs: Change usage messages and documentation for
  671.     long options to use -- instead of +.
  672.  
  673.     * df.c (main, usage): Add -v option for SysV compat.
  674.  
  675. Tue Feb  4 12:45:09 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  676.  
  677.     * fileblocks.c [!NINDIR]: Try to fake indirect block info for
  678.     systems that don't define it.
  679.  
  680. Thu Jan 16 01:04:16 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  681.  
  682.     * df.c (print_header): Capitalize some header words for
  683.     POSIX.2a draft 8.
  684.  
  685. Sat Jan  4 01:19:25 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  686.  
  687.     * posixtm.y: Capitalize token name.
  688.  
  689. Tue Dec 24 01:05:44 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  690.  
  691.     * system.h, makepath.c, idcache.c, eaccess.c, backupfile.c,
  692.     install.c, dd.c, chown.c, chgrp.c: Change POSIX ifdefs to
  693.     HAVE_UNISTD_H.
  694.  
  695. Wed Dec 18 16:42:00 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  696.  
  697.     * system.h: To get major, minor and makedev, don't check for
  698.     _POSIX_SOURCE and USG; use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS.
  699.  
  700. Mon Dec 16 18:16:42 1991  David J. MacKenzie  (djm at wombat.gnu.ai.mit.edu)
  701.  
  702.     * dd.c (skip): Fix typos in arg name.
  703.     (output_char): Fix off by one error in check.
  704.  
  705. Sun Dec  8 19:55:06 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  706.  
  707.     * system.h: Only define major et al. if not already defined.
  708.  
  709. Fri Dec  6 18:26:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  710.  
  711.     * dd.c (main) [POSIX]: Use sigaction instead of signal, which
  712.     POSIX doesn't have.
  713.  
  714.     * df.c, du.c, ls.c: POSIX_ME_HARDER -> POSIXLY_CORRECT.
  715.  
  716. Wed Dec  4 14:30:16 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  717.  
  718.     * dd.c: Cleanups, mostly from Stuart Kemp:
  719.     (output_char): New macro, from code in copy.
  720.     (write_output): New function, used by output_char, from code
  721.     in copy.
  722.     (skip): New function, from code in copy.
  723.     (copy): Use output_char and skip.
  724.     Simplify test for quitting before main loop.
  725.     Zero buffer using bzero for speed.
  726.  
  727. Sun Nov 17 19:39:04 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  728.  
  729.     * fsinfo.c (get_fs_usage) [FS_MNTENT]: Take blocksize into account.
  730.     (read_filesystem_list) [FS_MNTENT]: Ignore filesystems of type
  731.     "ignore" (automounter dummy entries).
  732.  
  733.     * install.c (change_attributes): Do chmod even if chown fails.
  734.  
  735. Thu Oct 24 23:50:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  736.  
  737.     * chown.c (change_file_owner), chgrp.c (change_file_group):
  738.     don't skip symlinks, since the chown system call works on them.
  739.  
  740. Fri 18 Oct 1991 23:29:24  Jim Meyering  (meyering at wombat)
  741.  
  742.     * configure: fixed test to detect sequent's strange interpretation
  743.     of utime(file, NULL).
  744.  
  745. Fri Oct 18 00:30:42 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  746.  
  747.     * eaccess.c: GID_T -> GETGROUPS_T, for clarity.
  748.  
  749. Sat Oct 12 12:25:55 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  750.  
  751.     * configure: Define uid_t and gid_t as int if they're not
  752.     defined in sys/types.h.  That's probably right for old Unixes
  753.     and avoids trying to find the C preprocessor.
  754.  
  755.     * df.c: Don't declare sync, to avoid conflict with Minix (and
  756.     maybe others) unistd.h.
  757.     (show_point): Cast -1 to dev_t before comparing, in case dev_t
  758.     is unsigned.  From Rainer Orth.
  759.  
  760.     * chown.c [!POSIX]: Declare getgrgid.
  761.  
  762. Fri Sep 13 14:55:41 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  763.  
  764.     * eaccess.c [POSIX]: Always use sysconf to get NGROUPS_MAX.
  765.  
  766. Thu Sep  5 23:40:39 1991  David J. MacKenzie  (djm at apple-gunkies)
  767.  
  768.     * system.h: Instead of defining getwd in terms of getcwd with
  769.     PATH_MAX as an arg (which might be -1 on POSIX), define getcwd
  770.     in terms of getwd.
  771.     * du.c (main): Call getcwd with path_max as an arg.
  772.  
  773.     * install.c (change_attributes): Do chown before chmod, so
  774.     chown doesn't remove set[ug]id bits.
  775.  
  776. Wed Aug 28 20:53:50 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  777.  
  778.     * Version 3.1.
  779.  
  780. Mon Aug 26 15:44:16 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
  781.  
  782.     * du.c (main): If pathconf fails, use 1024 for PATH_MAX.  This
  783.     happens if "/" is NFS-mounted.
  784.  
  785. Sun Aug 25 00:56:11 1991  David J. MacKenzie  (djm at apple-gunkies)
  786.  
  787.     * df.c, fsinfo.c, fsinfo.h: New program.
  788.     * configure: Check for various ways of getting info on mounted
  789.     filesystems. 
  790.  
  791. Thu Aug 22 10:53:23 1991  David J. MacKenzie  (djm at apple-gunkies)
  792.  
  793.     * src/Makefile.in: Workaround #10006 for C compilers that are
  794.     too dumb to allow -c and -o together.  Copy the source files.
  795.     * system.h: Moved from src to lib to avoid having to add yet
  796.     more -I options to CFLAGS.
  797.  
  798.     * du.c, ls.c: If POSIX_ME_HARDER is set in environment, use
  799.     512-byte blocks by default.
  800.  
  801. Wed Aug 21 13:03:14 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  802.  
  803.     * Version 3.0.
  804.  
  805.     * du.c, ls.c: Make 1K blocks the default size, and -k a no-op.
  806.     Down with dumb standards!
  807.  
  808.     * system.h, backupfile.c, savedir.c [VOID_CLOSEDIR]: Fake a
  809.     return value for closedir, which returns void on some systems,
  810.     like Sequents.
  811.     * configure: Check sys/dir.h for 'void closedir'.
  812.  
  813. Tue Aug 20 22:22:47 1991  Jim Meyering  (meyering at nutrimat)
  814.  
  815.     * mvdir.c (main):  Clean up loop to stat component
  816.     directories -- as in makepath and pathchk.
  817.  
  818. Tue Aug 20 22:10:47 1991  Jim Meyering  (meyering at nutrimat)
  819.  
  820.     * dirname.c (dirname):  Allocate exact amount of space
  821.     needed for result.
  822.  
  823. Tue Aug 20 02:13:40 1991  David J. MacKenzie  (djm at apple-gunkies)
  824.  
  825.     * savedir.c (savedir): Try to open directory before allocating
  826.     buffer.  From Jim Meyering.
  827.  
  828. Mon Aug 19 01:14:13 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  829.  
  830.     * Many files: indent '#pragma alloca' so non-ANSI compilers
  831.     don't choke on it.
  832.  
  833.     * backupfile.c (max_backup_version): Check closedir return
  834.     value (though it might not do any good).
  835.  
  836. Tue Aug  6 20:50:56 1991  David J. MacKenzie  (djm at wheat-chex)
  837.  
  838.     * configure, Makefile.in's: Support +srcdir option, using VPATH.
  839.     Don't check for bison, just try it and if it fails use yacc.
  840.     Create config.status.  Fix up clean targets.
  841.  
  842.     * posixtm.y (posixtm): New function.
  843.  
  844.     Most of the following is from Paul Eggert:
  845.     * savedir.c (savedir), ls.c (print_dir), rm.c
  846.     (clear_directory): Check closedir return for errors.
  847.     * dd.c (main): Check for stdin or stdout being closed.
  848.     * dd.c (quit), install.c (copy_file): Check for close errors.
  849.     * mv.c (copy): Was missing a close.
  850.  
  851. Sat Aug  3 02:05:51 1991  David J. MacKenzie  (djm at apple-gunkies)
  852.  
  853.     * ln.c: Declare link() unconditionally (SCO UNIX needs it).
  854.  
  855. Tue Jul 30 00:23:19 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  856.  
  857.     * configure: NEED_TZSET has become FTIME_MISSING.
  858.  
  859.     * configure: Define uid_t and gid_t if sys/types.h doesn't.
  860.  
  861. Sat Jul 27 00:55:16 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  862.  
  863.     * configure: Only compile fileblocks.c if st_blocks is missing.
  864.  
  865.     * cp.c (copy): Make directories with initial mode of source
  866.     permissions minus umask, plus 0700.  For POSIX and John Gilmore.
  867.  
  868.     * system.h: Include errno.h and, if STDC_HEADERS, stdlib.h.
  869.     * All programs: Remove includes of those files.
  870.  
  871.     * ftruncate.c: New file.
  872.     * configure: Use it if needed.
  873.  
  874. Wed Jul 24 02:09:45 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  875.  
  876.     * ls.c (get_name_link), cp.c (copy) [_AIX]: Allocate extra
  877.     space for the buffer, since st_size is wrong.
  878.  
  879.     * system.h: Don't declare alloca for AIX.
  880.     * makepath.c, posixtm.y, cp.c, du.c, ln.c, ls.c, mv.c:
  881.     Declare alloca first (AIX needs it).
  882.  
  883.     * cp.c, dd.c, touch.c: Use SEEK_ instead of L_.
  884.     * system.h: Define SEEK_ if not defined.
  885.  
  886. Tue Jul 23 15:02:20 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  887.  
  888.     * eaccess.c: GID_T is int if ultrix as well as if sun.
  889.  
  890. Mon Jul 22 11:39:31 1991  David J. MacKenzie  (djm at bleen)
  891.  
  892.     * install.c: Use uid_t and gid_t.
  893.  
  894.     * eaccess.c: Support POSIX method of getting multiple groups.
  895.  
  896.     * xmalloc.c (xmalloc, xrealloc): Exit with value 2 on error,
  897.     not 1, so cmp can use it.
  898.  
  899. Sat Jul 20 14:24:40 1991  David J. MacKenzie  (djm at bleen)
  900.  
  901.     * Move cat cmp cut expand head paste split tac tail unexpand
  902.     to textutils.
  903.  
  904.     * system.h [MKFIFO_MISSING]: Define mkfifo macro.
  905.     * cp.c, mkfifo.c: Don't define it.
  906.  
  907.     * mknod.c, gmknod.1: New files.
  908.  
  909. Fri Jul 19 13:43:01 1991  David J. MacKenzie  (djm at apple-gunkies)
  910.  
  911.     * version.c: New file.
  912.     * All C programs: Link with it, to get version number in the
  913.     binary where at least `strings -' and GNU grep can find it.
  914.  
  915. Mon Jul 15 13:46:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  916.  
  917.     * configure: Also look in sys/signal.h for signal decl.
  918.  
  919. Sun Jul 14 22:43:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  920.  
  921.     * Rename touchtm.y back to posixtm.y, as the date command will
  922.     use it too.
  923.  
  924. Mon Jul  8 22:56:36 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  925.  
  926.     * Replace lib/Makefile with lib/Makefile.in.
  927.     * configure: For some library functions that might be missing,
  928.     conditionally add the .o files to lib/Makefile instead of
  929.     defining func_MISSING.
  930.     * lib/mkdir.c: Renamed from lib/mkrmdir.c.
  931.  
  932. Sat Jul  6 02:19:09 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  933.  
  934.     * xstrdup.c [STDC_HEADERS]: Include string.h.
  935.  
  936.     * stripslash.h: Include string header file.
  937.  
  938.     * configure: Add to DEFS if Minix.
  939.  
  940.     * system.h [_POSIX_SOURCE]: Make ST_BLKSIZE 1024 instead of
  941.     512, for better performance.
  942.  
  943.     * system.h, configure: If sys/mkdev.h exists, use it instead
  944.     of sys/sysmacros.h.
  945.  
  946.     * configure: echo messages to stdout, not stderr.
  947.     Use test programs to see if alloca needs -lPW and if chars are
  948.     unsigned. 
  949.  
  950. Tue Jul  2 03:16:32 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  951.  
  952.     * chown.c, chgrp.c [!POSIX]: Declare pwd.h and grp.h functions.
  953.  
  954. Sat Jun 29 16:46:12 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  955.  
  956.     * cp.h: Don't declare `open', to avoid conflict with varargs
  957.     prototypes.
  958.  
  959.     * chown.c, chgrp.c: Include sys/types.h before, not after,
  960.     pwd.h and grp.h, to get uid_t and gid_t if necessary.
  961.  
  962. Fri Jun 28 01:12:45 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  963.  
  964.     * ls.c: Use time_t instead of long, where appropriate.
  965.  
  966. Thu Jun 27 16:31:45 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  967.  
  968.     * touchtm.y: Renamed from posixtime.y for SysV systems with Bison.
  969.  
  970.     * configure: No longer need to pass bison the -y option.
  971.     Now lib/Makefile should allow a parallel make with bison.
  972.  
  973.     * cp.c (copy_reg), cat.c (main),
  974.     touch.c (touch, utime_now), mv.c (copy): Check close return
  975.     value for delayed error report due to NFS.
  976.  
  977. Thu Jun 20 01:33:06 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  978.  
  979.     * configure: Include $DEFS when compiling test programs.
  980.  
  981.     * configure: Use test programs instead of grep to check for
  982.     USG, POSIX, and ANSI C headers, in case symbols are defined in
  983.     header files included by the standard ones.  Check for BSD
  984.     memory functions (bcopy et al.) as well as string functions.
  985.     Add notice to top of generated Makefile saying that it's
  986.     automatically generated.
  987.  
  988. Thu Jun 13 00:50:18 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  989.  
  990.     * Version 2.1.
  991.  
  992.     * configure: If rename is missing, define MVDIR.
  993.     Use , instead of / as sed substitution separator so variables'
  994.     values can contain slashes.
  995.  
  996.     * du.c (main): Use alloca to allocate `wd' instead of making
  997.     it an auto array, since PATH_MAX might be a call to pathconf.
  998.  
  999. Wed Jun 12 19:56:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1000.  
  1001.     * cp-aux.c (usage), install.c (usage), ln.c (usage), mv.c
  1002.     (usage): Combine the option lists for the multiple usage forms.
  1003.  
  1004. Tue Jun 11 00:12:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1005.  
  1006.     * idcache.c: pwd.h and grp.h might need sys/types.h.
  1007.  
  1008.     * configure: Create Makefile from Makefile.in instead of
  1009.     makefile from makefile.skel, to more closely follow the new
  1010.     GNU coding standards.
  1011.  
  1012.     * ls.c (file_interesting): Use POSIX.2 fnmatch instead of glob_match.
  1013.  
  1014.     * configure: If $RANDOM is implemented (ksh, bash or zsh), use
  1015.     the `type' builtin to determine if gcc, bison, ranlib are
  1016.     available.  ksh writes "fubar: command not found" to stderr,
  1017.     foiling the test -n "`command 2>&1`" method.
  1018.     Remove makefile on signal.
  1019.  
  1020.     * system.h: Include sys/param.h if not _POSIX_SOURCE instead
  1021.     of if not POSIX, to get DEV_BSIZE.
  1022.  
  1023.     * makepath.c, posixtime.y, system.h: Add _AIX case to alloca decl.
  1024.  
  1025. Sun Jun  9 01:26:27 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1026.  
  1027.     * Version 2.0.
  1028.  
  1029.     * basename.c, dirname.c: Use str[r]chr and string.h if
  1030.     STDC_HEADERS as well as if USG.
  1031.  
  1032.     * touch.c (utime_now): Created from code in touch ().
  1033.  
  1034. Sat Jun  8 11:02:32 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1035.  
  1036.     * backupfile.c: Use POSIX instead of _POSIX_SOURCE to
  1037.     determine whether to check whether readdir returned a valid
  1038.     entry. 
  1039.  
  1040. Fri Jun  7 21:44:51 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1041.  
  1042.     * fileblocks.c (st_blocks), system.h (ST_NBLOCKS): Always
  1043.     return number of 512 byte blocks, not DEV_BSIZE blocks.
  1044.     (convert_blocks): Always expect 512-byte blocks.
  1045.  
  1046. Thu Jun  6 12:54:26 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1047.  
  1048.     * system.h [POSIX]: If PATH_MAX not defined, use pathconf.
  1049.     Remove NAME_MAX stuff; not used.
  1050.  
  1051.     * system.h: Make #include <strings.h> depend on not (USG or
  1052.     STDC_HEADERS) instead of not (USG or POSIX).
  1053.  
  1054.     * configure: New shell script to aid compilation.
  1055.  
  1056. Mon Jun  3 16:42:41 1991  David J. MacKenzie  (djm at wheat-chex)
  1057.  
  1058.     * cp.h: Remove some decls of functions returning int that
  1059.     conflict with prototypes on HPUX.
  1060.  
  1061.     * cp.c (make_path, re_protect): New functions from Jim
  1062.     Meyering.  Changes to other functions as well, to add +path,
  1063.     +link, +symbolic-link options.
  1064.  
  1065. Sun Jun  2 15:45:24 1991  David J. MacKenzie  (djm at wheat-chex)
  1066.  
  1067.     * most files: use GPL version 2.
  1068.  
  1069. Sat Jun  1 20:17:35 1991  David J. MacKenzie  (djm at wheat-chex)
  1070.  
  1071.     * rm.c, backupfile.c: If _POSIX_SOURCE, don't refer to d_ino.
  1072.  
  1073. Sun May 19 18:42:09 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  1074.  
  1075.     * touch.c: Renamed getdate to get_date to avoid SVR4 conflict.
  1076.  
  1077. Thu May 16 23:12:01 1991  David J. MacKenzie  (djm at albert.gnu.ai.mit.edu)
  1078.  
  1079.     * cp.c, mv.c, ln.c: Use alloca and strcpy directly instead of
  1080.     in a macro for generating backup filename.  The latter
  1081.     sometimes coredumps for some reason.
  1082.  
  1083. Sat Apr 20 00:03:09 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1084.  
  1085.     * dd.c: Add conv=notrunc and truncate output file by default,
  1086.     for POSIX.
  1087.  
  1088.     * rm.c (rm): Refuse to remove path/. and path/.., as well as `.'
  1089.     and `..', for POSIX.
  1090.  
  1091.     * chown.c: Allow `:' as well as `.' to separate group from
  1092.     user, for POSIX.2 draft 11.
  1093.  
  1094.     * Many programs: Don't bother to get the long-option index
  1095.     value from getopt_long, since we ignore it.
  1096.  
  1097.     * Many programs: Separate long-option option names from their
  1098.     args with `=' instead of ` ' in usage messages.
  1099.  
  1100.     * touch.c (touch): Don't refuse to touch non-regular files.
  1101.  
  1102. Wed Apr 10 12:19:30 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  1103.  
  1104.     * cp.c, cp-aux.c: Add -a +archive option, an easier to
  1105.     remember synonym for -dpR.
  1106.  
  1107. Fri Mar 15 16:16:54 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  1108.  
  1109.     * mv.c (copy): Try to preserve file ownership in
  1110.     cross-filesystem copies.
  1111.  
  1112.     * backupfile.c, rm.c: Go back to using d_ino instead of
  1113.     d_fileno.  POSIX.1 specifies neither, and d_ino is more
  1114.     common, perhaps ubiquitous.
  1115.  
  1116.     * chown.c (describe_change): Don't print the group name if it
  1117.     didn't change (thus is a null pointer).
  1118.     (main): Initialize group name to null.
  1119.  
  1120. Mon Feb 25 11:44:14 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  1121.  
  1122.     * dd.c (copy): Only seek if not seeking to start of file, so
  1123.     "dd >> foo" works with Minix shell that doesn't open foo in
  1124.     append mode. 
  1125.  
  1126. Thu Feb 21 11:59:39 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  1127.  
  1128.     * ln.c (do_link), mv.c (do_move), cp.c (copy): Store backup
  1129.     filename using alloca so we don't have to free it every place
  1130.     we return.  From Jim Meyering.
  1131.  
  1132. Thu Feb 14 00:41:43 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  1133.  
  1134.     * cp.c (copy_reg): Only make holes when copying a regular file
  1135.     onto a regular file.
  1136.  
  1137. Fri Jan 18 06:31:59 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1138.  
  1139.     * ls.c: Move defn. of S_IEXEC to after header files are included.
  1140.     * cp.h: Always declare stat and lstat.
  1141.  
  1142. Thu Jan 10 02:16:55 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1143.  
  1144.     * cp.h: Only declare some system calls if not POSIX.
  1145.  
  1146.     * eaccess.c, idcache.c, dd.c, install.c, ln.c, system.h:
  1147.     Change _POSIX_SOURCE to POSIX.
  1148.  
  1149.     * fileblocks.c, system.h: Change STBLOCKS_MISSING to
  1150.     ST_BLOCKS_MISSING (was already that way in cp.c).
  1151.  
  1152. Fri Dec 28 18:40:34 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1153.  
  1154.     * chmod.c, chown.c, chgrp.c, du.c: Rename -d option to -L for
  1155.     similarity to ls and cpio. 
  1156.  
  1157. Thu Dec 27 00:06:45 1990  David J. MacKenzie  (djm at egypt)
  1158.  
  1159.     * rm.c (clear_directory): Keep looking for files to remove
  1160.     until we don't find any, so that any .nfs* files created by
  1161.     removing other files are also removed, eventually.
  1162.  
  1163.     * install.c (main): Strip trailing slashes on all args.
  1164.  
  1165.     * mv.c (copy): Open target file with mode 0600, not 0777.
  1166.     [FCHMOD_MISSING]: Perform chmod after closing files, not
  1167.     before, for MS-DOS.
  1168.  
  1169.     * cp.c (do_copy): Don't append `..' to target dir name.
  1170.  
  1171.     * du.c (main, count_entry, usage): Add -D +dereference-args
  1172.     and -d +dereference options.
  1173.  
  1174. Wed Dec 26 03:39:18 1990  David J. MacKenzie  (djm at egypt)
  1175.  
  1176.     * dirname.c, xstrdup.c: Get decls from standard files, if available.
  1177.  
  1178. Thu Dec 20 23:10:22 1990  David J. MacKenzie  (djm at egypt)
  1179.  
  1180.     * makepath.c: New file, adapted from code in mkdir.c,
  1181.     install.c, and cpio util.c by Jim Meyering.
  1182.     * mkdir.c, install.c: Use make_path.
  1183.  
  1184. Sun Dec 16 00:56:54 1990  David J. MacKenzie  (djm at egypt)
  1185.  
  1186.     * chown.c, chgrp.c: New files.
  1187.  
  1188. Sat Dec 15 20:42:32 1990  David J. MacKenzie  (djm at egypt)
  1189.  
  1190.     * cp.h: Declare POSIX functions always -- _POSIX_SOURCE
  1191.     doesn't imply STDC declarations.
  1192.  
  1193.     * system.h: Define S_ISTYPE macros not defined by sys/stat.h.
  1194.  
  1195.     * Many files: Use S_ISTYPE macros.
  1196.  
  1197.     * backupfile.c, rm.c: Use name d_fileno for member of struct
  1198.     dirent instead of d_ino, for POSIX.
  1199.  
  1200. Wed Dec 12 23:38:22 1990  David J. MacKenzie  (djm at egypt)
  1201.  
  1202.     * ls.c: Declare time() as time_t instead of long, to prevent
  1203.     conflict with standard header files.
  1204.  
  1205.     * cp.c (copy_reg): Instead of using NO_SPARSE_FILES, use
  1206.     st_blocks to determine whether the original file contains any
  1207.     sparse blocks, and only create them if so.  On systems without
  1208.     st_blocks, to be safe, never create sparse blocks.
  1209.  
  1210. Thu Nov  8 12:16:27 1990  David J. MacKenzie  (djm at apple-gunkies)
  1211.  
  1212.     * idcache.c: If _POSIX_SOURCE not defined, declare getpw and
  1213.     getgr functions (not an optimal solution, but I hate to add
  1214.     yet another configuration macro).
  1215.  
  1216.     * Makefile: Define AR and RANLIB and pass to child makes.
  1217.     lib/Makefile: Use them.
  1218.  
  1219. Tue Nov  6 23:18:06 1990  David J. MacKenzie  (djm at mole.ai.mit.edu)
  1220.  
  1221.     * idcache.c: New file from code in ls.c.
  1222.  
  1223. Fri Nov  2 14:34:40 1990  David J. MacKenzie  (djm at apple-gunkies)
  1224.  
  1225.     * Move files into src and lib directories, split out library
  1226.     functions into separate files in lib, and rewrite Makefiles.
  1227.  
  1228. Mon Oct 29 01:20:46 1990  David J. MacKenzie  (djm at apple-gunkies)
  1229.  
  1230.     * mv.c (do_move), rm.c (remove_file, remove_dir): If stdin is
  1231.     a tty and file is unwritable, prompt before overwriting.
  1232.  
  1233.     * cp.c (copy_reg): Only make sparse files if
  1234.     NO_SPARSE_FILES is undefined, to accomodate dumb kernels.
  1235.  
  1236.     * du.c (count_entry): Remove misinformed HPUX kludge that
  1237.     doesn't really fix the problem.
  1238.  
  1239.     * rm.c (rm): Check for textual equality with '.' and '..', not
  1240.     dev/inode equality.
  1241.  
  1242. Sat Oct 27 23:38:55 1990  David J. MacKenzie  (djm at apple-gunkies)
  1243.  
  1244.     * rm.c (check_stack): If not interactive, don't prompt when
  1245.     corruption is found, just quit.
  1246.     (remove_file, remove_dir): Delete leading spaces in verbose
  1247.     output. 
  1248.  
  1249.     * cp.c (copy), rm.c (remove_dir): If we think the dest. file
  1250.     is unwritable, warn the user in the interactive prompt instead
  1251.     of automatically skipping the file.  Because of race
  1252.     conditions and other protection mechanisms we might not know
  1253.     about, and POSIX.
  1254.  
  1255. Mon Oct  8 18:51:25 1990  David J. MacKenzie  (djm at apple-gunkies)
  1256.  
  1257.     * du.c (main, usage, count_entry): Add +separate-dirs -S option.
  1258.  
  1259.     * dd.c (main): Don't trap SIGINT if it was being ignored.
  1260.  
  1261. Tue Sep 25 16:40:43 1990  David J. MacKenzie  (djm at apple-gunkies)
  1262.  
  1263.     * install.c (copy_file, install_file_in_file): Change
  1264.     attributes after stripping, to guard against strip programs
  1265.     that clear setuid bits, etc.
  1266.  
  1267. Fri Sep 21 22:31:43 1990  David J. MacKenzie  (djm at apple-gunkies)
  1268.  
  1269.     * cp.c (copy_reg): Put back ftruncate way of making holes
  1270.     because the other way can't make a hole at the end of a file.
  1271.  
  1272. Tue Sep 18 03:47:45 1990  David J. MacKenzie  (djm at apple-gunkies)
  1273.  
  1274.     * install.c (change_attributes): Don't ignore EPERM for chown,
  1275.     since the default uid is now the current uid.
  1276.  
  1277. Sun Sep  9 16:54:19 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1278.  
  1279.     * Version 1.4.
  1280.  
  1281.     * cp.h: Declare free returning void, not int, so it
  1282.     doesn't bomb on Xenix.
  1283.  
  1284. Fri Sep  7 04:35:35 1990  David J. MacKenzie  (djm at apple-gunkies)
  1285.  
  1286.     * system.h, backupfile.c, savedir.c [DIRENT]: if direct is
  1287.     defined (as on Ultrix 4.0), undefine it before redefining it.
  1288.  
  1289. Tue Sep  4 03:10:24 1990  David J. MacKenzie  (djm at apple-gunkies)
  1290.  
  1291.     * dd.c (apply_translations, translate_charset): Code moved
  1292.     from parse_conversion.
  1293.     (apply_translations): Convert from EBCDIC to ASCII before
  1294.     converting case.
  1295.  
  1296.     * mvdir.c (fullpath): Return a value.
  1297.  
  1298.     * dd.c (copy): Increment count of truncated records once
  1299.     per record, not once per character that overflows.
  1300.  
  1301. Mon Sep  3 22:23:57 1990  David J. MacKenzie  (djm at coke)
  1302.  
  1303.     * dd.c (swab_array): Function removed.
  1304.     (copy): Rewrite conv=swab to work when odd number of bytes
  1305.     are read.
  1306.     (scanargs): Die if invalid numeric value is given.
  1307.     (parse_integer): Return -1 if invalid arg.
  1308.     (bit_count): Faster version from Jim Meyering.
  1309.  
  1310.     * cp.c, mkfifo.c [MKFIFO_MISSING]: Define mkfifo.
  1311.  
  1312. Thu Aug 30 00:17:02 1990  David J. MacKenzie  (djm at apple-gunkies)
  1313.  
  1314.     * mvdir.c (main): Make sure `from' is not a parent of any part
  1315.     of `to', not just the explicitly given part.
  1316.     (fullpath): New function.
  1317.  
  1318. Wed Aug 29 19:50:05 1990  David J. MacKenzie  (djm at apple-gunkies)
  1319.  
  1320.     * mvdir.c: Renamed from mv_dir.c, for consistency with mkdir and rmdir.
  1321.     * dirlib.c: Caller changed.
  1322.  
  1323. Tue Aug 28 18:05:24 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1324.  
  1325.     * touch.c (main): Don't interpret first non-option arg as a
  1326.     time if `--' is given (POSIX-required kludge).
  1327.  
  1328.     * touch.c: Add long-named options.
  1329.  
  1330.     * Many files: Include <getopt.h> instead of "getopt.h" since
  1331.     getopt.h will be in the GNU /usr/include.
  1332.  
  1333.     * install.c: Declare some functions.
  1334.  
  1335.     * touch.c, getdate.y, posixtime.y, mktime.c: New files, from bin-src.
  1336.  
  1337.     * posixtime.y: Move year from before time to after it (but
  1338.     before the seconds), for 1003.2 draft 10.
  1339.  
  1340. Mon Aug 27 03:25:36 1990  David J. MacKenzie  (djm at apple-gunkies)
  1341.  
  1342.     * touch.c (main): If no time is given and first arg is a valid
  1343.     timespec, use it as one.
  1344.  
  1345. Sat Aug 25 01:36:16 1990  David J. MacKenzie  (djm at apple-gunkies)
  1346.  
  1347.     * posixtime.y: Enclose YYABORT in braces in case some yacc's
  1348.     need it.
  1349.  
  1350.     * touch.c: Remove -i option.  Change some error messages.
  1351.     (readname): Function removed.
  1352.  
  1353. Thu Aug 23 12:56:33 1990  David J. MacKenzie  (djm at apple-gunkies)
  1354.  
  1355.     * cp.c (copy): Only restore dir mode if it was changed.
  1356.  
  1357. Wed Aug 22 01:45:54 1990  David J. MacKenzie  (djm at apple-gunkies)
  1358.  
  1359.     * cp.c (copy): Don't only backup files when -f is given.
  1360.  
  1361.     * ls.c: Add -X +sort=extension option.  Rename
  1362.     +kilobyte-file-size to +kilobytes.
  1363.  
  1364.     * du.c: Rename -f option to -x, for POSIX.  Rename
  1365.     +kilobyte-file-size to +kilobytes.  Add -b, +bytes option for
  1366.     POSIX. 
  1367.  
  1368.     * cp-aux.c (usage): Change -o to -x.
  1369.     (stpcpy): Renamed from str_cpy.  Change callers in cp.c.
  1370.  
  1371.     * cp.c: New variable, `flag_copy_as_regular'.
  1372.     (main): For -R, unset `flag_copy_as_regular'.
  1373.     Rename -o to -x for consistency with du.
  1374.     (copy): Only unlink destination files when -f is given.
  1375.     Only prompt when -i given and copying as a regular file.
  1376.     Move check for previous link after other checks, reducing
  1377.     duplicate code.
  1378.     Create directories with mode 0700 initially, for POSIX.
  1379.  
  1380. Mon Aug 20 03:29:08 1990  David J. MacKenzie  (djm at apple-gunkies)
  1381.  
  1382.     * dd.c (copy): Swap input bytes instead of output bytes.
  1383.     (swab_array): New function.
  1384.  
  1385.     * dd.c (copy): If sync and noerror, zero the buffer before the
  1386.     read instead of after so that any data read before an error
  1387.     occurred are preserved.
  1388.     On read error, print stats and seek past the bad block if noerror.
  1389.     noerror doesn't affect write errors, for POSIX.
  1390.     (scanargs): Use two buffers if no buffer sizes given.
  1391.     Do not block or unblock if cbs not given.
  1392.     (print_stats): New function.
  1393.     (quit): Call it.
  1394.  
  1395. Mon Aug 13 23:30:03 1990  David J. MacKenzie  (djm at apple-gunkies)
  1396.  
  1397.     * cp.c (copy): If dest. exists and is unwritable, skip the file.
  1398.  
  1399.     * rm.c, mv.c, cp.c, ln.c (main): Respect the last -f or -i given,
  1400.     for POSIX.
  1401.  
  1402.     * rm.c (remove_file): Only prompt if -i is given.
  1403.     (main, usage): Remove -o +override-mode option, obsolete if
  1404.     POSIX accepts our objection about prompting.
  1405.  
  1406.     * mv.c (do_move): Only prompt if -i is given.
  1407.  
  1408.     * ln.c (do_link): If dest. file exists and -i and -f not
  1409.     given, skip the file.
  1410.  
  1411. Tue Aug  7 12:51:18 1990  David J. MacKenzie  (djm at apple-gunkies)
  1412.  
  1413.     * dd.c (main): If seek= given, don't truncate output file.
  1414.     (copy): Use `read' to skip output blocks if not regular file.
  1415.     Sync with NUL instead of SPC.
  1416.  
  1417. Mon Aug  6 14:43:30 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1418.  
  1419.     * rm.c: Rename `ignore_errors' to `ignore_missing_files', and
  1420.     have it only suppress messages about nonexisting files.
  1421.     (main): Get dev and ino of `.' and `..'.
  1422.     (rm): If file is the same as `.' or `..', return with error.
  1423.     (remove_file): Remove the file rather than skipping it if
  1424.     unwritable, no -i, and stdin not tty.
  1425.     (remove_dir): Return an error if directory is nonwritable,
  1426.     rather than nonreadable or nonsearchable, for POSIX.2 draft 10.
  1427.  
  1428.     * chmod.c (main): Use fixed error checking to make sure that
  1429.     options aren't mixed together in the same args as mode specifiers.
  1430.  
  1431. Sun Aug  5 11:51:12 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1432.  
  1433.     * chmod.c (main): Use umask for '-' op.
  1434.  
  1435. Sat Aug  4 10:11:30 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1436.  
  1437.     * mkfifo.c: Remove -p +path option, no longer specified by POSIX.
  1438.  
  1439. Fri Aug  3 13:38:28 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1440.  
  1441.     * mkdir.c, mkfifo.c, create.c (main): Don't tell mode_compile to
  1442.     respect the umask for certain operations, since the umask is 0 anyway.
  1443.  
  1444.     * install.c (get_ids): Use getuid and getgid to get defaults,
  1445.     instead of -1.
  1446.  
  1447. Fri Jul 27 14:32:40 1990  David J. MacKenzie  (djm at apple-gunkies)
  1448.  
  1449.     * backupfile.c (dirname): Always replace frontmost slash with a null.
  1450.  
  1451. Thu Jul 26 00:20:35 1990  David J. MacKenzie  (djm at apple-gunkies)
  1452.  
  1453.     * cp.h: Declare umask as unsigned short.
  1454.  
  1455.     * eaccess.c: Make uid and gid unsigned short, and group array unsigned.
  1456.  
  1457. Wed Jul 25 18:38:57 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1458.  
  1459.     * rm.c (remove_file, remove_dir): Print verbose message right
  1460.     before actually trying to remove the file, after the prompting.
  1461.  
  1462.     * ls.c (getuser, getgroup): Make uid and gid unsigned short, not int.
  1463.  
  1464. Tue Jul 24 03:39:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1465.  
  1466.     * cp.c (copy), ln.c (do_link), mv.c (do_move): For +verbose,
  1467.     print the file names just before actually attempting the
  1468.     copy/link/move, to produce a list of the files that they
  1469.     actually try to copy/link/move, omitting skipped files.
  1470.     Remove leading spaces from +verbose output.
  1471.  
  1472. Mon Jul 23 16:57:44 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1473.  
  1474.     * cp.c (copy): Make +update operate silently, like +one-file-system. 
  1475.  
  1476.     * ln.c: Add -F as synonym for -d, for SunOS compatibility.
  1477.  
  1478. Sun Jul 15 23:23:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1479.  
  1480.     * cp.c (copy): Go back to using xstat on dest.
  1481.  
  1482. Wed Jul 11 12:10:33 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1483.  
  1484.     * cp.c (copy): Make directories with desired mode plus u+wx so
  1485.     if the copy is interrupted, the dir is closer to the desired mode.
  1486.     Don't backup directories.
  1487.  
  1488. Sun Jul  8 00:39:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  1489.  
  1490.     * rm.c (main, usage): Add new option -d, +directory.
  1491.     (rm): If -d given, use remove_file instead of remove_dir for
  1492.     directories. 
  1493.     (remove_file): If directory, print "remove directory `foo'?"
  1494.     for interactive instead of "remove `foo'?".
  1495.  
  1496.     * ln.c (main): If -s given, print warning message if symlinks
  1497.     are not available.
  1498.     * mkfifo.c (main): If fifo's are not available, print message
  1499.     and exit.
  1500.  
  1501. Fri Jul  6 02:02:49 1990  David J. MacKenzie  (djm at apple-gunkies)
  1502.  
  1503.     * install.c (main): Use the current user and group ID for the
  1504.     default owner and group.
  1505.  
  1506.     * mv.c (main): New option -u, +update.
  1507.     (do_move): Don't move nondirectories if -u and there is an existing 
  1508.     destination that has the same or newer mtime.
  1509.     (usage): Document -u, +update.
  1510.  
  1511.     * cp.c (main): New option -u, +update.
  1512.     (copy): Don't copy nondirectories if -u and there is an existing 
  1513.     destination that has the same or newer mtime.
  1514.     * cp-aux.c (usage): Document -u ,+update.
  1515.  
  1516. Thu Jul  5 10:04:12 1990  David J. MacKenzie  (djm at apple-gunkies)
  1517.  
  1518.     * ln.c (do_link): Don't check whether OLD exists before trying
  1519.     to make link.
  1520.  
  1521. Tue Jul  3 01:51:55 1990  David J. MacKenzie  (djm at apple-gunkies)
  1522.  
  1523.     * ls.c: Allow "+time=atime" and "+time=ctime" for C hackers.
  1524.  
  1525.     * chmod.c (main): Don't check whether multiple mode arguments
  1526.     are given, because optind has a different value depending on
  1527.     whether or not the option is the last character in the
  1528.     ARGV-element.
  1529.  
  1530. Sat Jun 30 12:32:51 1990  David J. MacKenzie  (djm at apple-gunkies)
  1531.  
  1532.     * cp.c (copy): Use lstat on dest. file, not *xstat.
  1533.  
  1534. Mon Jun 25 18:07:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1535.  
  1536.     * ls.c (print_long_format): Truncate user and group names to 8
  1537.     chars to preserve column alignment.
  1538.     (length_of_file_name_and_frills): Don't assume type indicator
  1539.     will be printed for unknown file types that some os's have.
  1540.  
  1541.     * install.c: Declare getgrnam for systems where grp.h doesn't.
  1542.  
  1543. Sat Jun 23 00:06:35 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1544.  
  1545.     * Version 1.3.
  1546.  
  1547.     * du.c (count_entry) [HPUX_NFS_BUG]: If the size of the file
  1548.     according to the number of blocks reported is twice or more than
  1549.     the size of the file according to the number of bytes
  1550.     reported, halve the number of blocks.
  1551.  
  1552. Fri Jun 22 00:38:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1553.  
  1554.     * cp.c (copy_dir): Initialize 'ret' to 0.
  1555.  
  1556.     * cp.c (main), ln.c (main), mv.c (main), rm.c (main):
  1557.     Make -i override -f and -o, to be conservative about
  1558.     removing peoples' files.
  1559.  
  1560.     * mkdir.c (make_path), mkfifo.c (make_path): Don't try to stat
  1561.     "" or "/".
  1562.  
  1563.     * rm.c, rmdir.c, mkdir.c, mkfifo.c: Move code to remove
  1564.     slashes at the end of an arg from main to
  1565.     strip_trailing_slashes. 
  1566.  
  1567.     * install.c (strip): Print error message if the `strip'
  1568.     program can't be run.
  1569.  
  1570.     * system.h (convert_blocks): Macro moved from du.c and ls.c.
  1571.     Take a second parameter indicating whether to convert to
  1572.     kilobytes or 512 byte blocks.
  1573.     * ls.c, du.c: Pass second parameter to convert_blocks.
  1574.  
  1575. Thu Jun 21 01:19:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1576.  
  1577.     * ls.c (print_long_format): Use mode_string instead of filemodestring. 
  1578.  
  1579.     * ls.c (print_long_format): Compare times as longs, not ints.
  1580.     (longdiff): Macro to compare two longs efficiently if sizeof
  1581.     int == sizeof long and less efficiently but correctly if they
  1582.     are different sizes.
  1583.     (compare_ctime, etc.): Use longdiff.
  1584.  
  1585.     * ls.c (decode_switches): Make -k not imply -s, to allow the
  1586.     summary directory size printed by -l to be in 1k blocks
  1587.     without having the size of each file printed as well.
  1588.     (convert_blocks): Provide for systems with a blocksize that is
  1589.     other than 512 or 1024 bytes.
  1590.  
  1591.     * du.c (main): Exit with status 0 normally.
  1592.     (convert_blocks): Provide for systems with a blocksize that is
  1593.     other than 512 or 1024 bytes.
  1594.  
  1595. Wed Jun 20 01:46:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1596.  
  1597.     * ln.c (do_link): Take out code to give an error if source and
  1598.     dest are the same file.  The dubious usefulness of the special
  1599.     case to prevent 'ln x x' from removing 'x' (ln -i can be used
  1600.     instead) is not worth preventing 'ln x y' from failing the
  1601.     second time in a row, and appears to contradict POSIX anyway.
  1602.  
  1603. Mon Jun 18 02:48:17 1990  David J. MacKenzie  (djm at apple-gunkies)
  1604.  
  1605.     * ls.c (print_file_name_and_frills):
  1606.     (length_of_file_name_and_frills, print_long_format):
  1607.     Allow 6 digits for i-number, not 5.
  1608.  
  1609. Sun Jun 17 00:09:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1610.  
  1611.     * install.c (install_dir): Don't check whether "" or the root
  1612.     directory exists (the former fails on some systems).
  1613.  
  1614.     * system.h: Make inclusion of sys/file.h conditional on USG
  1615.     and _POSIX_SOURCE, not DIRENT.
  1616.  
  1617.     * chmod.c (change_dir_mode): Use xrealloc instead of free and
  1618.     xmalloc in case malloc already left extra room.
  1619.     (xrealloc): New function.
  1620.  
  1621.     * rm.c (clear_directory): Prevent buffer overruns.
  1622.     More efficient string handling.  Don't skip rest of directory
  1623.     if continuing after finding circular inode.
  1624.     (xrealloc): New function.
  1625.  
  1626. Sat Jun 16 01:45:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1627.  
  1628.     * argmatch.c (invalid_arg): Change order in which the items
  1629.     are printed. 
  1630.  
  1631.     * ls.c: Add +tabsize (-T) option.
  1632.  
  1633. Fri Jun 15 23:40:55 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1634.  
  1635.     * dd.c (scanargs): For ibs and obs, set C_HARDWAY.
  1636.     (copy): Use different buffers only if C_HARDWAY, not if
  1637.     blocksizes are the same, to ensure constant output block sizes.
  1638.  
  1639. Wed Jun 13 23:56:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1640.  
  1641.     * savedir.c: New file from code in chmod.c, modified to
  1642.     prevent buffer overruns.
  1643.     * chmod.c (change_dir_mode), cp.c (copy_dir), du.c
  1644.     (count_entry): Use savedir.
  1645.  
  1646. Thu Jun  7 03:52:02 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1647.  
  1648.     * system.h (ST_BLKSIZE) [!STBLOCKS_MISSING]: If st_blksize is
  1649.     0 (as on pipe reads on some systems), use BSIZE instead.
  1650.     Define BSIZE as DEV_BSIZE if necessary.
  1651.  
  1652.     * Makefile, system.h, fileblocks.c: Use STBLOCKS_MISSING to
  1653.     control whether st_blksize and st_blocks are used.
  1654.     * Makefile, system.h, backupfile.c: Use DIRENT to control
  1655.     whether <dirent.h> is used.
  1656.  
  1657. Thu May 31 00:55:36 1990  David J. MacKenzie  (djm at apple-gunkies)
  1658.  
  1659.     * fileblocks.c: New file.
  1660.     * du.c (blocks_to_kb): Replace with convert_blocks macro.
  1661.     (main): Recognize new -k option.
  1662.     (usage): Document it.
  1663.     * ls.c (nblocks): Replace with convert_blocks macro.
  1664.     * system.h (ST_BLKSIZE) [USG]: Use BSIZE from sys/param.h instead of
  1665.     having the user define BLKSIZE.
  1666.     (ST_NBLOCKS) [USG]: Use st_blocks from fileblocks.c.
  1667.  
  1668. Wed May 23 00:40:39 1990  David J. MacKenzie  (djm at apple-gunkies)
  1669.  
  1670.     * argmatch.c: New file, taken from ls.c.
  1671.     * getversion.c (get_version): Use argmatch, to allow
  1672.     abbreviations.  Default backup type is existing_numbered.
  1673.     * mv.c (main), ln.c (main), cp.c (main): Only make backups if
  1674.     -b (+backup) is given.  If envar SIMPLE_BACKUP_SUFFIX is set,
  1675.     use it as a default instead of `~'.
  1676.     * mv.c (usage), ln.c (usage), cp-aux.c (usage): Update messages.
  1677.  
  1678. Tue May 22 00:56:51 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1679.  
  1680.     * install.c: New file (from ../bin-src).
  1681.  
  1682.     * dd.c (copy): Don't count completely failed writes as partial
  1683.     writes.  Make buffers unsigned.  If blocking or unblocking,
  1684.     pad final partial buffer if necessary.
  1685.  
  1686.     * getversion.c: New file.
  1687.     * mv.c (main), cp.c (main), ln.c (main): Control backup types
  1688.     with getenv ("VERSION_CONTROL") and +version-control or -V.
  1689.  
  1690.     * cp.c (yesno), mv.c (yesno), ln.c (yesno): Stop reading if
  1691.     EOF reached as well as at newline.
  1692.  
  1693.     * backupfile.[ch]: Rename var `version_control' to `backup_type'.
  1694.  
  1695. Sat May 19 23:38:46 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1696.  
  1697.     * touch.c: Change some error messages.  Include "getopt.h".
  1698.  
  1699. Sat May 19 00:16:50 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1700.  
  1701.     * mv.c (main), ln.c (main), cp.c (main): Revise
  1702.     backup-creation options.
  1703.     * mv.c (usage), ln.c (usage), cp-aux.c (usage): Revise messages.
  1704.  
  1705.     * chmod.c (describe_change): Use mode_string instead of
  1706.     filemodestring. 
  1707.  
  1708.     * cp.c (main): Recognize new options for making backups.
  1709.     * cp.c (copy): Make backups if requested.  Fix typo.
  1710.     * cp-aux.c (usage): Update message.
  1711.  
  1712.     * mv.c, cp.c: Remove code to conditionally use utimes instead
  1713.     of utime, since the extra resolution of utimes was not being
  1714.     used, the emulation overhead is probably insignificant,
  1715.     and utime is a standard function.
  1716.  
  1717.     * cp-hash.c: Fix up comments.
  1718.  
  1719. Fri May 18 23:06:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1720.  
  1721.     * mv.c (do_move): Only make backup if dest file exists.
  1722.     Don't continue moving file if dest can't be backed up.
  1723.     * ln.c (do_link): Don't try to unlink dest if it was backed up.
  1724.     Don't continue moving file if dest can't be backed up.
  1725.  
  1726.     * system.h: Make SIGTYPE default to void if not defined.
  1727.  
  1728.     * modechange.[ch]: Rename struct and external functions to start
  1729.     with 'mode_'.
  1730.     * modechange.c (oatoi): Make static.
  1731.     (mode_compile): Take an additional arg indicating which
  1732.     symbolic operators should be affected by the umask.
  1733.     * modechange.h: Add defines for mode_compile arg mask.
  1734.     If __STDC__, use prototypes.
  1735.     * chmod.c, mkdir.c, mkfifo.c, create.c: Account for above changes.
  1736.  
  1737. Tue May 15 16:17:34 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1738.  
  1739.     * dd.c (copy): Quit with nonzero status if final write fails.
  1740.  
  1741. Mon May 14 14:34:10 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1742.  
  1743.     * dd.c: Make translation tables unsigned.
  1744.     (main): Give `input_file' and `output_file' nonzero values for
  1745.     stdin and stdout. 
  1746.     (parse_conversion): Set new global vars 'space_character' and
  1747.     'newline_character' to correct values when translating to EBCDIC
  1748.     (either flavor).
  1749.     (copy): Use 'space_character' and 'newline_character' instead
  1750.     of hardcoded ASCII values.  Ignore attempts to seek on output pipe,
  1751.     socket, or fifo.  If possible, seek instead of reading to skip
  1752.     initial input records.  Sync with `space_character' instead of
  1753.     nulls, for POSIX.
  1754.  
  1755.     * cp.c (copy_reg): Compare lseek values as longs, not ints.
  1756.  
  1757. Sat May 12 01:16:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1758.  
  1759.     * cp-hash (remember_created): Return error status instead of
  1760.     fatal error. 
  1761.     * cp.c (copy): Change caller.
  1762.     (do_copy, copy_reg): Return error status instead of fatal error.
  1763.  
  1764.     * Move rename emulation from mv.c to dirlib.c so other
  1765.     programs can use it.
  1766.     * mv.c, ln.c (main): Recognize new options for making backups.
  1767.     * mv.c (do_move), ln.c (do_link): Make backups if requested.
  1768.     * mv.c, ln.c (usage): Update message.
  1769.     * backupfile.c, backupfile.h: New files.
  1770.  
  1771.     * cp.h: Ifdef out decl of umask because of SunOS 4.1 (POSIX) conflict.
  1772.  
  1773.     * Define all `main' functions as returning void.
  1774.  
  1775. Fri May 11 02:11:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1776.  
  1777.     * ln.c, mv.c, rm.c, rmdir.c, create.c, chmod.c: Change some
  1778.     error messages. 
  1779.  
  1780.     * du.c, cp-aux.c (error): Function removed.
  1781.     Change callers to use error.c version.
  1782.     * cp.c (copy, do_copy, copy_dir): Return an error status.
  1783.     * ls.c (error, fatal, perror_with_name): Functions removed.
  1784.     Change callers to use error.c.
  1785.  
  1786. Sat May  5 23:46:48 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1787.  
  1788.     * ln.c (do_link): Don't allow trying to link a file to itself,
  1789.     because the source file would be removed if they are the same
  1790.     directory entry, and also for consistency with mv and cp.
  1791.  
  1792. Fri May  4 13:42:53 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1793.  
  1794.     * cp.c (copy_reg): Only write a null to the end of the file if
  1795.     the end of the file was sparse.
  1796.  
  1797.     * ls.c (print_name_with_quoting): Make the char to print
  1798.     unsigned to prevent sign extension problems with -b.
  1799.  
  1800. Fri Apr 20 13:52:15 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1801.  
  1802.     * Version 1.2 released.
  1803.  
  1804. Wed Apr 18 14:36:15 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1805.  
  1806.     * Makefile: Use chsize for ftruncate on Xenix.
  1807.  
  1808.     * cp.c (copy): Remove broken code that attempted to
  1809.     substitute for ftruncate on systems missing it.
  1810.  
  1811. Mon Apr 16 13:58:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1812.  
  1813.     * cp-aux.c (usage): Fix mistake in message.
  1814.  
  1815.     * Version 1.1 released.
  1816.  
  1817. Sat Apr 14 17:23:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1818.  
  1819.     * ls.c (main): Don't remove leading path from program_name.
  1820.     (basename): Function removed.
  1821.     (length_of_file_name_and_frills): Don't add 1 for type indicator
  1822.     for block and character special files. 
  1823.  
  1824. Thu Apr 12 19:50:15 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1825.  
  1826.     * Makefile: Suggest using -DBLKSIZE=512 instead of 1024 for USG.
  1827.  
  1828.     * dd.c (copy): Print copying statistics when exiting because
  1829.     of a read or seek error.
  1830.     (interrupt_handler): New function.
  1831.     (main): Trap SIGINT to run interrupt_handler, for POSIX.
  1832.  
  1833. Tue Apr 10 01:09:38 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1834.  
  1835.     * chmod.c (change_file_mode): Don't change the mode of
  1836.     symbolic links.
  1837.  
  1838. Mon Apr  9 13:30:00 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1839.  
  1840.     * modechange.c (compile_mode): Return an error if an octal
  1841.     number argument is too large.
  1842.  
  1843. Sun Apr  8 20:33:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1844.  
  1845.     * dd.c: Use `error' instead of `fatal' and `pfatal_with_name',
  1846.     for greater control of the message format.
  1847.     * head.c, tail.c: Use `error' instead of `fatal_perror' and
  1848.     `nonfatal_perror'.  Remove some unnecessary info from messages.
  1849.     * chmod.c, create.c, ln.c, mkdir.c, mkfifo.c, mv.c, mv_dir.c,
  1850.     rm.c, rmdir.c: Remove definition of `error'.
  1851.     * error.c: New file created from code in mv.c.
  1852.     * Makefile: Link the above programs with error.o.
  1853.  
  1854.     * ln.c (do_link): Use eaccess_stat to determine writability.
  1855.     * mv.c (do_move): Ditto.
  1856.     * rm.c (remove_file): Ditto.
  1857.     (remove_dir): Use eaccess_stat to determine readability and
  1858.     searchability.  Move initial interactive query here from
  1859.     clear_directory. 
  1860.     * Makefile: Link ln, mv, and rm with eaccess.o.
  1861.  
  1862. Sat Apr  7 11:47:52 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1863.  
  1864.     * Makefile: Link cp with eaccess.o.
  1865.     * eaccess.c: New file adapted from code in cp.c and cp-aux.c.
  1866.     * cp.c (copy): Use eaccess_stat to determine writability.
  1867.     Consider a file unwritable by root if it has no permissions.
  1868.     (main): Remove groups initialization code.
  1869.     * cp-aux.c (member): Function deleted.
  1870.  
  1871.     * cp.c (copy): Temporarily change the mode of directories if
  1872.     necessary to overwrite them when running recursively.
  1873.     Consider a directory to be non-overwritable if it lacks write
  1874.     permission as well as if it lacks execute permission.
  1875.  
  1876.     * rm.c, mv.c, mv_dir.c, chmod.c, create.c, ln.c: Remove some
  1877.     irrelevant or redundant information from error messages.
  1878.  
  1879. Fri Apr  6 15:20:45 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1880.  
  1881.     * cp.c (copy): Only change mode of regular files and directories;
  1882.     others are already correct.
  1883.  
  1884. Thu Apr  5 04:31:56 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1885.  
  1886.     * dd.c: Remove the vars that are set by command line options
  1887.     from a useless struct and give them more meaningful names.
  1888.  
  1889. Mon Apr  2 02:58:34 1990  David J. MacKenzie  (djm at spike.ai.mit.edu)
  1890.  
  1891.     * cp.c (main): Use NGROUPS from sys/param.h to determine
  1892.     whether BSD multiple groups are supported and how large to
  1893.     make the array.
  1894.     * Makefile: Remove references to GETGROUPS_MISSING.
  1895.  
  1896. Sun Apr  1 18:53:57 1990  David J. MacKenzie  (djm at spike.ai.mit.edu)
  1897.  
  1898.     * cp.c (main): Always initialize group info.
  1899.  
  1900. Sat Mar 31 22:29:57 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1901.  
  1902.     * mv.c [RENAME_MISSING] (rename): To rename directories, run
  1903.     setuid root mv_dir program. 
  1904.  
  1905. Tue Mar 20 14:28:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1906.  
  1907.     * touch.c: Remove POSIX_COMPAT ifdef since there is no reason
  1908.     to disable the GNU extensions.
  1909.     (main): Set new global var `program_name'.
  1910.     (error): Replace with more versatile version.
  1911.     Global: Change calls to fprintf and error to use the new error.
  1912.     (main): Initialize global variables.  Don't bother making
  1913.     temporary copy of arg to -d.  Don't ignore any files named on
  1914.     the command line if -i is given.
  1915.     (usage): Don't take an arg.  Use `program_name' instead of
  1916.     hardcoded name.
  1917.     (touch): In utime emulation for BSD, ftruncate the file to its
  1918.     original size so empty files stay empty after being touched.
  1919.  
  1920. Sun Mar 18 01:02:39 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1921.  
  1922.     * ln.c (strip_trailing_slashes): New function.
  1923.     (main, do_link): Call it.
  1924.  
  1925.     * cp-aux.c (strip_trailing_slashes): New function.
  1926.     * cp.c (do_copy): Call it.
  1927.     * cp.h: Declare it.
  1928.  
  1929.     * mv.c (strip_trailing_slashes): New function.
  1930.     (main, movefile): Call it.
  1931.  
  1932. Sat Mar 17 21:45:35 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1933.  
  1934.     * cp-aux.c, cp.h: Rename user_confirm_overwriting to yesno and
  1935.     don't have it print a prompt, so it can be used in several
  1936.     places. 
  1937.  
  1938.     * cp.c (do_copy): Change an error message to resemble mv's.
  1939.     Remove all trailing slashes from all non-option args.
  1940.     (main): Set new global var `stdin_not_tty'.
  1941.     (copy): Use POSIX method of handling file overwriting and
  1942.     prompting. 
  1943.  
  1944.     * dirlib.c (mkdir): Use chmod to set the directory mode after
  1945.     successful creation, so set[ug]id and sticky bits are set
  1946.     correctly. 
  1947.  
  1948. Thu Mar 15 12:33:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1949.  
  1950.     * Makefile: Add commented out definitions for SCO Xenix.
  1951.  
  1952.     * ls.c (print_type_indicator): Don't print a '*' next to
  1953.     executable block or character special files.
  1954.  
  1955.         * chmod.c (error): New function, replacing nonfatal_perror,
  1956.         memory_out, and invalid_mode.
  1957.         Global: Call error instead of the above functions.
  1958.     (change_dir_mode): Make the new size of the path twice the
  1959.     size of the name that was too long, rather than twice its old
  1960.     size. 
  1961.  
  1962.     * rm.c: Move interactive query about whether to remove a
  1963.     directory from remove_dir to clear_directory; only query for
  1964.     directories that are not empty.
  1965.  
  1966. Wed Mar 14 10:48:40 1990  David J. MacKenzie  (djm at rice-chex)
  1967.  
  1968.     * system.h [USG]: Define X_OK.
  1969.  
  1970.     * rm.c (main): Set new global var `stdin_not_tty'.
  1971.     (rm): Most of code moved to two new functions, remove_file and
  1972.     remove_dir.
  1973.     (remove_file): Use POSIX method of determining whether to remove
  1974.     non-directories.
  1975.     (remove_dir): Use POSIX method of determining whether to
  1976.     remove directories, almost.
  1977.     (perror_with_name): Function removed.
  1978.     (error): Simple version replaced with more powerful version.
  1979.     Global: Change calls to fprintf, perror_with_name, and old
  1980.     error to calls to new error.
  1981.  
  1982.     * ln.c (main): Set new global var `stdin_not_tty'.
  1983.     If force, turn off interactive.
  1984.     (do_link): By default, don't allow hard links to symbolic links to
  1985.     directories.  Use POSIX method of determining whether to
  1986.     overwrite destination.
  1987.     (yesno): Function renamed from confirm, and arg removed.
  1988.     (lisdir): Function removed.
  1989.  
  1990.     * mv.c (main): Set new global var `stdin_not_tty'.
  1991.     (yesno): Function renamed from yes.
  1992.     (do_move): Use POSIX method of determining whether to
  1993.     overwrite destination.
  1994.  
  1995.     * Makefile: Make executables depend on .o files, not .c files,
  1996.     to allow for parallel compilation.
  1997.  
  1998. Tue Mar 13 00:50:14 1990  David J. MacKenzie  (djm at rice-chex)
  1999.  
  2000.     * rm.c (main): Disallow removal of paths that have '..' as the
  2001.     final element.
  2002.     (basename): New function.
  2003.  
  2004.     * ls.c (print_type_indicator): Mark FIFOs with '|' and sockets
  2005.     with '='.
  2006.     (print_long_format): Print numbers as unsigned and add extra
  2007.     space for POSIX flag.
  2008.  
  2009.     * dd.c: Make the record counts unsigned.
  2010.     (quit): Print them as unsigned.
  2011.  
  2012.     * modechange.c (compile_mode): Only get umask value when needed.
  2013.     If users are not given or are `a', affect set?id and sticky bits.
  2014.     If memory is exhausted while allocating a new list element,
  2015.     free the old elements before returning.
  2016.  
  2017.     * Makefile (CC): Add comment noting that either fixincludes or
  2018.     -traditional needs to be used for gcc to compile ioctl calls
  2019.     correctly. 
  2020.  
  2021. Mon Mar 12 16:25:23 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  2022.  
  2023.     * touch.c [UTIME_OF_NULL_MISSING]: Call lseek() before write().
  2024.  
  2025.     * posixtime.y [__GNUC__]: Use __builtin_alloca.
  2026.  
  2027. Fri Mar  9 10:25:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2028.  
  2029.     * chmod.c (main): Recognize "a,+-=" as valid options.
  2030.  
  2031.     * mv.c: Move the code to copy files across filesystems from
  2032.     do_move to a new function, copy, which will eventually be
  2033.     replaced with modules from cp and rm (POSIX requires mv to
  2034.     move directories recursively across filesystems).
  2035.     (do_move): Don't query about overriding a mode that prohibits
  2036.     writing if interactive.  Remove unneeded variable.
  2037.     (copy): Unlink target if copy fails partway through.
  2038.  
  2039. Thu Mar  8 10:56:16 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2040.  
  2041.     * cp.c (copy): Don't remove a destination file of a different
  2042.     type unless +force is given.
  2043.  
  2044.     * ls.c (decode_switches, usage): Add -U (for "unsorted") as an
  2045.     equivalent to +sort=none.
  2046.  
  2047. Mon Mar  5 16:31:14 1990  Torbj|rn Granlund  (tege at echnaton)
  2048.  
  2049.     * cp.c (copy): Test for temporarily modified permission mode
  2050.       after the other test, so that `-p' work for files whose mode
  2051.       needed a temporary mode change.
  2052.     * cp.c (copy): Don't waste time calling unlink if we already
  2053.       know that the destination doesn't exists.
  2054.     * cp.c (comment before do_copy): Correct.
  2055.     * cp.c (comment before copy): Describe all params.
  2056.     * cp.c (copy): Only change permission mode for regular files
  2057.       and directories.
  2058.     * cp.c (copy): Unlink the destination file if its type is
  2059.       different from the source.  If the destination is a
  2060.       directory,  error.
  2061.  
  2062. Mon Mar  5 00:34:36 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2063.  
  2064.     * chmod.c (nonfatal_perror): Don't check for force_silent.
  2065.     (change_file_mode, change_dir_mode): If force_silent, don't
  2066.     print error messages.
  2067.  
  2068.     * mv.c (main): If force, turn off interactive.
  2069.     (do_move): Simplify check for query.  Rename `stb' to
  2070.     `to_stats' and `stbf' to `from_stats'.
  2071.     Return error condition if original file could not be renamed or
  2072.     unlinked. 
  2073.  
  2074.     * rm.c: Rename global `force_flag' to `ignore_errors' and change its
  2075.     meaning so that it does not overlap with `override_mode'.
  2076.     (main): Have -f +force set override_mode.  If override_mode is
  2077.     set, turn off interactive.
  2078.     (rm): Simplify checks for whether to query the user, based on
  2079.     the new relationship between override_mode and interactive.
  2080.  
  2081. Sun Mar  4 23:39:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2082.  
  2083.     * ln.c (main): Reword an error message to be more like mv's.
  2084.  
  2085.     * rmdir.c: Move global `errors' into main instead of having 
  2086.     error set it.
  2087.  
  2088.     * mkdir.c: Move global `errors' into main and have make_path
  2089.     return an error status instead of having error set it.
  2090.  
  2091.     * chmod.c: Move global `errors' into main and have
  2092.     change_file_mode and change_dir_mode return an error status
  2093.     instead of setting it in nonfatal_perror.
  2094.  
  2095. Sat Mar  3 13:59:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2096.  
  2097.     * ln.c (main): Don't strip leading dirs from argv[0].
  2098.  
  2099.     * ln.c (confirm), mv.c (yes, do_move),
  2100.     cp-aux.c (user_confirm_overwriting), rm.c (rm, yesno, check_stack):
  2101.     Print query messages to stderr instead of stdout, for POSIX.
  2102.     Include program name in messages.
  2103.  
  2104. Sat Mar  3 11:27:27 1990  Torbj|rn Granlund  (tege at echnaton)
  2105.  
  2106.     * cp.c (copy): Don't unlink directories with flag_force
  2107.       (`-f').  Also avoid using force when not necessary.
  2108.       Always copy fifo's and symbolic links as themselves.
  2109.  
  2110.     * cp.c (copy_reg): Make int scan first, char scan then, to
  2111.       find frist non-zero byte.  This to avoid false hole
  2112.       creation.
  2113.  
  2114. Sat Mar  3 10:22:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2115.  
  2116.     * mv.c: Rename `pgm' to `program_name'.  Move global `errors'
  2117.     into main.  Have do_move and movefile return an error status
  2118.     instead having error set it.  Remove global vars `args'
  2119.     and `args_left'.
  2120.     (main): Rename `ac' and `av' to `argc' and `argv' and use them
  2121.     and `optind' instead of `args' and `args_left'.
  2122.  
  2123.     * cp.c (copy): Don't ignore errors other than EPERM from chown.
  2124.  
  2125. Fri Mar  2 16:20:57 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2126.  
  2127.     * rm.c (main, usage): Allow -R as a synonym for -r, for POSIX.
  2128.  
  2129.     * cp.c (copy): If flag_preserve, preserve the owner and group
  2130.     if possible, as well as mode.
  2131.     (main): Allow -R as a synonym for -r option, for POSIX.
  2132.     * cp-aux.c (usage): Mention -R.
  2133.  
  2134. Tue Feb 27 11:49:04 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2135.  
  2136.     * cp.c (copy): If not recursive, copy special files and
  2137.     symlinks like regular files and omit fifos.
  2138.  
  2139. Mon Feb 26 19:55:24 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  2140.  
  2141.     * ls.c (print_long_format): If time is in the future, print the year.
  2142.     Make the cutoff for old files 6 months not 300 days.
  2143.  
  2144. Mon Feb 26 13:31:07 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  2145.  
  2146.     * touch.c, Makefile: Use getdate.y instead of unctime.y.
  2147.  
  2148.     * touch.c: Remove posixtime.
  2149.     (main): Check for error from posixtime.
  2150.     posixtime.y: New file.
  2151.  
  2152.     * touch.c: Change a few cryptic error messages.
  2153.     Include <errno.h> not <sys/errno.h>.
  2154.     (just_set_amtime): New variable.
  2155.     (touch): Add if (just_set_amtime) code.
  2156.  
  2157. Mon Feb 26 15:03:29 1990  Torbj|rn Granlund  (tege at echnaton)
  2158.  
  2159.     * cp.c (copy): Test for recursive copy in DIR alternative in
  2160.       the switch statement, so all file types are copied correctly
  2161.       even in a non-recursive copy.
  2162.     * cp.c (copy): Return after having created a symlink, since
  2163.       chmod and utimes dereference, and would affect the symlink
  2164.       target.  Remove test for symlinks after switch.
  2165.  
  2166. Sun Feb 25 18:31:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2167.  
  2168.     * Makefile: Compile ls after vdir so systems with a cc that
  2169.     can't do -c -o don't have to compile ls.c twice for ls.
  2170.  
  2171.     * dd.c (usage): Add braces around alternatives.
  2172.  
  2173.     * ls.c (print_long_format): Always print the group, for POSIX.
  2174.     (decode_switches): Make -g option a no-op for BSD users.
  2175.     (usage): Remove +group option.
  2176.  
  2177. Wed Feb 21 11:13:26 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2178.  
  2179.     * ln.c (error): New function.
  2180.     (main, do_link): Call error instead of fprintf and exit.
  2181.     (main): Recognize new -d +directory option to allow superuser to
  2182.     make hard links to dirs, like the BSD ln -f option.
  2183.     (do_link): Don't allow hard links to dirs (they are hard to
  2184.     get rid of -- rmdir and unlink don't do it), unless -d was given.
  2185.     (usage): Mention -d +directory option.
  2186.  
  2187.     * rmdir.c (main): Remove trailing slashes from args (added by
  2188.     shell file completion but the rmdir syscall can't handle them).
  2189.     * mkdir.c (main): Remove trailing slashes from args, for
  2190.     uniformity with rmdir (you can't do file completion on dirs
  2191.     that haven't been made yet . . .).
  2192.  
  2193.     * mv.c: Rename global var `nargs' to `args_left' to avoid
  2194.     conflict with undocumented BSD libc function (the new name is
  2195.     clearer, anyway).
  2196.  
  2197. Tue Feb 20 17:09:19 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2198.  
  2199.     * dd.c: Use new global var `program_name' in error messages
  2200.     instead of hardcoded "dd".
  2201.     (main): Set program_name from argv[0].
  2202.  
  2203.     * chmod.c, head.c, tail.c (main): Don't strip leading dirs
  2204.     from argv[0].
  2205.     (basename): Function removed.
  2206.  
  2207.     * rm.c (main): Don't strip leading dirs from argv[0].
  2208.  
  2209. Mon Feb 19 14:34:18 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2210.  
  2211.     * rm.c (main): Strip trailing slashes from each arg.
  2212.  
  2213. Thu Feb 15 13:23:52 1990  David J. MacKenzie  (djm at rice-chex)
  2214.  
  2215.     * Makefile [HPUX CFLAGS]: Add -DUTIMES_MISSING.
  2216.  
  2217. Wed Feb 14 15:01:18 1990  David J. MacKenzie  (djm at rice-chex)
  2218.  
  2219.     * Makefile (dist): Don't make a non-compressed tar file.
  2220.  
  2221.     * mv.c (do_move): Refuse to copy non-regular files across filesystems.
  2222.  
  2223. Tue Feb 13 15:06:18 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  2224.  
  2225.     * touch.c (getname): New function.
  2226.     (main): Use it.
  2227.  
  2228. Mon Feb 12 11:30:45 1990  David J. MacKenzie  (djm at rice-chex)
  2229.  
  2230.     * ln.c (do_link): Check error return from unlink.
  2231.     Include errno.h.
  2232.  
  2233.     * du.c (main): Check error return from stat.
  2234.     (str_copyc, str_concatc): Don't return a value, since it is
  2235.     ignored. 
  2236.  
  2237.     * cp.c (copy): Check error return from unlink and chmod.  Fix
  2238.     typo in call to error.
  2239.  
  2240.     * mv.c (do_move): Check error return of fchmod/chmod and utime[s].
  2241.     (rename): Check error return of unlink.
  2242.  
  2243.     * Makefile Definitions of preprocessor macros moved from
  2244.     cp.c and mv.c.  HAVE_FTRUNCATE changed to FTRUNCATE_MISSING.
  2245.     * Makefile, dirlib.c: NEED_MKDIR changed to MKDIR_MISSING.
  2246.     * mv.c, cp.c: Change USG ifdefs to UTIMES_MISSING.
  2247.  
  2248. Sun Feb 11 17:50:29 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2249.  
  2250.     * chmod.c (usage): Add yet another ellipsis.
  2251.  
  2252. Sun Feb 11 16:41:30 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  2253.  
  2254.     * cp.c (copy_reg): Use HAVE_FTRUNCATE to decide whether to
  2255.     use ftruncate().
  2256.     (main): Use GETGROUPS_MISSING to decide whether to use getgroups().
  2257.     [hpux || !USG]: Define HAVE_FTRUNCATE.
  2258.     [USG && !hpux]: Define GETGROUPS_MISSING.
  2259.     mv.c (rename): Put in #ifdef RENAME_MISSING not #ifdef USG.
  2260.     (do_move): Use FCHMOD_MISSING to decide whether to use fchmod().
  2261.     [USG && !hpux]: Define FCHMOD_MISSING and RENAME_MISSING.
  2262.  
  2263. Fri Feb  9 10:25:03 1990  David J. MacKenzie  (djm at rice-chex)
  2264.  
  2265.     * mv.c (movefile): Remove trailing slashes from FROM (some
  2266.     filename completion systems add them for dirs, and they cause
  2267.     the rename syscall to fail).
  2268.  
  2269. Thu Feb  8 22:50:12 1990  Torbj|rn Granlund  (tege at sics.se)
  2270.  
  2271.     * cp.c (copy_reg): Change error handling after lseek, since
  2272.       this is a fatal error.  Also change error message to
  2273.       something more generally understood.
  2274.     * Handle files that end in a zero block on USG systems.
  2275.  
  2276.     * cp-aux.c (error): Use FATAL to recog fatal errs.
  2277.  
  2278. Thu Feb  8 21:25:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2279.  
  2280.     * ln.c: Remove incorrect comment.
  2281.  
  2282.     * cp.c, cp-aux.c (usage): Change +dereference option to
  2283.     +no-dereference, since dereferencing is done by default and
  2284.     the option turns it off.
  2285.  
  2286. Mon Feb  5 17:29:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2287.  
  2288.     * Version 1.0 released.
  2289.  
  2290. Local Variables:
  2291. mode: indented-text
  2292. left-margin: 8
  2293. version-control: never
  2294. End:
  2295.