Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Karl Berry
Wed, 11 Nov 1992 05:47
cpio & lseek decl
Author: Karl Berry
Date: Wed, 11 Nov 1992 05:47
Date: Wed, 11 Nov 1992 05:47
26 lines
1169 bytes
1169 bytes
cpio 2.1 doesn't compile on a Sun 3 running 3.5 using gcc 2.3.1, because it declares lseek in two different places -- system.h and rmt.c -- one hardwiring `long' and the other using `off_t'. I think it's better to use off_t in both places, so here is a diff to system.h. *** ./ORIG/system.h Sat Aug 22 14:51:15 1992 --- ./system.h Sun Nov 8 20:38:58 1992 *************** *** 42,48 **** #endif #ifndef _POSIX_VERSION ! long lseek (); #endif /* Since major is a function on SVR4, we can't use `ifndef major'. */ --- 42,48 ---- #endif #ifndef _POSIX_VERSION ! off_t lseek (); #endif /* Since major is a function on SVR4, we can't use `ifndef major'. */
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads