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
file reorg, pathnames.h, paths.h
[unix-history]
/
usr
/
src
/
usr.bin
/
diction
/
diction
/
dprog.c
diff --git
a/usr/src/usr.bin/diction/diction/dprog.c
b/usr/src/usr.bin/diction/diction/dprog.c
index
4ef39e2
..
a66c0d9
100644
(file)
--- a/
usr/src/usr.bin/diction/diction/dprog.c
+++ b/
usr/src/usr.bin/diction/diction/dprog.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)dprog.c 4.
2 (Berkeley) 82/11/06
";
+static char sccsid[] = "@(#)dprog.c 4.
3 (Berkeley) 89/05/11
";
#endif not lint
/*
#endif not lint
/*
@@
-13,6
+13,7
@@
static char sccsid[] = "@(#)dprog.c 4.2 (Berkeley) 82/11/06";
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
+#include "pathnames.h"
#define MAXSIZ 6500
#define QSIZE 650
#define MAXSIZ 6500
#define QSIZE 650
@@
-98,7
+99,7
@@
char *argv[];
}
out:
if(nflag){
}
out:
if(nflag){
- wordf = fopen(DICT,"r");
+ wordf = fopen(
_PATH_
DICT,"r");
if(wordf == NULL){
fprintf(stderr,"diction: can't open default dictionary\n");
exit(2);
if(wordf == NULL){
fprintf(stderr,"diction: can't open default dictionary\n");
exit(2);