Changeset 1763 for zzuf/trunk
- Timestamp:
- Mar 2, 2007, 12:53:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/lib-fd.c
r1728 r1763 35 35 #include <string.h> 36 36 #include <stdio.h> 37 #include <errno.h> 37 38 38 39 #if defined HAVE_WINSOCK2_H … … 490 491 #endif 491 492 493 /* Sanity check, can be OK though (for instance with a character device) */ 492 494 static void offset_check(int fd) 493 495 { 494 /* Sanity check, can be OK though (for instance with a character device) */496 int orig_errno = errno; 495 497 #if defined HAVE_LSEEK64 496 498 off64_t ret; … … 504 506 if(ret != -1 && ret != _zz_getpos(fd)) 505 507 debug("warning: offset inconsistency"); 506 } 507 508 errno = orig_errno; 509 } 510
Note: See TracChangeset
for help on using the changeset viewer.