BSDI fseeko
Kenichi Okada
okada at opaopa.org
Tue Aug 29 09:28:14 UTC 2000
Hello all,
I recieved error messages as follows.
Aug 28 13:51:24 tetoron innfeed[20448]: ME oserr fseek /usr/local/news/spool/innfeed/news.ksw.feedmania.org.input,1250751,SEEK_SET : Invalid argument
The next patch seems to be needed on BSD/OS.
% uname -a
BSD/OS tetoron.media.kyoto-u.ac.jp 4.0 BSDI BSD/OS 4.0
*** include/clibrary.h-orig Mon Aug 28 13:45:48 2000
--- include/clibrary.h Mon Aug 28 13:48:55 2000
***************
*** 123,128 ****
--- 123,129 ----
/* Large file support. Always use the off_t versions, which we provide if
not available. */
#undef fseek
+ extern int fseeko(FILE *stream, off_t pos, int whence);
#undef ftell
#define fseek fseeko
#define ftell ftello
--
Kenichi Okada
mailto:okada at opaopa.org
More information about the inn-workers
mailing list