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

Diff for /src/usr.bin/sudo/Attic/fileops.c between version 1.6 and 1.7

version 1.6, 2008/11/14 11:58:08 version 1.7, 2009/04/11 11:48:06
Line 54 
Line 54 
 #endif  #endif
   
 #ifndef lint  #ifndef lint
 __unused static const char rcsid[] = "$Sudo: fileops.c,v 1.16 2008/11/09 14:13:12 millert Exp $";  __unused static const char rcsid[] = "$Sudo: fileops.c,v 1.17 2009/03/12 00:03:04 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 /*  /*
Line 172 
Line 172 
   
         /* Trim leading and trailing whitespace/newline */          /* Trim leading and trailing whitespace/newline */
         len = strlen(buf);          len = strlen(buf);
         while (len > 0 && isspace(buf[len - 1]))          while (len > 0 && isspace((unsigned char)buf[len - 1]))
             buf[--len] = '\0';              buf[--len] = '\0';
         for (cp = buf; isblank(*cp); cp++)          for (cp = buf; isblank(*cp); cp++)
             continue;              continue;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7