/[pcre]/code/trunk/pgrep.c
ViewVC logotype

Diff of /code/trunk/pgrep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 40 by nigel, Sat Feb 24 21:39:09 2007 UTC revision 41 by nigel, Sat Feb 24 21:39:17 2007 UTC
# Line 6  Line 6 
6  #include <string.h>  #include <string.h>
7  #include <stdlib.h>  #include <stdlib.h>
8  #include <errno.h>  #include <errno.h>
9    #include "config.h"
10  #include "pcre.h"  #include "pcre.h"
11    
   
12  #define FALSE 0  #define FALSE 0
13  #define TRUE 1  #define TRUE 1
14    
# Line 32  static BOOL whole_lines = FALSE; Line 32  static BOOL whole_lines = FALSE;
32    
33    
34    
35  #ifdef STRERROR_FROM_ERRLIST  #ifndef HAVE_STRERROR
36  /*************************************************  /*************************************************
37  *     Provide strerror() for non-ANSI libraries  *  *     Provide strerror() for non-ANSI libraries  *
38  *************************************************/  *************************************************/
# Line 50  strerror(int n) Line 50  strerror(int n)
50  if (n < 0 || n >= sys_nerr) return "unknown error number";  if (n < 0 || n >= sys_nerr) return "unknown error number";
51  return sys_errlist[n];  return sys_errlist[n];
52  }  }
53  #endif /* STRERROR_FROM_ERRLIST */  #endif /* HAVE_STRERROR */
54    
55    
56    

Legend:
Removed from v.40  
changed lines
  Added in v.41

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12