Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Chris Metcalf
Wed, 02 Sep 1992 05:17
fileutils-3.3: hpux 6.5: small bug
Author: Chris Metcalf
Date: Wed, 02 Sep 1992 05:17
Date: Wed, 02 Sep 1992 05:17
27 lines
1250 bytes
1250 bytes
In the current fileutils set on hpux 6.5, "lib/system.h" includes
<unistd.h>, which in turn includes <utime.h>. When "lib/system.h"
later looks for a "utimbuf" declaration, it does it by hand, since
_POSIX_VERSION is not defined for hpux 6.5. Unfortunately, the
declarations clash, since <utime.h> uses time_t for the fields.
Chris Metcalf
MIT Lab Lab for Computer Science
*** 1.1 1992/09/02 12:19:06
--- fileutils-3.3/lib/system.h 1992/09/02 12:19:38
***************
*** 91,101 ****
--- 91,103 ----
#ifdef _POSIX_VERSION
#include <utime.h>
#else /* not _POSIX_VERSION */
+ #ifndef _UTIME_INCLUDED
struct utimbuf
{
long actime;
long modtime;
};
+ #endif /* ! _UTIME_INCLUDED */
#endif /* _POSIX_VERSION */
#if defined(USG) || defined(STDC_HEADERS)
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