[BACK]Return to getcap.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/getcap.c between version 1.33 and 1.33.2.1

version 1.33, 2000/06/02 13:13:07 version 1.33.2.1, 2001/10/26 18:06:41
Line 708  cgetmatch(buf, name)
Line 708  cgetmatch(buf, name)
                 /*                  /*
                  * Match failed, skip to next name in record.                   * Match failed, skip to next name in record.
                  */                   */
                 bp--;   /* a '|' or ':' may have stopped the match */                  if (bp > buf)
                           bp--;   /* a '|' or ':' may have stopped the match */
                   else
                           return (-1);
                 for (;;)                  for (;;)
                         if (*bp == '\0' || *bp == ':')                          if (*bp == '\0' || *bp == ':')
                                 return (-1);    /* match failed totally */                                  return (-1);    /* match failed totally */

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.33.2.1

CVSweb <webmaster@jp.NetBSD.org>