home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / shellutils-1.9.4-src.lha / src / amiga / shellutils-1.9.4 / ChangeLog < prev    next >
Encoding:
Text File  |  1994-02-20  |  43.3 KB  |  1,239 lines

  1. Sat Feb 19 14:23:14 1994  Jim Meyering  (meyering@comco.com)
  2.  
  3.     * Version 1.9.4.
  4.  
  5.     * stty.c (main): Use getopt_long_only with "ag" instead of
  6.     getopt_long with "".  The latter incremented optind so the
  7.     -a and -g options weren't recognized.
  8.  
  9.     * Version 1.9.3.
  10.  
  11. Tue Feb 15 18:28:28 1994  Jim Meyering  (meyering@comco.com)
  12.  
  13.     * stty.c (main): Use getopt only to recognize long options.
  14.     Hand code the loop to detect -a, -g, -ag and -ga.  Using getopt
  15.     to detect the short options loses (because we have to ignore
  16.     unrecognized options and we are allowing GNU getopt to permute)
  17.     because e.g. `-tabs' is interpreted as a group of options, one of
  18.     which is `-a'.  Before, running `stty -tabs echo' gave this error:
  19.       stty: when specifying an output style, modes may not be set
  20.     Reported by Arne H. Juul.
  21.  
  22. Sun Feb 13 13:34:25 1994  Jim Meyering  (meyering@comco.com)
  23.  
  24.     * basename.1, dirname.1, stty.1: Reflect usage changes.
  25.     * basename.c, dirname.c, stty.c (usage): Ditto.
  26.  
  27.     * long-options.h (parse_long_options): Invoke usage function
  28.     argument with explicit dereference as per GNU coding standards.
  29.  
  30.     * basename.c dirname.c: Use parse_long_options instead of the
  31.     conventional getopt_long paradigm.  Before, the commands
  32.     `basename file-dist -dist' and `basename -- file.c .c' produced
  33.     incorrect results.  Now, even `basename -file-dist -dist' works
  34.     and the command `basename -- file.c .c' fails for the right
  35.     reason: the `--' is not a special (to getopt) token for these 
  36.     commands.  It is interpreted as the filename, so there are too
  37.     many arguments to basename.  Rick Sladkey <jrs@world.std.com>
  38.     reported the problem with basename.
  39.  
  40.     * stty.c (set_window_size): When stty fails to get the window size
  41.     (as happens on telnet sessions to Solaris systems), initialize all
  42.     fields of the winsize struct.  Before, it was using the uninitialized
  43.     pixel fields of the struct in the ioctl to set window size parameters.
  44.     From Rick Sladkey.
  45.  
  46.     * stty.c (main): Use parse_long_options to handle --help and --version.
  47.     (main): In the remaining getopt_long loop, don't jump out of the
  48.     loop from the `default' branch of the switch statement.  Doing that
  49.     left optind in an inconsistent when there were non-option arguments
  50.     preceding `reversed' arguments (e.g. stty echo -echoe) and the
  51.     preceding non-option arguments were ignored.  Rick Sladkey reported
  52.     that stty was ignoring arguments.
  53.  
  54.     * stty.c (main): Fail with a diagnostic when both -g and -a are given.
  55.     (main): Fail with a diagnostic when either -g or -a is used with
  56.     arguments for setting modes.
  57.  
  58. Fri Feb 11 19:39:37 1994  Jim Meyering  (meyering@comco.com)
  59.  
  60.     * stty.c (get_win_size): Don't use an ANSI-style function
  61.     definition.  From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.
  62.  
  63. Thu Feb 10 01:22:37 1994  Jim Meyering  (meyering@comco.com)
  64.  
  65.     * stty.c [CSWTCH] (__sparc__ && __svr4__): Define `swtch' to
  66.     _POSIX_VDISABLE by default.  Otherwise, the default settings on
  67.     SunOS 5.3 (from /usr/include/sys/termios.h) have both `swtch'
  68.     and `susp' set to ^Z.  Those default settings are not unusual.
  69.     What is unusual is that with such settings on SunOS 5.3, the tty
  70.     driver doesn't generate a signal for control-Z.  Reported by
  71.     Brent Wiese <brent@dot.imgen.bcm.tmc.edu>.
  72.  
  73.     * stty.c (main) [CIBAUD]: Don't report an error on SunOS 4.1.x
  74.     systems if the only difference is in this nybble of c_cflag.
  75.     See the comments for the gory details.  Thanks to
  76.     Erez "HWank1" Zadok <ezk@cs.columbia.edu> for reporting this
  77.     and helping me reproduce it.
  78.  
  79. Tue Feb 01 00:59:56 1994  Jim Meyering  (meyering@comco.com)
  80.  
  81.     * stty.c (main): Call tcsetattr only if we've updated tty modes,
  82.     not e.g. if we've changed the window size.
  83.  
  84.     * Update Copyright dates in src/*.
  85.  
  86. Fri Jan 28 11:02:21 1994  Jim Meyering  (meyering@comco.com)
  87.  
  88.     * configure.in: Don't set LDFLAGS since linking now uses both
  89.     LDFLAGS and CFLAGS.
  90.  
  91. Wed Jan 26 10:54:02 1994  Jim Meyering  (meyering@comco.com)
  92.  
  93.     * stty.c (get_win_size): New function.  Try getting size first
  94.     for the device on stdout.  Try stdin only if that fails.  Suggested
  95.     by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
  96.     (set_win_size): Call get_win_size instead of calling ioctl directly.
  97.     (display_window_size): Ditto.
  98.     (screen_columns): Ditto.
  99.  
  100. Mon Jan 24 22:57:18 1994  Jim Meyering  (meyering@comco.com)
  101.  
  102.     * stty.c (set_window_size): Work around SunOS 4.x kernel bug that
  103.     makes `stty rows 34 cols 80;stty rows 0;stty cols 0' incorrectly
  104.     set rows to 80 and columns to 0.  Sun's stty has this problem, too.
  105.     The kernel bug is fixed in Solaris 2.  Mostly from Alexander Dupuy
  106.     <dupuy@cs.columbia.edu>.
  107.  
  108.     * src/Makefile.in: Use both LDFLAGS and CFLAGS when linking.
  109.     * man/Makefile.in: Use binprefix as the default manprefix.
  110.  
  111.     * nohup.sh: Redirect usage message to stderr.
  112.     From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
  113.  
  114. Thu Jan 13 17:27:38 1994  Jim Meyering  (meyering@comco.com)
  115.  
  116.     * src/Makefile.in: Change all link commands to use both $(CFLAGS)
  117.     and $(LDFLAGS).
  118.  
  119. Mon Jan 10 01:20:38 1994  Jim Meyering  (meyering@comco.com)
  120.  
  121.     * man/Makefile.in (manprefix): Use binprefix as the default.
  122.  
  123. Thu Jan 06 18:19:06 1994  Jim Meyering  (meyering@comco.com)
  124.  
  125.     * who.c (print_entry): Prepend `/dev/' only if ut_line is not
  126.     already an absolute filename.  Just to be safe.
  127.  
  128. Fri Dec 31 00:22:59 1993  Jim Meyering  (meyering@comco.com)
  129.  
  130.     * date.c (usage): Reorder listing of % formats in `sort -f' order.
  131.  
  132. Tue Dec 28 15:49:32 1993  Jim Meyering  (meyering@comco.com)
  133.  
  134.     * install.sh: New file.
  135.     Makefile.in [DISTFILES]: Add it.
  136.  
  137.     * who.c (read_utmp): Use stdio functions instead of open/read/close
  138.     to avoid having to handle POSIX read's -1/errno=EINTR failure case.
  139.  
  140.     * tee.c (tee): A POSIX implementation of the read system call
  141.     may return -1 and set errno to EINTR when it is interrupted.
  142.     Retry instead of failing with an error.
  143.     (tee): Don't use xwrite.  Use full_write instead and include the
  144.     losing file name in the message reporting a write failure.
  145.     Don't treat standard output as a special case, so a failed write
  146.     to stdout doesn't exit immediately.
  147.  
  148.     * date.c (usage): Note that for %w, 0 corresponds to Sunday.
  149.  
  150. Sat Dec 25 23:15:58 1993  Jim Meyering  (meyering@comco.com)
  151.  
  152.     * who.c (main): Don't chdir ("/dev") for the stat in print_entry.
  153.     (print_entry): Instead of stat'ing the /dev-relative path, ut_line,
  154.     stat the absolute path with "/dev/" prefix.  From David MacKenzie.
  155.  
  156. Wed Dec 22 00:53:51 1993  Jim Meyering  (meyering@comco.com)
  157.  
  158.     * expr.c (toarith): Interpret the empty string as just that
  159.     rather than as the integer zero.
  160.     Before, `expr "" == 0' output 1.  Now it prints 0.
  161.  
  162.     * configure.in (AC_HAVE_HEADERS): Check for float.h for strtod.c.
  163.  
  164.     * configure.in (check for TIOCGWINSZ): Don't look in sys/ioctl.h
  165.     or sys/ptem.h if we've already found it in termios.h.  This
  166.     eliminates redefinition warnings from including both termios.h
  167.     and sys/ioctl.h on sytems running SunOS.  From Matthew Seaman
  168.     (matthew@dyson.ox.ac.uk).
  169.  
  170.     * date.1: Document new %s format and old `-' and `_' numeric field
  171.     modifiers.
  172.  
  173.     * memcmp.c: Use the latest version from GNU C library.
  174.  
  175. Mon Dec 20 23:29:30 1993  Jim Meyering  (meyering@comco.com)
  176.  
  177.     * configure.in [test for 8-bit clean memcmp]: Add a test to detect
  178.     losing memcmp from SunOS4.1.x.
  179.  
  180. Sat Dec 18 01:12:24 1993  Jim Meyering  (meyering@comco.com)
  181.  
  182.     * configure.in (AC_OUTPUT): Put `touch stamp-config' in second arg
  183.     so it goes in config.status.  This eliminates unnecessary second run
  184.     of configure.
  185.  
  186. Fri Dec 10 01:06:28 1993  Jim Meyering  (meyering@comco.com)
  187.  
  188.     * stty.c (screen_columns): Instead of dying just because Solaris'
  189.     `ioctl (0, TIOCGWINSZ' fails (strangely only for telnet sessions,
  190.     not rlogin sessions), ignore its errno == EINVAL and try to get
  191.     the number of columns another way.
  192.  
  193.     * stty.c (set_window_size): If ioctl to get window size fails,
  194.     (as on telnet sessions to Solaris 2.[12] systems) try to set the
  195.     requested fields anyway, setting to zero any unspecified fields.
  196.     This is what Sun's /bin/stty appears to do.
  197.     * (display_window_size): Don't display anything for the number
  198.     of rows and columns if the ioctl call intended to get them fails.
  199.  
  200. Tue Nov 30 23:58:54 1993  Jim Meyering  (meyering@comco.com)
  201.  
  202.     * Version 1.9.2.
  203.  
  204. Mon Nov 29 00:28:35 1993  Jim Meyering  (meyering@comco.com)
  205.  
  206.     * stty.c, configure.in, acconfig.h: Revert change of Nov 26.
  207.     I am no longer able to reproduce the behavior that prompted
  208.     that patch -- but I had tested only using an old version of gcc.
  209.     When building with a more recent version of gcc or with /bin/cc
  210.     there is no problem.
  211.  
  212. Sat Nov 27 15:11:21 1993  Jim Meyering  (meyering@comco.com)
  213.  
  214.     * nice.c (main): If an adjustment is specified, but no command is
  215.     given, give a diagnostic in addition to the usage message.
  216.     (isinteger): Accept a leading `+'.
  217.  
  218. Fri Nov 26 18:49:42 1993  Jim Meyering  (meyering@comco.com)
  219.  
  220.     * stty.c [GWINSZ_BROKEN]: Define TIOCGWINSZ to TCGETS for Solaris-2.2.
  221.     On that system, ioctl (0, TIOCGWINSZ, &win) always fails, but using
  222.     TCGETS works.  Reported by Francois Pinard.
  223.  
  224.     * configure.in [GWINSZ_BROKEN]: New test to detect Solaris' inability
  225.     to get window size from ioctl using TIOCGWINSZ.
  226.     * acconfig.h [GWINSZ_BROKEN]: Add an #undef.
  227.  
  228. Mon Nov 22 23:40:21 1993  Jim Meyering  (meyering@comco.com)
  229.  
  230.     * who.c [defined (UTMPX_FILE)]: (undef and) define UTMP_FILE to
  231.     this value even if UTMP_FILE is already defined.  Because some
  232.     systems define both symbols.  From Arne H. Juul.
  233.     * [MESG_BIT]: Rename to S_IWGRP (from sys/stat.h>) and define only
  234.     if not already defined.
  235.  
  236. Fri Nov 19 23:08:03 1993  Jim Meyering  (meyering@comco.com)
  237.  
  238.     * who.c (print_entry): Produce reasonably formatted output even when
  239.     sizeof (this->ut_name,ut_line) are much larger than 8.  For Solaris
  240.     and other SysVr4.  With help from Arne H. Juul.
  241.     * configure.in (HAVE_UTMPX_H): New test; combined with test for the
  242.     ut_host field.  From Arne H. Juul.
  243.  
  244.     * memcmp.c: New file.
  245.     * lib/Makefile.in [SOURCES]: Add memcmp.c.
  246.     * configure.in (AC_REPLACE_FUNCS): Add memcmp.
  247.     Add test for 8-bit clean memcmp.
  248.  
  249.     * configure.in (AC_HAVE_FUNCS): Add isascii.
  250.     * expr.c [!defined (isascii) || defined (STDC_HEADERS)]: This failed
  251.     on AIX PS/2 1.3 systems because isascii is a function and it is used
  252.     in definitions (with the necessary side effect of assigning to a
  253.     global variable) of the is* macros.  Also test HAVE_ISASCII and
  254.     redefine ISASCII(c) instead of isascii.
  255.     Reported by Minh Tran-Le (tranle@intellicorp.com).
  256.     * printf.c: Ditto.
  257.  
  258.     * configure.in (AC_HAVE_HEADERS): Add sys/timeb.h; getdate.y tests
  259.     HAVE_SYS_TIMEB_H.
  260.  
  261.     * stty.c (main): Detect the case in which POSIX-conformant tcsetattr
  262.     fails and still returns zero.
  263.  
  264. Wed Nov 17 21:05:10 1993  Jim Meyering  (meyering@comco.com)
  265.  
  266.     * yes.c (main): Complete my half-finished Nov 2 change.
  267.     yes with arguments did not print newlines.  From Andreas Schwab
  268.     (ls5.informatik.uni-dortmund.de).
  269.  
  270.     * stty.c (wrapf): Fix off-by-one error that could make `stty -a'
  271.     output lines one character too long.  From Andreas Schwab.
  272.  
  273. Sat Nov 13 00:11:19 1993  Jim Meyering  (meyering@comco.com)
  274.  
  275.     * Version 1.9.1.
  276.  
  277.     * configure.in [LIBS]: Add -lbsd if that is necessary to get the
  278.     syslog function.  With help from Kaveh Ghazi.
  279.  
  280.     * configure.in [LIBS]: Reorganize/unify the code that adds libraries
  281.     solely to resolve syslog.  Add a library only if it is required to
  282.     resolve the syslog reference.
  283.  
  284.     * configure.in [AC_HAVE_HEADERS]: Check for sys/timeb.h.
  285.     getdate.y needs to know.
  286.     [LIBS]: Check for initgroups in -los.  This is required by SCO-ODT-3.0
  287.     when linking su.
  288.     [LIBS]: Check -lufc for crypt.
  289.     Reported by Steven W Orr (steveo@world.std.com).
  290.  
  291. Thu Nov 11 23:55:48 1993  Jim Meyering  (meyering@comco.com)
  292.  
  293.     * id.c [NGROUPS_MAX]: Undefine before redefining.
  294.     From Kaveh R. Ghazi (ghazi@noc.rutgers.edu).
  295.  
  296.     * who.c (list_entries): Trim any trailing blanks from ut_name
  297.     and make sure the string is NUL-terminated before printing it.
  298.     Before, `who -q' displayed 8-character names with a tty
  299.     (e.g. `q1') suffix.
  300.  
  301.     * stty.c [CFLUSHO]: Move this definition so it follows the
  302.     one for VFLUSHO.
  303.  
  304. Mon Nov 08 23:16:36 1993  Jim Meyering  (meyering@comco.com)
  305.  
  306.     * Version 1.9.
  307.  
  308.     * su.c (correct_password): Report an error and fail if getpass
  309.     returns NULL.
  310.  
  311. Tue Nov 02 01:14:21 1993  Jim Meyering  (meyering@comco.com)
  312.  
  313.     * acconfig.h: Add comments.
  314.  
  315.     * printenv.c (main): Exit with status == 2 for file error.
  316.  
  317.     * yes.c (main): Restore argv/optind handling -- now that
  318.     parse_long_options doesn't change optind.
  319.  
  320. Mon Oct 25 19:22:58 1993  Jim Meyering  (meyering@comco.com)
  321.  
  322.     * basename.c, date.c, dirname.c, echo.c, env.c, expr.c, id.c,
  323.     logname.c, nice.c, pathchk.c, printenv.c, printf.c, sleep.c,
  324.     stty.c, su.c, tee.c, test.c, tty.c, uname.c, who.c, whoami.c,
  325.     yes.c: Use the preferred `--longopt=arg' syntax in --help message
  326.     rather than `--longopt arg'.  From Francois Pinard.
  327.  
  328.     * stty.c (main, integer_arg): Don't just call error(1,... about
  329.     improper usage.  Call `error (0,...' then usage (1).
  330.  
  331. Sun Oct 24 14:10:23 1993  Jim Meyering  (meyering@comco.com)
  332.  
  333.     * test.c [member]: Don't try to cast index return value to an int.
  334.     That can lose on systems with 64-bit pointers.
  335.  
  336.     * long-options.c: Save and restore optind, too.
  337.     * long-options.h: New file.
  338.     * long-options.c, echo.c, expr.c, printf.c, test.c, yes.c:
  339.     Include it instead of duplicating dcls.
  340.     * src/Makefile.in: Add dependencies for it.
  341.  
  342. Tue Oct 19 00:26:27 1993  Jim Meyering  (meyering@comco.com)
  343.  
  344.     * expr.c [!__STDC__]: Don't define away `const'.  configure alone
  345.     decides whether to do that.  From Francois Pinard.
  346.  
  347. Sat Oct 16 22:32:54 1993  Jim Meyering  (meyering@comco.com)
  348.  
  349.     * whoami.c (main): Cast printf arg UID so it matches the type
  350.     expected by %u format no matter how uid_t is defined.
  351.  
  352.     * stty.c: Accept `status' option and VDISCARD as an alias for
  353.     VFLUSHO.  From Arne H. Juul (arnej@imf.unit.no).
  354.  
  355.     * basename.c, date.c, dirname.c, echo.c, env.c, expr.c,
  356.     false.sh, groups.sh, id.c, logname.c, long-options.c, nice.c,
  357.     nohup.sh, pathchk.c, printenv.c, printf.c, sleep.c, stty.c,
  358.     su.c, tee.c, test.c, true.sh, tty.c, uname.c, who.c, whoami.c,
  359.     yes.c: Using --help gets long well- formatted help.  Now --help
  360.     writes to stdout and exits successfully.  From Francois Pinard
  361.     <pinard@iro.umontreal.ca>.
  362.  
  363. Wed Oct 13 13:10:27 1993  Jim Meyering  (meyering@comco.com)
  364.  
  365.     * long-options.c: Include sys/types before system.h.
  366.     From Franc,ois Pinard (pinard@iro.umontreal.ca).
  367.  
  368. Tue Oct 12 00:53:26 1993  Jim Meyering  (meyering@comco.com)
  369.  
  370.     * stime.c [HAVE_CONFIG_H, CONFIG_BROKETS]: Include <config.h>
  371.     or "config.h".
  372.  
  373.     * src/Makefile.in [clean]: Also delete '['.
  374.  
  375. Sun Oct 10 14:05:23 1993  Jim Meyering  meyering@comco.com
  376.  
  377.     * false.sh, groups.sh, nohup.sh, true.sh: Add --help and --version.
  378.     * src/Makefile.in (false, groups, nohup, true): Substitute the string
  379.     from version.c for @VERSION@ in *.sh.
  380.  
  381. Sat Oct  9 23:12:53 1993  Jim Meyering  meyering@comco.com
  382.  
  383.     * configure.in: Remove AC_UNISTD_H; add unistd.h to AC_HAVE_HEADERS.
  384.  
  385. Tue Oct  5 22:18:05 1993  Jim Meyering  meyering@comco.com
  386.  
  387.     * tty.c (main): Detect write error.  Use isatty (rather than
  388.     testing whether ttyname() is NULL) to determine exit status
  389.     because ttyname may return NULL when stdin is a terminal device.
  390.  
  391.     * expr.c (eval7): Rewrite if-else-if-else... sequence to avoid a
  392.     spurious `function returns without a value' warning.
  393.  
  394.     * printenv.c (main), tty.c (main): Detect and report write errors.
  395.  
  396.     * echo.c, patchchk.c, printenv.c, printf.c, sleep.c, stty.c, su.c,
  397.     tee.c, test.c, tty.c, uname.c, yes.c: Accept --help and --version
  398.     options.
  399.  
  400.     * long-options.c: New file.  To let echo, expr, printf, test, and
  401.     yes accept --help and --version as unobtrusively as possible.
  402.     * src/Makefile.in [SORUCES]: Add it.
  403.  
  404.     * configure.in: Add AC_TIME_WITH_SYS_TIME and AC_STAT_MACROS_BROKEN.
  405.  
  406.     * nice.c (main) [NICE_PRIORITY]: When given an argument, don't
  407.     try to get current priority.  nice() requires only the delta;
  408.     we don't need to compute the absolute priority as for setpriority.
  409.  
  410. Mon Oct 04 22:15:07 1993  Jim Meyering (meyering@comco.com)
  411.  
  412.     * who.c (print_entry, print_heading, who_am_i):
  413.     Cast printf field width arguments to int to avoid warnings.
  414.     (idle_string): Cast idle seconds and minutes to int.
  415.     Declare functions read_utmp and idle_string to be static.
  416.     Don't declare ttyname as static.
  417.  
  418.     * echo.c (just_echo): Use putchar instead of printf.
  419.  
  420.     * expr.c (parse_long_options): New function.
  421.     (main): Use it to handle --version and --help properly.
  422.  
  423.     * tee.c (main): Put entire #ifdef inside if-braces to make structure
  424.     clearer.
  425.     (main, tee): Compare close() != 0 rather than close () == -1.
  426.  
  427.     * pathchk.c (portable_chars_only, dir_ok): Make a couple variables
  428.     const.
  429.  
  430. Wed Sep 08 00:07:36 1993  Jim Meyering (meyering@comco.com)
  431.  
  432.     * test.c [advance, unary_advance]: Rewrite using do{...}while(0)
  433.     paradigm instead of comma expressions that make Alpha OSFv1.3
  434.     C compiler segfault.
  435.  
  436.     * basename.c, date.c, dirname.c, env.c, id.c, logname.c, nice.c:
  437.     Add --help and --version options.
  438.  
  439. Sat Jul 24 08:52:18 1993  Jim Meyering (meyering@comco.com)
  440.  
  441.     * configure.in: Check for -lshadow.  Linux needs it when using shadow
  442.     passwords.  Reported by Mattias Olofsson <mattias@lysator.liu.se>.
  443.  
  444. Thu May 27 20:05:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  445.  
  446.     * configure.in (c_line test): Add missing `fi'.
  447.  
  448. Tue May 18 23:49:26 1993  Jim Meyering (meyering@comco.com)
  449.  
  450.     * mkinstalldirs: New file.
  451.     * Makefile.in (installdirs): Use it.
  452.  
  453. Thu May 13 01:03:16 1993  Jim Meyering (meyering@comco.com)
  454.  
  455.     * Makefile.in (installdirs): New rules for creating installation
  456.     directories. (install): depend on it.
  457.  
  458. Mon May  3 22:09:24 1993  Jim Meyering (meyering@comco.com)
  459.  
  460.     * configure.in: Add AC_GETGROUPS_T.
  461.     * id.c, test.c: Don't define GETGROUPS_T.  Now configure does it.
  462.  
  463. Sun May  2 00:21:05 1993  Jim Meyering  (meyering@comco.com)
  464.  
  465.     * expr.c (eval6): Terminate result with a zero byte.
  466.     The command `expr substr xx 1 2' would fail on systems with
  467.     tight malloc.  From Steve James <smj@cats.COM>.
  468.  
  469.     * expr.c (null): Recognize the string `0' as zero.
  470.     (divide, mod): Upon request to divide by zero, give an error
  471.     message instead of dumping core.
  472.     From J.T. Conklin <jtc@wimsey.com>.
  473.  
  474.     * configure.in: Check for sys/time.h; getdate.y needs it for
  475.     structs timeval and timezone on some systems.
  476.     * Check for gettimeofday and for `struct tm'.
  477.     * Add existence tests for memcpy and bcopy.
  478.  
  479.     * configure.in: Find a parser generator.
  480.  
  481.     * putenv.c: Include stdlib.h only if __GNU_LIBRARY__ is defined.
  482.     Many vendor-supplied <stdlib.h> have a declaration of putenv that
  483.     conflicts with ours.
  484.  
  485. Tue Apr 20 02:33:24 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  486.  
  487.     * stty.c: Use GWINSZ_IN_SYS_IOCTL, not _AIX, to determine
  488.     whether sys/ioctl.h is needed to support `stty size'.
  489.  
  490. Thu Apr  1 18:03:47 1993  Jim Meyering  (meyering@comco.com)
  491.  
  492.     * printf.c, expr.c [isascii]: Undefine before redefining.
  493.  
  494. Sun Mar 28 00:07:45 1993  Jim Meyering  (meyering@comco.com)
  495.  
  496.     * stty.c: Accept `flush' option.  From Arne H. Juul arnej@lise.unit.no
  497.     * system.h: Don't define r?index, bcopy... if they're already defined.
  498.  
  499. Thu Mar 25 22:41:01 1993  Jim Meyering  (meyering@comco.com)
  500.  
  501.     * configure.in: Add AC_IRIX_SUN to get -lsun because
  502.     Irix-4.0.5's libc.a doesn't have yp/NIS entrypoints.
  503.     From Kjetil Wiekhorst J|rgensen <jorgens@pvv.unit.no>.
  504.  
  505. Fri Mar 05 00:02:53 1993  Jim Meyering  (meyering@comco.com)
  506.  
  507.     * date.c: Add long-named options.
  508.  
  509. Sun Dec  6 23:17:09 1992  Jim Meyering  (meyering@comco.com)
  510.  
  511.     * date.c: Remove unused definition of isdigit.
  512.     * expr.c (toarith): Change single use of isdigit to ISDIGIT.
  513.     * printf.c (print_formatted, print_esc): Define ISDIGIT and
  514.     ISXDIGIT and use them instead of isdigit and isxdigit.
  515.  
  516. Wed Dec  2 12:49:11 1992  Jim Meyering  (meyering@comco.com)
  517.  
  518.     * env.c, id.c, nice.c, pathchk.c, stty.c, su.c, tee.c, tty.c,
  519.     uname.c, who.c: Convert static declarations of struct option
  520.     to use new macros from getopt.h: no_argument, required_argument,
  521.     and optional_argument.
  522.  
  523. Tue Nov 24 09:46:02 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  524.  
  525.     * echo.c: Use V9_DEFAULT instead of USG.  Define it always.
  526.  
  527.     * system.h: Use HAVE_FCNTL_H and HAVE_STRING_H instead of USG.
  528.  
  529. Wed Nov 11 18:19:10 1992  Jim Meyering  (meyering@hal.gnu.ai.mit.edu)
  530.  
  531.     * All files in src: Make all functions and extern variables static.
  532.     Make all longopts arrays const as well as static.
  533.     Make a couple statically initialized aggregates `const.'
  534.  
  535.     * pathchk.c (portable_chars_only): Cast char used as array index.
  536.  
  537.     * echo.c (main), su.c (restricted_shell): Add parentheses to
  538.     assignment statements used in boolean context.
  539.  
  540.     * stty.c (set_mode): Parenthesize expressions with bit operations
  541.     to correctly set/reset modes bits.
  542.  
  543. Wed Oct 28 14:16:48 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  544.  
  545.     * Version 1.8.
  546.  
  547.     * stty.c: Accept Irix VRPRNT for VREPRINT.
  548.     From Jim Meyering.
  549.  
  550.     * stty.c: Fix some type mismatches.  From Bruce Evans, bde@runx.oz.au.
  551.  
  552.     * who.c (read_utmp): Close file on error.
  553.     From Bruce Evans.
  554.  
  555.     * su.c, test.c: Add some decls.  From Bruce Evans.
  556.  
  557.     * sleep.c (main): Arg to sleep is unsigned, not long.
  558.     From Bruce Evans.
  559.  
  560. Fri Sep 11 00:25:52 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  561.  
  562.     * echo.c, echo.1: New files.
  563.  
  564. Thu Sep 10 18:42:44 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  565.  
  566.     * pathchk.c (main): Don't strip trailing slashes from args;
  567.     they might make a path invalid.
  568.     (portable_chars_only, dir_ok): New functions.
  569.     (validate_path): Renamed from validate_new_path.
  570.     Call them.  Don't complain if a leading
  571.     dir doesn't exist.  Don't replace `parent' with a dir that
  572.     doesn't exist.  Don't print a message when falling back
  573.     from pathconf to constant values.
  574.  
  575.     * who.c [!UTMP_FILE]: If _PATH_UTMP is defined, use it instead
  576.     of /etc/utmp.  From Marc Boucher <marc@cam.org>.
  577.  
  578. Tue Aug 25 17:02:25 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  579.  
  580.     * Version 1.7.
  581.  
  582.     * groups.sh, nohup.sh: Add $(bindir) to front of path.
  583.  
  584. Mon Aug 24 16:39:39 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  585.  
  586.     * stty.c: make sane value for "min" 1, not 0.
  587.     From haible@ma2s2.mathematik.uni-karlsruhe.de (Bruno Haible).
  588.  
  589. Sun Aug 23 03:02:07 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  590.  
  591.     * id.c, test.c: Use NGROUPS_MAX if it's defined.  386BSD is like sun.
  592.  
  593. Sat Aug 22 03:16:41 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  594.  
  595.     * test.c: Rename STANDALONE to TEST_STANDALONE to avoid IBM RT
  596.     ACIS sys/param.h conflict.
  597.  
  598.     * su.c (correct_password) [HAVE_SHADOW_H]: Try to get the
  599.     encrypted correct password from the shadow password file.
  600.  
  601. Fri Jul 17 15:25:01 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  602.  
  603.     * su.c, getusershell.c: New files.
  604.  
  605. Fri Jul  3 15:08:43 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  606.  
  607.     * stty.c, who.c: Change FOO_MISSING to HAVE_FOO.
  608.  
  609. Fri Jun  5 01:49:29 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  610.  
  611.     * strcspn.c: New file.
  612.  
  613.     * expr.c: Misc. cleanups.
  614.  
  615.     * expr.c (eval7): Renamed from eval6.
  616.     Give syntax error if no more args.  Don't coerce all values to numbers.
  617.     (eval6): New function.
  618.     (eval5): Accept == as a synonym for =.
  619.     (eval2): Coerce values to numbers for comparisons.
  620.     Above all from Dana Jacobsen (jacobsd@prism.cs.orst.edu).
  621.  
  622. Thu Jun  4 19:32:09 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  623.  
  624.     * printf.c (print_formatted): Move main loop into new function.
  625.     (main): Add an outer loop to use the format multiple times.
  626.     (verify): Don't reject a completely empty string.
  627.     Check errno (for overflow).
  628.  
  629.     * false.sh, true.sh: New programs.  Oh, boy.
  630.  
  631. Thu May 14 01:17:22 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  632.  
  633.     * stty.c (set_mode): Support crt and dec modes partially if
  634.     necessary, so they work on, for example, Ultrix . . . .
  635.  
  636. Wed May 13 14:47:45 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  637.  
  638.     * stty.c (set_mode): Swap nl and -nl.  Have them also affect
  639.     output as well as input.
  640.  
  641. Tue May 12 00:07:28 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  642.  
  643.     * date.c (show_date): Use strftime for the whole conversion.
  644.  
  645. Tue May  5 15:20:24 1992  David J. MacKenzie  (djm@hal)
  646.  
  647.     * stty.c (wrapf): Print the formatted buffer; don't redo the
  648.     formatting using vprintf.
  649.  
  650. Thu Apr 30 01:17:08 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  651.  
  652.     * printf.c (xstrtol, xstrtoul, xstrtod, verify): New functions.
  653.     (main, print_direc): Use them.  Make error messages more specific.
  654.  
  655.     * tee.c (tee): Only malloc and free the table of file descriptors
  656.     if >0 files are given.
  657.  
  658. Fri Apr 17 11:56:48 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  659.  
  660.     * pathchk.c (validate_new_path): Print the name of the component that
  661.     failed the length test, not the whole path.
  662.     From Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de).
  663.  
  664. Mon Apr  6 15:11:36 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  665.  
  666.     * who.c (read_utmp): Check close return for error.
  667.     (print_heading): Align columns based on sizes of utmp members.
  668.     (who_am_i): Skip past /dev/ instead of skipping leading path.
  669.  
  670. Mon Mar 16 23:47:03 1992  David J. MacKenzie  (djm@apple-gunkies.gnu.ai.mit.edu)
  671.  
  672.     * date.c (show_date): Don't call strftime if FORMAT is the
  673.     empty string.
  674.  
  675.     * date.c (main): Reorganize to reduce duplicated code.
  676.     Add -d option.
  677.     (usage): Document -d.
  678.     (set_date): Function removed.
  679.  
  680. Tue Feb 11 16:12:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  681.  
  682.     * printf.c (print_esc): When a numeric escape is given,
  683.     don't call print_esc_char, and return 1 less.
  684.     From Thorston Ohl.
  685.  
  686. Mon Jan 20 02:17:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  687.  
  688.     * Version 1.6.
  689.  
  690.     * test.c: HAVE_MULTIPLE_GROUPS -> HAVE_GETGROUPS, for bash 1.11.
  691.  
  692. Fri Jan 17 15:46:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  693.  
  694.     * expr.c (docolon): Use re_nsub to find the number of
  695.     subexpressions . . . From Karl Berry, who knows.
  696.  
  697. Wed Dec 25 23:27:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  698.  
  699.     * expr.c (docolon): Use the new way (re_regs.num_regs > 0) to find
  700.     out if there were any subexpressions, instead of the old way
  701.     (re_regs.start[1] >= 0), which can cause random memory
  702.     accesses with regex 0.1.  From Brian Matthews.
  703.  
  704. Tue Dec 24 02:12:15 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  705.  
  706.     * system.h, id.c, pathchk.c, tee.c: Change POSIX ifdefs to
  707.     HAVE_UNISTD_H and _POSIX_VERSION.
  708.  
  709. Wed Dec 11 13:15:09 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  710.  
  711.     * Version 1.5.
  712.  
  713.     * expr.c (main): Set obscure_syntax to tell re_match to
  714.     allocate memory for the group registers.
  715.  
  716. Mon Dec  9 16:03:14 1991  Charles Hannum  (mycroft at hal.gnu.ai.mit.edu)
  717.  
  718.     * who.c (list_entries): Check type == USER_PROCESS if defined, for SysV.
  719.  
  720. Sat Dec  7 00:32:02 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  721.  
  722.     * Version 1.4.
  723.  
  724.     * env, id, nice, pathchk, stty, tee, tty, uname: Change usage
  725.     messages and documentation to list long-named options starting
  726.     with `--' rather than `+'. 
  727.  
  728.     * env.c (main), nice.c (main): Simplify test for which exit
  729.     status to use if exec fails.
  730.  
  731. Fri Dec  6 23:49:42 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  732.  
  733.     * tee.c (main) [POSIX]:  Use sigaction instead of signal, which
  734.     POSIX doesn't have.
  735.  
  736. Fri Oct 18 00:31:35 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  737.  
  738.     * test.c (two_arguments): Fix from Chet.
  739.  
  740.     * expr.c: Include regex.h after sys/types.h, not before, so
  741.     size_t gets defined.
  742.  
  743.     * test.c: New version, adapted from bash 1.10.
  744.  
  745.     * id.c: GID_T -> GETGROUPS_T, for clarity.
  746.  
  747. Sat Oct 12 14:38:34 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  748.  
  749.     * configure: Define uid_t and gid_t as int if they're not
  750.     defined in sys/types.h.  That's probably right for old Unixes
  751.     and avoids trying to find the C preprocessor.
  752.  
  753. Sat Sep 28 13:01:23 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  754.  
  755.     * stty.c (set_mode): Make `raw' and `cooked' not change parity
  756.     and character size, which would probably make them useless on
  757.     7-bit lines.
  758.     Make `raw' set the `time' character to 0, not 1.
  759.     From Bruce Evans.
  760.  
  761.     * nohup.sh: If creating nohup.out, give it mode 0600, for POSIX.
  762.  
  763. Fri Sep 13 14:59:51 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  764.  
  765.     * id.c [POSIX]: Always use sysconf to get NGROUPS_MAX.
  766.  
  767. Thu Aug 29 14:43:07 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  768.  
  769.     * test.c: Don't include sys/file.h if POSIX.
  770.     Use gid_t for getgroups.
  771.  
  772.     * stty.c (set_mode): Use CEOF and CEOL instead of hardcoding them.
  773.     (display_speed): Fix a printf string type mismatch.
  774.     From Bruce Evans.
  775.  
  776. Mon Aug 26 16:52:51 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
  777.  
  778.     * configure, src/Makefile.in, lib/Makefile.in: Only put $< in
  779.     Makefiles if VPATH is being used, because older makes don't
  780.     understand it.
  781.  
  782. Mon Aug 19 01:57:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  783.  
  784.     * Version 1.3.
  785.  
  786. Sat Aug 17 22:48:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  787.  
  788.     * src/Makefile.in (install): Install a link to test called '['.
  789.  
  790. Wed Aug 14 12:22:57 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  791.  
  792.     * test.c (unary_operator): Check first char of string, not its address.
  793.  
  794. Sun Aug 11 18:10:30 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  795.  
  796.     * Version 1.2.
  797.  
  798.     * system.h: Define S_IFMT if needed, for test.c.
  799.  
  800.     * test.c: New file, from bash.
  801.  
  802.     * nice.c: Change +priority to +adjustment (more accurate).
  803.  
  804. Sat Aug 10 13:09:51 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  805.  
  806.     * stty.c [WINSIZE_IN_PTEM]: sys/ptem.h requires sys/stream.h.
  807.  
  808.     * nice.c, configure: Use nice if available and setpriority is missing.
  809.  
  810. Thu Aug  8 01:34:05 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  811.  
  812.     * date.c: USG needs TZ=GMT0 for UCT timezone, also.
  813.  
  814.     * stty.c: Add pass8 and litout modes.
  815.  
  816. Sun Aug  4 22:45:51 1991  David J. MacKenzie  (djm at wheat-chex)
  817.  
  818.     * Version 1.1.
  819.  
  820. Fri Aug  2 13:22:31 1991  David J. MacKenzie  (djm at apple-gunkies)
  821.  
  822.     * configure: Implement +srcdir.  Don't check for bison.
  823.  
  824.     * stty.c: Don't change ixon in "sane" mode.
  825.  
  826.     * configure: Use 1 instead of 255 for checking tzname,
  827.     because of signedness.
  828.  
  829. Thu Aug  1 13:40:58 1991  David J. MacKenzie  (djm at apple-gunkies)
  830.  
  831.     * printenv.c (main): Don't print the variable names when given
  832.     args, as people seem to use printenv in scripts after all . . . .
  833.  
  834.     * stty.c: Don't change parity or character size settings in
  835.     "sane" mode.  The right values for those depend on the hardware.
  836.  
  837. Wed Jul 31 01:19:01 1991  David J. MacKenzie  (djm at hal)
  838.  
  839.     * stty.c [_AIX]: Include sys/ioctl.h -- needed on
  840.     AIX to get window size.
  841.  
  842. Tue Jul 30 00:06:54 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  843.  
  844.     * getdate.y: New file.
  845.     * date.c: Add -s option to set date in English.
  846.     * configure: Check for ftime.
  847.  
  848.     * date.c: Remove COMPUTE_TM_ZONE code, which didn't work.
  849.     * configure: Instead of checking whether tzname is declared,
  850.     check whether it exists.
  851.  
  852.     * logname.c (main): Go back to just printing an error message
  853.     if getlogin fails, as required by POSIX.
  854.  
  855.     * stty.c (screen_columns, wrapf): New functions to implement
  856.     output wrapping.
  857.     Globally: use them.
  858.  
  859.     * configure: Define uid_t and gid_t if sys/types.h doesn't.
  860.     * system.h: Define F_OK et al. if nothing else does.
  861.  
  862. Mon Jul 29 21:11:16 1991  David J. MacKenzie  (djm at wombat.gnu.ai.mit.edu)
  863.  
  864.     * pathchk.c (validate_new_path): Rearrange tests so that
  865.     pathconf is only called on existing directories.  Use access
  866.     instead of stat to determine directory searchability.
  867.     From Jim Meyering.
  868.  
  869.     * stty.c, configure: Add WINSIZE_IN_PTEM and GWINSZ_BROKEN for SCO.
  870.  
  871. Wed Jul 24 02:13:31 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  872.  
  873.     * stty.c (sane_mode): Always set control chars to sane values.
  874.     Set min and time if they're different from eof and eol.
  875.  
  876.     * whoami.c: Print UID as unsigned.
  877.     * logname.c: Do "whoami" if getlogin fails.
  878.  
  879.     * logname.c (main): fprintf was missing an arg.
  880.  
  881. Tue Jul 23 02:20:15 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  882.  
  883.     * id.c: GID_T is int if ultrix as well as if sun.
  884.  
  885.     * stty.c: Implement raw and cooked modes.
  886.  
  887. Mon Jul 22 15:21:21 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  888.  
  889.     * tee.c (main): close stdin and stdout to check for errors.
  890.  
  891.     * stty.c: Use tcflag_t for termios bitmasks.
  892.     Use speed_t for speeds.  Use unsigned long for baud rates to
  893.     accomodate large values, and support 57600 and 115200 if available.
  894.  
  895.     * date.c, configure: Instead of SIZE_T_MISSING,
  896.     define size_t if it's missing.
  897.  
  898.     * id.c, whoami.c: Use uid_t and gid_t.
  899.  
  900.     * id.c: If POSIX and not sun (bogus!), pass getgroups and
  901.     getugroups an array of gid_t instead of int.
  902.  
  903.     * system.h: New file.
  904.     * Most programs: include it.
  905.  
  906. Fri Jul 19 12:04:58 1991  David J. MacKenzie  (djm at apple-gunkies)
  907.  
  908.     * env.c [!STDC_HEADERS]: Declare errno.
  909.     * printf.c, pathchk.c: Don't include errno.h; not needed.
  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 grep can find it.
  914.  
  915.     * pathchk.c (strip_trailing_slashes): Function removed; use
  916.     version in lib.
  917.  
  918. Mon Jul 15 11:34:22 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  919.  
  920.     * Version 1.0.
  921.  
  922.     * pathchk.c: Always check whether _POSIX_PATH_MAX and
  923.     _POSIX_NAME_MAX need to be defined.
  924.     [POSIX]: If no PATH_MAX or NAME_MAX and pathconf for the path
  925.     returns -1 (some systems do this if the path does not exist),
  926.     use pathconf for "/". 
  927.  
  928. Sun Jul 14 21:17:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  929.  
  930.     * date.c (date_seconds): Function removed, replaced with
  931.     posixtm.y in lib.
  932.     (set_date): Change caller.
  933.     * configure: Check for bison.
  934.  
  935.     * stty.c [!C_LINE_MISSING]: Add support for setting and
  936.     printing the line discipline.
  937.     * configure: Check for C_LINE_MISSING.
  938.  
  939.     * configure: Check for Minix.
  940.  
  941. Sat Jul 13 01:33:59 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  942.  
  943.     * Add `man' directory and manual pages.
  944.     * configure: Set INSTALLDATA and MAN.
  945.  
  946.     * id.c: Add #ifdefs for POSIX ways of getting max groups list size.
  947.     (print_group_list, print_full_info): Allocate list of groups
  948.     with malloc since its size might not be constant.
  949.  
  950.     * nice.c (main): Don't adjust priority if printing it.
  951.     Default adjustment of 10, not 0.
  952.  
  953.     * printf.c: Add \c escape and %b conversion.
  954.     Implement '*' for field width and precision.
  955.     Make all errors fatal.
  956.     (print_esc_string, print_esc): New functions.
  957.  
  958.     * configure, date.c: Change SYS_TIME_H to TM_IN_SYS_TIME.
  959.     * configure: Always check where to find struct tm.
  960.  
  961.     * yes.c: Rewrite to accept multiple arguments.
  962.  
  963.     * Add groups.sh.
  964.  
  965. Fri Jul 12 10:57:00 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  966.  
  967.     * dirname.c: Move code from dirname function into main,
  968.     simplifying things quite a bit.  From Jim Meyering.
  969.     * Omit strdup from lib; no longer used.
  970.     * configure: Don't check for strdup.
  971.  
  972.     * printenv.c (main): If args given, print the values in the order
  973.     given on the command line rather than the order given in the
  974.     environment.
  975.  
  976.     * tee.c, tty.c (struct longopts): Revise to make short-option
  977.     equivalents clear.
  978.  
  979. Thu Jul 11 12:46:11 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  980.  
  981.     * nice.c: Add long options.
  982.  
  983.     * Add date command and libraries it needs.
  984.     * configure: Updated.
  985.  
  986.     * env.c: Add long options.  Use GNU putenv instead of custom
  987.     setenv function.
  988.  
  989.     * id.c: Add long options.
  990.  
  991.     * pathchk.c [POSIX]: Use pathconf if necessary to get NAME_MAX
  992.     and PATH_MAX. 
  993.  
  994.     * nice.c: Use exit status required for nohup by POSIX.2
  995.     (nohup execs nice).
  996.  
  997.     * sleep.c: Don't bother with hex and octal.
  998.  
  999.     * env.c: Fix exit status for POSIX.2 draft 11.1.
  1000.  
  1001.     * Many files: Remove private copies of xmalloc, error, xstrdup,
  1002.     etc. to use shared versions.
  1003.     Fix #includes for USG, STDC_HEADERS, POSIX.
  1004.  
  1005. Mon Jul  8 18:56:24 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  1006.  
  1007.     * date.c (main): For -u, set TZ to "" instead of "GMT0",
  1008.     unless on HP-UX or Ultrix.
  1009.  
  1010.     * Rename some feature-test macros.
  1011.     * stime.c: Created from code in date.c.
  1012.     * date.c (compute_tm_zone): New function.
  1013.     (date_seconds, show_date): Use it.
  1014.     (xmalloc, xrealloc): Functions removed; use xmalloc.c instead.
  1015.  
  1016. Tue Jul  2 02:28:11 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  1017.  
  1018.     * tee.c (tee): Report errors in closing files.
  1019.  
  1020. Mon Mar 18 10:13:59 1991  Jeffrey A. Law  (law at geech.ai.mit.edu)
  1021.  
  1022.     * date.c (date_seconds, show_date): #if COMPUTE_TMZONE then
  1023.     compute the proper value to place in tm->tm_zone from
  1024.     information returned by localtime and gettimeofday.
  1025.  
  1026. Fri Apr 26 11:38:09 1991  David J. MacKenzie  (djm at mole.gnu.ai.mit.edu)
  1027.  
  1028.     * stty.c: Define default values for control chars if necessary.
  1029.     Complain about invalid options if no other options follow.
  1030.     Use POSIX functions instead of ioctl, for manipulating termios.
  1031.  
  1032.     * expr.c (main): Exit status was backwards.
  1033.  
  1034. Thu Dec 20 00:36:01 1990  David J. MacKenzie  (djm at apple-gunkies)
  1035.  
  1036.     * id.c: Reorganization and many changes to fix bugs and POSIX
  1037.     compliance problems.
  1038.  
  1039. Mon Dec 10 03:09:13 1990  David J. MacKenzie  (djm at apple-gunkies)
  1040.  
  1041.     * stty.c: Don't declare printf and some other functions that
  1042.     might have variable numbers of args in system header file decls.
  1043.  
  1044. Tue Nov 14 23:37:22 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  1045.  
  1046.     * id.c (print_groups): Put spaces after commas.
  1047.     (print_group): New fn, to print a group id.  Uses numeric fmt
  1048.     unless -n, in which case it uses group names.
  1049.     (print_groups): Call it.  Find the rgid and egid, and print them as
  1050.     well as the supplementary groups.  Make sure we print each group only
  1051.     once.
  1052.  
  1053. Sun Sep 16 01:49:14 1990  David J. MacKenzie  (djm at apple-gunkies)
  1054.  
  1055.     * id.c (main): Add -G option for POSIX.2 draft 10.
  1056.     Allow a username to be given.
  1057.     (print_groups): New function from code in main.
  1058.     (getugroups): New function.
  1059.  
  1060. Sun Aug 12 00:32:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1061.  
  1062.     * env.c (main): Instead of setting _POSIX_OPTION_ORDER,
  1063.     tell getopt to not permute, with `+'.
  1064.  
  1065. Sat Aug 11 01:32:53 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1066.  
  1067.     * expr.c: Use regex.c library instead of private regex routines.
  1068.  
  1069.     * nice.c (main): Add -n option for POSIX.2a.
  1070.     (usage): New function.
  1071.  
  1072. Fri Aug 10 23:58:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1073.  
  1074.     * who.c: Add -m, -i, -w options for POSIX.2a.
  1075.  
  1076. Tue Aug  7 00:01:02 1990  David J. MacKenzie  (djm at apple-gunkies)
  1077.  
  1078.     * expr.c: Use exit directly instead of longjmp on error.
  1079.     Use argv[0] instead of hardcoded "expr" in messages.
  1080.     Make some functions void.
  1081.  
  1082. Sat Aug  4 21:19:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1083.  
  1084.     * env.c: Change exit statuses for POSIX draft 10.
  1085.  
  1086. Wed Jul  4 04:32:51 1990  David J. MacKenzie  (djm at apple-gunkies)
  1087.  
  1088.     * tee.c: Use error instead of perror_with_name and
  1089.     out_of_memory. 
  1090.  
  1091. Wed Jun 20 02:39:49 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1092.  
  1093.     * date.c: Change -DSETTOD to -DSTIME_MISSING, -DSIZE_T to
  1094.     -DSIZE_T_IN_TYPES, and -DSTDC_HDRS to -DSTDC_HEADERS.
  1095.     Declare some more functions.  Replace fatal, memory_out, and
  1096.     nonfatal_perror with error.
  1097.  
  1098. Mon Jun 18 00:16:52 1990  David J. MacKenzie  (djm at apple-gunkies)
  1099.  
  1100.     * stty.c: Add some Unix compatibility modes.
  1101.  
  1102. Sat Jun 16 21:05:59 1990  David J. MacKenzie  (djm at apple-gunkies)
  1103.  
  1104.     * stty.c (display_changed, display_all): Print values of min
  1105.     and time.
  1106.  
  1107. Thu Jun 14 17:49:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  1108.  
  1109.     * stty.c: Implement tab, backspace, etc. delay args.
  1110.  
  1111. Thu May 31 12:25:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1112.  
  1113.     * nohup.sh: Don't ignore SIGTERM.
  1114.     If ./nohup.out is unwritable, try $HOME/nohup.out.
  1115.  
  1116. Thu May  3 22:33:32 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1117.  
  1118.     * who.c: Use error instead of fatal and fatal_perror.
  1119.     (print_headings): Print headings in all caps, like SYSV does.
  1120.     (list_entries): New function for -q to make it like SYSV -q.
  1121.     (valid_entries): Function removed.
  1122.  
  1123. Mon Apr  2 01:27:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1124.  
  1125.     * id.c (main): Don't strip off leading path from program name.
  1126.     Revise a couple of error messages.
  1127.  
  1128.     * whoami.c (main): Use geteuid, not getuid, for Unix compatibility.
  1129.  
  1130. Tue Mar 20 14:28:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  1131.  
  1132.     * tee.c (main): Pass list of files and its size as args to tee
  1133.     rather than as global vars.  Exit with return value of tee
  1134.     instead of always 0.
  1135.     (tee): Use unbuffered I/O instead of stdio, for POSIX.
  1136.     Return an error status.
  1137.     (xwrite): New function.
  1138.  
  1139. Tue Mar 13 00:38:13 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1140.  
  1141.     * who.c (who_am_i): Print heading before checking to see
  1142.     whether there is an entry for the tty on stdin, for
  1143.     consistency with the who function.
  1144.     (main): Use argv[optind], not argv[1], as alternate file.
  1145.  
  1146. Fri Mar  9 15:49:04 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1147.  
  1148.     * who.c: Rename UTMP to UTMP_FILE for compatibility with SysV
  1149.     utmp.h.  Include some additional header files.
  1150.     (main): Recognize some options from SysVr3 who. Call usage.
  1151.     Set new global var `program_name' from argv[0].
  1152.     (usage): New function.
  1153.     (who): If -q given, only print count of users logged on.
  1154.     (print_entry): New function to format an entry on the output;
  1155.     make format more like that of the Unix who programs.
  1156.     (print_heading): New function to print a line describing each
  1157.     output field.
  1158.     (who, who_am_i): Call print_entry and print_heading.
  1159.     (valid_entries): New function to return count of nonempty
  1160.     entries in utmp.
  1161.     (search_entries): Compare with utmp tty field instead of
  1162.     username field.  Don't assume null termination in utmp field.
  1163.     (who_am_i): Print the entry for the tty on stdin rather than
  1164.     the first entry found for the uid.  If hostname is not
  1165.     available, use a null one instead of "<unknown>".
  1166.     Don't hardcode max hostname length.
  1167.     (idle_string): New function to format idle time field.
  1168.     (fatal, fatal_perror): Use program_name instead of hardcoded "who"
  1169.     in error messages.
  1170.  
  1171. Tue Mar  6 00:59:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  1172.  
  1173.     * printenv.c (main): Allow multiple variables to be specified.
  1174.     (barf): Function removed.
  1175.  
  1176. Sat Jan 20 18:41:48 1990  Jim Kingdon  (kingdon at geech)
  1177.  
  1178.     * expr.c (nextarg): Do not pass *args to strcmp if NULL.
  1179.  
  1180. Mon Dec 18 09:57:20 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  1181.  
  1182.     * printenv.c (main): Simplify error messages.
  1183.  
  1184. Sat Dec 16 15:15:50 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  1185.  
  1186.     * expr.c: Indent to regularize spacing.
  1187.     (cmpv, arithf): Change '#define foo (args)' to '#define foo(args)'
  1188.     so they compile.
  1189.     (docolon): Remove unused vars.
  1190.     (multiply): Rename from times to avoid libc conflict.
  1191.     (error): Include program name in message.
  1192.     (xmalloc): Rename from Malloc.
  1193.     (re_compiled): Rename from re_comp to avoid libc conflict.
  1194.  
  1195.     * basename.c: Fix some weird indentation.
  1196.     (main): Print a clearer usage message.
  1197.     Use a simpler method for removing suffix, if given.
  1198.     (fatal): Function no longer used; removed.
  1199.     
  1200.     * sleep.c: (main): Rename `time' to `seconds'.  Print usage
  1201.     message if given no args.
  1202.     Exit with status 0 instead of falling off end.
  1203.     (error): Print to stderr, not stdout.
  1204.  
  1205.     * tee.c: (main): Use getopt_long instead of custom parser,
  1206.     and adjust usage message.
  1207.     Use list of filenames in argv rather than making a copy.
  1208.     (tee): New function created from the second half of main.
  1209.     Fix bug where it tried to fclose a loop index instead of a stream.
  1210.     (xmalloc): Ok to return 0 if 0 bytes requested.
  1211.     (xrealloc): Unused function removed.
  1212.  
  1213.     * whoami.c: Canonicalize usage message and fix error message.
  1214.  
  1215.     * who.c: Declare some functions.
  1216.     (fatal_perror): New function for printing errors after system
  1217.     calls.
  1218.     Global: Use it when appropriate.
  1219.     (xmalloc): Return char *, not int.
  1220.     (read_utmp): Ok if utmp file is empty.
  1221.     Include filename in error messages.
  1222.     (scan_entries): Adjust columns to line up better, particularly
  1223.     when there are users with 8 character long usernames logged in.
  1224.  
  1225. Sat Oct 28 13:20:43 1989  David J. MacKenzie  (djm at spiff)
  1226.  
  1227.     * uname.c: Added long options.
  1228.     global: changed the word `part' to the word `element'
  1229.     (more precise).
  1230.     (program_name, long_options): New variables.
  1231.     (main): Support long options.
  1232.     (usage): Add long options summary to message.
  1233.  
  1234. Local Variables:
  1235. mode: indented-text
  1236. left-margin: 8
  1237. version-control: never
  1238. End:
  1239.