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

Diff for /src/usr.bin/mail/fio.c between version 1.3 and 1.4

version 1.3, 1997/01/17 07:12:46 version 1.4, 1997/03/29 03:01:46
Line 74 
Line 74 
         char linebuf[LINESIZE];          char linebuf[LINESIZE];
   
         /* Get temporary file. */          /* Get temporary file. */
         (void)sprintf(linebuf, "%s/mail.XXXXXX", tmpdir);          (void)sprintf(linebuf, "%s/mail.XXXXXXXXXX", tmpdir);
         if ((c = mkstemp(linebuf)) == -1 ||          if ((c = mkstemp(linebuf)) == -1 ||
             (mestmp = Fdopen(c, "r+")) == NULL) {              (mestmp = Fdopen(c, "r+")) == NULL) {
                 (void)fprintf(stderr, "mail: can't open %s\n", linebuf);                  (void)fprintf(stderr, "mail: can't open %s\n", linebuf);

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