[BACK]Return to common.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / patch

Diff for /src/usr.bin/patch/common.h between version 1.14 and 1.15

version 1.14, 2003/07/21 14:00:41 version 1.15, 2003/07/21 14:30:31
Line 24 
Line 24 
   
 /* constants */  /* constants */
   
 /* AIX predefines these.  */  #define TRUE    1
 #ifdef TRUE  #define FALSE   0
 #undef TRUE  
 #endif  
 #ifdef FALSE  
 #undef FALSE  
 #endif  
 #define TRUE (1)  
 #define FALSE (0)  
   
 #define MAXHUNKSIZE 100000      /* is this enough lines? */  #define MAXHUNKSIZE 100000      /* is this enough lines? */
 #define INITHUNKMAX 125         /* initial dynamic allocation size */  #define INITHUNKMAX 125         /* initial dynamic allocation size */
Line 68 
Line 61 
   
 typedef char    bool;  typedef char    bool;
 typedef long    LINENUM;        /* must be signed */  typedef long    LINENUM;        /* must be signed */
 typedef unsigned MEM;           /* what to feed malloc */  
   
 /* globals */  /* globals */
   
Line 135 
Line 127 
 EXT char        end_defined[128];       /* #endif xyzzy */  EXT char        end_defined[128];       /* #endif xyzzy */
   
 EXT char       *revision INIT(Nullch);  /* prerequisite revision, if any */  EXT char       *revision INIT(Nullch);  /* prerequisite revision, if any */
   
 #if !defined(S_ISDIR) && defined(S_IFDIR)  
 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)  
 #endif  
 #if !defined(S_ISREG) && defined(S_IFREG)  
 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)  
 #endif  

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15