Commit Graph

6 Commits

Author SHA1 Message Date
Bruce Evans
468ed942cd Merged type changes and overflow bug fixes from Lite2.
Fixed the gets() changes.  The buffer contents is indeterminate when
fgets() returns NULL...  Now when you type EOT at one of the prompts,
the program usually spins reading the sticky EOF instead of dumping
core.  Even GUIs could do better.

Added $Id$.

Obtained from:	partly from 4.4BSD-Lite2
1996-03-19 15:38:44 +00:00
Jordan K. Hubbard
32c45b7219 Fix second gets() -> fgets() conversion botch I missed. 1995-12-02 11:01:43 +00:00
Jordan K. Hubbard
6474989dfe Account for newline in fgets(). Whoops!
Noticed by:	peter
1995-12-01 10:26:20 +00:00
Jordan K. Hubbard
1c71c164fc Stamp out more calls to gets(). 1995-12-01 08:02:06 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00