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

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

version 1.2, 1996/06/26 05:31:45 version 1.3, 1996/09/16 16:36:04
Line 323 
Line 323 
                 return (stdout);                  return (stdout);
   
         /* set output to a temporary file, so if no output don't send mail */          /* set output to a temporary file, so if no output don't send mail */
         (void)snprintf(path, sizeof(path), "%s/_calXXXXXX", _PATH_TMP);          (void)snprintf(path, sizeof(path), "%s_calXXXXXX", _PATH_TMP);
         if ((fd = mkstemp(path)) < 0)          if ((fd = mkstemp(path)) < 0)
                 return (NULL);                  return (NULL);
         return (fdopen(fd, "w+"));          return (fdopen(fd, "w+"));

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