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_4 release
[unix-history]
/
usr
/
src
/
contrib
/
bib
/
src
/
makekey.c
diff --git
a/usr/src/contrib/bib/src/makekey.c
b/usr/src/contrib/bib/src/makekey.c
index
6eb23a4
..
ec049f5
100644
(file)
--- a/
usr/src/contrib/bib/src/makekey.c
+++ b/
usr/src/contrib/bib/src/makekey.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)makekey.c 2.
2 9/23/8
3";
+static char sccsid[] = "@(#)makekey.c 2.
3 5/27/9
3";
#endif not lint
#
#endif not lint
#
@@
-60,7
+60,7
@@
char *common;
{ FILE *commfile; /* stream of common words */
char *p, *stop;
commfile= fopen(common,"r");
{ FILE *commfile; /* stream of common words */
char *p, *stop;
commfile= fopen(common,"r");
- if (commfile==NULL) fprintf(stderr,
"cannot open '%s'\n", common);
+ if (commfile==NULL) fprintf(stderr,"cannot open '%s'\n", common);
else
{ /* read commfile into commlist */
p= commlist; stop= commlist+MAXCOMM-1;
else
{ /* read commfile into commlist */
p= commlist; stop= commlist+MAXCOMM-1;
@@
-70,7
+70,7
@@
char *common;
}
if (*p==EOF) *p= NULL;
else
}
if (*p==EOF) *p= NULL;
else
- { fprintf(stderr,
"invert: too many common words\n");
+ { fprintf(stderr,"invert: too many common words\n");
commlist[0]= NULL;
}
fclose(commfile);
commlist[0]= NULL;
}
fclose(commfile);