home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnusutil.zip / ChangeLog < prev    next >
Text File  |  1994-11-05  |  62KB  |  1,711 lines

  1. Sat Nov 05 08:35:25 1994  Jim Meyering  (meyering@comco.com)
  2.  
  3.     * Version 1.12.
  4.  
  5. Fri Nov 04 06:01:00 1994  Jim Meyering  (meyering@comco.com)
  6.  
  7.     * Version 1.11.
  8.  
  9. Wed Nov 02 18:52:20 1994  Jim Meyering  (meyering@comco.com)
  10.  
  11.     * doc/Makefile.in (install): Remove test for existence of info
  12.     file.  Simply change to $(srcdir) instead.
  13.  
  14. Wed Oct 26 23:40:07 1994  Jim Meyering  (meyering@comco.com)
  15.  
  16.     * safe-xstat.hin [EINTR]: Always define safe_l?stat.
  17.     Define it __static -- which is `static' for most includers,
  18.     but `/* empty */' for safe-xstat.cin.
  19.     * safe-xstat.cin: Define __static to nothing so we get public
  20.     safe_l?stat functions in the library.
  21.  
  22.     * Makefile.in (All actions invoking $(MAKE) from within compound
  23.     (e.g. `for') sh statements): Exit non-zero if the sub-make fails.
  24.     Otherwise, the top-level make may exit successfully when it should
  25.     fail.  From Jim Kingdon (kingdon@cygnus.com).
  26.  
  27. Sun Oct 23 23:36:26 1994  Jim Meyering  (meyering@comco.com)
  28.  
  29.     * safe-xstat.hin: Don't use a statement expression here.
  30.     Use an inline function instead.  
  31.     * safe-xstat.cin: Don't duplicate the definition of safe_l?stat here.
  32.     Get the definition from safe-xstat.hin.
  33.  
  34. Fri Oct 21 00:57:23 1994  Jim Meyering  (meyering@comco.com)
  35.  
  36.     * man/Makefile.in: Fix typo that had su.1 being installed as
  37.     `man/man1/.1'.  From Kjetil Torgrim Homme.
  38.  
  39.     * basename.c, dirname.c, expr.c, pathchk.c, sleep.c (main): Diagnose
  40.     wrong number of argument -- usually too few -- instead of just
  41.     referring the user to the --help option.  Reported by Karl Berry.
  42.  
  43. Mon Oct 17 23:55:41 1994  Jim Meyering  (meyering@comco.com)
  44.  
  45.     * doc/Makefile.in (install): Install the info files from either
  46.     the source directory or the object directory.
  47.     From Ian Lance Taylor (ian@cygnus.com).
  48.  
  49. Sun Oct 16 12:14:02 1994  Jim Meyering  (meyering@comco.com)
  50.  
  51.     * lib/Makefile.in (distclean): Don't delete getdate.c and posixtm.c
  52.     here since they are not distributed.
  53.     (realclean): Delete them here instead.
  54.     From Francois Pinard.
  55.  
  56. Mon Oct 10 21:44:42 1994  Jim Meyering  (meyering@comco.com)
  57.  
  58.     * id.c (print_group_list, print_full_info): Use more precise
  59.     feature tests.  Rather than assuming that a definition for
  60.     NGROUPS_MAX implies the existence of the getgroups function,
  61.     test for HAVE_GETGROUPS explicitly.
  62.     * su.c (log_su): Likewise.  Similarly, check HAVE_INITGROUPS.
  63.     Both from Kaveh Ghazi.  He reported that a Pyramid 9820 OSx 5.0d
  64.     (Dual universe SVR3/BSD4.2) system had NGROUPS_MAX and syslog.h
  65.     but not getgroups, initgroups or the syslog functions.
  66.  
  67. Fri Oct 07 19:42:35 1994  Jim Meyering  (meyering@comco.com)
  68.  
  69.     * doc/Makefile.in (sh-utils.dvi): Depend on version.texi.
  70.     * version.texi: Use RELEASEDATE, not RELEASE_DATE.
  71.     * sh-utils.texi: Likewise.
  72.  
  73.     * configure.in: Test for crypt in -lcrypt for NetBSD.
  74.     Reported by Greg Hudson (ghudson@mit.edu).
  75.  
  76.     * system.h: Don't define lstat.  safe-l?stat.h does that now.
  77.  
  78. Thu Oct 06 21:14:07 1994  Jim Meyering  (meyering@comco.com)
  79.  
  80.     * src/Makefile.in (link_command): Remove $(CFLAGS).  Because
  81.     the default value usually includes -g, Linux users were getting
  82.     statically linked executables.  With this removal they'll get
  83.     much smaller, dynamically linked ones by default.
  84.  
  85.     * lib/Makefile.in (safe-lstat.o): Depend on safe-stat.h, too.
  86.  
  87. Sun Oct 02 16:15:32 1994  Jim Meyering  (meyering@comco.com)
  88.  
  89.     * src/Makefile.in: Don't use binprefix.  Use autoconf-2's
  90.     @program_transform_name@ instead.
  91.     * man/Makefile.in: Likewise for manprefix.
  92.  
  93.     * safe-xstat.hin [!S_ISLNK]: Include safe-stat.h and define
  94.     SAFE_LSTAT and safe_lstat to their symlink-ignorant counterparts.
  95.     * lib/Makefile.in (extract_lstat, extract_stat): Add sed rules to
  96.     extract the new cpp directives into safe-lstat.h, but not into
  97.     safe-stat.h.
  98.  
  99. Sat Oct 01 00:14:10 1994  Jim Meyering  (meyering@comco.com)
  100.  
  101.     * system.h: Remove conditional definition of mode_t.
  102.     configure takes care of this now.
  103.  
  104.     * configure.in: Add -l$lib (not $lib) to LIBS when checking
  105.     for syslog.  From Kaveh Ghazi.
  106.  
  107.     * date.c (batch_convert): Use K&R style function definition.
  108.     From Kaveh Ghazi.
  109.  
  110.     * date.c (main): When reading dates from a file with a +FORMAT-style
  111.     user-specified format, don't print the leading `+'.  Franc,ois Pinard
  112.     noticed this problem.
  113.     Make an error message clearer.  From Franc,ois.
  114.  
  115.     * lib/Makefile.in (DISTFILES): Add getline.h.
  116.     (SOURCES, OBJECTS): Add getline.c, getline.o.
  117.  
  118.     * safe-xstat.hin: Don't include <sys/types.h> or <sys/stat.h>.
  119.     Otherwise, we'd lose when the includer has already included
  120.     <sys/stat.h> on systems that aren't protected against multiple
  121.     inclusion.  Add a note that those headers must be included before
  122.     this one.  Don't include <config.h> either.
  123.     * safe-xstat.cin: Include <sys/types.h> and <sys/stat.h> here instead.
  124.     Include <config.h> here, too.
  125.     Kaveh Ghazi reported this problem.
  126.  
  127. Fri Sep 30 22:40:21 1994  Jim Meyering  (meyering@comco.com)
  128.  
  129.     * date.c (main): Accept new option: (-f) --file=datefile.
  130.     (batch_convert): New function.  Suggested by Karl Berry.
  131.  
  132.     * date.c (main): Diagnose use of conflicting options.
  133.     Revamp non-option argument processing.
  134.     Detect write errors.
  135.  
  136.     * lib/*.c, src/*.c: Remove CONFIG_BROKETS conditional.
  137.     * lib/Makefile.in src/Makefile.in: Don't define it.
  138.  
  139.     configure.in (AC_CHECK_FUNCS): Add getcwd.  From Kaveh Ghazi.
  140.  
  141.     * safe-xstat.c.in, safe-xstat.h.in: Rename to safe-xstat.cin and
  142.     safe-xstat.hin so the names don't exceed the 14-character limit.
  143.     Reported by Kaveh Ghazi.
  144.  
  145. Mon Sep 26 19:49:40 1994  Jim Meyering  (meyering@comco.com)
  146.  
  147.     * configure.in: Don't use $su_cv_sys_tiocgwinsz_in_termios_h
  148.     uninitialized.  From R. Bernstein <rocky@panix.com> and Kaveh Ghazi.
  149.     (NICE_PRIORITY): Fix typo that caused omission from PROGS of nice
  150.     and nohup on systems with nice but not setpriority.
  151.     From Andreas Schwab.
  152.  
  153. Sat Sep 24 10:13:00 1994  Jim Meyering  (meyering@comco.com)
  154.  
  155.     * Makefile.in (stamp-h.in): Create using echo, not date.
  156.     Using the latter could easily lead to rcs/cvs merge conflicts.
  157.     * configure.in (stamp-h): Ditto, though this is less important
  158.     because stamp-h isn't distributed.
  159.  
  160.     * nice.c (main): Revamp option processing to detect options
  161.     like `--7' manually and pass the rest off to getopt_long.
  162.     (isinteger): Use ISDIGIT.
  163.     Use parse_long_options.
  164.  
  165.     * system.h: Include <ctype.h> and add IS* macros.
  166.     * expr.c: Don't include <ctype.h> or define IS* macros since
  167.     system.h now does that.
  168.     * printf.c: Ditto.
  169.  
  170.     * date.c (usage): Add description of numeric modifiers.
  171.  
  172.     * printf.c (print_formatted): Declare DIREC_LENGTH size_t, not int.
  173.     (print_esc_string): Ditto for LENGTH.
  174.     * dirname.c (main): Cast string literal to (char*).
  175.     * stty.c (wrapf): Declare first argument const char *.
  176.     * tee.c (main, tee): More const dcls and casting.
  177.     * who.c (read_utmp): New variable: size to avoid type warnings.
  178.     All of these eliminate compilation warnings reported by
  179.     Franc,ois Pinard.
  180.  
  181.     * doc/Makefile.in (DISTFILES): Add version.texi because generating
  182.     that file now depends on having a version of date that can handle
  183.     formats like `+%Y %B'.
  184.     (version.texi): Generate RELEASE_DATE, too.
  185.     * sh-utils.texi: Use RELEASE_DATE instead of hard-coded date.
  186.  
  187.     * long-options.h: Prepend underscores to arg names in prototype
  188.     to avoid warnings about shadowing.
  189.  
  190.     * src/Makefile.in: Add dependencies on long-options.h.
  191.  
  192.     * configure.in: Make having autoconf-1.120 a prerequisite.
  193.  
  194.     * sh-utils.texi [INFO-DIR-ENTRY]: Add an entry for each `invoking'
  195.     node.  Regularize punctuation, indexing, and xrefs.
  196.     From Franc,ois Pinard.
  197.  
  198.     * date.c (usage): Tweak the usage message a little.
  199.     Add `const' to more dcls.
  200.  
  201.     * stty.c: Add `const' to more dcls.
  202.     * su.c: Ditto.
  203.     * who.c: Ditto.
  204.  
  205.     * tee.c (main): Use _POSIX_SOURCE, not _POSIX_VERSION.
  206.  
  207. Sat Sep 17 15:48:10 1994  Jim Meyering  (meyering@comco.com)
  208.  
  209.     * (doc): New subdirectory with texinfo documentation.
  210.     Thanks to Franc,ois Pinard and Karl Berry!
  211.     Note however that it contains mainly the information from the
  212.     `man' pages, so it is not good documentation.  But this way,
  213.     at least we don't have to maintain the troff man pages anymore.
  214.  
  215.     * su.c: Test !HAVE_ENDGRENT and !HAVE_ENDPWENT rather than
  216.     _POSIX_SOURCE to determine whether endgrent and endpwent should
  217.     be defined away.
  218.     * configure.in (AC_CHECK_FUNCS): Add endgrent and endpwent.
  219.  
  220.     * who.c: Test HAVE_SYS_PARAM_H rather than _POSIX_SOURCE
  221.     to determine whether <sys/param.h> should be included.
  222.  
  223.     * date.c (main): Rewrite command-line argument handling code
  224.     to give diagnostics for inconsistent options.
  225.  
  226.     * Makefile.in: Restructure dependencies using local-*
  227.     and recursive-* targets to avoid evil double-colon rules.
  228.     Although the actions assiciated with double-colon rules are
  229.     run sequentially using GNU make-3.71, POSIX doesn't guarantee
  230.     that behavior.    The next release may run them in parallel.
  231.     Running the old rules in parallel would sometimes delete
  232.     config.status before it was used in a subdirectory make.
  233.     With several suggestions from Franc,ois Pinard.
  234.  
  235. Thu Sep 15 19:10:51 1994  Jim Meyering  (meyering@comco.com)
  236.  
  237.     * stty.c [VWERSE && !VWERASE]: Define VWERASE for AIX-3.2.5.
  238.  
  239. Sat Sep 03 00:41:53 1994  Jim Meyering  (meyering@comco.com)
  240.  
  241.     * lib/Makefile.in (safe-lstat.c, safe-lstat.h, safe-stat.c,
  242.     safe-stat.h): Use $(srcdir) to find source files.
  243.     (.c.o): Use -I. to get safe-lstat.h and safe-stat.h from the
  244.     build directory.
  245.     * src/Makefile.in (incl): Add -I../lib to get lib/safe-lstat.h and
  246.     lib/safe-stat.h from the build directory.  From Michael I Bushnell
  247.     <mib@geech.gnu.ai.mit.edu>.
  248.  
  249.     * Makefile.in: Remove rules to create installation directories.
  250.     * {src,man}/Makefile.in: Put them here instead.
  251.  
  252.     * configure.in: Update to take advantage of autoconf 2.0 features.
  253.  
  254. Sat Aug 27 16:57:20 1994  Jim Meyering  (meyering@comco.com)
  255.  
  256.     * system.h [BROKEN_STAT_MACROS]: Remove unnecessary #ifdef's.
  257.     From Francois Pinard.
  258.  
  259. Thu Aug 18 11:44:48 1994  Jim Meyering  (meyering@comco.com)
  260.  
  261.     * su.1: Explain why GNU doesn't support the `wheel group'.
  262.  
  263. Mon Aug 01 21:58:14 1994  Jim Meyering  (meyering@comco.com)
  264.  
  265.     * date.c: Add --utc option.  It will supercede --uct.
  266.     Change references to `universal coordinated time' to
  267.     correct `coordinated universal time'.  From Harris Boldt Edelman
  268.     <hbe@red-eft.la.ca.us>.
  269.     * date.1: Correct the documentation, too.
  270.  
  271.     * date.c (main, show_date): For -u, use gmtime instead of relying on
  272.     localtime's ability to interpret the TZ enviroment variable.
  273.     `date -u' failed (by reporting local time) on romp-ibm-bsd and PCs
  274.     (DOS and OS/2) running emx 0.8h.  From R. Bernstein
  275.     <rocky@watson.ibm.com>.
  276.  
  277. Sat Jul 30 07:52:27 1994  Jim Meyering  (meyering@comco.com)
  278.  
  279.     * nohup.sh: Separate `nice -5' from COMMAND with `--' to ensure
  280.     that COMMAND isn't interpreted as an option to nice.
  281.     * groups.sh: Similarly, separate each name from `id -Gn' with `--'.
  282.     Karl Berry pointed out that `groups --help user' gave confusing
  283.     diagnostics.
  284.  
  285. Tue Jul 26 11:33:53 1994  Jim Meyering  (meyering@comco.com)
  286.  
  287.     * su.c (main): Make copies of the password information we'll use
  288.     so that log_su (through getlogin) doesn't clobber the static data.
  289.     With suggestions from Francois Pinard.
  290.  
  291.     * system.h: Remove `|| defined(_POSIX_VERSION)' from test that
  292.     decides whether to include <fcntl.h>.  From Francois Pinard.
  293.  
  294. Mon Jul 25 23:54:36 1994  Jim Meyering  (meyering@comco.com)
  295.  
  296.     * pathchk.c (dir_ok): Use SAFE_STAT.
  297.     * test.c (test_stat, binary_operator, unary_operator): Use SAFE_STAT
  298.     and SAFE_LSTAT.
  299.     * who.c (print_entry):  Use SAFE_STAT.
  300.  
  301.     * test.c (group_member): Remove function.  Use the one broken out
  302.     into group-member.c instead.
  303.  
  304. Fri Jul 15 00:23:17 1994  Jim Meyering  (meyering@comco.com)
  305.  
  306.     system.h: Remove unneeded decls of atof and atol.
  307.  
  308. Fri Jul 08 01:09:23 1994  Jim Meyering  (meyering@comco.com)
  309.  
  310.     stty.c (main): Initialize max_col (used by wrapf) before calling
  311.     display_speed.  Otherwise, `stty speed' output a spurious newline.
  312.     From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
  313.  
  314. Sun Jul 03 08:44:00 1994  Jim Meyering  (meyering@comco.com)
  315.  
  316.     * configure.in [AC_HAVE_HEADERS]: Add sys/param.h, for
  317.     definition of HAVE_SYS_PARAM_H, now tested in pathmax.h.
  318.  
  319.     * configure.in [AC_WORDS_BIGENDIAN]: Add it.  This macro is
  320.     required by memcmp.c on big-endian systems.  Its absence was
  321.     diagnosed by Lars Duening (duening@ibr.cs.tu-bs.de).
  322.  
  323. Sun Jun 19 00:18:06 1994  Jim Meyering  (meyering@comco.com)
  324.  
  325.     * nice.c (main): Accept options like `--5' (equivalent to `-n -5')
  326.     instead of letting getopt give an `unrecognized option' error.
  327.  
  328.     * long-options.c: Require another argument: version_string.
  329.     Don't include "version.h" or "system.h".
  330.     * basename.c, dirname.c, echo.c, expr.c, hostname.c, printf.c,
  331.     pwd.c, stty.c, test.c, yes.c: Adjust callers of parse_long_options
  332.     accordingly.
  333.  
  334. Thu Jun 02 14:11:31 1994  Jim Meyering  (meyering@comco.com)
  335.  
  336.     * stty.c (main): Set max_col and current_col before running
  337.     display_window_size.  Otherwise, `stty size' output a spurious
  338.     newline.  From Bauke Jan Douma (bjdouma@xs4all.hacktic.nl).
  339.  
  340. Mon May 30 09:33:53 1994  Jim Meyering  (meyering@comco.com)
  341.  
  342.     * test.c (test_syntax_error, beyond): Add __attribute__ ((noreturn))
  343.     so gcc will know enough not to give warnings.
  344.  
  345. Sun May 29 17:40:21 1994  Jim Meyering  (meyering@comco.com)
  346.  
  347.     * long-options.c: Move from src/ to lib/.
  348.     * long-options.h: Ditto.
  349.     * src/Makefile.in: Remove references to long-options.[ch].
  350.     * lib/Makefile.in (SOURCES, OBJECTS): Add long-options.[co].
  351.  
  352. Fri May 27 18:20:18 1994  Jim Meyering  (meyering@comco.com)
  353.  
  354.     * stty.c [VFLUSH && !VFLUSHO]: Define VFLUSH0.
  355.     Ultrix's termios.h defines VFLUSH, but not VFLUSHO.
  356.     From Kjetil Torgrim Homme <kjetilho@ifi.uio.no>.
  357.  
  358. Thu May 26 08:46:32 1994  Jim Meyering  (meyering@comco.com)
  359.  
  360.     * configure.in [INSTALL]: Revert change of March 8.  autoconf
  361.     has fixed this.
  362.  
  363. Thu May 19 01:10:20 1994  Jim Meyering  (meyering@comco.com)
  364.  
  365.     * Version 1.10.
  366.  
  367.     * lib/Makefile.in (DISTFILES): Add getdate.c and posixtm.c.
  368.  
  369.     * src/Makefile.in (users.c): Use cp if hard link fails.
  370.     From Ian Lance Taylor.
  371.  
  372.     * Makefile.in (dist): Change package name from shellutils to sh-utils.
  373.     That allows a hyphen and 5-character version number without exceeding
  374.     the 14-character limit on file name length.  shellutils-1.10 would
  375.     have been too long.
  376.     * version.c: Update package name.
  377.  
  378.     * hostname.c: Include <sys/types.h> before "system.h".
  379.     From Kaveh Ghazi and Karl Berry.
  380.  
  381.     * hostname.c (sethostname) [!HAVE_SETHOSTNAME && HAVE_SYSINFO &&
  382.     HAVE_SYS_SYSTEMINFO_H && HAVE_LIMITS_H]: New function.  SVR4 systems
  383.     prefer sysinfo over sethostname.
  384.     * configure.in (AC_HAVE_FUNCS): Add sysinfo.
  385.     (AC_HAVE_HEADERS): Add sys/systeminfo.h.
  386.     From Kaveh Ghazi.
  387.  
  388. Fri May 13 09:45:23 1994  Jim Meyering  (meyering@comco.com)
  389.  
  390.     * lib/xgethostname.c (xgethostname): Call xmalloc outside the loop.
  391.     Correct loop termination condition.
  392.  
  393.     * pwd.c: Include <sys/types.h> before "system.h".
  394.     From Kaveh Ghazi.
  395.  
  396.     * {lib,man,src}/Makefile.in (Makefile): Use ../config.status
  397.     instead of $(srcdir)/../config.status.  The latter didn't work
  398.     for builddir != srcdir.  From Kaveh Ghazi.
  399.  
  400.     * Makefile.in (Makefile): Remove dependencies on */Makefile.in.
  401.     Change the rule so running config.status creates only Makefile.
  402.     (stamp-config): Have config.status generate only config.h.
  403.  
  404.     * {lib,man,src}/Makefile.in (Makefile): Add single dependency on
  405.     Makefile.in and rule to make config.status create only Makefile.
  406.  
  407.     * hostname.c: New program.
  408.     * hostname.1: New file.
  409.     * Makefile.in (PROGS): Add hostname.
  410.     (SOURCES): Add hostname.c
  411.     * src/Makefile.in: Add rules and dependencies for hostname.
  412.     * configure.in (AC_HAVE_FUNCS): Add sethostname.
  413.  
  414.     * pathchk.c (validate_path) [lint]: Initialize a variable to
  415.     suppress `used before initialized' warning.
  416.  
  417.     * who.c: Correct gethostname prototype to indicate the function
  418.     returns int, not char.
  419.  
  420. Sun May 01 08:38:18 1994  Jim Meyering  (meyering@comco.com)
  421.  
  422.     * who.c: Add #ifdefs to build the `users' executable.
  423.     * src/Makefile.in: Add corresponding rules.
  424.     * Makefile.in (PROGS): Add users.
  425.     From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.
  426.     * users.1: Document it.
  427.  
  428. Thu Apr 28 00:45:02 1994  Jim Meyering  (meyering@comco.com)
  429.  
  430.     * pwd.c: New program.
  431.     * pwd.1: New file.
  432.     * Makefile.in (PROGS): Add pwd.
  433.     * lib/Makefile.in: (DISTFILES): Add pathmax.h.
  434.     (SOURCES, OBJECTS): Add xgetcwd.c and xgetcwd.o respectively.
  435.     * src/Makefile.in: Add rules and dependencies for pwd.
  436.  
  437.     * yes.c: Don't include version.h.
  438.  
  439. Mon Apr 18 19:54:24 1994  Jim Meyering  (meyering@comco.com)
  440.  
  441.     * documentation: Change uses of `pathname' and `path' as per
  442.     GNU standards.
  443.  
  444.     * long-options.c (parse-long-options): Take a new argument,
  445.     command_name, for use in --version output.
  446.     * basename.c, dirname.c, echo.c, expr.c, printf.c, stty.c, test.c,
  447.     yes.c (main): Update callers.
  448.  
  449. Wed Mar 30 08:53:21 1994  Jim Meyering  (meyering@comco.com)
  450.  
  451.     * configure.in: Use AC_SET_MAKE.
  452.     * Makefile.in: Edit MAKE assignments into @SET_MAKE@.
  453.  
  454. Fri Mar 25 01:13:42 1994  Jim Meyering  (meyering@comco.com)
  455.  
  456.     * configure.in: Use AC_VERBOSE, AC_CHECKING, and AC_WARN instead
  457.     of explicit echo commands.
  458.     When checking for shadow password routines, make sure the function
  459.     getspnam is available before defining HAVE_SHADOW_H.
  460.     <dvldbg@cs.umu.se> reported that shadow.h exists on some
  461.     linux system that did not have the function.
  462.  
  463. Tue Mar  8 10:29:13 1994  Jim Meyering  (meyering@comco.com)
  464.  
  465.     * configure.in [INSTALL]: When AC_PROG_INSTALL resorts to setting
  466.     this to `./install.sh', make it `../install.sh' instead since that
  467.     script will be invoked only from subdirectories.
  468.     [WINSIZE_IN_PTEM]: Check for this unconditionally, rather than
  469.     only when TIOCGWINSZ is not defined through termios.h.  The old
  470.     method loses on SCO ODT 3.0 systems.
  471.  
  472. Sat Feb 19 14:23:14 1994  Jim Meyering  (meyering@comco.com)
  473.  
  474.     * Version 1.9.4.
  475.  
  476.     * stty.c (main): Use getopt_long_only with "ag" instead of
  477.     getopt_long with "".  The latter incremented optind so the
  478.     -a and -g options weren't recognized.
  479.  
  480.     * Version 1.9.3.
  481.  
  482. Tue Feb 15 18:28:28 1994  Jim Meyering  (meyering@comco.com)
  483.  
  484.     * stty.c (main): Use getopt only to recognize long options.
  485.     Hand code the loop to detect -a, -g, -ag and -ga.  Using getopt
  486.     to detect the short options loses (because we have to ignore
  487.     unrecognized options and we are allowing GNU getopt to permute)
  488.     because e.g. `-tabs' is interpreted as a group of options, one of
  489.     which is `-a'.  Before, running `stty -tabs echo' gave this error:
  490.       stty: when specifying an output style, modes may not be set
  491.     Reported by Arne H. Juul.
  492.  
  493. Sun Feb 13 13:34:25 1994  Jim Meyering  (meyering@comco.com)
  494.  
  495.     * basename.1, dirname.1, stty.1: Reflect usage changes.
  496.     * basename.c, dirname.c, stty.c (usage): Ditto.
  497.  
  498.     * long-options.h (parse_long_options): Invoke usage function
  499.     argument with explicit dereference as per GNU coding standards.
  500.  
  501.     * basename.c dirname.c: Use parse_long_options instead of the
  502.     conventional getopt_long paradigm.  Before, the commands
  503.     `basename file-dist -dist' and `basename -- file.c .c' produced
  504.     incorrect results.  Now, even `basename -file-dist -dist' works
  505.     and the command `basename -- file.c .c' fails for the right
  506.     reason: the `--' is not a special (to getopt) token for these 
  507.     commands.  It is interpreted as the filename, so there are too
  508.     many arguments to basename.  Rick Sladkey <jrs@world.std.com>
  509.     reported the problem with basename.
  510.  
  511.     * stty.c (set_window_size): When stty fails to get the window size
  512.     (as happens on telnet sessions to Solaris systems), initialize all
  513.     fields of the winsize struct.  Before, it was using the uninitialized
  514.     pixel fields of the struct in the ioctl to set window size parameters.
  515.     From Rick Sladkey.
  516.  
  517.     * stty.c (main): Use parse_long_options to handle --help and --version.
  518.     (main): In the remaining getopt_long loop, don't jump out of the
  519.     loop from the `default' branch of the switch statement.  Doing that
  520.     left optind in an inconsistent when there were non-option arguments
  521.     preceding `reversed' arguments (e.g. stty echo -echoe) and the
  522.     preceding non-option arguments were ignored.  Rick Sladkey reported
  523.     that stty was ignoring arguments.
  524.  
  525.     * stty.c (main): Fail with a diagnostic when both -g and -a are given.
  526.     (main): Fail with a diagnostic when either -g or -a is used with
  527.     arguments for setting modes.
  528.  
  529. Fri Feb 11 19:39:37 1994  Jim Meyering  (meyering@comco.com)
  530.  
  531.     * stty.c (get_win_size): Don't use an ANSI-style function
  532.     definition.  From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.
  533.  
  534. Thu Feb 10 01:22:37 1994  Jim Meyering  (meyering@comco.com)
  535.  
  536.     * stty.c [CSWTCH] (__sparc__ && __svr4__): Define `swtch' to
  537.     _POSIX_VDISABLE by default.  Otherwise, the default settings on
  538.     SunOS 5.3 (from /usr/include/sys/termios.h) have both `swtch'
  539.     and `susp' set to ^Z.  Those default settings are not unusual.
  540.     What is unusual is that with such settings on SunOS 5.3, the tty
  541.     driver doesn't generate a signal for control-Z.  Reported by
  542.     Brent Wiese <brent@dot.imgen.bcm.tmc.edu>.
  543.  
  544.     * stty.c (main) [CIBAUD]: Don't report an error on SunOS 4.1.x
  545.     systems if the only difference is in this nybble of c_cflag.
  546.     See the comments for the gory details.  Thanks to
  547.     Erez "HWank1" Zadok <ezk@cs.columbia.edu> for reporting this
  548.     and helping me reproduce it.
  549.  
  550. Tue Feb 01 00:59:56 1994  Jim Meyering  (meyering@comco.com)
  551.  
  552.     * stty.c (main): Call tcsetattr only if we've updated tty modes,
  553.     not e.g. if we've changed the window size.
  554.  
  555.     * Update Copyright dates in src/*.
  556.  
  557. Fri Jan 28 11:02:21 1994  Jim Meyering  (meyering@comco.com)
  558.  
  559.     * configure.in: Don't set LDFLAGS since linking now uses both
  560.     LDFLAGS and CFLAGS.
  561.  
  562. Wed Jan 26 10:54:02 1994  Jim Meyering  (meyering@comco.com)
  563.  
  564.     * stty.c (get_win_size): New function.  Try getting size first
  565.     for the device on stdout.  Try stdin only if that fails.  Suggested
  566.     by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
  567.     (set_win_size): Call get_win_size instead of calling ioctl directly.
  568.     (display_window_size): Ditto.
  569.     (screen_columns): Ditto.
  570.  
  571. Mon Jan 24 22:57:18 1994  Jim Meyering  (meyering@comco.com)
  572.  
  573.     * stty.c (set_window_size): Work around SunOS 4.x kernel bug that
  574.     makes `stty rows 34 cols 80;stty rows 0;stty cols 0' incorrectly
  575.     set rows to 80 and columns to 0.  Sun's stty has this problem, too.
  576.     The kernel bug is fixed in Solaris 2.  Mostly from Alexander Dupuy
  577.     <dupuy@cs.columbia.edu>.
  578.  
  579.     * src/Makefile.in: Use both LDFLAGS and CFLAGS when linking.
  580.     * man/Makefile.in: Use binprefix as the default manprefix.
  581.  
  582.     * nohup.sh: Redirect usage message to stderr.
  583.     From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
  584.  
  585. Thu Jan 13 17:27:38 1994  Jim Meyering  (meyering@comco.com)
  586.  
  587.     * src/Makefile.in: Change all link commands to use both $(CFLAGS)
  588.     and $(LDFLAGS).
  589.  
  590. Mon Jan 10 01:20:38 1994  Jim Meyering  (meyering@comco.com)
  591.  
  592.     * man/Makefile.in (manprefix): Use binprefix as the default.
  593.  
  594. Thu Jan 06 18:19:06 1994  Jim Meyering  (meyering@comco.com)
  595.  
  596.     * who.c (print_entry): Prepend `/dev/' only if ut_line is not
  597.     already an absolute filename.  Just to be safe.
  598.  
  599. Fri Dec 31 00:22:59 1993  Jim Meyering  (meyering@comco.com)
  600.  
  601.     * date.c (usage): Reorder listing of % formats in `sort -f' order.
  602.  
  603. Tue Dec 28 15:49:32 1993  Jim Meyering  (meyering@comco.com)
  604.  
  605.     * install.sh: New file.
  606.     Makefile.in [DISTFILES]: Add it.
  607.  
  608.     * who.c (read_utmp): Use stdio functions instead of open/read/close
  609.     to avoid having to handle POSIX read's -1/errno=EINTR failure case.
  610.  
  611.     * tee.c (tee): A POSIX implementation of the read system call
  612.     may return -1 and set errno to EINTR when it is interrupted.
  613.     Retry instead of failing with an error.
  614.     (tee): Don't use xwrite.  Use full_write instead and include the
  615.     losing file name in the message reporting a write failure.
  616.     Don't treat standard output as a special case, so a failed write
  617.     to stdout doesn't exit immediately.
  618.  
  619.     * date.c (usage): Note that for %w, 0 corresponds to Sunday.
  620.  
  621. Sat Dec 25 23:15:58 1993  Jim Meyering  (meyering@comco.com)
  622.  
  623.     * who.c (main): Don't chdir ("/dev") for the stat in print_entry.
  624.     (print_entry): Instead of stat'ing the /dev-relative path, ut_line,
  625.     stat the absolute path with "/dev/" prefix.  From David MacKenzie.
  626.  
  627. Wed Dec 22 00:53:51 1993  Jim Meyering  (meyering@comco.com)
  628.  
  629.     * expr.c (toarith): Interpret the empty string as just that
  630.     rather than as the integer zero.
  631.     Before, `expr "" == 0' output 1.  Now it prints 0.
  632.  
  633.     * configure.in (AC_HAVE_HEADERS): Check for float.h for strtod.c.
  634.  
  635.     * configure.in (check for TIOCGWINSZ): Don't look in sys/ioctl.h
  636.     or sys/ptem.h if we've already found it in termios.h.  This
  637.     eliminates redefinition warnings from including both termios.h
  638.     and sys/ioctl.h on sytems running SunOS.  From Matthew Seaman
  639.     (matthew@dyson.ox.ac.uk).
  640.  
  641.     * date.1: Document new %s format and old `-' and `_' numeric field
  642.     modifiers.
  643.  
  644.     * memcmp.c: Use the latest version from GNU C library.
  645.  
  646. Mon Dec 20 23:29:30 1993  Jim Meyering  (meyering@comco.com)
  647.  
  648.     * configure.in [test for 8-bit clean memcmp]: Add a test to detect
  649.     losing memcmp from SunOS4.1.x.  From Robert H. de Vries
  650.     <robert@and.nl>.
  651.  
  652. Sat Dec 18 01:12:24 1993  Jim Meyering  (meyering@comco.com)
  653.  
  654.     * configure.in (AC_OUTPUT): Put `touch stamp-config' in second arg
  655.     so it goes in config.status.  This eliminates unnecessary second run
  656.     of configure.
  657.  
  658. Fri Dec 10 01:06:28 1993  Jim Meyering  (meyering@comco.com)
  659.  
  660.     * stty.c (screen_columns): Instead of dying just because Solaris'
  661.     `ioctl (0, TIOCGWINSZ' fails (strangely only for telnet sessions,
  662.     not rlogin sessions), ignore its errno == EINVAL and try to get
  663.     the number of columns another way.
  664.  
  665.     * stty.c (set_window_size): If ioctl to get window size fails,
  666.     (as on telnet sessions to Solaris 2.[12] systems) try to set the
  667.     requested fields anyway, setting to zero any unspecified fields.
  668.     This is what Sun's /bin/stty appears to do.
  669.     * (display_window_size): Don't display anything for the number
  670.     of rows and columns if the ioctl call intended to get them fails.
  671.  
  672. Tue Nov 30 23:58:54 1993  Jim Meyering  (meyering@comco.com)
  673.  
  674.     * Version 1.9.2.
  675.  
  676. Mon Nov 29 00:28:35 1993  Jim Meyering  (meyering@comco.com)
  677.  
  678.     * stty.c, configure.in, acconfig.h: Revert change of Nov 26.
  679.     I am no longer able to reproduce the behavior that prompted
  680.     that patch -- but I had tested only using an old version of gcc.
  681.     When building with a more recent version of gcc or with /bin/cc
  682.     there is no problem.
  683.  
  684. Sat Nov 27 15:11:21 1993  Jim Meyering  (meyering@comco.com)
  685.  
  686.     * nice.c (main): If an adjustment is specified, but no command is
  687.     given, give a diagnostic in addition to the usage message.
  688.     (isinteger): Accept a leading `+'.
  689.  
  690. Fri Nov 26 18:49:42 1993  Jim Meyering  (meyering@comco.com)
  691.  
  692.     * stty.c [GWINSZ_BROKEN]: Define TIOCGWINSZ to TCGETS for Solaris-2.2.
  693.     On that system, ioctl (0, TIOCGWINSZ, &win) always fails, but using
  694.     TCGETS works.  Reported by Francois Pinard.
  695.  
  696.     * configure.in [GWINSZ_BROKEN]: New test to detect Solaris' inability
  697.     to get window size from ioctl using TIOCGWINSZ.
  698.     * acconfig.h [GWINSZ_BROKEN]: Add an #undef.
  699.  
  700. Mon Nov 22 23:40:21 1993  Jim Meyering  (meyering@comco.com)
  701.  
  702.     * who.c [defined (UTMPX_FILE)]: (undef and) define UTMP_FILE to
  703.     this value even if UTMP_FILE is already defined.  Because some
  704.     systems define both symbols.  From Arne H. Juul.
  705.     * [MESG_BIT]: Rename to S_IWGRP (from sys/stat.h>) and define only
  706.     if not already defined.
  707.  
  708. Fri Nov 19 23:08:03 1993  Jim Meyering  (meyering@comco.com)
  709.  
  710.     * who.c (print_entry): Produce reasonably formatted output even when
  711.     sizeof (this->ut_name,ut_line) are much larger than 8.  For Solaris
  712.     and other SysVr4.  With help from Arne H. Juul.
  713.     * configure.in (HAVE_UTMPX_H): New test; combined with test for the
  714.     ut_host field.  From Arne H. Juul.
  715.  
  716.     * memcmp.c: New file.
  717.     * lib/Makefile.in [SOURCES]: Add memcmp.c.
  718.     * configure.in (AC_REPLACE_FUNCS): Add memcmp.
  719.     Add test for 8-bit clean memcmp.
  720.  
  721.     * configure.in (AC_HAVE_FUNCS): Add isascii.
  722.     * expr.c [!defined (isascii) || defined (STDC_HEADERS)]: This failed
  723.     on AIX PS/2 1.3 systems because isascii is a function and it is used
  724.     in definitions (with the necessary side effect of assigning to a
  725.     global variable) of the is* macros.  Also test HAVE_ISASCII and
  726.     redefine ISASCII(c) instead of isascii.
  727.     Reported by Minh Tran-Le (tranle@intellicorp.com).
  728.     * printf.c: Ditto.
  729.  
  730.     * configure.in (AC_HAVE_HEADERS): Add sys/timeb.h; getdate.y tests
  731.     HAVE_SYS_TIMEB_H.
  732.  
  733.     * stty.c (main): Detect the case in which POSIX-conformant tcsetattr
  734.     fails and still returns zero.
  735.  
  736. Wed Nov 17 21:05:10 1993  Jim Meyering  (meyering@comco.com)
  737.  
  738.     * yes.c (main): Complete my half-finished Nov 2 change.
  739.     yes with arguments did not print newlines.  From Andreas Schwab
  740.     (ls5.informatik.uni-dortmund.de).
  741.  
  742.     * stty.c (wrapf): Fix off-by-one error that could make `stty -a'
  743.     output lines one character too long.  From Andreas Schwab.
  744.  
  745. Sat Nov 13 00:11:19 1993  Jim Meyering  (meyering@comco.com)
  746.  
  747.     * Version 1.9.1.
  748.  
  749.     * configure.in [LIBS]: Add -lbsd if that is necessary to get the
  750.     syslog function.  With help from Kaveh Ghazi.
  751.  
  752.     * configure.in [LIBS]: Reorganize/unify the code that adds libraries
  753.     solely to resolve syslog.  Add a library only if it is required to
  754.     resolve the syslog reference.
  755.  
  756.     * configure.in [AC_HAVE_HEADERS]: Check for sys/timeb.h.
  757.     getdate.y needs to know.
  758.     [LIBS]: Check for initgroups in -los.  This is required by SCO-ODT-3.0
  759.     when linking su.
  760.     [LIBS]: Check -lufc for crypt.
  761.     Reported by Steven W Orr (steveo@world.std.com).
  762.  
  763. Thu Nov 11 23:55:48 1993  Jim Meyering  (meyering@comco.com)
  764.  
  765.     * id.c [NGROUPS_MAX]: Undefine before redefining.
  766.     From Kaveh R. Ghazi (ghazi@noc.rutgers.edu).
  767.  
  768.     * who.c (list_entries): Trim any trailing blanks from ut_name
  769.     and make sure the string is NUL-terminated before printing it.
  770.     Before, `who -q' displayed 8-character names with a tty
  771.     (e.g. `q1') suffix.
  772.  
  773.     * stty.c [CFLUSHO]: Move this definition so it follows the
  774.     one for VFLUSHO.
  775.  
  776. Mon Nov 08 23:16:36 1993  Jim Meyering  (meyering@comco.com)
  777.  
  778.     * Version 1.9.
  779.  
  780.     * su.c (correct_password): Report an error and fail if getpass
  781.     returns NULL.
  782.  
  783. Tue Nov 02 01:14:21 1993  Jim Meyering  (meyering@comco.com)
  784.  
  785.     * acconfig.h: Add comments.
  786.  
  787.     * printenv.c (main): Exit with status == 2 for file error.
  788.  
  789.     * yes.c (main): Restore argv/optind handling -- now that
  790.     parse_long_options doesn't change optind.
  791.  
  792. Mon Oct 25 19:22:58 1993  Jim Meyering  (meyering@comco.com)
  793.  
  794.     * basename.c, date.c, dirname.c, echo.c, env.c, expr.c, id.c,
  795.     logname.c, nice.c, pathchk.c, printenv.c, printf.c, sleep.c,
  796.     stty.c, su.c, tee.c, test.c, tty.c, uname.c, who.c, whoami.c,
  797.     yes.c: Use the preferred `--longopt=arg' syntax in --help message
  798.     rather than `--longopt arg'.  From Francois Pinard.
  799.  
  800.     * stty.c (main, integer_arg): Don't just call error(1,... about
  801.     improper usage.  Call `error (0,...' then usage (1).
  802.  
  803. Sun Oct 24 14:10:23 1993  Jim Meyering  (meyering@comco.com)
  804.  
  805.     * test.c [member]: Don't try to cast index return value to an int.
  806.     That can lose on systems with 64-bit pointers.
  807.  
  808.     * long-options.c: Save and restore optind, too.
  809.     * long-options.h: New file.
  810.     * long-options.c, echo.c, expr.c, printf.c, test.c, yes.c:
  811.     Include it instead of duplicating dcls.
  812.     * src/Makefile.in: Add dependencies for it.
  813.  
  814. Tue Oct 19 00:26:27 1993  Jim Meyering  (meyering@comco.com)
  815.  
  816.     * expr.c [!__STDC__]: Don't define away `const'.  configure alone
  817.     decides whether to do that.  From Francois Pinard.
  818.  
  819. Sat Oct 16 22:32:54 1993  Jim Meyering  (meyering@comco.com)
  820.  
  821.     * whoami.c (main): Cast printf arg UID so it matches the type
  822.     expected by %u format no matter how uid_t is defined.
  823.  
  824.     * stty.c: Accept `status' option and VDISCARD as an alias for
  825.     VFLUSHO.  From Arne H. Juul (arnej@imf.unit.no).
  826.  
  827.     * basename.c, date.c, dirname.c, echo.c, env.c, expr.c,
  828.     false.sh, groups.sh, id.c, logname.c, long-options.c, nice.c,
  829.     nohup.sh, pathchk.c, printenv.c, printf.c, sleep.c, stty.c,
  830.     su.c, tee.c, test.c, true.sh, tty.c, uname.c, who.c, whoami.c,
  831.     yes.c: Using --help gets long well- formatted help.  Now --help
  832.     writes to stdout and exits successfully.  From Francois Pinard
  833.     <pinard@iro.umontreal.ca>.
  834.  
  835. Wed Oct 13 13:10:27 1993  Jim Meyering  (meyering@comco.com)
  836.  
  837.     * long-options.c: Include sys/types before system.h.
  838.     From Franc,ois Pinard (pinard@iro.umontreal.ca).
  839.  
  840. Tue Oct 12 00:53:26 1993  Jim Meyering  (meyering@comco.com)
  841.  
  842.     * stime.c [HAVE_CONFIG_H, CONFIG_BROKETS]: Include <config.h>
  843.     or "config.h".
  844.  
  845.     * src/Makefile.in [clean]: Also delete '['.
  846.  
  847. Sun Oct 10 14:05:23 1993  Jim Meyering  meyering@comco.com
  848.  
  849.     * false.sh, groups.sh, nohup.sh, true.sh: Add --help and --version.
  850.     * src/Makefile.in (false, groups, nohup, true): Substitute the string
  851.     from version.c for @VERSION@ in *.sh.
  852.  
  853. Sat Oct  9 23:12:53 1993  Jim Meyering  meyering@comco.com
  854.  
  855.     * configure.in: Remove AC_UNISTD_H; add unistd.h to AC_HAVE_HEADERS.
  856.  
  857. Tue Oct  5 22:18:05 1993  Jim Meyering  meyering@comco.com
  858.  
  859.     * tty.c (main): Detect write error.  Use isatty (rather than
  860.     testing whether ttyname() is NULL) to determine exit status
  861.     because ttyname may return NULL when stdin is a terminal device.
  862.  
  863.     * expr.c (eval7): Rewrite if-else-if-else... sequence to avoid a
  864.     spurious `function returns without a value' warning.
  865.  
  866.     * printenv.c (main), tty.c (main): Detect and report write errors.
  867.  
  868.     * echo.c, patchchk.c, printenv.c, printf.c, sleep.c, stty.c, su.c,
  869.     tee.c, test.c, tty.c, uname.c, yes.c: Accept --help and --version
  870.     options.
  871.  
  872.     * long-options.c: New file.  To let echo, expr, printf, test, and
  873.     yes accept --help and --version as unobtrusively as possible.
  874.     * src/Makefile.in [SORUCES]: Add it.
  875.  
  876.     * configure.in: Add AC_TIME_WITH_SYS_TIME and AC_STAT_MACROS_BROKEN.
  877.  
  878.     * nice.c (main) [NICE_PRIORITY]: When given an argument, don't
  879.     try to get current priority.  nice() requires only the delta;
  880.     we don't need to compute the absolute priority as for setpriority.
  881.  
  882. Mon Oct 04 22:15:07 1993  Jim Meyering (meyering@comco.com)
  883.  
  884.     * who.c (print_entry, print_heading, who_am_i):
  885.     Cast printf field width arguments to int to avoid warnings.
  886.     (idle_string): Cast idle seconds and minutes to int.
  887.     Declare functions read_utmp and idle_string to be static.
  888.     Don't declare ttyname as static.
  889.  
  890.     * echo.c (just_echo): Use putchar instead of printf.
  891.  
  892.     * expr.c (parse_long_options): New function.
  893.     (main): Use it to handle --version and --help properly.
  894.  
  895.     * tee.c (main): Put entire #ifdef inside if-braces to make structure
  896.     clearer.
  897.     (main, tee): Compare close() != 0 rather than close () == -1.
  898.  
  899.     * pathchk.c (portable_chars_only, dir_ok): Make a couple variables
  900.     const.
  901.  
  902. Wed Sep 08 00:07:36 1993  Jim Meyering (meyering@comco.com)
  903.  
  904.     * test.c [advance, unary_advance]: Rewrite using do{...}while(0)
  905.     paradigm instead of comma expressions that make Alpha OSFv1.3
  906.     C compiler segfault.
  907.  
  908.     * basename.c, date.c, dirname.c, env.c, id.c, logname.c, nice.c:
  909.     Add --help and --version options.
  910.  
  911. Sat Jul 24 08:52:18 1993  Jim Meyering (meyering@comco.com)
  912.  
  913.     * configure.in: Check for -lshadow.  Linux needs it when using shadow
  914.     passwords.  Reported by Mattias Olofsson <mattias@lysator.liu.se>.
  915.  
  916. Thu May 27 20:05:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  917.  
  918.     * configure.in (c_line test): Add missing `fi'.
  919.  
  920. Tue May 18 23:49:26 1993  Jim Meyering (meyering@comco.com)
  921.  
  922.     * mkinstalldirs: New file.
  923.     * Makefile.in (installdirs): Use it.
  924.  
  925. Thu May 13 01:03:16 1993  Jim Meyering (meyering@comco.com)
  926.  
  927.     * Makefile.in (installdirs): New rules for creating installation
  928.     directories. (install): depend on it.
  929.  
  930. Mon May  3 22:09:24 1993  Jim Meyering (meyering@comco.com)
  931.  
  932.     * configure.in: Add AC_GETGROUPS_T.
  933.     * id.c, test.c: Don't define GETGROUPS_T.  Now configure does it.
  934.  
  935. Sun May  2 00:21:05 1993  Jim Meyering  (meyering@comco.com)
  936.  
  937.     * expr.c (eval6): Terminate result with a zero byte.
  938.     The command `expr substr xx 1 2' would fail on systems with
  939.     tight malloc.  From Steve James <smj@cats.COM>.
  940.  
  941.     * expr.c (null): Recognize the string `0' as zero.
  942.     (divide, mod): Upon request to divide by zero, give an error
  943.     message instead of dumping core.
  944.     From J.T. Conklin <jtc@wimsey.com>.
  945.  
  946.     * configure.in: Check for sys/time.h; getdate.y needs it for
  947.     structs timeval and timezone on some systems.
  948.     * Check for gettimeofday and for `struct tm'.
  949.     * Add existence tests for memcpy and bcopy.
  950.  
  951.     * configure.in: Find a parser generator.
  952.  
  953.     * putenv.c: Include stdlib.h only if __GNU_LIBRARY__ is defined.
  954.     Many vendor-supplied <stdlib.h> have a declaration of putenv that
  955.     conflicts with ours.
  956.  
  957. Tue Apr 20 02:33:24 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  958.  
  959.     * stty.c: Use GWINSZ_IN_SYS_IOCTL, not _AIX, to determine
  960.     whether sys/ioctl.h is needed to support `stty size'.
  961.  
  962. Thu Apr  1 18:03:47 1993  Jim Meyering  (meyering@comco.com)
  963.  
  964.     * printf.c, expr.c [isascii]: Undefine before redefining.
  965.  
  966. Sun Mar 28 00:07:45 1993  Jim Meyering  (meyering@comco.com)
  967.  
  968.     * stty.c: Accept `flush' option.  From Arne H. Juul arnej@lise.unit.no
  969.     * system.h: Don't define r?index, bcopy... if they're already defined.
  970.  
  971. Thu Mar 25 22:41:01 1993  Jim Meyering  (meyering@comco.com)
  972.  
  973.     * configure.in: Add AC_IRIX_SUN to get -lsun because
  974.     Irix-4.0.5's libc.a doesn't have yp/NIS entrypoints.
  975.     From Kjetil Wiekhorst J|rgensen <jorgens@pvv.unit.no>.
  976.  
  977. Fri Mar 05 00:02:53 1993  Jim Meyering  (meyering@comco.com)
  978.  
  979.     * date.c: Add long-named options.
  980.  
  981. Sun Dec  6 23:17:09 1992  Jim Meyering  (meyering@comco.com)
  982.  
  983.     * date.c: Remove unused definition of isdigit.
  984.     * expr.c (toarith): Change single use of isdigit to ISDIGIT.
  985.     * printf.c (print_formatted, print_esc): Define ISDIGIT and
  986.     ISXDIGIT and use them instead of isdigit and isxdigit.
  987.  
  988. Wed Dec  2 12:49:11 1992  Jim Meyering  (meyering@comco.com)
  989.  
  990.     * env.c, id.c, nice.c, pathchk.c, stty.c, su.c, tee.c, tty.c,
  991.     uname.c, who.c: Convert static declarations of struct option
  992.     to use new macros from getopt.h: no_argument, required_argument,
  993.     and optional_argument.
  994.  
  995. Tue Nov 24 09:46:02 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  996.  
  997.     * echo.c: Use V9_DEFAULT instead of USG.  Define it always.
  998.  
  999.     * system.h: Use HAVE_FCNTL_H and HAVE_STRING_H instead of USG.
  1000.  
  1001. Wed Nov 11 18:19:10 1992  Jim Meyering  (meyering@hal.gnu.ai.mit.edu)
  1002.  
  1003.     * All files in src: Make all functions and extern variables static.
  1004.     Make all longopts arrays const as well as static.
  1005.     Make a couple statically initialized aggregates `const.'
  1006.  
  1007.     * pathchk.c (portable_chars_only): Cast char used as array index.
  1008.  
  1009.     * echo.c (main), su.c (restricted_shell): Add parentheses to
  1010.     assignment statements used in boolean context.
  1011.  
  1012.     * stty.c (set_mode): Parenthesize expressions with bit operations
  1013.     to correctly set/reset modes bits.
  1014.  
  1015. Wed Oct 28 14:16:48 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1016.  
  1017.     * Version 1.8.
  1018.  
  1019.     * stty.c: Accept Irix VRPRNT for VREPRINT.
  1020.     From Jim Meyering.
  1021.  
  1022.     * stty.c: Fix some type mismatches.  From Bruce Evans, bde@runx.oz.au.
  1023.  
  1024.     * who.c (read_utmp): Close file on error.
  1025.     From Bruce Evans.
  1026.  
  1027.     * su.c, test.c: Add some decls.  From Bruce Evans.
  1028.  
  1029.     * sleep.c (main): Arg to sleep is unsigned, not long.
  1030.     From Bruce Evans.
  1031.  
  1032. Fri Sep 11 00:25:52 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1033.  
  1034.     * echo.c, echo.1: New files.
  1035.  
  1036. Thu Sep 10 18:42:44 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1037.  
  1038.     * pathchk.c (main): Don't strip trailing slashes from args;
  1039.     they might make a path invalid.
  1040.     (portable_chars_only, dir_ok): New functions.
  1041.     (validate_path): Renamed from validate_new_path.
  1042.     Call them.  Don't complain if a leading
  1043.     dir doesn't exist.  Don't replace `parent' with a dir that
  1044.     doesn't exist.  Don't print a message when falling back
  1045.     from pathconf to constant values.
  1046.  
  1047.     * who.c [!UTMP_FILE]: If _PATH_UTMP is defined, use it instead
  1048.     of /etc/utmp.  From Marc Boucher <marc@cam.org>.
  1049.  
  1050. Tue Aug 25 17:02:25 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1051.  
  1052.     * Version 1.7.
  1053.  
  1054.     * groups.sh, nohup.sh: Add $(bindir) to front of path.
  1055.  
  1056. Mon Aug 24 16:39:39 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1057.  
  1058.     * stty.c: make sane value for "min" 1, not 0.
  1059.     From haible@ma2s2.mathematik.uni-karlsruhe.de (Bruno Haible).
  1060.  
  1061. Sun Aug 23 03:02:07 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1062.  
  1063.     * id.c, test.c: Use NGROUPS_MAX if it's defined.  386BSD is like sun.
  1064.  
  1065. Sat Aug 22 03:16:41 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1066.  
  1067.     * test.c: Rename STANDALONE to TEST_STANDALONE to avoid IBM RT
  1068.     ACIS sys/param.h conflict.
  1069.  
  1070.     * su.c (correct_password) [HAVE_SHADOW_H]: Try to get the
  1071.     encrypted correct password from the shadow password file.
  1072.  
  1073. Fri Jul 17 15:25:01 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1074.  
  1075.     * su.c, getusershell.c: New files.
  1076.  
  1077. Fri Jul  3 15:08:43 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1078.  
  1079.     * stty.c, who.c: Change FOO_MISSING to HAVE_FOO.
  1080.  
  1081. Fri Jun  5 01:49:29 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1082.  
  1083.     * strcspn.c: New file.
  1084.  
  1085.     * expr.c: Misc. cleanups.
  1086.  
  1087.     * expr.c (eval7): Renamed from eval6.
  1088.     Give syntax error if no more args.  Don't coerce all values to numbers.
  1089.     (eval6): New function.
  1090.     (eval5): Accept == as a synonym for =.
  1091.     (eval2): Coerce values to numbers for comparisons.
  1092.     Above all from Dana Jacobsen (jacobsd@prism.cs.orst.edu).
  1093.  
  1094. Thu Jun  4 19:32:09 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1095.  
  1096.     * printf.c (print_formatted): Move main loop into new function.
  1097.     (main): Add an outer loop to use the format multiple times.
  1098.     (verify): Don't reject a completely empty string.
  1099.     Check errno (for overflow).
  1100.  
  1101.     * false.sh, true.sh: New programs.  Oh, boy.
  1102.  
  1103. Thu May 14 01:17:22 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1104.  
  1105.     * stty.c (set_mode): Support crt and dec modes partially if
  1106.     necessary, so they work on, for example, Ultrix . . . .
  1107.  
  1108. Wed May 13 14:47:45 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1109.  
  1110.     * stty.c (set_mode): Swap nl and -nl.  Have them also affect
  1111.     output as well as input.
  1112.  
  1113. Tue May 12 00:07:28 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1114.  
  1115.     * date.c (show_date): Use strftime for the whole conversion.
  1116.  
  1117. Tue May  5 15:20:24 1992  David J. MacKenzie  (djm@hal)
  1118.  
  1119.     * stty.c (wrapf): Print the formatted buffer; don't redo the
  1120.     formatting using vprintf.
  1121.  
  1122. Thu Apr 30 01:17:08 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1123.  
  1124.     * printf.c (xstrtol, xstrtoul, xstrtod, verify): New functions.
  1125.     (main, print_direc): Use them.  Make error messages more specific.
  1126.  
  1127.     * tee.c (tee): Only malloc and free the table of file descriptors
  1128.     if >0 files are given.
  1129.  
  1130. Fri Apr 17 11:56:48 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  1131.  
  1132.     * pathchk.c (validate_new_path): Print the name of the component that
  1133.     failed the length test, not the whole path.
  1134.     From Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de).
  1135.  
  1136. Mon Apr  6 15:11:36 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  1137.  
  1138.     * who.c (read_utmp): Check close return for error.
  1139.     (print_heading): Align columns based on sizes of utmp members.
  1140.     (who_am_i): Skip past /dev/ instead of skipping leading path.
  1141.  
  1142. Mon Mar 16 23:47:03 1992  David J. MacKenzie  (djm@apple-gunkies.gnu.ai.mit.edu)
  1143.  
  1144.     * date.c (show_date): Don't call strftime if FORMAT is the
  1145.     empty string.
  1146.  
  1147.     * date.c (main): Reorganize to reduce duplicated code.
  1148.     Add -d option.
  1149.     (usage): Document -d.
  1150.     (set_date): Function removed.
  1151.  
  1152. Tue Feb 11 16:12:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1153.  
  1154.     * printf.c (print_esc): When a numeric escape is given,
  1155.     don't call print_esc_char, and return 1 less.
  1156.     From Thorston Ohl.
  1157.  
  1158. Mon Jan 20 02:17:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1159.  
  1160.     * Version 1.6.
  1161.  
  1162.     * test.c: HAVE_MULTIPLE_GROUPS -> HAVE_GETGROUPS, for bash 1.11.
  1163.  
  1164. Fri Jan 17 15:46:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1165.  
  1166.     * expr.c (docolon): Use re_nsub to find the number of
  1167.     subexpressions . . . From Karl Berry, who knows.
  1168.  
  1169. Wed Dec 25 23:27:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1170.  
  1171.     * expr.c (docolon): Use the new way (re_regs.num_regs > 0) to find
  1172.     out if there were any subexpressions, instead of the old way
  1173.     (re_regs.start[1] >= 0), which can cause random memory
  1174.     accesses with regex 0.1.  From Brian Matthews.
  1175.  
  1176. Tue Dec 24 02:12:15 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1177.  
  1178.     * system.h, id.c, pathchk.c, tee.c: Change POSIX ifdefs to
  1179.     HAVE_UNISTD_H and _POSIX_VERSION.
  1180.  
  1181. Wed Dec 11 13:15:09 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1182.  
  1183.     * Version 1.5.
  1184.  
  1185.     * expr.c (main): Set obscure_syntax to tell re_match to
  1186.     allocate memory for the group registers.
  1187.  
  1188. Mon Dec  9 16:03:14 1991  Charles Hannum  (mycroft at hal.gnu.ai.mit.edu)
  1189.  
  1190.     * who.c (list_entries): Check type == USER_PROCESS if defined, for SysV.
  1191.  
  1192. Sat Dec  7 00:32:02 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1193.  
  1194.     * Version 1.4.
  1195.  
  1196.     * env, id, nice, pathchk, stty, tee, tty, uname: Change usage
  1197.     messages and documentation to list long-named options starting
  1198.     with `--' rather than `+'. 
  1199.  
  1200.     * env.c (main), nice.c (main): Simplify test for which exit
  1201.     status to use if exec fails.
  1202.  
  1203. Fri Dec  6 23:49:42 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1204.  
  1205.     * tee.c (main) [POSIX]:  Use sigaction instead of signal, which
  1206.     POSIX doesn't have.
  1207.  
  1208. Fri Oct 18 00:31:35 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1209.  
  1210.     * test.c (two_arguments): Fix from Chet.
  1211.  
  1212.     * expr.c: Include regex.h after sys/types.h, not before, so
  1213.     size_t gets defined.
  1214.  
  1215.     * test.c: New version, adapted from bash 1.10.
  1216.  
  1217.     * id.c: GID_T -> GETGROUPS_T, for clarity.
  1218.  
  1219. Sat Oct 12 14:38:34 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  1220.  
  1221.     * configure: Define uid_t and gid_t as int if they're not
  1222.     defined in sys/types.h.  That's probably right for old Unixes
  1223.     and avoids trying to find the C preprocessor.
  1224.  
  1225. Sat Sep 28 13:01:23 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  1226.  
  1227.     * stty.c (set_mode): Make `raw' and `cooked' not change parity
  1228.     and character size, which would probably make them useless on
  1229.     7-bit lines.
  1230.     Make `raw' set the `time' character to 0, not 1.
  1231.     From Bruce Evans.
  1232.  
  1233.     * nohup.sh: If creating nohup.out, give it mode 0600, for POSIX.
  1234.  
  1235. Fri Sep 13 14:59:51 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  1236.  
  1237.     * id.c [POSIX]: Always use sysconf to get NGROUPS_MAX.
  1238.  
  1239. Thu Aug 29 14:43:07 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1240.  
  1241.     * test.c: Don't include sys/file.h if POSIX.
  1242.     Use gid_t for getgroups.
  1243.  
  1244.     * stty.c (set_mode): Use CEOF and CEOL instead of hardcoding them.
  1245.     (display_speed): Fix a printf string type mismatch.
  1246.     From Bruce Evans.
  1247.  
  1248. Mon Aug 26 16:52:51 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
  1249.  
  1250.     * configure, src/Makefile.in, lib/Makefile.in: Only put $< in
  1251.     Makefiles if VPATH is being used, because older makes don't
  1252.     understand it.
  1253.  
  1254. Mon Aug 19 01:57:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1255.  
  1256.     * Version 1.3.
  1257.  
  1258. Sat Aug 17 22:48:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1259.  
  1260.     * src/Makefile.in (install): Install a link to test called '['.
  1261.  
  1262. Wed Aug 14 12:22:57 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1263.  
  1264.     * test.c (unary_operator): Check first char of string, not its address.
  1265.  
  1266. Sun Aug 11 18:10:30 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1267.  
  1268.     * Version 1.2.
  1269.  
  1270.     * system.h: Define S_IFMT if needed, for test.c.
  1271.  
  1272.     * test.c: New file, from bash.
  1273.  
  1274.     * nice.c: Change +priority to +adjustment (more accurate).
  1275.  
  1276. Sat Aug 10 13:09:51 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1277.  
  1278.     * stty.c [WINSIZE_IN_PTEM]: sys/ptem.h requires sys/stream.h.
  1279.  
  1280.     * nice.c, configure: Use nice if available and setpriority is missing.
  1281.  
  1282. Thu Aug  8 01:34:05 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1283.  
  1284.     * date.c: USG needs TZ=GMT0 for UCT timezone, also.
  1285.  
  1286.     * stty.c: Add pass8 and litout modes.
  1287.  
  1288. Sun Aug  4 22:45:51 1991  David J. MacKenzie  (djm at wheat-chex)
  1289.  
  1290.     * Version 1.1.
  1291.  
  1292. Fri Aug  2 13:22:31 1991  David J. MacKenzie  (djm at apple-gunkies)
  1293.  
  1294.     * configure: Implement +srcdir.  Don't check for bison.
  1295.  
  1296.     * stty.c: Don't change ixon in "sane" mode.
  1297.  
  1298.     * configure: Use 1 instead of 255 for checking tzname,
  1299.     because of signedness.
  1300.  
  1301. Thu Aug  1 13:40:58 1991  David J. MacKenzie  (djm at apple-gunkies)
  1302.  
  1303.     * printenv.c (main): Don't print the variable names when given
  1304.     args, as people seem to use printenv in scripts after all . . . .
  1305.  
  1306.     * stty.c: Don't change parity or character size settings in
  1307.     "sane" mode.  The right values for those depend on the hardware.
  1308.  
  1309. Wed Jul 31 01:19:01 1991  David J. MacKenzie  (djm at hal)
  1310.  
  1311.     * stty.c [_AIX]: Include sys/ioctl.h -- needed on
  1312.     AIX to get window size.
  1313.  
  1314. Tue Jul 30 00:06:54 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1315.  
  1316.     * getdate.y: New file.
  1317.     * date.c: Add -s option to set date in English.
  1318.     * configure: Check for ftime.
  1319.  
  1320.     * date.c: Remove COMPUTE_TM_ZONE code, which didn't work.
  1321.     * configure: Instead of checking whether tzname is declared,
  1322.     check whether it exists.
  1323.  
  1324.     * logname.c (main): Go back to just printing an error message
  1325.     if getlogin fails, as required by POSIX.
  1326.  
  1327.     * stty.c (screen_columns, wrapf): New functions to implement
  1328.     output wrapping.
  1329.     Globally: use them.
  1330.  
  1331.     * configure: Define uid_t and gid_t if sys/types.h doesn't.
  1332.     * system.h: Define F_OK et al. if nothing else does.
  1333.  
  1334. Mon Jul 29 21:11:16 1991  David J. MacKenzie  (djm at wombat.gnu.ai.mit.edu)
  1335.  
  1336.     * pathchk.c (validate_new_path): Rearrange tests so that
  1337.     pathconf is only called on existing directories.  Use access
  1338.     instead of stat to determine directory searchability.
  1339.     From Jim Meyering.
  1340.  
  1341.     * stty.c, configure: Add WINSIZE_IN_PTEM and GWINSZ_BROKEN for SCO.
  1342.  
  1343. Wed Jul 24 02:13:31 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1344.  
  1345.     * stty.c (sane_mode): Always set control chars to sane values.
  1346.     Set min and time if they're different from eof and eol.
  1347.  
  1348.     * whoami.c: Print UID as unsigned.
  1349.     * logname.c: Do "whoami" if getlogin fails.
  1350.  
  1351.     * logname.c (main): fprintf was missing an arg.
  1352.  
  1353. Tue Jul 23 02:20:15 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1354.  
  1355.     * id.c: GID_T is int if ultrix as well as if sun.
  1356.  
  1357.     * stty.c: Implement raw and cooked modes.
  1358.  
  1359. Mon Jul 22 15:21:21 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1360.  
  1361.     * tee.c (main): close stdin and stdout to check for errors.
  1362.  
  1363.     * stty.c: Use tcflag_t for termios bitmasks.
  1364.     Use speed_t for speeds.  Use unsigned long for baud rates to
  1365.     accomodate large values, and support 57600 and 115200 if available.
  1366.  
  1367.     * date.c, configure: Instead of SIZE_T_MISSING,
  1368.     define size_t if it's missing.
  1369.  
  1370.     * id.c, whoami.c: Use uid_t and gid_t.
  1371.  
  1372.     * id.c: If POSIX and not sun (bogus!), pass getgroups and
  1373.     getugroups an array of gid_t instead of int.
  1374.  
  1375.     * system.h: New file.
  1376.     * Most programs: include it.
  1377.  
  1378. Fri Jul 19 12:04:58 1991  David J. MacKenzie  (djm at apple-gunkies)
  1379.  
  1380.     * env.c [!STDC_HEADERS]: Declare errno.
  1381.     * printf.c, pathchk.c: Don't include errno.h; not needed.
  1382.  
  1383.     * version.c: New file.
  1384.     * All C programs: Link with it, to get version number in the
  1385.     binary where at least `strings -' and grep can find it.
  1386.  
  1387.     * pathchk.c (strip_trailing_slashes): Function removed; use
  1388.     version in lib.
  1389.  
  1390. Mon Jul 15 11:34:22 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1391.  
  1392.     * Version 1.0.
  1393.  
  1394.     * pathchk.c: Always check whether _POSIX_PATH_MAX and
  1395.     _POSIX_NAME_MAX need to be defined.
  1396.     [POSIX]: If no PATH_MAX or NAME_MAX and pathconf for the path
  1397.     returns -1 (some systems do this if the path does not exist),
  1398.     use pathconf for "/". 
  1399.  
  1400. Sun Jul 14 21:17:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1401.  
  1402.     * date.c (date_seconds): Function removed, replaced with
  1403.     posixtm.y in lib.
  1404.     (set_date): Change caller.
  1405.     * configure: Check for bison.
  1406.  
  1407.     * stty.c [!C_LINE_MISSING]: Add support for setting and
  1408.     printing the line discipline.
  1409.     * configure: Check for C_LINE_MISSING.
  1410.  
  1411.     * configure: Check for Minix.
  1412.  
  1413. Sat Jul 13 01:33:59 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1414.  
  1415.     * Add `man' directory and manual pages.
  1416.     * configure: Set INSTALLDATA and MAN.
  1417.  
  1418.     * id.c: Add #ifdefs for POSIX ways of getting max groups list size.
  1419.     (print_group_list, print_full_info): Allocate list of groups
  1420.     with malloc since its size might not be constant.
  1421.  
  1422.     * nice.c (main): Don't adjust priority if printing it.
  1423.     Default adjustment of 10, not 0.
  1424.  
  1425.     * printf.c: Add \c escape and %b conversion.
  1426.     Implement '*' for field width and precision.
  1427.     Make all errors fatal.
  1428.     (print_esc_string, print_esc): New functions.
  1429.  
  1430.     * configure, date.c: Change SYS_TIME_H to TM_IN_SYS_TIME.
  1431.     * configure: Always check where to find struct tm.
  1432.  
  1433.     * yes.c: Rewrite to accept multiple arguments.
  1434.  
  1435.     * Add groups.sh.
  1436.  
  1437. Fri Jul 12 10:57:00 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1438.  
  1439.     * dirname.c: Move code from dirname function into main,
  1440.     simplifying things quite a bit.  From Jim Meyering.
  1441.     * Omit strdup from lib; no longer used.
  1442.     * configure: Don't check for strdup.
  1443.  
  1444.     * printenv.c (main): If args given, print the values in the order
  1445.     given on the command line rather than the order given in the
  1446.     environment.
  1447.  
  1448.     * tee.c, tty.c (struct longopts): Revise to make short-option
  1449.     equivalents clear.
  1450.  
  1451. Thu Jul 11 12:46:11 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1452.  
  1453.     * nice.c: Add long options.
  1454.  
  1455.     * Add date command and libraries it needs.
  1456.     * configure: Updated.
  1457.  
  1458.     * env.c: Add long options.  Use GNU putenv instead of custom
  1459.     setenv function.
  1460.  
  1461.     * id.c: Add long options.
  1462.  
  1463.     * pathchk.c [POSIX]: Use pathconf if necessary to get NAME_MAX
  1464.     and PATH_MAX. 
  1465.  
  1466.     * nice.c: Use exit status required for nohup by POSIX.2
  1467.     (nohup execs nice).
  1468.  
  1469.     * sleep.c: Don't bother with hex and octal.
  1470.  
  1471.     * env.c: Fix exit status for POSIX.2 draft 11.1.
  1472.  
  1473.     * Many files: Remove private copies of xmalloc, error, xstrdup,
  1474.     etc. to use shared versions.
  1475.     Fix #includes for USG, STDC_HEADERS, POSIX.
  1476.  
  1477. Mon Jul  8 18:56:24 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  1478.  
  1479.     * date.c (main): For -u, set TZ to "" instead of "GMT0",
  1480.     unless on HP-UX or Ultrix.
  1481.  
  1482.     * Rename some feature-test macros.
  1483.     * stime.c: Created from code in date.c.
  1484.     * date.c (compute_tm_zone): New function.
  1485.     (date_seconds, show_date): Use it.
  1486.     (xmalloc, xrealloc): Functions removed; use xmalloc.c instead.
  1487.  
  1488. Tue Jul  2 02:28:11 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1489.  
  1490.     * tee.c (tee): Report errors in closing files.
  1491.  
  1492. Mon Mar 18 10:13:59 1991  Jeffrey A. Law  (law at geech.ai.mit.edu)
  1493.  
  1494.     * date.c (date_seconds, show_date): #if COMPUTE_TMZONE then
  1495.     compute the proper value to place in tm->tm_zone from
  1496.     information returned by localtime and gettimeofday.
  1497.  
  1498. Fri Apr 26 11:38:09 1991  David J. MacKenzie  (djm at mole.gnu.ai.mit.edu)
  1499.  
  1500.     * stty.c: Define default values for control chars if necessary.
  1501.     Complain about invalid options if no other options follow.
  1502.     Use POSIX functions instead of ioctl, for manipulating termios.
  1503.  
  1504.     * expr.c (main): Exit status was backwards.
  1505.  
  1506. Thu Dec 20 00:36:01 1990  David J. MacKenzie  (djm at apple-gunkies)
  1507.  
  1508.     * id.c: Reorganization and many changes to fix bugs and POSIX
  1509.     compliance problems.
  1510.  
  1511. Mon Dec 10 03:09:13 1990  David J. MacKenzie  (djm at apple-gunkies)
  1512.  
  1513.     * stty.c: Don't declare printf and some other functions that
  1514.     might have variable numbers of args in system header file decls.
  1515.  
  1516. Tue Nov 14 23:37:22 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  1517.  
  1518.     * id.c (print_groups): Put spaces after commas.
  1519.     (print_group): New fn, to print a group id.  Uses numeric fmt
  1520.     unless -n, in which case it uses group names.
  1521.     (print_groups): Call it.  Find the rgid and egid, and print them as
  1522.     well as the supplementary groups.  Make sure we print each group only
  1523.     once.
  1524.  
  1525. Sun Sep 16 01:49:14 1990  David J. MacKenzie  (djm at apple-gunkies)
  1526.  
  1527.     * id.c (main): Add -G option for POSIX.2 draft 10.
  1528.     Allow a username to be given.
  1529.     (print_groups): New function from code in main.
  1530.     (getugroups): New function.
  1531.  
  1532. Sun Aug 12 00:32:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1533.  
  1534.     * env.c (main): Instead of setting _POSIX_OPTION_ORDER,
  1535.     tell getopt to not permute, with `+'.
  1536.  
  1537. Sat Aug 11 01:32:53 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1538.  
  1539.     * expr.c: Use regex.c library instead of private regex routines.
  1540.  
  1541.     * nice.c (main): Add -n option for POSIX.2a.
  1542.     (usage): New function.
  1543.  
  1544. Fri Aug 10 23:58:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1545.  
  1546.     * who.c: Add -m, -i, -w options for POSIX.2a.
  1547.  
  1548. Tue Aug  7 00:01:02 1990  David J. MacKenzie  (djm at apple-gunkies)
  1549.  
  1550.     * expr.c: Use exit directly instead of longjmp on error.
  1551.     Use argv[0] instead of hardcoded "expr" in messages.
  1552.     Make some functions void.
  1553.  
  1554. Sat Aug  4 21:19:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1555.  
  1556.     * env.c: Change exit statuses for POSIX draft 10.
  1557.  
  1558. Wed Jul  4 04:32:51 1990  David J. MacKenzie  (djm at apple-gunkies)
  1559.  
  1560.     * tee.c: Use error instead of perror_with_name and
  1561.     out_of_memory. 
  1562.  
  1563. Wed Jun 20 02:39:49 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1564.  
  1565.     * date.c: Change -DSETTOD to -DSTIME_MISSING, -DSIZE_T to
  1566.     -DSIZE_T_IN_TYPES, and -DSTDC_HDRS to -DSTDC_HEADERS.
  1567.     Declare some more functions.  Replace fatal, memory_out, and
  1568.     nonfatal_perror with error.
  1569.  
  1570. Mon Jun 18 00:16:52 1990  David J. MacKenzie  (djm at apple-gunkies)
  1571.  
  1572.     * stty.c: Add some Unix compatibility modes.
  1573.  
  1574. Sat Jun 16 21:05:59 1990  David J. MacKenzie  (djm at apple-gunkies)
  1575.  
  1576.     * stty.c (display_changed, display_all): Print values of min
  1577.     and time.
  1578.  
  1579. Thu Jun 14 17:49:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  1580.  
  1581.     * stty.c: Implement tab, backspace, etc. delay args.
  1582.  
  1583. Thu May 31 12:25:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1584.  
  1585.     * nohup.sh: Don't ignore SIGTERM.
  1586.     If ./nohup.out is unwritable, try $HOME/nohup.out.
  1587.  
  1588. Thu May  3 22:33:32 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1589.  
  1590.     * who.c: Use error instead of fatal and fatal_perror.
  1591.     (print_headings): Print headings in all caps, like SYSV does.
  1592.     (list_entries): New function for -q to make it like SYSV -q.
  1593.     (valid_entries): Function removed.
  1594.  
  1595. Mon Apr  2 01:27:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1596.  
  1597.     * id.c (main): Don't strip off leading path from program name.
  1598.     Revise a couple of error messages.
  1599.  
  1600.     * whoami.c (main): Use geteuid, not getuid, for Unix compatibility.
  1601.  
  1602. Tue Mar 20 14:28:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1603.  
  1604.     * tee.c (main): Pass list of files and its size as args to tee
  1605.     rather than as global vars.  Exit with return value of tee
  1606.     instead of always 0.
  1607.     (tee): Use unbuffered I/O instead of stdio, for POSIX.
  1608.     Return an error status.
  1609.     (xwrite): New function.
  1610.  
  1611. Tue Mar 13 00:38:13 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1612.  
  1613.     * who.c (who_am_i): Print heading before checking to see
  1614.     whether there is an entry for the tty on stdin, for
  1615.     consistency with the who function.
  1616.     (main): Use argv[optind], not argv[1], as alternate file.
  1617.  
  1618. Fri Mar  9 15:49:04 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1619.  
  1620.     * who.c: Rename UTMP to UTMP_FILE for compatibility with SysV
  1621.     utmp.h.  Include some additional header files.
  1622.     (main): Recognize some options from SysVr3 who. Call usage.
  1623.     Set new global var `program_name' from argv[0].
  1624.     (usage): New function.
  1625.     (who): If -q given, only print count of users logged on.
  1626.     (print_entry): New function to format an entry on the output;
  1627.     make format more like that of the Unix who programs.
  1628.     (print_heading): New function to print a line describing each
  1629.     output field.
  1630.     (who, who_am_i): Call print_entry and print_heading.
  1631.     (valid_entries): New function to return count of nonempty
  1632.     entries in utmp.
  1633.     (search_entries): Compare with utmp tty field instead of
  1634.     username field.  Don't assume null termination in utmp field.
  1635.     (who_am_i): Print the entry for the tty on stdin rather than
  1636.     the first entry found for the uid.  If hostname is not
  1637.     available, use a null one instead of "<unknown>".
  1638.     Don't hardcode max hostname length.
  1639.     (idle_string): New function to format idle time field.
  1640.     (fatal, fatal_perror): Use program_name instead of hardcoded "who"
  1641.     in error messages.
  1642.  
  1643. Tue Mar  6 00:59:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1644.  
  1645.     * printenv.c (main): Allow multiple variables to be specified.
  1646.     (barf): Function removed.
  1647.  
  1648. Sat Jan 20 18:41:48 1990  Jim Kingdon  (kingdon at geech)
  1649.  
  1650.     * expr.c (nextarg): Do not pass *args to strcmp if NULL.
  1651.  
  1652. Mon Dec 18 09:57:20 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  1653.  
  1654.     * printenv.c (main): Simplify error messages.
  1655.  
  1656. Sat Dec 16 15:15:50 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  1657.  
  1658.     * expr.c: Indent to regularize spacing.
  1659.     (cmpv, arithf): Change '#define foo (args)' to '#define foo(args)'
  1660.     so they compile.
  1661.     (docolon): Remove unused vars.
  1662.     (multiply): Rename from times to avoid libc conflict.
  1663.     (error): Include program name in message.
  1664.     (xmalloc): Rename from Malloc.
  1665.     (re_compiled): Rename from re_comp to avoid libc conflict.
  1666.  
  1667.     * basename.c: Fix some weird indentation.
  1668.     (main): Print a clearer usage message.
  1669.     Use a simpler method for removing suffix, if given.
  1670.     (fatal): Function no longer used; removed.
  1671.     
  1672.     * sleep.c: (main): Rename `time' to `seconds'.  Print usage
  1673.     message if given no args.
  1674.     Exit with status 0 instead of falling off end.
  1675.     (error): Print to stderr, not stdout.
  1676.  
  1677.     * tee.c: (main): Use getopt_long instead of custom parser,
  1678.     and adjust usage message.
  1679.     Use list of filenames in argv rather than making a copy.
  1680.     (tee): New function created from the second half of main.
  1681.     Fix bug where it tried to fclose a loop index instead of a stream.
  1682.     (xmalloc): Ok to return 0 if 0 bytes requested.
  1683.     (xrealloc): Unused function removed.
  1684.  
  1685.     * whoami.c: Canonicalize usage message and fix error message.
  1686.  
  1687.     * who.c: Declare some functions.
  1688.     (fatal_perror): New function for printing errors after system
  1689.     calls.
  1690.     Global: Use it when appropriate.
  1691.     (xmalloc): Return char *, not int.
  1692.     (read_utmp): Ok if utmp file is empty.
  1693.     Include filename in error messages.
  1694.     (scan_entries): Adjust columns to line up better, particularly
  1695.     when there are users with 8 character long usernames logged in.
  1696.  
  1697. Sat Oct 28 13:20:43 1989  David J. MacKenzie  (djm at spiff)
  1698.  
  1699.     * uname.c: Added long options.
  1700.     global: changed the word `part' to the word `element'
  1701.     (more precise).
  1702.     (program_name, long_options): New variables.
  1703.     (main): Support long options.
  1704.     (usage): Add long options summary to message.
  1705.  
  1706. Local Variables:
  1707. mode: indented-text
  1708. left-margin: 8
  1709. version-control: never
  1710. End:
  1711.