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

Diff for /src/usr.bin/grep/util.c between version 1.46 and 1.47

version 1.46, 2013/05/04 00:26:20 version 1.47, 2013/11/26 13:21:16
Line 165 
Line 165 
  * Process an individual line in a file. Return non-zero if it matches.   * Process an individual line in a file. Return non-zero if it matches.
  */   */
   
 #define isword(x) (isalnum(x) || (x) == '_')  #define isword(x) (isalnum((unsigned char)x) || (x) == '_')
   
 static int  static int
 procline(str_t *l, int nottext)  procline(str_t *l, int nottext)
Line 245 
Line 245 
   
 #ifndef SMALL  #ifndef SMALL
 void  void
 fgrepcomp(fastgrep_t *fg, const char *pattern)  fgrepcomp(fastgrep_t *fg, const unsigned char *pattern)
 {  {
         int i;          int i;
   

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