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

Diff for /src/usr.bin/tail/read.c between version 1.5 and 1.6

version 1.5, 2001/09/19 10:58:07 version 1.6, 2001/11/19 19:02:16
Line 72 
Line 72 
  */   */
 int  int
 bytes(fp, off)  bytes(fp, off)
         register FILE *fp;          FILE *fp;
         off_t off;          off_t off;
 {  {
         register int ch, len, tlen;          int ch, len, tlen;
         register char *ep, *p, *t;          char *ep, *p, *t;
         int wrap;          int wrap;
         char *sp;          char *sp;
   
Line 143 
Line 143 
  */   */
 int  int
 lines(fp, off)  lines(fp, off)
         register FILE *fp;          FILE *fp;
         off_t off;          off_t off;
 {  {
         struct {          struct {
Line 151 
Line 151 
                 u_int len;                  u_int len;
                 char *l;                  char *l;
         } *lines;          } *lines;
         register int ch;          int ch;
         register char *p = NULL;          char *p = NULL;
         int blen, cnt, recno, wrap;          int blen, cnt, recno, wrap;
         char *sp = NULL;          char *sp = NULL;
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6