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

Diff for /src/usr.bin/awk/lib.c between version 1.46 and 1.47

version 1.46, 2021/06/10 21:01:43 version 1.47, 2021/11/02 15:29:41
Line 825 
Line 825 
         if (result != NULL)          if (result != NULL)
                 *result = r;                  *result = r;
   
         retval = (isspace((uschar)*ep) || *ep == '\0' || trailing_stuff_ok);          /*
            * check for trailing stuff
            */
           while (isspace((uschar)*ep))
                   ep++;
   
         if (no_trailing != NULL)          if (no_trailing != NULL)
                 *no_trailing = (*ep == '\0');                  *no_trailing = (*ep == '\0');
   
           // return true if found the end, or trailing stuff is allowed
           retval = *ep == '\0' || trailing_stuff_ok;
   
         return retval;          return retval;
 }  }

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47