🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #714

fileutils-3.3: hpux 6.5: small bug

#714
From: Chris Metcalf
Date: Wed, 02 Sep 1992 05:17
27 lines
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)
Technical Details
Message-ID: <9209021317.AA27893@catfish.LCS.MIT.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!catfish.lcs.mit.edu!metcalf

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!catfish.lcs.mit.edu!metcalf
From: metcalf@catfish.lcs.mit.edu (Chris Metcalf)
Subject: fileutils-3.3: hpux 6.5: small bug
Message-ID: <9209021317.AA27893@catfish.LCS.MIT.EDU>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 2 Sep 1992 05:17:02 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 28