1 Mon Oct 21 16:49:08 1996 Jim Meyering <meyering@na-net.ornl.gov>
3 * lib/getloadavg.c [__linux__]: Don't bother with a.out/nlist/kernel
4 defines or includes -- Linux systems simply read /proc/loadavg.
6 * lib/Makefile.am (EXTRA_DIST): Remove group-member.c.
8 * configure.in: Remove hack that created link from group_member.c
11 * lib/group_member.c: New file. Renamed from group-member.c.
12 * lib/group-member.c: Delete.
14 * src/stty.c (main): Remove TAB from diagnostic, for consistency.
16 Sun Oct 20 09:03:51 1996 Jim Meyering <meyering@na-net.ornl.gov>
18 * Makefile.am (install-root): Add it here, too.
20 * lib/Makefile.am (INCLUDES): Add -I../intl. Reported by Eric Backus.
22 * src/Makefile.am (install-root): New rule.
23 Suggestion from François Pinard.
25 * src/who-users.c (print_entry): Don't take address of UT_TIME_MEMBER
26 directly. From Ulrich Drepper.
28 * Makefile.am (AUTOMAKE_OPTIONS): Set to `gnits'.
29 (EXTRA_DIST): Remove @README_ALPHA@.
31 * configure.in: Remove README_ALPHA related code. Automake takes
32 care of it automatically now when in gnits mode.
34 * acinclude.m4 (AM_FUNC_GETLOADAVG): Use $srcdir (not $top_srcdir) in
35 #include $srcdir/lib/getloadavg.c. The latter isn't defined at that
36 point in configure script. From Eric Backus.
38 Fri Oct 18 21:31:58 1996 Jim Meyering <meyering@na-net.ornl.gov>
40 * Makefile.am (cvs-dist): Uncomment cvs tag command.
41 (cvs-dist): Use cvs tag's -c option.
43 Thu Oct 17 23:48:16 1996 Jim Meyering <meyering@na-net.ornl.gov>
45 * configure.in (LIBS): Add -lypsec on m88k/svr3 DolphinOS systems
46 using YP. From Arne Juul.
48 Sun Oct 13 07:34:15 1996 Jim Meyering <meyering@na-net.ornl.gov>
50 * configure.in: Don't save and restore LIBS around AM_FUNC_GETLOADAVG.
51 * acinclude.m4 (AM_FUNC_GETLOADAVG): Don't modify LIBS in this macro
52 (by saving and restoring initial value). Instead, arrange for
53 substitution of @GETLOADAVG_LIBS@.
54 * src/Makefile.am (uptime_LDADD): Add @GETLOADAVG_LIBS@,
57 * configure.in (ALL_LINGUAS): Add swedish (sv).
59 Fri Oct 11 22:51:50 1996 Jim Meyering <meyering@na-net.ornl.gov>
61 * src/who-users.c (print_uptime): Change #ifdef guard on getloadavg
62 call from just HAVE_GETLOADAVG to HAVE_GETLOADAVG || C_GETLOADAVG.
65 * src/Makefile.am (uptime_LDADD): Add @UPTIME_LIBS@.
67 * acinclude.m4 (AM_FUNC_GETLOADAVG): Like AC_FUNC_GETLOADAVG, but
68 with the following changes:
69 - include $top_srcdir/lib/getloadavg.c, not src/getloadavg.c.
70 Reported by Eric Backus.
71 - Check for Solaris' libkstat.
72 - Define C_GETLOADAVG if we end up using getloadavg.c.
74 * acconfig.h (C_GETLOADAVG): Add it.
77 * configure.in: Use new AM_FUNC_GETLOADAVG and be careful to add
78 getloadavg-related libraries only when linking uptime.
80 Thu Oct 10 23:50:05 1996 Jim Meyering <meyering@na-net.ornl.gov>
82 * lib/Makefile.am (EXTRA_DIST): Remove posixtm.y and getdate.y.
83 (su_SOURCES): Put them here instead.
84 Remove rules for building getdate.c and posixtm.c; now automake
85 generates those rules.
86 * lib/ylwrap: New file.
87 * lib/interlock: New file.
89 Wed Oct 9 00:26:55 1996 Jim Meyering <meyering@na-net.ornl.gov>
91 * lib/getloadavg.c [__sun]: Define sun. Reported by Kaveh Ghazi.
93 * lib/strftime.c (strftime): Accommodate the broken C compiler
94 that comes with SunOS -- don't initialize aggregates in decls of
95 automatic variables. Reported by Kaveh Ghazi.
97 * tests/: Renamed checks/ directory.
98 * Makefile.am (SUBDIRS): Rename checks to tests.
99 * configure.in (AC_OUTPUT): Rename checks to tests.
101 * configure.in (/proc/uptime check): Guard the read of /proc/uptime
102 with an existence test to avoid a messy configure-time warning on
103 systems that lack that special file. Reported by Kaveh R. Ghazi.
105 * configure.in (check whether floor needs -lm): Fix typo: save $LIBS,
106 not $LIB. From Kaveh R. Ghazi.
108 * checks/nice: Protect echoed args with leading `x' so echo doesn't
109 interpret leading -n on e.g. SunOS systems.
111 Mon Oct 7 18:46:28 1996 Jim Meyering <meyering@na-net.ornl.gov>
113 * lib/getloadavg.c [__hpux]: Define hpux. From Eric Backus.
115 * lib/Makefile.am (EXTRA_DIST): Remove alloca.c, error.c, and mktime.
116 (su_SOURCES): Remove memcmp.c.
117 Automake automatically includes at least these, now.
118 From François Pinard.
120 * lib/Makefile.am (su_SOURCES): Remove getline.c.
122 Sat Oct 5 11:38:23 1996 Jim Meyering <meyering@na-net.ornl.gov>
124 * lib/Makefile.am (su_SOURCES): Remove gethostname.c --
125 it's AC_REPLACE'd and already in EXTRA_DIST.
127 * configure.in: Use AM_SANITY_CHECK_CC.
129 * configure.in: Use AM_FUNC_ERROR_AT_LINE.
130 * lib/Makefile.am (EXTRA_DIST): Put error.c here.
131 (su_SOURCES): Remove error.c
132 Suggested by Ulrich Drepper.
134 * configure.in (GNU_PACKAGE): AC_SUBST it for the src/*.sh scripts.
135 * src/Makefile.am (.sh): Substitute for @GNU_PACKAGE@ and @VERSION@
136 in the four installed scripts.
137 * src/*.sh: Update --version output to conform to the coding standard.
139 * acinclude.m4 (AC_HEADER_SYS_TIME_H): New macro.
140 (AM_FUNC_MKTIME): Require AC_HEADER_SYS_TIME_H so that configure's
141 checking... messages don't get nested.
143 * configure.in (GNU_PACKAGE): New variable.
144 (PACKAGE_VERSION): Remove it.
146 * acconfig.h (GNU_PACKAGE): New variable.
147 (PACKAGE_VERSION): Remove now-unused variable.
149 * src/*.c: Update --version output to conform to the coding standard.
151 Sun Sep 22 22:41:54 1996 Jim Meyering <meyering@na-net.ornl.gov>
153 * configure.in (AC_CHECK_HEADERS): Alphabetize.
154 Update for automake-1.1e.
156 Thu Sep 19 07:47:18 1996 Jim Meyering <meyering@na-net.ornl.gov>
158 * lib/regex.c: Merge with FSF version.
159 * lib/getloadavg.c: Replace with FSF version.
161 Mon Sep 16 23:13:04 1996 Jim Meyering <meyering@na-net.ornl.gov>
163 * lib/strftime.c (strftime): New version, from GNU libc.
165 Sun Sep 15 23:08:48 1996 Jim Meyering <meyering@na-net.ornl.gov>
167 * Makefile.am (EXTRA_DIST): Remove acinclude.m4.
169 Mon Sep 9 22:10:45 1996 Jim Meyering <meyering@na-net.ornl.gov>
171 * configure.in: Improve handling of math library so -lm is used
172 only when it's actually required. That makes a difference when
173 using dynamic linking.
174 Remove check that added -lm to LIBS.
175 (SQRT_LIBM): Test for and AC_SUBST it.
176 (POW_LIBM): Likewise.
177 (SEQ_LIBM): Likewise.
178 Motivation and suggestions from Ulrich Drepper.
180 * src/Makefile.am (factor_LDADD, printf_LDADD, seq_LDADD):
181 Set these using new @SQRT_LIBM@, @POW_LIBM@, and @SEQ_LIBM@ resp.
182 Also set corresponding _DEPENDENCIES variables.
184 Sat Sep 7 12:41:39 1996 Jim Meyering <meyering@na-net.ornl.gov>
186 * src/system.h: Add comments justifying IS* versions of ctype.h macros.
188 * lib/getdate.y: Define and use upper case variants of ctype.h
189 is* macros. From Bruno Haible.
191 Thu Sep 5 22:12:20 1996 Jim Meyering <meyering@na-net.ornl.gov>
193 * lib/strftime.c: New version from glibc.
195 Wed Sep 4 23:39:51 1996 Jim Meyering <meyering@na-net.ornl.gov>
197 * configure.in (ALL_LINGUAS): Add dutch (nl).
199 Mon Sep 2 10:52:55 1996 Jim Meyering <meyering@na-net.ornl.gov>
201 * src/*.c (usage): Tell where to report bugs.
203 Sun Sep 1 07:56:07 1996 Jim Meyering <meyering@na-net.ornl.gov>
205 * configure.in (AM_FUNC_MKTIME): Use it.
206 (AC_REPLACE_FUNCS): Remove mktime.
207 (AM_INIT_AUTOMAKE): Use it.
208 (AM_PROG_INSTALL): Remove. AM_INIT_AUTOMAKE does this.
209 (AC_PROG_MAKE_SET): Likewise.
210 (jm_MAINTAINER_MODE, fp_C_PROTOTYPES): Rename with
211 AM_ prefix for latest automake/aclocal.
213 * Makefile.am (EXTRA_DIST): Add acinclude.m4.
215 * acinclude.m4: New file -- derived from aclocal.m4.
216 * aclocal.m4: This file is now generated by the aclocal program
217 (which comes with the automake package.)
219 Sat Aug 17 00:14:55 1996 Jim Meyering <meyering@na-net.ornl.gov>
221 * lib/strftime.c: Update from GNU libc -- this adds back %z and %s
222 formats and reverts to old behavior where unrecognized format like
223 %E is treated as eqivalent to `E'.
225 Sun Aug 4 09:14:28 1996 Jim Meyering <meyering@na-net.ornl.gov>
227 * checks/: New directory.
228 * checks/Makefile.am: New file.
229 * checks/nice: New file. Derived from tests from Eric Backus.
230 * configure.in (AC_OUTPUT): Add new directory: checks.
231 * Makefile.am (SUBDIRS): Likewise.
233 * src/nice.c (main): Allow `+' in options like -+8 and -+13.
235 Fri Aug 2 21:45:06 1996 Jim Meyering <meyering@na-net.ornl.gov>
237 * src/nice.c (main): Set minus_flag to zero in two places.
238 Otherwise, `nice --1 -3' would mistakenly do the equivalent of
239 `nice --3'. Thanks to Eric Backus <ericb@lsid.hp.com> for the
242 * configure.in (check for /proc/uptime): New check.
243 * acconfig.h (SAVE_PROC_UPTIME): #undef it. Reorder so symbols
245 *src/who-users.c (print_uptime) [HAVE_PROC_UPTIME]: Read from
249 Thu Aug 1 22:38:38 1996 Jim Meyering <meyering@na-net.ornl.gov>
251 * configure.in (AC_REPLACE_GNU_GETOPT): No longer use it.
252 It isn't necessary because the cpp-time checks of getopt.c and
253 getopt1.c are at least as good.
254 * lib/Makefile.am (EXTRA_DIST): Remove getopt.c and getopt1.c.
255 (su_SOURCES): Add getopt.c and getopt1.c
256 This reverts much of the April 23 change.
258 Sat Jul 27 17:22:14 1996 Jim Meyering <meyering@na-net.ornl.gov>
260 * src/system.h (bindtextdomain) [!ENABLE_NLS]: Undefine to avoid
261 redefinition warnings on solaris.
262 (textdomain) [!ENABLE_NLS]: Likewise.
264 Sun Jul 21 09:47:55 1996 Jim Meyering <meyering@na-net.ornl.gov>
266 * configure.in (AC_REPLACE_FUNCS): Replace getline.c.
267 Add related check for the getdelim function.
268 From Ulrich Drepper -- as done in gettext.
270 * src/stty.c (usage): Correct typo (-iucl -> -iuclc) in usage message.
271 From Thomas Olsson <d95to@efd.lth.se>.
273 Sat Jul 20 17:01:56 1996 Jim Meyering <meyering@na-net.ornl.gov>
275 * configure.in (PACKAGE_VERSION): Use space instead of hyphen to
276 separate PACKAGE and VERSION.
278 Wed Jul 17 23:13:19 1996 Jim Meyering <meyering@na-net.ornl.gov>
280 * src/chroot.c: Include <sys/types.h> before system.h.
281 * src/seq.c: Likewise.
282 * src/yes.c: Likewise.
285 Tue Jul 16 00:06:33 1996 Jim Meyering <meyering@na-net.ornl.gov>
287 * lib/strftime.c (strftime): Use `(void)0' as second arg to add macro.
288 Omitting that second arg made some HPUX C compiler report an error.
291 Mon Jul 15 23:42:57 1996 Jim Meyering <meyering@na-net.ornl.gov>
293 * src/who-users.c (print_uptime): Reverse `days' and `day' in
294 uptime message. From Kaveh R. Ghazi.
296 * Many files: Update FSF address.
298 Sun Jul 14 20:05:34 1996 Jim Meyering <meyering@na-net.ornl.gov>
300 * src/who-users.c (print_uptime): Use 0, not undefined errno in
301 couldn't-get-boot-time diagnostic. From Ulrich Drepper.
303 Sat Jul 13 14:22:54 1996 Jim Meyering <meyering@na-net.ornl.gov>
305 * src/chroot.c (usage): Add a `\' after `\n' in usage message.
306 Otherwise, SunOS's /bin/cc chokes.
308 * src/stty.c [GWINSZ_BROKEN]: Remove thus-guarded `#undef TIOCGWINSZ'.
309 GWINSZ_BROKEN can't be defined anymore.
311 * configure.in (boot time test): Use AC_EGREP_CPP instead of
312 AC_EGREP_HEADER; #endif, instead of #fi.
313 (AM_SYS_POSIX_TERMIOS, AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use
314 these macros instead of the tests from which they were derived.
315 ($am_cv_sys_posix_termios): Renamed to have am_ prefix instead of su_.
317 Wed Jul 10 22:57:29 1996 Jim Meyering <meyering@na-net.ornl.gov>
319 * aclocal.m4 (fp_PROG_CC_STDC): Include sys/stat.h in test program
320 so that DYNIX/ptx V4.1.3 doesn't use `-Xc -D__EXTENSIONS__' -- with
321 those options on that system, sys/stat.h gets compile errors.
322 With help from Marcus Daniels.
324 * getopt.c: Update from gettext-0.10.23.
325 * getopt1.c: Likewise.
326 * getopt.h: Likewise.
328 Sun Jul 7 22:40:08 1996 Jim Meyering <meyering@na-net.ornl.gov>
330 * aclocal.m4 (AM_SYS_POSIX_TERMIOS): New macro, derived from test
332 (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Likewise.
334 Sat Jul 6 12:47:48 1996 Jim Meyering <meyering@na-net.ornl.gov>
336 * configure.in (AC_REPLACE_FUNCS): Add group_member.
337 (AC_LINK_FILES): Create link lib/group_member.c to lib/group-member.c.
338 * lib/Makefile.am (su_SOURCES): Remove group-member.c.
339 (EXTRA_DIST): Add group-member.c here.
341 Thu Jul 4 22:40:06 1996 Jim Meyering <meyering@na-net.ornl.gov>
343 * src/expr.c (docolon): Remove space before newline in usage message.
345 Sat Jun 29 18:58:20 1996 Jim Meyering <meyering@na-net.ornl.gov>
347 * configure.in (PACKAGE_VERSION): Add `GNU ' prefix so we see
348 it in the output of --version. Reported by RMS.
350 Tue Jun 18 22:14:42 1996 Jim Meyering <meyering@na-net.ornl.gov>
352 * aclocal.m4: Update from gettext-0.10.20.
353 * ABOUT-NLS: Likewise.
356 Sun Jun 16 13:44:36 1996 Jim Meyering <meyering@na-net.ornl.gov>
358 * doc/Makefile.am (EXTRA_DIST): Add texinfo.tex.
360 Thu Jun 6 21:57:08 1996 Jim Meyering <meyering@na-net.ornl.gov>
362 * po/Makefile.in.in: Update from gettext-0.10.16.
364 * ABOUT-NLS: Likewise.
365 * aclocal.m4 (AC_REPLACE_GNU_GETOPT): Move definition to precede
366 gettext-related ones.
367 Update from gettext-0.10.16.
369 Wed May 29 21:28:53 1996 Jim Meyering <meyering@na-net.ornl.gov>
371 * expr.c (docolon): Give a warning when the first character
372 of the basic regular expression is `^'.
374 Mon May 20 22:56:06 1996 Jim Meyering (meyering@na-net.ornl.gov)
376 * id.c (xgetgroups): New function, factored out of
377 print_group_list and print_full_info.
378 (print_group_list): Call it.
379 (print_full_info): Call it.
381 * lib/Makefile.am (getdate.c): Disable dependencies that can
382 require rerunning YACC when not in maintainer mode.
383 (posixtm.c): Likewise.
385 Tue May 14 18:47:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
387 * id.c (print_group_list): When USERNAME is specified use
388 getugroups to get the number of groups.
389 (print_full_info): Likewise.
391 Sun May 19 21:45:49 1996 Jim Meyering (meyering@na-net.ornl.gov)
393 * seq.c (usage): Make it clearer.
395 Sat May 18 13:29:46 1996 Jim Meyering (meyering@na-net.ornl.gov)
397 * expr.c (main): Don't recognize --help, --h, --he, --version,
398 --v, etc. if the POSIXLY_CORRECT environment variable is set.
399 * echo.c (main): Likewise.
400 * printf.c (main): Likewise.
401 * test.c (main): Likewise.
403 * expr.c (docolon) [RE_SYNTAX_POSIX_BASIC]: Revert change of Mar 1.
405 Tue May 7 22:10:20 1996 Jim Meyering (meyering@na-net.ornl.gov)
407 * configure.in: Require autoconf-2.10.
409 * aclocal.m4 (jm_MAINTAINER_MODE): New macro.
410 * configure.in (jm_MAINTAINER_MODE): Use it.
412 Mon May 6 22:40:54 1996 Jim Meyering (meyering@na-net.ornl.gov)
414 * lib/strftime.c: Update from GNU libc.
416 Sat May 4 20:54:32 1996 Jim Meyering (meyering@na-net.ornl.gov)
418 * system.h [IN_CTYPE_DOMAIN]: Rename from ISASCII.
419 * seq.c: Remove useless void casts of *printf return values.
421 Mon Apr 29 22:23:40 1996 Jim Meyering (meyering@na-net.ornl.gov)
423 * basename.c (usage): Mark translatable strings.
424 * chroot.c (main): Likewise.
425 * basename.c (main): Separate messages about `too few' and `too many'
426 arguments to ease translation.
427 * dirname.c (main): Likewise.
428 * date.c (usage): Change TAB in message to spaces. Doing that seems
429 to have worked around a problem with something in gettext that was
430 producing a truncated usage message for date's usage.
431 From François Pinard.
433 Sun Apr 28 17:10:03 1996 Jim Meyering (meyering@na-net.ornl.gov)
435 * configure.in: Make fp_C_PROTOTYPES precede AC_C_INLINE.
436 Otherwise, some systems lose because the value AC_C_INLINE choses
437 with plain `cc' is different from that chosen when using the ANSI-mode
438 C compiler. From Kaveh Ghazi.
440 Tue Apr 23 22:05:35 1996 Jim Meyering (meyering@na-net.ornl.gov)
442 * aclocal.m4 (AC_REPLACE_GNU_GETOPT): New macro.
443 * configure.in: Use it.
444 * lib/Makefile.am (su_SOURCES): Remove getopt.c and getopt1.c.
445 (EXTRA_DIST): Add getopt.c and getopt1.c
447 * whoami.c (main): Declare to return int, not void.
448 * who-users.c (main): Likewise.
449 * yes.c (main): Likewise.
451 * src/*.c, src/*.h: Update Copyright years to include 1996.
453 Sun Apr 21 08:04:51 1996 Jim Meyering (meyering@na-net.ornl.gov)
455 * date.c (usage): Describe new %V format. From Karl Berry.
457 * Makefile.am (LDADD): Put @INTLLIBS@ before package library.
459 Sat Apr 20 22:22:01 1996 Jim Meyering (meyering@na-net.ornl.gov)
461 * chroot.c (usage): Improve help message.
462 Enclose message strings in _().
463 * seq.c (usage): Improve help message.
464 * factor.c (usage): Likewise.
467 Fri Apr 19 23:48:53 1996 Jim Meyering (meyering@na-net.ornl.gov)
469 * Makefile.am (cvs-dist): New rule. Based on the one from
470 Tom Tromey's automake.
472 Thu Apr 18 23:16:41 1996 Jim Meyering (meyering@na-net.ornl.gov)
474 * basename.c (basename): Rewrite so it doesn't rely on strrchr,
475 and hence doesn't need to include string.h -- on some alpha-based
476 OSF systems, there's a conflicting prototype for basename in string.h.
477 Reported by Kaveh Ghazi.
479 * configure.in (AC_REPLACE_FUNCS): Add basename.
480 * lib/Makefile.am (EXTRA_DIST): Add basename.c.
481 (su_SOURCES): Remove basename.c.
484 Tue Apr 16 20:24:44 1996 Jim Meyering (meyering@na-net.ornl.gov)
486 * src/Makefile.am (who.c): Qualify who-users.c reference with
489 (uptime.c): Likewise.
490 From François Pinard.
492 * configure.in: Always invoke AC_GETLOADAVG, not just if we're
495 Sat Apr 13 13:24:35 1996 Jim Meyering (meyering@na-net.ornl.gov)
497 * getloadavg.c: Test cpp-defined __sun as well as sun, because
498 in strict ANSI mode, only __sun is defined. From Kaveh Ghazi.
500 * date.c (usage): Add missing `\n\' at the end of newly added
503 * who-users.c (print_uptime): Call getloadavg only if we have it.
505 Fri Apr 12 22:03:13 1996 Jim Meyering (meyering@na-net.ornl.gov)
507 * configure.in (LINGUAS): Add de.
509 * date.c (usage): Describe %e and %z. Reported by Karl Berry.
511 * who-users.c: Mark translatable strings in new code.
513 Wed Apr 10 21:26:30 1996 Jim Meyering (meyering@na-net.ornl.gov)
515 * configure.in: Add test for boot_time.
518 * lib/Makefile.am (EXTRA_DIST): Add getloadavg.c.
520 * src/Makefile.am (EXTRA_PROGRAMS): Add uptime.
521 (BUILT_SOURCES): Add uptime.c.
522 (MOSTLYCLEANFILES): Add uptime.c.
523 (uptime.c): Add rule to build it from who-users.c.
525 * who-users.c: Reindent.
526 (UT_TIME_MEMBER): New macro.
527 (print_uptime): Use it instead of #ifdef HAVE_UTMPX_H #else.
528 (print_entry): Likewise.
530 Tue Apr 9 23:57:19 1996 Jim Meyering (meyering@na-net.ornl.gov)
532 * who-users.c (print_uptime) [UPTIME]: New function. From Kaveh Ghazi.
534 Sun Apr 7 11:58:13 1996 Jim Meyering (meyering@na-net.ornl.gov)
536 * seq.c (print_numbers): Rearrange loops to get it right.
537 Reported by Karl Eichwalder <ke@ke.Central.DE>.
539 * seq.c (print_numbers): Give more precise diagnostic when INCREMENT
540 is inconsistent with START and LIMIT.
541 (usage): Clean up help message.
543 * factor.c (usage): Give minimal description of the program.
544 (print_factors): Give a better diagnostic.
545 (main): Suggest --help upon failure.
546 Reported by Karl Eichwalder <ke@ke.Central.DE>.
548 * seq.c (print_numbers): Fix off-by-one error in
549 backwards-counting loop. Reported by Karl Eichwalder.
551 * strftime.c (mon_week_ISO): New function to implement new %V format.
552 (sun_week): Make TM parameter `const'.
553 (mon_week): Likewise.
554 (mon_week): Rewrite to implement %W format correctly.
555 (strftime): Handle %V format.
556 Reported by Arne Juul.
558 Fri Apr 5 07:33:00 1996 Jim Meyering (meyering@na-net.ornl.gov)
560 * strftime.c (sun_week): Make %U work properly.
561 Before, `date -d '1 Jan 1995' +%U' output `00'. Now it prints `01'.
563 * nice.c (main): Simplify option handling. Before, `nice -18 -- nice'
564 improperly printed `8'. Patch from Frank Korz.
565 (main): Use `if' stmt, not while loop, around getopt invocation.
566 Otherwise, `./nice --a=1 -1 ./nice' (in which old-style option
567 follows a long option) gets an error.
569 Thu Apr 4 20:14:02 1996 Jim Meyering (meyering@na-net.ornl.gov)
571 * aclocal.m4 (fp_PROG_CC_STDC): Change -Xc -D_POSIX_C_SOURCE to
572 `-Xc -D__EXTENSIONS__' because of problems with Solaris header
573 files. Suggested by Kaveh Ghazi.
575 Wed Apr 3 07:08:57 1996 Jim Meyering (meyering@na-net.ornl.gov)
577 * src/Makefile.am (INCLUDES): Add -I$(srcdir) to get system.h
578 when srcdir != builddir. From Kaveh Ghazi.
580 * lib/getugroups.c: Include stdio.h before grp.h. Because
581 <grp.h> on alpha OSF1 V2.0 uses "FILE *". From Kaveh Ghazi.
583 Sun Mar 31 16:26:06 1996 Jim Meyering (meyering@na-net.ornl.gov)
585 * configure.in: Simplify checking for math library.
586 This also eliminates some confusing output from configure.
587 Suggested by François Pinard.
589 Fri Mar 29 22:13:10 1996 Jim Meyering (meyering@na-net.ornl.gov)
591 * src/Makefile.am (INCLUDES): Replace -I$(top_srcdir)/intl with
592 -I../intl. With the former, compiles didn't find libintl.h when
593 configured with `--srcdir=..'. Reported by Marcus Daniels
594 <marcus@sysc.pdx.edu>.
596 * doc/Makefile.am (EXTRA_DIST): Set to getdate.texi so that file
599 * src/Makefile.am (EXTRAdir): Set to $(bindir).
601 Thu Mar 28 23:01:48 1996 Jim Meyering (meyering@na-net.ornl.gov)
603 * ChangeLog.0: New file.
604 * Makefile.am (EXTRA_DIST): Add ChangeLog.0.
606 Thu Mar 28 00:06:28 1996 Jim Meyering (meyering@na-net.ornl.gov)
608 * man/Makefile.am (man_MANS): Add chroot.1.
609 * src/Makefile.am (EXTRA_PROGRAMS): Add chroot.
611 Sun Dec 24 10:55:34 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
613 * configure.in: Check for chroot a la uname.
614 * src/chroot.c, man/chroot.1: New files.
616 Sun Mar 24 11:44:35 1996 Jim Meyering (meyering@na-net.ornl.gov)
618 * su.c: Protoize and reorder functions to obviate forward decls.
620 * seq.c: Make parameters const where appropriate.
621 Rename global FROM to START.
622 (print_numbers): Rewrite loops to avoid incrementing. Instead,
623 use `x = first + i * increment' paradigm. Otherwise, with inexact
624 increment, you could miss the last value.
626 * xstrtod.c: New file.
627 * xstrtod.h: New file.
628 * lib/Makefile.am: Add xstrtod.c and xstrtod.h.
629 * seq.c: Include xstrtod.h.
630 (scan_double_arg): Use xstrtod rather than strtod directly.
632 * src/*: Update FSF's address.
634 Thu Mar 21 16:43:13 1996 Jim Meyering (meyering@na-net.ornl.gov)
636 * src/*.c (main): Declare to be of type int, not void.
638 Sat Mar 16 10:07:49 1996 Jim Meyering (meyering@na-net.ornl.gov)
640 * configure.in (PACKAGE_VERSION): New macro.
641 (OPTIONAL_BIN_PROGS): Rename from OPTIONAL_PROGS.
642 * acconfig.h (PACKAGE_VERSION): Add it.
643 * src/Makefile.am: Remove rules for generating version.c.
644 Remove references to version.o, version.h, and stamp-v.
645 [.sh]: Change @VERSION@ to @PKG_VERSION@.
646 On RHS of sed substitution, use @PACKAGE_VERSION@, not GNUVER.
647 (OPTIONAL_BIN_PROGS): Rename from OPTIONAL_PROGS.
648 (install-exec-local): New target/rules to make the installed su
649 binary setuid root or failing that, to delete it.
650 * false.sh groups.sh nohup.sh true.sh: Use @PKG_VERSION@,
652 * version.c: Remove file.
653 * version.h: Remove file.
654 * basename.c date.c dirname.c echo.c env.c expr.c factor.c
655 hostname.c id.c logname.c nice.c pathchk.c printenv.c printf.c
656 pwd.c seq.c sleep.c stty.c su.c tee.c test.c tty.c uname.c
657 who-users.c whoami.c yes.c: Don't include version.h.
658 (main): Use PACKAGE_VERSION instead of version_string.
660 Fri Mar 15 23:42:29 1996 Jim Meyering (meyering@na-net.ornl.gov)
662 * basename.c: Remove __P-protected prototype for basename.
663 Reported by François Pinard.
664 (remove_suffix): Move to precede use. Remove prototype.
665 Declare formal parameter SUFFIX to be const.
667 * pathchk.c (validate_path): Cast path_max to size_t before
668 comparing with strlen(path).
670 * who-users.c (read_utmp): Declare n_read to be of type size_t
673 Tue Mar 12 17:52:05 1996 Jim Meyering (meyering@na-net.ornl.gov)
675 * basename.c date.c dirname.c echo.c env.c expr.c factor.c hostname.c
676 id.c logname.c nice.c pathchk.c printenv.c printf.c pwd.c seq.c
677 sleep.c stty.c su.c tee.c test.c tty.c uname.c who-users.c whoami.c
678 yes.c (main): Initialize for internationalized message support:
679 call setlocale, bindtextdomain, and textdomain.
680 * system.h: Add definitions and includes for NLS.
681 * Makefile.am (SUBDIRS): Add intl and po.
682 * src/Makefile.am (datadir): Define.
684 (DEFS): Add LOCALEDIR definition.
685 (LDADD): Add @INTLLIBS@.
686 * aclocal.m4: Add NLS-related macro definitions from
687 gettext distribution.
688 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_LC_MESSAGES,
689 HAVE_STPCPY): New macros.
690 Add PACKAGE and VERSION.
691 * configure.in (PACKAGE): Define with AC_DEFINE_UNQUOTED.
693 (ALL_LINGUAS): Define.
694 (ud_GNU_GETTEXT): Use it.
696 (AC_OUTPUT): Reflect addition of two new directories, intl and po.
698 Mostly from François Pinard.
700 Wed Mar 6 21:40:34 1996 Jim Meyering (meyering@na-net.ornl.gov)
702 * who-users.c (print_entry): Use STRUCT_UTMP, not `struct utmp' to
703 declare formal parameter.
705 Tue Mar 5 22:49:33 1996 Jim Meyering (meyering@na-net.ornl.gov)
707 * getdate.y (RelativeMonth): Add 1900 to the year so that relative
708 date specs that push the year through the end of the century work.
709 For example, `date -d "01/01/1998 3 years" +%Y' now prints 2001.
710 From Peter Dalgaard (pd@kubism.ku.dk).
712 Mon Mar 4 23:46:43 1996 Jim Meyering (meyering@na-net.ornl.gov)
714 * seq.c (main): Exit after processing --version.
715 Reported by François Pinard.
717 Fri Mar 1 23:46:32 1996 Jim Meyering (meyering@na-net.ornl.gov)
719 * expr.c (docolon): Don't initialize re_syntax_options to
720 deceptively-named RE_SYNTAX_POSIX_BASIC -- it recognizes non-BRE
721 \?, \+, and \|. Use RE_SYNTAX_POSIX_MINIMAL_BASIC instead.
723 * od.c (WINDOWS_SETFILEMODE_BINARY): New macro.
724 (skip) [_WIN32 && _O_BINARY]: Use it.
725 (read_char): Likewise.
726 (read_block): Likewise.
727 [_WIN32 && _O_BINARY]: Include malloc.h and io.h.
728 Based on changes by Gary Newman <gnewman@shore.net>.
730 Wed Feb 28 21:48:07 1996 Paul Eggert <eggert@twinsun.com>
732 * configure.in (LOCALTIME_CACHE):
733 Also define if localtime mishandles unsetting TZ.
734 This works around a localtime bug in mips-dec-ultrix.
736 Wed Feb 28 23:08:24 1996 Jim Meyering (meyering@na-net.ornl.gov)
738 * lib/Makefile.am (su_SOURCES): Add xstrtoul.c.
739 (noinst_HEADERS): Add xstrtoul.h.
741 * factor.c: General cleanup. Use xstrtoul, not atoi.
742 Change output format. Allow inputs as large as ULONG_MAX.
743 Allow more than one command line argument.
745 * stty.c (wrapf) [!__STDC__]: Indent by one space the first line
746 of the pre-ANSI function definition so ansi2knr doesn't munge it.
748 * src/Makefile.am: Adapt for automake-0.30.
749 * lib/Makefile.am: Likewise.
751 * expr.c (eval6): Cast strlen to int to avoid warning from gcc -Wall.
753 Sun Feb 25 22:19:52 1996 Jim Meyering (meyering@na-net.ornl.gov)
755 * src/Makefile.am (BUILT_SOURCES): Set to `who.c users.c'.
756 (MOSTLYCLEANFILES): Add who.c and users.c.
757 (who.c): New rule to create this file. Concatenate definition of
758 WHO and contents of who-users.c.
759 (users.c): New rule to create this file. Concatenate definition of
760 USERS and contents of who-users.c.
762 Sat Feb 24 12:20:58 1996 Jim Meyering (meyering@na-net.ornl.gov)
764 * readtokens.c: Unprotoize.
766 * expr.c (cmpf): Indent macro uses so ansi2knr doesn't mistake them
767 for function dcls and munge them.
769 (arithdivf): Likewise.
771 * test.c: __P-protect forward declarations.
772 (main): Protoize function definition.
774 * date.c (batch_convert): Declare BUFLEN local to be of type size_t,
777 * expr.c (docolon): Set re_syntax_options to RE_SYNTAX_POSIX_BASIC
778 so expr's pattern matching uses BASIC (not GNU-extended) REs.
779 Reported by Jim Kingdon.
781 * who-users.c (print_entry): Use strchr, not index.
783 * configure.in (AC_CHECK_HEADERS): Add sys/socket.h.
784 * canon-host.c [HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for
785 definition of AF_INET on at least SunOS 4.
787 Tue Feb 13 23:49:16 1996 Jim Meyering (meyering@na-net.ornl.gov)
789 * who-users.c (main): When failing because there were
790 `too many arguments,' say so.
792 Mon Feb 12 23:26:05 1996 Jim Meyering (meyering@na-net.ornl.gov)
794 * configure.in (AC_CHECK_FUNCS): Add gethostbyname, gethostbyaddr,
796 (AC_CHECK_HEADERS): Add netdb.h netinet/in.h arpa/inet.h.
797 * lib/canon-host.c: New file.
798 * lib/Makefile.am (su_SOURCES): Add canon-host.c.
799 * src/who.c (print_entry): If possible, canonicalize the host hame.
800 From Miles Bader (miles@gnu.ai.mit.edu).
802 Update for automake-0.29.
803 * Makefile.am (CONFIG_HEADER): Don't define. Automake now does it.
804 * src/Makefile.am: Likewise.
805 * lib/Makefile.am: Likewise.
806 * doc/Makefile.am (info_TEXINFOS): Renamed from TEXINFOS.
807 * man/Makefile.am (man_MANS): Renamed from MANS.
809 Wed Jan 31 23:40:50 1996 Jim Meyering (meyering@na-net.ornl.gov)
811 * lib/strftime.c (add_num_tz): New function.
812 (strftime): Handle new %z format.
813 * date.c (main): Accept new option, --rfc-822 (-R).
814 (show_date): Use RFC822-mandated strftime format.
815 From H. Peter Anvin (hpa@storm.net).
816 (usage): Add a line describing the new option.
818 * lib/strftime.c (add_num_tz): Don't use local, LENGTH,
821 Mon Jan 29 19:24:04 1996 Jim Meyering (meyering@na-net.ornl.gov)
823 * acconfig.h (PROTOTYPES): Define it.
825 Fri Jan 19 22:00:08 1996 Jim Meyering (meyering@na-net.ornl.gov)
827 * aclocal.m4 (fp_PROG_INSTALL): New macro.
828 * configure.in: Use it instead of AC_PROG_INSTALL.
830 * who-users.c: Protoize.
832 Wed Jan 17 23:37:59 1996 Jim Meyering (meyering@na-net.ornl.gov)
834 * stty.c: Protoize and __P-protect forward dcls.
835 (visible): Change parameter type to unsigned int from unsigned char.
836 (integer_arg): Use xstrtol instead of open-coding this.
838 * lib/Makefile.am (su_SOURCES): Add xstrtol.c.
839 (HEADERS): Add xstrtol.h.
841 * test.c (advance): Protoize function.
843 * sleep.c (argdecode): Declare parameter const.
845 Sat Jan 13 22:31:23 1996 Jim Meyering (meyering@na-net.ornl.gov)
847 * stty.c: Indent cpp directives.
849 Sun Jan 7 23:56:03 1996 Jim Meyering (meyering@na-net.ornl.gov)
851 Use automake to generate Makefile.in files.
852 * Makefile.am: New file.
853 * doc/Makefile.am: New file.
854 * lib/Makefile.am: New file.
855 * man/Makefile.am: New file.
856 * src/Makefile.am: New file.
858 * configure.in (OPTIONAL_PROGS, OPTIONAL_SCRIPTS): New variables
859 used in place of PROGS.
861 Sat Jan 6 05:13:40 1996 Jim Meyering (meyering@na-net.ornl.gov)
863 * configure.in (PACKAGE, VERSION): New variables.
864 (fp_C_PROTOTYPES): Use it.
866 * printf.c (print_esc_char): Change type of argument from char
867 to int to avoid potential promotion problem.
868 * uname.c (print_element): Likewise.
870 * system.h [__P]: New macro.
872 * basename.c, date.c, dirname.c, echo.c, env.c, expr.c, factor.c,
873 hostname.c, id.c, logname.c, nice.c, pathchk.c, printenv.c,
874 printf.c, pwd.c, seq.c, sleep.c, tee.c, test.c, tty.c, uname.c,
875 whoami.c, yes.c: Protoize and __P-protect forward dcls.
877 * who-users.c: New file. Renamed from who.c.
878 * who.c: Define WHO and include who-users.c.
879 * uses.c: Define USERS and include who-users.c.
881 * id.c Remove no-longer-used NGROUPS_MAX cpp macros.
882 (print_group_list) [HAVE_GETGROUPS]: Reorganize to use
883 getgroups (0, NULL) to compute number of groups at run time
884 rather than relying on NGROUPS_MAX at compile time.
885 (print_full_info) [HAVE_GETGROUPS]: Likewise.
886 Suggestion from Roland McGrath.
888 * su.c: Remove NGROUPS_MAX junk. It wasn't being used.
890 Wed Jan 3 19:03:26 1996 Paul Eggert <eggert@twinsun.com>
892 * configure.in (LOCALTIME_CACHE): Define if tzset exists and
893 if localtime caches TZ. Check for tzset.
894 * acconfig.h (LOCALTIME_CACHE): New macro.
895 * date.c (putenv): Declare.
896 (universal_time): Remove.
897 (main): If -u is given, set TZ to "UTC0"; this causes date to use
898 UTC uniformly and fixes bugs in the handling of date -u +'%s %Z'.
899 (show_date): Just use localtime and a single format, since TZ will
900 be set properly if -u is given.
902 Fri Dec 22 21:34:55 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
904 * configure.in: Touch stamp-h only if config.h is remade.
906 Sun Nov 26 16:09:33 1995 Jim Meyering (meyering@comco.com)
908 * test.c (usage): Clarify usage. From Karl Berry.
910 Wed Nov 22 23:12:47 1995 Jim Meyering (meyering@comco.com)
912 * Makefile.in (all et. al.): If make was invoked with -k and a
913 sub-make fails, fail after the loop rather than exiting right away.
914 Otherwise, make's -k option could be ineffective.
916 Thu Nov 16 21:25:45 1995 Jim Meyering (meyering@comco.com)
918 * Makefile.in (default): New default target. Depend on `all' to work
919 around bug in AIX-3.2.5's /bin/make. Reported by Andreas Luik
922 Tue Nov 7 23:53:20 1995 Jim Meyering (meyering@comco.com)
924 * stty.c (usage): Clarify descriptions of ignpar and ignbrk.
925 From Theodore Ts'o and Ulrich Windl.
927 Sun Oct 29 08:47:50 1995 Jim Meyering (meyering@comco.com)
929 * test.c [TEST_STANDALONE]: Define.
930 * src/Makefile.in (test.o): Remove special rule.
932 Sat Oct 28 00:49:13 1995 Jim Meyering (meyering@comco.com)
934 * aclocal.m4 (jm_WITH_AUTODEPS): New directive.
935 * configure.in: Use it.
937 * lib/Makefile.in (INCLUDE, COMPILE): New variables.
938 (.c.o): Rewrite to be more like src/Makefile.in.
939 Add line that (--with-autodeps) will include mkdep-Makefile.
940 (distclean): Remove .deps.
941 * src/Makefile.in: Likewise.
943 * mkdep-Makefile: New file.
944 * Makefile.in (DISTFILES): Add mkdep-Makefile.
946 * doc/Makefile.in (mostlyclean): Remove *.info.
948 * date.c: New option --reference=FILE (-r FILE) analogous to the
949 like-named touch option.
950 (main): Recognize it and give diagnostic for misuse.
951 (usage): Describe briefly.
952 From Franc,ois Pinard.
954 * date.c (batch_convert): Close input stream also when it's not stdin.
955 (main): Reorganize to do option-consistency checks before all else.
957 Tue Sep 26 23:05:01 1995 Jim Meyering (meyering@comco.com)
959 * man/Makefile.in (install-data, uninstall): Use sed not basename.
960 The GNU Coding Standard suggests that only a select set of
961 relatively standard utilities be used in Makefiles. basename is
962 not among them. Suggested by Ulrich Drepper.
964 Tue Aug 8 22:57:34 1995 Jim Meyering (meyering@comco.com)
966 * yes.c: Include system.h to get definition of _.
968 Mon Aug 7 23:27:54 1995 Jim Meyering (meyering@comco.com)
970 * system.h (_): Define macro -- as empty for now.
971 * src/*.c: Annotate localizable strings with _(...). From Franc,ois.
973 * Makefile.in (DISTFILES): Don't distribute unneeded COPYING.LIB.
976 Fri Jun 23 23:04 1995 Jim Meyering (meyering@comco.com)
978 * configure.in: (AC_REPLACE_FUNCS): Add memcpy and memset.
979 Add checks for floor, modf, and rint -- all used by seq.c.
981 Mon Jun 12 00:26:54 1995 Jim Meyering (meyering@comco.com)
983 * getdate.y (Convert): Use 2037 as threshold, not 1999.
984 Before years after 1999 were treated as invalid.
987 Sat May 27 00:35:47 1995 Jim Meyering (meyering@comco.com)
989 * system.h [!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h.
990 Without this, SunOS doesn't get type for memchr.
991 Reported by Kaveh Ghazi.
993 Sun May 21 07:20:55 1995 Jim Meyering (meyering@comco.com)
995 * Makefile.in (.PHONY): TAGS is not a phony target. From Franc,ois.
997 * All Makefile.in (install-exec, install-exec): New targets.
1000 * all Makefile.in (maintainer-clean): Renamed from realclean
1003 Mon May 15 01:00:08 1995 Jim Meyering (meyering@comco.com)
1005 * all source files (usage): Include one- or two-line synopsis
1006 in --help output. From Karl Berry.
1008 Sat May 13 08:57:20 1995 Jim Meyering (meyering@comco.com)
1010 * lib/Makefile.in (maintainer-clean): Rename from realclean.
1011 (.PHONY): New dependencies.
1012 [.c.o]: Remove -I. since safe-l?stat.h are no longer used.
1014 Fri May 12 21:25:50 1995 Jim Meyering (meyering@comco.com)
1016 * test.c (usage): Remove duplicate descriptions of --help
1017 and --version. From Karl Berry.
1019 * pathchk.c: Use stat (lstat), not safe_stat (safe_lstat).
1023 * lib/Makefile.in (SOURCE): Add memcpy.c, memset.c.
1024 Remove all reference to (now unused) safe-xstat.hin.
1026 Tue Apr 18 22:57:43 1995 Jim Meyering (meyering@comco.com)
1028 * configure.in: (AC_OUTPUT): Use echo, not date, to avoid creating
1029 unnecessary conflicts for people using version control software
1031 (AC_ARG_PROGRAM): Use it.
1033 Fri Mar 10 21:14:11 1995 Jim Meyering (meyering@comco.com)
1035 * src/*.c: Update Copyright dates.
1037 Mon Feb 27 08:05:25 1995 Jim Meyering (meyering@comco.com)
1039 * system.h: Separate errno declaration from STDC_HEADERS.
1040 Remove bcopy, bzero, strchr, strrchr definitions.
1042 * stty.c (main, set_window_size): Use memset instead of bzero.
1043 * su.c (correct_password): Likewise.
1045 * seq.c Remove \n's from error format strings.
1046 (main): Let `seq 1 1' work.
1047 Invoke usage always with 1 when failing.
1049 Sat Feb 11 08:27:12 1995 Jim Meyering (meyering@comco.com)
1051 * src/Makefile.in (install): Fix rules for su to avoid relying on
1052 just-built `id' executable. That would lose when cross-compiling and
1053 on systems like GNU in which a user may have several effective IDs.
1054 (SOURCES, OBJECTS, PROGS): Add seq.
1055 * Makefile.in (PROGS): Add seq.
1057 * configure.in (AC_REPLACE_FUNCS): Add memcmp, memcpy, and memset.
1058 (AC_CHECK_FUNCS): Add strchr and strrchr.
1059 * lib/Makefile.in (SOURCES): Add memcmp.c, memcpy.c, and memset.c.
1061 * system.h: Remove index/rindex and bcmp/bcopy/bzero references.
1062 Separate errno declaration from STDC_HEADERS.
1064 Thu Jan 26 23:38:04 1995 Jim Meyering (meyering@comco.com)
1066 * getdate.y (ToSeconds): Properly convert 12am and 12pm.
1067 From Takeshi Sone <ts1@tsn.or.jp>.
1069 * lib/Makefile.in (SOURCES, OBJECTS, DISTFILES): Add readtokens.[coh].
1070 (all): Depend on safe-stat.h and safe-lstat.h.
1072 * date.c (batch_convert): Remove any trailing newline from offending
1073 line before including it in the `invalid date' error from `date -f'.
1074 Reported by Franc,ois Pinard.
1076 Sat Dec 31 09:25:09 1994 Jim Meyering (meyering@comco.com)
1078 * factor.c: New file.
1079 * Makefile.in (PROGS): Add factor.
1080 * src/Makefile.in (SOURCES, OBJECTS, PROGS): Add factor.
1083 Mon Dec 26 18:31:08 1994 Jim Meyering (meyering@comco.com)
1085 * test.c (term): Running `./test \( a -o b' got a seg fault.
1086 From from Klaus.Reichl@aut.alcatel.at.
1088 Mon Dec 19 22:05:12 1994 Jim Meyering (meyering@comco.com)
1090 * src/*.c: Include "error.h" rather than simply declaring
1092 * src/Makefile.in (OBJECTS): Depend on ../lib/error.h.
1094 * lib/Makefile.in (DISTFILES): Remove safe-xstat.cin.
1095 (distclean): Remove references to safe-l?stat.c.
1096 Remove all related rules and dependencies.
1098 * safe-xstat.hin (SAFE_LSTAT, SAFE_STAT): Remove macros.
1099 Now that we always define the functions, these are no longer needed.
1101 * pathchk.c (dir_ok): Use safe_stat instead of SAFE_STAT.
1102 * who.c (print_entry): Likewise.
1103 * test.c (test_stat, binary_operator): Likewise.
1104 (unary_operator): Use safe_lstat instead of SAFE_LSTAT.
1106 Mon Dec 12 22:42:09 1994 Jim Meyering (meyering@comco.com)
1108 * expr.c (docolon): Zero out re_buffer and re_regs before using them.
1109 From H.J. Lu <hjl@nynexst.com>.
1111 Sun Dec 4 14:53:12 1994 Jim Meyering (meyering@comco.com)
1113 * dirname.c (main): Use strchr and strrchr instead of index and rindex.
1114 * echo.c (main): Likewise.
1115 * env.c (main): Likewise.
1116 * pathchk.c (validate_path): Likewise.
1117 * printf.c (print_formatted, print_esc): Likewise.
1118 * test.c [member]: Likewise.
1119 * who.c (extract_trimmed_name): Likewise.
1120 * system.h [!HAVE_STRING_H]: Define strchr to index and strrchr to
1121 rindex instead of the other way around.
1123 * doc/Makefile.in (DISTFILES): Add getdate.texi.
1125 Sat Dec 3 07:59:55 1994 Jim Meyering (meyering@comco.com)
1127 * configure.in (AC_CHECK_FUNCS): Add strchr and strrchr.
1128 (AC_CHECK_HEADERS): Add stdlib.h.
1129 (LIBS): If the strtod replacement is required, check for pow in -lm.
1130 * src/Makefile.in (printf): Remove hard-coded -lm. Not every
1133 Thu Nov 17 23:47:26 1994 Jim Meyering (meyering@comco.com)
1135 * who.c (list_entries): Delete. Split in two actually...
1136 (list_entries_users, list_entries_who, userid_compare): New functions.
1137 (list_entries_users): Sort the user names. Reported by
1139 Topologically sort the functions and remove fwd declarations.