Tweak grap to make it compile silently.

This commit is contained in:
wkj 2004-05-17 02:22:23 +00:00
parent 7534722667
commit 1e1cea296a
4 changed files with 11 additions and 7 deletions

View file

@ -184,7 +184,7 @@ void do_first(void) /* done at first .G1: definitions, etc. */
sprintf(buf, "define pid /%d/\n", getpid());
pbstr(buf);
if (lib != 0) {
if ((fp = fopen(lib_defines, "r")) != NULL) {
if ((fp = fopen(unsharp(lib_defines), "r")) != NULL) {
sprintf(buf1, "copy \"%s\"\n", lib_defines);
pbstr(buf1);
fclose(fp);