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

Diff for /src/usr.bin/tail/forward.c between version 1.7 and 1.8

version 1.7, 1999/02/03 02:09:30 version 1.8, 1999/08/04 18:24:10
Line 217 
Line 217 
         if (size > SIZE_T_MAX)          if (size > SIZE_T_MAX)
                 return (1);                  return (1);
   
         if ((start = mmap(NULL, (size_t)size, PROT_READ, 0, fileno(fp),          if ((start = mmap(NULL, (size_t)size, PROT_READ, MAP_PRIVATE,
             (off_t)0)) == (caddr_t)-1)              fileno(fp), (off_t)0)) == (caddr_t)-1)
                 return (1);                  return (1);
   
         /* Last char is special, ignore whether newline or not. */          /* Last char is special, ignore whether newline or not. */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8