ports/emulators/mtools/files/patch-g
2000-10-14 01:36:18 +00:00

11 lines
245 B
Text

--- llong.c~ Wed Mar 17 23:43:14 1999
+++ llong.c Mon Oct 9 18:21:24 2000
@@ -51,7 +51,7 @@
else
return -1;
#else
- return lseek(fd, (off_t) where, whence);
+ return lseek(fd, (off_t) where, whence) == (off_t) -1 ? -1 : 0;
#endif
}