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

Diff for /src/usr.bin/xargs/xargs.c between version 1.31 and 1.32

version 1.31, 2015/12/09 19:29:49 version 1.32, 2017/01/19 17:08:41
Line 278 
Line 278 
                 }                  }
                 goto arg1;                  goto arg1;
         case '\0':          case '\0':
                 if (zflag)                  if (zflag) {
                           /*
                            * Increment 'count', so that nulls will be treated
                            * as end-of-line, as well as end-of-argument.  This
                            * is needed so -0 works properly with -I and -L.
                            */
                           count++;
                         goto arg2;                          goto arg2;
                   }
                 goto addch;                  goto addch;
         case '\n':          case '\n':
                   if (zflag)
                           goto addch;
                 hasblank = 1;                  hasblank = 1;
                 if (hadblank == 0)                  if (hadblank == 0)
                         count++;                          count++;
                 if (zflag)  
                         goto addch;  
   
                 /* Quotes do not escape newlines. */                  /* Quotes do not escape newlines. */
 arg1:           if (insingle || indouble)  arg1:           if (insingle || indouble)

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32