- Timestamp:
- Jan 16, 2007, 3:06:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/load-fd.c
r1676 r1677 170 170 /* Sanity check, can be OK though (for instance with a character device) */ 171 171 #ifdef HAVE_LSEEK64 172 if(lseek64_orig(fd, 0, SEEK_CUR) != _zz_getpos(fd))172 off64_t ret = lseek64_orig(fd, 0, SEEK_CUR); 173 173 #else 174 if(lseek_orig(fd, 0, SEEK_CUR) != _zz_getpos(fd)) 175 #endif 174 off_t ret = lseek_orig(fd, 0, SEEK_CUR); 175 #endif 176 if(ret != -1 && ret != _zz_getpos(fd)) 176 177 debug("warning: offset inconsistency"); 177 178 }
Note: See TracChangeset
for help on using the changeset viewer.