[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.29 and 1.30

version 1.29, 2015/07/26 14:32:19 version 1.30, 2019/12/02 22:17:32
Line 37 
Line 37 
   
 #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 */
 #define MAXLINELEN 8192  #define INITLINELEN 8192
 #define BUFFERSIZE 1024  #define BUFFERSIZE 1024
 #define LINENUM_MAX LONG_MAX  #define LINENUM_MAX LONG_MAX
   
Line 59 
Line 59 
   
 extern mode_t   filemode;  extern mode_t   filemode;
   
 extern char     buf[MAXLINELEN];/* general purpose buffer */  extern char     *buf;           /* general purpose buffer */
   extern size_t    bufsz;         /* general purpose buffer size */
   
 extern bool     using_plan_a;   /* try to keep everything in memory */  extern bool     using_plan_a;   /* try to keep everything in memory */
 extern bool     out_of_mem;     /* ran out of memory in plan a */  extern bool     out_of_mem;     /* ran out of memory in plan a */

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30