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

Diff for /src/usr.bin/man/Attic/man.c between version 1.3 and 1.4

version 1.3, 1996/07/18 22:52:58 version 1.4, 1996/09/16 02:26:10
Line 501 
Line 501 
         TAG *intmpp;          TAG *intmpp;
         int fd, n;          int fd, n;
         char *p, *b;          char *p, *b;
         char buf[MAXPATHLEN], cmd[MAXPATHLEN], tpath[sizeof(_PATH_TMP)];          char buf[MAXPATHLEN], cmd[MAXPATHLEN], tpath[MAXPATHLEN];
   
         /* Let the user know this may take awhile. */          /* Let the user know this may take awhile. */
         if (!warned) {          if (!warned) {
Line 543 
Line 543 
          * Get a temporary file and build a version of the file           * Get a temporary file and build a version of the file
          * to display.  Replace the old file name with the new one.           * to display.  Replace the old file name with the new one.
          */           */
         (void)strcpy(tpath, _PATH_TMP);          (void)strcpy(tpath, _PATH_TMPFILE);
         if ((fd = mkstemp(tpath)) == -1) {          if ((fd = mkstemp(tpath)) == -1) {
                 warn("%s", tpath);                  warn("%s", tpath);
                 (void)cleanup();                  (void)cleanup();

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