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

Diff for /src/usr.bin/mail/lex.c between version 1.14 and 1.15

version 1.14, 1997/07/30 07:19:31 version 1.15, 1997/11/14 00:23:48
Line 212 
Line 212 
 void  void
 commands()  commands()
 {  {
         int eofloop = 0;          int n, eofloop = 0;
         register int n;  
         char linebuf[LINESIZE];          char linebuf[LINESIZE];
 #if __GNUC__  #if __GNUC__
         /* Avoid siglongjmp clobbering */          /* Avoid siglongjmp clobbering */
Line 299 
Line 298 
         char word[LINESIZE];          char word[LINESIZE];
         char *arglist[MAXARGC];          char *arglist[MAXARGC];
         const struct cmd *com = NULL;          const struct cmd *com = NULL;
         register char *cp, *cp2;          char *cp, *cp2;
         register int c;          int c, muvec[2];
         int muvec[2];  
         int e = 1;          int e = 1;
   
         /*          /*
Line 456 
Line 454 
                 break;                  break;
   
         default:          default:
                 panic("Unknown argtype");                  errx(1, "Unknown argtype");
         }          }
   
 out:  out:
Line 510 
Line 508 
         char word[];          char word[];
 {  {
         extern const struct cmd cmdtab[];          extern const struct cmd cmdtab[];
         register const struct cmd *cp;          const struct cmd *cp;
   
         for (cp = &cmdtab[0]; cp->c_name != NULL; cp++)          for (cp = &cmdtab[0]; cp->c_name != NULL; cp++)
                 if (isprefix(word, cp->c_name))                  if (isprefix(word, cp->c_name))
Line 526 
Line 524 
 isprefix(as1, as2)  isprefix(as1, as2)
         char *as1, *as2;          char *as1, *as2;
 {  {
         register char *s1, *s2;          char *s1, *s2;
   
         s1 = as1;          s1 = as1;
         s2 = as2;          s2 = as2;
Line 632 
Line 630 
 newfileinfo(omsgCount)  newfileinfo(omsgCount)
         int omsgCount;          int omsgCount;
 {  {
         register struct message *mp;          struct message *mp;
         register int u, n, mdot, d, s;          int u, n, mdot, d, s;
         char fname[PATHSIZE], zname[PATHSIZE], *ename;          char fname[PATHSIZE], zname[PATHSIZE], *ename;
   
         for (mp = &message[omsgCount]; mp < &message[msgCount]; mp++)          for (mp = &message[omsgCount]; mp < &message[msgCount]; mp++)
Line 708 
Line 706 
 load(name)  load(name)
         char *name;          char *name;
 {  {
         register FILE *in, *oldin;          FILE *in, *oldin;
   
         if ((in = Fopen(name, "r")) == NULL)          if ((in = Fopen(name, "r")) == NULL)
                 return;                  return;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15