🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Andy Norman Tue, 11 Jul 1989 14:04
GNU diff 1.7 diffs for HP-UX
#286
Author: Andy Norman
Date: Tue, 11 Jul 1989 14:04
58 lines
1780 bytes
The following diffs enable GNU diff 1.7 to work on the hp9000/300 and
hp9000/800 machines at HP-UX releases 6.2 and 3.1 respectively.

diff -c old.diff/diff.h diff/diff.h
*** old.diff/diff.h	Fri Feb 24 17:42:05 1989
--- diff/diff.h	Tue Jul 11 09:39:31 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,39 ----
  
  #ifdef USG
  #include <time.h>
! #if defined(hp9000s800) || defined(hp9000s300)
  #include <ndir.h>
  #else
  #include <dirent.h>
  #endif
  #include <fcntl.h>
+ #if !defined(hp9000s800) && !defined(hp9000s300)
  #define direct dirent
+ #endif
  #else
  #include <sys/time.h>
  #include <sys/dir.h>
diff -c old.diff/diff3.c diff/diff3.c
*** old.diff/diff3.c	Sat Apr  8 20:56:10 1989
--- diff/diff3.c	Tue Jul 11 09:45:52 1989
***************
*** 25,30 ****
--- 25,35 ----
  #include <ctype.h>
  
  #ifdef USG
+ 
+ #if defined(hp9000s300) || defined(hp9000s800)
+ #include <fcntl.h>
+ #endif
+ 
  /* Define needed BSD functions in terms of sysV library.  */
  
  #define bcopy(s,d,n)	memcpy((d),(s),(n))
--
					-- ange --

					ange@hplb.hpl.hp.com
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