fix doc/docdir handling
authorroot <devnull@localhost>
Wed, 21 Feb 1996 17:32:07 +0000 (17:32 +0000)
committerroot <devnull@localhost>
Wed, 21 Feb 1996 17:32:07 +0000 (17:32 +0000)
CVS patchset: 381
CVS date: 1996/02/21 17:32:07

build/spec.c

index 882360b..20e3533 100644 (file)
@@ -545,6 +545,9 @@ void parseForDocFiles(Spec spec, char *line)
     }
 
     line += 4;
+    if ((*line != ' ') && (*line != '\t')) {
+       return;
+    }
     line += strspn(line, " \t\n");
     if ((! *line) || (*line == '/')) {
        return;