Article View: gnu.utils.bug
Article #582diff-1.7: changes for hp-ux 6.5 on 9000s300
From: Andreas Luik
Date: Wed, 06 Dec 1989 19:09
Date: Wed, 06 Dec 1989 19:09
61 lines
1895 bytes
1895 bytes
Hello,
to compile diff-1.7 on our HP workstations 9000/300 running hp-ux 6.5,
we had to make the following modifications:
*** diff.h.ORIG Fri Feb 24 18:42:05 1989
--- diff.h Wed Dec 6 19:19:00 1989
***************
*** 25,37 ****
#ifdef USG
#include <time.h>
! #ifdef hp9000s800
#include <ndir.h>
#else
#include <dirent.h>
#endif
#include <fcntl.h>
- #define direct dirent
#else
#include <sys/time.h>
#include <sys/dir.h>
--- 25,37 ----
#ifdef USG
#include <time.h>
! #if defined(hp9000s800) || defined(hp9000s300)
#include <ndir.h>
#else
#include <dirent.h>
+ #define direct dirent
#endif
#include <fcntl.h>
#else
#include <sys/time.h>
#include <sys/dir.h>
*** diff3.c.ORIG Sat Apr 8 21:56:10 1989
--- diff3.c Wed Dec 6 19:41:39 1989
***************
*** 27,32 ****
--- 27,34 ----
#ifdef USG
/* Define needed BSD functions in terms of sysV library. */
+ #include <fcntl.h>
+
#define bcopy(s,d,n) memcpy((d),(s),(n))
#define bcmp(s1,s2,n) memcmp((s1),(s2),(n))
#define bzero(s,n) memset((s),0,(n))
Would you please check, whether these changes are correct? If so, please
add them to the next release.
Thanks,
--
Andreas Luik Domain: luik@isaak.isa.de
BITNET: luik%isaak.uucp@unido.bitnet
UUCP: luik@isaak.uucp Bang: ...!{uunet!unido,pyramid}!isaak!luik
Technical Details
Message-ID:
<8912061904.AA23409@einstein.isa.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!UUNET.UU.NET!isaak!luik%einsteinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!UUNET.UU.NET!isaak!luik%einstein From: isaak!luik%einstein@UUNET.UU.NET (Andreas Luik) Newsgroups: gnu.utils.bug Subject: diff-1.7: changes for hp-ux 6.5 on 9000s300 Message-ID: <8912061904.AA23409@einstein.isa.de> Date: 6 Dec 89 19:09:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 61 X-Unparsable-Date: Wed, 6 Dec 89 20:04:36 MET DST