[BACK]Return to arch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/arch.c between version 1.87 and 1.88

version 1.87, 2016/10/21 16:12:38 version 1.88, 2017/07/21 09:29:42
Line 242 
Line 242 
                 elib = lib + strlen(lib);                  elib = lib + strlen(lib);
         }          }
   
           if (*cp == '\0') {
                   printf("Unclosed parenthesis in archive specification\n");
                   return false;
           }
         cp++;          cp++;
         /* iterate on members, that may be separated by spaces */          /* iterate on members, that may be separated by spaces */
         for (;;) {          for (;;) {
Line 266 
Line 270 
                  * chances are there's something wrong (like a missing                   * chances are there's something wrong (like a missing
                  * backslash), so it's better to return failure than allow such                   * backslash), so it's better to return failure than allow such
                  * things to happen.  */                   * things to happen.  */
                 if (*cp == '\0') {                  if (*cp == '\0' || ISSPACE(*cp)) {
                         printf("No closing parenthesis in archive specification\n");                          printf("No closing parenthesis in archive specification\n");
                         return false;                          return false;
                 }                  }

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88