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

Diff for /src/usr.bin/less/ifile.c between version 1.9 and 1.10

version 1.9, 2015/11/06 15:50:33 version 1.10, 2015/11/07 18:07:44
Line 107 
Line 107 
          * Allocate and initialize structure.           * Allocate and initialize structure.
          */           */
         p = ecalloc(1, sizeof (struct ifile));          p = ecalloc(1, sizeof (struct ifile));
         p->h_filename = save(filename);          p->h_filename = estrdup(filename);
         p->h_scrpos.pos = -1;          p->h_scrpos.pos = -1;
         p->h_opened = 0;          p->h_opened = 0;
         p->h_hold = 0;          p->h_hold = 0;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10