Commit 4bcffd8e authored by Jim Blandy's avatar Jim Blandy

entered into RCS

parent 05a9b0ab
......@@ -9,7 +9,7 @@
#include <stdio.h>
#include <ctype.h>
#include "../src/paths.h" /* For PATH_EXEC. */
#include "../src/paths.h" /* For PATH_DATA. */
#define BUFSIZE 80
#define SEP '\0'
......@@ -30,9 +30,9 @@ main (argc, argv)
strcpy (file, argv[2]);
else
#ifdef vms
sprintf (file, "%s%s", PATH_EXEC, YOW_FILE);
sprintf (file, "%s%s", PATH_DATA, YOW_FILE);
#else
sprintf (file, "%s/%s", PATH_EXEC, YOW_FILE);
sprintf (file, "%s/%s", PATH_DATA, YOW_FILE);
#endif
if ((fp = fopen(file, "r")) == NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment