Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Chris Metcalf
Thu, 03 Sep 1992 09:02
shellutils-1.7: hpux 6.5: configure bug
Author: Chris Metcalf
Date: Thu, 03 Sep 1992 09:02
Date: Thu, 03 Sep 1992 09:02
24 lines
1290 bytes
1290 bytes
The configure in shellutils tries to figure out if tzname is defined by #including <time.h> and declaring char **tzname. Unfortunately, HPUX 6.5 declares char *tzname[], the definitions clash, the test compile fails (under cc or gcc 2.2.2), and you don't get HAVE_TZNAME. As a result, the compilation of strftime either fails (for cc), or suceeds with a warning for gcc. The gcc-built "date" then dumps core whenever you try to run it... I'm not sure what the best patch is, unfortunately; perhaps just testing both char **tzname and char *tzname[] when checking HAVE_TZNAME. I used: diff -r1.1 configure 608c608 < #ifndef tzname /* For SGI. */ --- > #if !defined(tzname) && !defined(hpux) /* For SGI (or hpux). */ But this is probably a crock, since other hpuxen may define tzname but not declare it in <time.h>. Chris Metcalf MIT LCS
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