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

Diff for /src/usr.bin/less/filename.c between version 1.18 and 1.19

version 1.18, 2015/11/06 15:50:33 version 1.19, 2015/11/07 18:07:44
Line 643 
Line 643 
                         if (returnfd > 1 && status == 0) {                          if (returnfd > 1 && status == 0) {
                                 *pfd = NULL;                                  *pfd = NULL;
                                 *pf = -1;                                  *pf = -1;
                                 return (save(FAKE_EMPTYFILE));                                  return (estrdup(FAKE_EMPTYFILE));
                         }                          }
                         return (NULL);                          return (NULL);
                 }                  }
                 ch_ungetchar(c);                  ch_ungetchar(c);
                 *pfd = (void *) fd;                  *pfd = (void *) fd;
                 *pf = f;                  *pf = f;
                 return (save("-"));                  return (estrdup("-"));
         }          }
         cmd = readfd(fd);          cmd = readfd(fd);
         pclose(fd);          pclose(fd);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19