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

Diff for /src/usr.bin/lam/lam.c between version 1.2 and 1.3

version 1.2, 1996/06/26 05:34:49 version 1.3, 2001/11/19 19:02:14
Line 83 
Line 83 
         int argc;          int argc;
         char *argv[];          char *argv[];
 {  {
         register struct openfile *ip;          struct  openfile *ip;
   
         getargs(argv);          getargs(argv);
         if (!morefiles)          if (!morefiles)
Line 105 
Line 105 
 getargs(av)  getargs(av)
         char *av[];          char *av[];
 {  {
         register struct openfile *ip = input;          struct  openfile *ip = input;
         register char *p;          char *p;
         register char *c;          char *c;
         static char fmtbuf[BUFSIZ];          static char fmtbuf[BUFSIZ];
         char *fmtp = fmtbuf;          char *fmtp = fmtbuf;
         int P, S, F, T;          int P, S, F, T;
Line 177 
Line 177 
 pad(ip)  pad(ip)
         struct openfile *ip;          struct openfile *ip;
 {  {
         register char *p = ip->sepstring;          char *p = ip->sepstring;
         register char *lp = linep;          char *lp = linep;
   
         while (*p)          while (*p)
                 *lp++ = *p++;                  *lp++ = *p++;
Line 194 
Line 194 
         struct openfile *ip;          struct openfile *ip;
 {  {
         char s[BUFSIZ];          char s[BUFSIZ];
         register int c;          int c;
         register char *p;          char *p;
         register char *lp = linep;          char *lp = linep;
         char *end = s + BUFSIZ;          char *end = s + BUFSIZ;
   
         if (ip->eof)          if (ip->eof)

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