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

Diff for /src/usr.bin/sort/sort.h between version 1.3 and 1.4

version 1.3, 1997/06/30 05:36:18 version 1.4, 1999/05/24 17:57:19
Line 66 
Line 66 
 #define FLD_D 2         /* ' ', '\t' default; from -t otherwise */  #define FLD_D 2         /* ' ', '\t' default; from -t otherwise */
 #define REC_D_F 4       /* '\n' default; from -T otherwise */  #define REC_D_F 4       /* '\n' default; from -T otherwise */
   
 #define ND 10   /* limit on number of -k options. */  
   
 #define min(a, b) ((a) < (b) ? (a) : (b))  #define min(a, b) ((a) < (b) ? (a) : (b))
 #define max(a, b) ((a) > (b) ? (a) : (b))  #define max(a, b) ((a) > (b) ? (a) : (b))
   
Line 78 
Line 76 
   
 #define EWRITE(ptr, size, n, f) {                                       \  #define EWRITE(ptr, size, n, f) {                                       \
         if (!fwrite(ptr, size, n, f))                                   \          if (!fwrite(ptr, size, n, f))                                   \
                  err(2, NULL);                                          \                   err(2, "fwrite");                                      \
 }  }
   
 /* length of record is currently limited to 2^16 - 1 */  /* length of record is currently limited to 2^16 - 1 */
Line 142 
Line 140 
 extern int SINGL_FLD, SEP_FLAG, UNIQUE;  extern int SINGL_FLD, SEP_FLAG, UNIQUE;
 extern int REC_D;  extern int REC_D;
 extern char *tmpdir;  extern char *tmpdir;
   extern int ND;          /* limit on number of -k options. */
   
 #include "extern.h"  #include "extern.h"

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4