projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't drop core on ^L's; bug report 4.3BSD/usr.bin/234
[unix-history]
/
usr
/
src
/
usr.bin
/
fsplit
/
fsplit.c
diff --git
a/usr/src/usr.bin/fsplit/fsplit.c
b/usr/src/usr.bin/fsplit/fsplit.c
index
2996f0f
..
5e3bfd2
100644
(file)
--- a/
usr/src/usr.bin/fsplit/fsplit.c
+++ b/
usr/src/usr.bin/fsplit/fsplit.c
@@
-15,7
+15,7
@@
char copyright[] =
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)fsplit.c 5.
4
(Berkeley) %G%";
+static char sccsid[] = "@(#)fsplit.c 5.
5
(Berkeley) %G%";
#endif /* not lint */
#include <ctype.h>
#endif /* not lint */
#include <ctype.h>
@@
-262,6
+262,9
@@
char *s;
ptr = skiplab(buf);
ptr = skiplab(buf);
+ if (ptr == 0)
+ return (0);
+
/* copy to buffer and converting to lower case */
p = ptr;
/* copy to buffer and converting to lower case */
p = ptr;