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

Diff for /src/usr.bin/sort/Attic/append.c between version 1.8 and 1.9

version 1.8, 2003/06/03 02:56:16 version 1.9, 2004/07/20 03:50:27
Line 63 
Line 63 
  * copy sorted lines to output; check for uniqueness   * copy sorted lines to output; check for uniqueness
  */   */
 void  void
 append(keylist, nelem, depth, fp, put, ftbl)  append(u_char **keylist, int nelem, int depth, FILE *fp,
         u_char **keylist;      void (*put)(RECHEADER *, FILE *), struct field *ftbl)
         int nelem;  
         int depth;  
         FILE *fp;  
         void (*put)(RECHEADER *, FILE *);  
         struct field *ftbl;  
 {  {
         u_char *wts, *wts1;          u_char *wts, *wts1;
         int n, odepth;          int n, odepth;
Line 166 
Line 161 
  * output the already sorted eol bin.   * output the already sorted eol bin.
  */   */
 void  void
 rd_append(binno, infl0, nfiles, outfp, buffer, bufend)  rd_append(int binno, union f_handle infl0, int nfiles, FILE *outfp,
         u_char *buffer, *bufend;      u_char *buffer, u_char *bufend)
         int binno, nfiles;  
         union f_handle infl0;  
         FILE *outfp;  
 {  {
         RECHEADER *rec;          RECHEADER *rec;
   
Line 189 
Line 181 
  * append plain text--used after sorting the biggest bin.   * append plain text--used after sorting the biggest bin.
  */   */
 void  void
 concat(a, b)  concat(FILE *a, FILE *b)
         FILE *a, *b;  
 {  {
         int nread;          int nread;
         char buffer[4096];          char buffer[4096];

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9