[BACK]Return to hashhl.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / hash

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/hash/hashhl.c between version 1.3 and 1.4

version 1.3, 2009/03/06 18:15:23 version 1.4, 2010/01/17 23:10:20
Line 106  FNPREFIX(FileChunk)(const char *filename
Line 106  FNPREFIX(FileChunk)(const char *filename
                 }                  }
                 len = sb.st_size;                  len = sb.st_size;
         }          }
         if (off > 0 && lseek(fd, off, SEEK_SET) < 0)          if (off > 0 && lseek(fd, off, SEEK_SET) < 0) {
                   close(fd);
                 return (NULL);                  return (NULL);
           }
   
         while ((nr = read(fd, buffer, (size_t) MIN((off_t)sizeof(buffer), len)))          while ((nr = read(fd, buffer, (size_t) MIN((off_t)sizeof(buffer), len)))
             > 0) {              > 0) {

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

CVSweb <webmaster@jp.NetBSD.org>