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

Diff for /src/usr.bin/mail/cmd1.c between version 1.6 and 1.7

version 1.6, 1997/07/13 21:21:08 version 1.7, 1997/07/13 23:53:57
Line 185 
Line 185 
         char *name;          char *name;
   
         mp = &message[mesg-1];          mp = &message[mesg-1];
         (void) readline(setinput(mp), headline, LINESIZE);          (void)readline(setinput(mp), headline, LINESIZE);
         if ((subjline = hfield("subject", mp)) == NOSTR)          if ((subjline = hfield("subject", mp)) == NOSTR)
                 subjline = hfield("subj", mp);                  subjline = hfield("subj", mp);
         /*          /*
Line 317 
Line 317 
         FILE *obuf;          FILE *obuf;
 #if __GNUC__  #if __GNUC__
         /* Avoid longjmp clobbering */          /* Avoid longjmp clobbering */
         (void) &cp;          (void)&cp;
         (void) &obuf;          (void)&obuf;
 #endif  #endif
   
         obuf = stdout;          obuf = stdout;
Line 349 
Line 349 
                 dot = mp;                  dot = mp;
                 if (value("quiet") == NOSTR)                  if (value("quiet") == NOSTR)
                         fprintf(obuf, "Message %d:\n", *ip);                          fprintf(obuf, "Message %d:\n", *ip);
                 (void) send(mp, obuf, doign ? ignore : 0, NOSTR);                  (void)send(mp, obuf, doign ? ignore : 0, NOSTR);
         }          }
 close_pipe:  close_pipe:
         if (obuf != stdout) {          if (obuf != stdout) {
Line 471 
Line 471 
         }          }
         if ((cmd = value("LISTER")) == NOSTR)          if ((cmd = value("LISTER")) == NOSTR)
                 cmd = "ls";                  cmd = "ls";
         (void) run_command(cmd, 0, -1, -1, dirname, NOSTR, NOSTR);          (void)run_command(cmd, 0, -1, -1, dirname, NOSTR, NOSTR);
         return(0);          return(0);
 }  }
   

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