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
BSD 4_2 release
[unix-history]
/
usr
/
src
/
ucb
/
compact
/
compact.c
diff --git
a/usr/src/ucb/compact/compact.c
b/usr/src/ucb/compact/compact.c
index
4f5cfac
..
9eb6667
100644
(file)
--- a/
usr/src/ucb/compact/compact.c
+++ b/
usr/src/ucb/compact/compact.c
@@
-1,3
+1,7
@@
+#ifndef lint
+static char sccsid[] = "@(#)compact.c 4.4 (Berkeley) 8/11/83";
+#endif
+
/*
* Adaptive Huffman code input to output
*
/*
* Adaptive Huffman code input to output
*
@@
-50,7
+54,7
@@
char *argv [ ];
cp = fname;
for (l = 0; l < (LNAME - 3) && (*cp = argv [i][l]); l++)
if (*cp++ == '/') m = l;
cp = fname;
for (l = 0; l < (LNAME - 3) && (*cp = argv [i][l]); l++)
if (*cp++ == '/') m = l;
- if (l >= (LNAME - 3) || (l - m) >
13
) {
+ if (l >= (LNAME - 3) || (l - m) >
MAXNAMLEN - 1
) {
fprintf (stderr, "%s: File name too long\n", argv [i]);
if (i == argc - 1) break;
continue;
fprintf (stderr, "%s: File name too long\n", argv [i]);
if (i == argc - 1) break;
continue;