summaryrefslogtreecommitdiff
path: root/old/sh-utils/ChangeLog
blob: b9acc585f9fc5a1939daec248254620dc8b301b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
Fri Mar 25 01:13:42 1994  Jim Meyering  (meyering@comco.com)

	* configure.in: Use AC_VERBOSE, AC_CHECKING, and AC_WARN instead
	of explicit echo commands.
	When checking for shadow password routines, make sure the function
	getspnam is available before defining HAVE_SHADOW_H.
	<dvldbg@cs.umu.se> reported that shadow.h exists on some
	linux system that did not have the function.

Tue Mar  8 10:29:13 1994  Jim Meyering  (meyering@comco.com)

	* configure.in [INSTALL]: When AC_PROG_INSTALL resorts to setting
	this to `./install.sh', make it `../install.sh' instead since that
	script will be invoked only from subdirectories.
	[WINSIZE_IN_PTEM]: Check for this unconditionally, rather than
	only when TIOCGWINSZ is not defined through termios.h.  The old
	method loses on SCO ODT 3.0 systems.

Sat Feb 19 14:23:14 1994  Jim Meyering  (meyering@comco.com)

	* Version 1.9.4.

	* stty.c (main): Use getopt_long_only with "ag" instead of
	getopt_long with "".  The latter incremented optind so the
	-a and -g options weren't recognized.

	* Version 1.9.3.

Tue Feb 15 18:28:28 1994  Jim Meyering  (meyering@comco.com)

	* stty.c (main): Use getopt only to recognize long options.
	Hand code the loop to detect -a, -g, -ag and -ga.  Using getopt
	to detect the short options loses (because we have to ignore
	unrecognized options and we are allowing GNU getopt to permute)
	because e.g. `-tabs' is interpreted as a group of options, one of
	which is `-a'.  Before, running `stty -tabs echo' gave this error:
	  stty: when specifying an output style, modes may not be set
	Reported by Arne H. Juul.

Sun Feb 13 13:34:25 1994  Jim Meyering  (meyering@comco.com)

	* basename.1, dirname.1, stty.1: Reflect usage changes.
	* basename.c, dirname.c, stty.c (usage): Ditto.

	* long-options.h (parse_long_options): Invoke usage function
	argument with explicit dereference as per GNU coding standards.

	* basename.c dirname.c: Use parse_long_options instead of the
	conventional getopt_long paradigm.  Before, the commands
	`basename file-dist -dist' and `basename -- file.c .c' produced
	incorrect results.  Now, even `basename -file-dist -dist' works
	and the command `basename -- file.c .c' fails for the right
	reason: the `--' is not a special (to getopt) token for these 
	commands.  It is interpreted as the filename, so there are too
	many arguments to basename.  Rick Sladkey <jrs@world.std.com>
	reported the problem with basename.

	* stty.c (set_window_size): When stty fails to get the window size
	(as happens on telnet sessions to Solaris systems), initialize all
	fields of the winsize struct.  Before, it was using the uninitialized
	pixel fields of the struct in the ioctl to set window size parameters.
	From Rick Sladkey.

	* stty.c (main): Use parse_long_options to handle --help and --version.
	(main): In the remaining getopt_long loop, don't jump out of the
	loop from the `default' branch of the switch statement.  Doing that
	left optind in an inconsistent when there were non-option arguments
	preceding `reversed' arguments (e.g. stty echo -echoe) and the
	preceding non-option arguments were ignored.  Rick Sladkey reported
	that stty was ignoring arguments.

	* stty.c (main): Fail with a diagnostic when both -g and -a are given.
	(main): Fail with a diagnostic when either -g or -a is used with
	arguments for setting modes.

Fri Feb 11 19:39:37 1994  Jim Meyering  (meyering@comco.com)

	* stty.c (get_win_size): Don't use an ANSI-style function
	definition.  From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.

Thu Feb 10 01:22:37 1994  Jim Meyering  (meyering@comco.com)

	* stty.c [CSWTCH] (__sparc__ && __svr4__): Define `swtch' to
	_POSIX_VDISABLE by default.  Otherwise, the default settings on
	SunOS 5.3 (from /usr/include/sys/termios.h) have both `swtch'
	and `susp' set to ^Z.  Those default settings are not unusual.
	What is unusual is that with such settings on SunOS 5.3, the tty
	driver doesn't generate a signal for control-Z.  Reported by
	Brent Wiese <brent@dot.imgen.bcm.tmc.edu>.

	* stty.c (main) [CIBAUD]: Don't report an error on SunOS 4.1.x
	systems if the only difference is in this nybble of c_cflag.
	See the comments for the gory details.  Thanks to
	Erez "HWank1" Zadok <ezk@cs.columbia.edu> for reporting this
	and helping me reproduce it.

Tue Feb 01 00:59:56 1994  Jim Meyering  (meyering@comco.com)

	* stty.c (main): Call tcsetattr only if we've updated tty modes,
	not e.g. if we've changed the window size.

	* Update Copyright dates in src/*.

Fri Jan 28 11:02:21 1994  Jim Meyering  (meyering@comco.com)

	* configure.in: Don't set LDFLAGS since linking now uses both
	LDFLAGS and CFLAGS.

Wed Jan 26 10:54:02 1994  Jim Meyering  (meyering@comco.com)

	* stty.c (get_win_size): New function.  Try getting size first
	for the device on stdout.  Try stdin only if that fails.  Suggested
	by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
	(set_win_size): Call get_win_size instead of calling ioctl directly.
	(display_window_size): Ditto.
	(screen_columns): Ditto.

Mon Jan 24 22:57:18 1994  Jim Meyering  (meyering@comco.com)

	* stty.c (set_window_size): Work around SunOS 4.x kernel bug that
	makes `stty rows 34 cols 80;stty rows 0;stty cols 0' incorrectly
	set rows to 80 and columns to 0.  Sun's stty has this problem, too.
	The kernel bug is fixed in Solaris 2.  Mostly from Alexander Dupuy
	<dupuy@cs.columbia.edu>.

	* src/Makefile.in: Use both LDFLAGS and CFLAGS when linking.
	* man/Makefile.in: Use binprefix as the default manprefix.

	* nohup.sh: Redirect usage message to stderr.
	From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.

Thu Jan 13 17:27:38 1994  Jim Meyering  (meyering@comco.com)

	* src/Makefile.in: Change all link commands to use both $(CFLAGS)
	and $(LDFLAGS).

Mon Jan 10 01:20:38 1994  Jim Meyering  (meyering@comco.com)

	* man/Makefile.in (manprefix): Use binprefix as the default.

Thu Jan 06 18:19:06 1994  Jim Meyering  (meyering@comco.com)

	* who.c (print_entry): Prepend `/dev/' only if ut_line is not
	already an absolute filename.  Just to be safe.

Fri Dec 31 00:22:59 1993  Jim Meyering  (meyering@comco.com)

	* date.c (usage): Reorder listing of % formats in `sort -f' order.

Tue Dec 28 15:49:32 1993  Jim Meyering  (meyering@comco.com)

	* install.sh: New file.
	Makefile.in [DISTFILES]: Add it.

	* who.c (read_utmp): Use stdio functions instead of open/read/close
	to avoid having to handle POSIX read's -1/errno=EINTR failure case.

	* tee.c (tee): A POSIX implementation of the read system call
	may return -1 and set errno to EINTR when it is interrupted.
	Retry instead of failing with an error.
	(tee): Don't use xwrite.  Use full_write instead and include the
	losing file name in the message reporting a write failure.
	Don't treat standard output as a special case, so a failed write
	to stdout doesn't exit immediately.

	* date.c (usage): Note that for %w, 0 corresponds to Sunday.

Sat Dec 25 23:15:58 1993  Jim Meyering  (meyering@comco.com)

	* who.c (main): Don't chdir ("/dev") for the stat in print_entry.
	(print_entry): Instead of stat'ing the /dev-relative path, ut_line,
	stat the absolute path with "/dev/" prefix.  From David MacKenzie.

Wed Dec 22 00:53:51 1993  Jim Meyering  (meyering@comco.com)

	* expr.c (toarith): Interpret the empty string as just that
	rather than as the integer zero.
	Before, `expr "" == 0' output 1.  Now it prints 0.

	* configure.in (AC_HAVE_HEADERS): Check for float.h for strtod.c.

	* configure.in (check for TIOCGWINSZ): Don't look in sys/ioctl.h
	or sys/ptem.h if we've already found it in termios.h.  This
	eliminates redefinition warnings from including both termios.h
	and sys/ioctl.h on sytems running SunOS.  From Matthew Seaman
	(matthew@dyson.ox.ac.uk).

	* date.1: Document new %s format and old `-' and `_' numeric field
	modifiers.

	* memcmp.c: Use the latest version from GNU C library.

Mon Dec 20 23:29:30 1993  Jim Meyering  (meyering@comco.com)

	* configure.in [test for 8-bit clean memcmp]: Add a test to detect
	losing memcmp from SunOS4.1.x.  From Robert H. de Vries
	<robert@and.nl>.

Sat Dec 18 01:12:24 1993  Jim Meyering  (meyering@comco.com)

	* configure.in (AC_OUTPUT): Put `touch stamp-config' in second arg
	so it goes in config.status.  This eliminates unnecessary second run
	of configure.

Fri Dec 10 01:06:28 1993  Jim Meyering  (meyering@comco.com)

	* stty.c (screen_columns): Instead of dying just because Solaris'
	`ioctl (0, TIOCGWINSZ' fails (strangely only for telnet sessions,
	not rlogin sessions), ignore its errno == EINVAL and try to get
	the number of columns another way.

	* stty.c (set_window_size): If ioctl to get window size fails,
	(as on telnet sessions to Solaris 2.[12] systems) try to set the
	requested fields anyway, setting to zero any unspecified fields.
	This is what Sun's /bin/stty appears to do.
	* (display_window_size): Don't display anything for the number
	of rows and columns if the ioctl call intended to get them fails.

Tue Nov 30 23:58:54 1993  Jim Meyering  (meyering@comco.com)

	* Version 1.9.2.

Mon Nov 29 00:28:35 1993  Jim Meyering  (meyering@comco.com)

	* stty.c, configure.in, acconfig.h: Revert change of Nov 26.
	I am no longer able to reproduce the behavior that prompted
	that patch -- but I had tested only using an old version of gcc.
	When building with a more recent version of gcc or with /bin/cc
	there is no problem.

Sat Nov 27 15:11:21 1993  Jim Meyering  (meyering@comco.com)

	* nice.c (main): If an adjustment is specified, but no command is
	given, give a diagnostic in addition to the usage message.
	(isinteger): Accept a leading `+'.

Fri Nov 26 18:49:42 1993  Jim Meyering  (meyering@comco.com)

	* stty.c [GWINSZ_BROKEN]: Define TIOCGWINSZ to TCGETS for Solaris-2.2.
	On that system, ioctl (0, TIOCGWINSZ, &win) always fails, but using
	TCGETS works.  Reported by Francois Pinard.

	* configure.in [GWINSZ_BROKEN]: New test to detect Solaris' inability
	to get window size from ioctl using TIOCGWINSZ.
	* acconfig.h [GWINSZ_BROKEN]: Add an #undef.

Mon Nov 22 23:40:21 1993  Jim Meyering  (meyering@comco.com)

	* who.c [defined (UTMPX_FILE)]: (undef and) define UTMP_FILE to
	this value even if UTMP_FILE is already defined.  Because some
	systems define both symbols.  From Arne H. Juul.
	* [MESG_BIT]: Rename to S_IWGRP (from sys/stat.h>) and define only
	if not already defined.

Fri Nov 19 23:08:03 1993  Jim Meyering  (meyering@comco.com)

	* who.c (print_entry): Produce reasonably formatted output even when
	sizeof (this->ut_name,ut_line) are much larger than 8.  For Solaris
	and other SysVr4.  With help from Arne H. Juul.
	* configure.in (HAVE_UTMPX_H): New test; combined with test for the
	ut_host field.  From Arne H. Juul.

	* memcmp.c: New file.
	* lib/Makefile.in [SOURCES]: Add memcmp.c.
	* configure.in (AC_REPLACE_FUNCS): Add memcmp.
	Add test for 8-bit clean memcmp.

	* configure.in (AC_HAVE_FUNCS): Add isascii.
	* expr.c [!defined (isascii) || defined (STDC_HEADERS)]: This failed
	on AIX PS/2 1.3 systems because isascii is a function and it is used
	in definitions (with the necessary side effect of assigning to a
	global variable) of the is* macros.  Also test HAVE_ISASCII and
	redefine ISASCII(c) instead of isascii.
	Reported by Minh Tran-Le (tranle@intellicorp.com).
	* printf.c: Ditto.

	* configure.in (AC_HAVE_HEADERS): Add sys/timeb.h; getdate.y tests
	HAVE_SYS_TIMEB_H.

	* stty.c (main): Detect the case in which POSIX-conformant tcsetattr
	fails and still returns zero.

Wed Nov 17 21:05:10 1993  Jim Meyering  (meyering@comco.com)

	* yes.c (main): Complete my half-finished Nov 2 change.
	yes with arguments did not print newlines.  From Andreas Schwab
	(ls5.informatik.uni-dortmund.de).

	* stty.c (wrapf): Fix off-by-one error that could make `stty -a'
	output lines one character too long.  From Andreas Schwab.

Sat Nov 13 00:11:19 1993  Jim Meyering  (meyering@comco.com)

	* Version 1.9.1.

	* configure.in [LIBS]: Add -lbsd if that is necessary to get the
	syslog function.  With help from Kaveh Ghazi.

	* configure.in [LIBS]: Reorganize/unify the code that adds libraries
	solely to resolve syslog.  Add a library only if it is required to
	resolve the syslog reference.

	* configure.in [AC_HAVE_HEADERS]: Check for sys/timeb.h.
	getdate.y needs to know.
	[LIBS]: Check for initgroups in -los.  This is required by SCO-ODT-3.0
	when linking su.
	[LIBS]: Check -lufc for crypt.
	Reported by Steven W Orr (steveo@world.std.com).

Thu Nov 11 23:55:48 1993  Jim Meyering  (meyering@comco.com)

	* id.c [NGROUPS_MAX]: Undefine before redefining.
	From Kaveh R. Ghazi (ghazi@noc.rutgers.edu).

	* who.c (list_entries): Trim any trailing blanks from ut_name
	and make sure the string is NUL-terminated before printing it.
	Before, `who -q' displayed 8-character names with a tty
	(e.g. `q1') suffix.

	* stty.c [CFLUSHO]: Move this definition so it follows the
	one for VFLUSHO.

Mon Nov 08 23:16:36 1993  Jim Meyering  (meyering@comco.com)

	* Version 1.9.

	* su.c (correct_password): Report an error and fail if getpass
	returns NULL.

Tue Nov 02 01:14:21 1993  Jim Meyering  (meyering@comco.com)

	* acconfig.h: Add comments.

	* printenv.c (main): Exit with status == 2 for file error.

	* yes.c (main): Restore argv/optind handling -- now that
	parse_long_options doesn't change optind.

Mon Oct 25 19:22:58 1993  Jim Meyering  (meyering@comco.com)

	* basename.c, date.c, dirname.c, echo.c, env.c, expr.c, id.c,
	logname.c, nice.c, pathchk.c, printenv.c, printf.c, sleep.c,
	stty.c, su.c, tee.c, test.c, tty.c, uname.c, who.c, whoami.c,
	yes.c: Use the preferred `--longopt=arg' syntax in --help message
	rather than `--longopt arg'.  From Francois Pinard.

	* stty.c (main, integer_arg): Don't just call error(1,... about
	improper usage.  Call `error (0,...' then usage (1).

Sun Oct 24 14:10:23 1993  Jim Meyering  (meyering@comco.com)

	* test.c [member]: Don't try to cast index return value to an int.
	That can lose on systems with 64-bit pointers.

	* long-options.c: Save and restore optind, too.
	* long-options.h: New file.
	* long-options.c, echo.c, expr.c, printf.c, test.c, yes.c:
	Include it instead of duplicating dcls.
	* src/Makefile.in: Add dependencies for it.

Tue Oct 19 00:26:27 1993  Jim Meyering  (meyering@comco.com)

	* expr.c [!__STDC__]: Don't define away `const'.  configure alone
	decides whether to do that.  From Francois Pinard.

Sat Oct 16 22:32:54 1993  Jim Meyering  (meyering@comco.com)

	* whoami.c (main): Cast printf arg UID so it matches the type
	expected by %u format no matter how uid_t is defined.

	* stty.c: Accept `status' option and VDISCARD as an alias for
	VFLUSHO.  From Arne H. Juul (arnej@imf.unit.no).

	* basename.c, date.c, dirname.c, echo.c, env.c, expr.c,
	false.sh, groups.sh, id.c, logname.c, long-options.c, nice.c,
	nohup.sh, pathchk.c, printenv.c, printf.c, sleep.c, stty.c,
	su.c, tee.c, test.c, true.sh, tty.c, uname.c, who.c, whoami.c,
	yes.c: Using --help gets long well- formatted help.  Now --help
	writes to stdout and exits successfully.  From Francois Pinard
	<pinard@iro.umontreal.ca>.

Wed Oct 13 13:10:27 1993  Jim Meyering  (meyering@comco.com)

	* long-options.c: Include sys/types before system.h.
	From Franc,ois Pinard (pinard@iro.umontreal.ca).

Tue Oct 12 00:53:26 1993  Jim Meyering  (meyering@comco.com)

	* stime.c [HAVE_CONFIG_H, CONFIG_BROKETS]: Include <config.h>
	or "config.h".

	* src/Makefile.in [clean]: Also delete '['.

Sun Oct 10 14:05:23 1993  Jim Meyering  meyering@comco.com

	* false.sh, groups.sh, nohup.sh, true.sh: Add --help and --version.
	* src/Makefile.in (false, groups, nohup, true): Substitute the string
	from version.c for @VERSION@ in *.sh.

Sat Oct  9 23:12:53 1993  Jim Meyering  meyering@comco.com

	* configure.in: Remove AC_UNISTD_H; add unistd.h to AC_HAVE_HEADERS.

Tue Oct  5 22:18:05 1993  Jim Meyering  meyering@comco.com

	* tty.c (main): Detect write error.  Use isatty (rather than
	testing whether ttyname() is NULL) to determine exit status
	because ttyname may return NULL when stdin is a terminal device.

	* expr.c (eval7): Rewrite if-else-if-else... sequence to avoid a
	spurious `function returns without a value' warning.

	* printenv.c (main), tty.c (main): Detect and report write errors.

	* echo.c, patchchk.c, printenv.c, printf.c, sleep.c, stty.c, su.c,
	tee.c, test.c, tty.c, uname.c, yes.c: Accept --help and --version
	options.

	* long-options.c: New file.  To let echo, expr, printf, test, and
	yes accept --help and --version as unobtrusively as possible.
	* src/Makefile.in [SORUCES]: Add it.

	* configure.in: Add AC_TIME_WITH_SYS_TIME and AC_STAT_MACROS_BROKEN.

	* nice.c (main) [NICE_PRIORITY]: When given an argument, don't
	try to get current priority.  nice() requires only the delta;
	we don't need to compute the absolute priority as for setpriority.

Mon Oct 04 22:15:07 1993  Jim Meyering (meyering@comco.com)

	* who.c (print_entry, print_heading, who_am_i):
	Cast printf field width arguments to int to avoid warnings.
	(idle_string): Cast idle seconds and minutes to int.
	Declare functions read_utmp and idle_string to be static.
	Don't declare ttyname as static.

	* echo.c (just_echo): Use putchar instead of printf.

	* expr.c (parse_long_options): New function.
	(main): Use it to handle --version and --help properly.

	* tee.c (main): Put entire #ifdef inside if-braces to make structure
	clearer.
	(main, tee): Compare close() != 0 rather than close () == -1.

	* pathchk.c (portable_chars_only, dir_ok): Make a couple variables
	const.

Wed Sep 08 00:07:36 1993  Jim Meyering (meyering@comco.com)

	* test.c [advance, unary_advance]: Rewrite using do{...}while(0)
	paradigm instead of comma expressions that make Alpha OSFv1.3
	C compiler segfault.

	* basename.c, date.c, dirname.c, env.c, id.c, logname.c, nice.c:
	Add --help and --version options.

Sat Jul 24 08:52:18 1993  Jim Meyering (meyering@comco.com)

	* configure.in: Check for -lshadow.  Linux needs it when using shadow
	passwords.  Reported by Mattias Olofsson <mattias@lysator.liu.se>.

Thu May 27 20:05:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* configure.in (c_line test): Add missing `fi'.

Tue May 18 23:49:26 1993  Jim Meyering (meyering@comco.com)

	* mkinstalldirs: New file.
	* Makefile.in (installdirs): Use it.

Thu May 13 01:03:16 1993  Jim Meyering (meyering@comco.com)

	* Makefile.in (installdirs): New rules for creating installation
	directories. (install): depend on it.

Mon May  3 22:09:24 1993  Jim Meyering (meyering@comco.com)

	* configure.in: Add AC_GETGROUPS_T.
	* id.c, test.c: Don't define GETGROUPS_T.  Now configure does it.

Sun May  2 00:21:05 1993  Jim Meyering  (meyering@comco.com)

	* expr.c (eval6): Terminate result with a zero byte.
	The command `expr substr xx 1 2' would fail on systems with
	tight malloc.  From Steve James <smj@cats.COM>.

	* expr.c (null): Recognize the string `0' as zero.
	(divide, mod): Upon request to divide by zero, give an error
	message instead of dumping core.
	From J.T. Conklin <jtc@wimsey.com>.

	* configure.in: Check for sys/time.h; getdate.y needs it for
	structs timeval and timezone on some systems.
	* Check for gettimeofday and for `struct tm'.
	* Add existence tests for memcpy and bcopy.

	* configure.in: Find a parser generator.

	* putenv.c: Include stdlib.h only if __GNU_LIBRARY__ is defined.
	Many vendor-supplied <stdlib.h> have a declaration of putenv that
	conflicts with ours.

Tue Apr 20 02:33:24 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)

	* stty.c: Use GWINSZ_IN_SYS_IOCTL, not _AIX, to determine
	whether sys/ioctl.h is needed to support `stty size'.

Thu Apr  1 18:03:47 1993  Jim Meyering  (meyering@comco.com)

	* printf.c, expr.c [isascii]: Undefine before redefining.

Sun Mar 28 00:07:45 1993  Jim Meyering  (meyering@comco.com)

	* stty.c: Accept `flush' option.  From Arne H. Juul arnej@lise.unit.no
	* system.h: Don't define r?index, bcopy... if they're already defined.

Thu Mar 25 22:41:01 1993  Jim Meyering  (meyering@comco.com)

	* configure.in: Add AC_IRIX_SUN to get -lsun because
	Irix-4.0.5's libc.a doesn't have yp/NIS entrypoints.
	From Kjetil Wiekhorst J|rgensen <jorgens@pvv.unit.no>.

Fri Mar 05 00:02:53 1993  Jim Meyering  (meyering@comco.com)

	* date.c: Add long-named options.

Sun Dec  6 23:17:09 1992  Jim Meyering  (meyering@comco.com)

	* date.c: Remove unused definition of isdigit.
	* expr.c (toarith): Change single use of isdigit to ISDIGIT.
	* printf.c (print_formatted, print_esc): Define ISDIGIT and
	ISXDIGIT and use them instead of isdigit and isxdigit.

Wed Dec  2 12:49:11 1992  Jim Meyering  (meyering@comco.com)

	* env.c, id.c, nice.c, pathchk.c, stty.c, su.c, tee.c, tty.c,
	uname.c, who.c: Convert static declarations of struct option
	to use new macros from getopt.h: no_argument, required_argument,
	and optional_argument.

Tue Nov 24 09:46:02 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)

	* echo.c: Use V9_DEFAULT instead of USG.  Define it always.

	* system.h: Use HAVE_FCNTL_H and HAVE_STRING_H instead of USG.

Wed Nov 11 18:19:10 1992  Jim Meyering  (meyering@hal.gnu.ai.mit.edu)

	* All files in src: Make all functions and extern variables static.
	Make all longopts arrays const as well as static.
	Make a couple statically initialized aggregates `const.'

	* pathchk.c (portable_chars_only): Cast char used as array index.

	* echo.c (main), su.c (restricted_shell): Add parentheses to
	assignment statements used in boolean context.

	* stty.c (set_mode): Parenthesize expressions with bit operations
	to correctly set/reset modes bits.

Wed Oct 28 14:16:48 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)

	* Version 1.8.

	* stty.c: Accept Irix VRPRNT for VREPRINT.
	From Jim Meyering.

	* stty.c: Fix some type mismatches.  From Bruce Evans, bde@runx.oz.au.

	* who.c (read_utmp): Close file on error.
	From Bruce Evans.

	* su.c, test.c: Add some decls.  From Bruce Evans.

	* sleep.c (main): Arg to sleep is unsigned, not long.
	From Bruce Evans.

Fri Sep 11 00:25:52 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* echo.c, echo.1: New files.

Thu Sep 10 18:42:44 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* pathchk.c (main): Don't strip trailing slashes from args;
	they might make a path invalid.
	(portable_chars_only, dir_ok): New functions.
	(validate_path): Renamed from validate_new_path.
	Call them.  Don't complain if a leading
	dir doesn't exist.  Don't replace `parent' with a dir that
	doesn't exist.  Don't print a message when falling back
	from pathconf to constant values.

	* who.c [!UTMP_FILE]: If _PATH_UTMP is defined, use it instead
	of /etc/utmp.  From Marc Boucher <marc@cam.org>.

Tue Aug 25 17:02:25 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* Version 1.7.

	* groups.sh, nohup.sh: Add $(bindir) to front of path.

Mon Aug 24 16:39:39 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* stty.c: make sane value for "min" 1, not 0.
	From haible@ma2s2.mathematik.uni-karlsruhe.de (Bruno Haible).

Sun Aug 23 03:02:07 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* id.c, test.c: Use NGROUPS_MAX if it's defined.  386BSD is like sun.

Sat Aug 22 03:16:41 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* test.c: Rename STANDALONE to TEST_STANDALONE to avoid IBM RT
	ACIS sys/param.h conflict.

	* su.c (correct_password) [HAVE_SHADOW_H]: Try to get the
	encrypted correct password from the shadow password file.

Fri Jul 17 15:25:01 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* su.c, getusershell.c: New files.

Fri Jul  3 15:08:43 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)

	* stty.c, who.c: Change FOO_MISSING to HAVE_FOO.

Fri Jun  5 01:49:29 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)

	* strcspn.c: New file.

	* expr.c: Misc. cleanups.

	* expr.c (eval7): Renamed from eval6.
	Give syntax error if no more args.  Don't coerce all values to numbers.
	(eval6): New function.
	(eval5): Accept == as a synonym for =.
	(eval2): Coerce values to numbers for comparisons.
	Above all from Dana Jacobsen (jacobsd@prism.cs.orst.edu).

Thu Jun  4 19:32:09 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)

	* printf.c (print_formatted): Move main loop into new function.
	(main): Add an outer loop to use the format multiple times.
	(verify): Don't reject a completely empty string.
	Check errno (for overflow).

	* false.sh, true.sh: New programs.  Oh, boy.

Thu May 14 01:17:22 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)

	*