🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by K. Richard Magill Thu, 07 Sep 1989 21:06
make-3.55 fails to link under ultrix (w/patch)
#409
Author: K. Richard Magill
Date: Thu, 07 Sep 1989 21:06
57 lines
1621 bytes
More or less self explanatory.  WCOREDUMP was originally undefined at
link time.

*** job.c-dist	Thu Sep  7 16:58:40 1989
--- job.c	Thu Sep  7 16:51:39 1989
***************
*** 42,48 ****
  extern int wait3 ();
  #endif
  
! #ifdef	WTERMSIG
  #define	WAIT_T int
  #else
  
--- 42,48 ----
  extern int wait3 ();
  #endif
  
! #if defined(WTERMSIG) && !defined(ultrix)
  #define	WAIT_T int
  #else
  
***************
*** 58,66 ****
  #else	/* Have <sys/wait.h> or not USG.  */
  
  #define WAIT_T union wait
  #define WTERMSIG(x) ((x).w_termsig)
! #define WCOREDUMP(x) ((x).w_coredump)
  #define WEXITSTATUS(x) ((x).w_retcode)
  #ifndef	WIFSIGNALED
  #define	WIFSIGNALED(x)	(WTERMSIG(x) != 0)
  #endif
--- 58,74 ----
  #else	/* Have <sys/wait.h> or not USG.  */
  
  #define WAIT_T union wait
+ 
+ #if !defined(WTERMSIG)
  #define WTERMSIG(x) ((x).w_termsig)
! #endif /* WTERMSIG */
! 
! #if !defined(WEXITSTATUS)
  #define WEXITSTATUS(x) ((x).w_retcode)
+ #endif /* WEXITSTATUS */
+ 
+ #define WCOREDUMP(x) ((x).w_coredump)
+ 
  #ifndef	WIFSIGNALED
  #define	WIFSIGNALED(x)	(WTERMSIG(x) != 0)
  #endif


--
rich.
-- 
rich.
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