sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* HPUX mods for 3/12/93 sam
@ 1993-03-15 14:36 Ed Kubaitis - CCSO
  0 siblings, 0 replies; only message in thread
From: Ed Kubaitis - CCSO @ 1993-03-15 14:36 UTC (permalink / raw)
  To: sam-fans

Attached are patches for 3/12 sam on HPUX 8.07.

Ed
===============================================================================
*** libXg/gwin.c-	Mon Mar 15 07:06:06 1993
--- libXg/gwin.c	Mon Mar 15 07:18:06 1993
***************
*** 1,6 ****
  /* Copyright (c) 1992 AT&T - All rights reserved. */
  #include <stdio.h>
! #ifdef	v10
  typedef	char*	caddr_t;
  #endif
  #include <X11/Xos.h>
--- 1,6 ----
  /* Copyright (c) 1992 AT&T - All rights reserved. */
  #include <stdio.h>
! #if defined(v10) || defined(HPUX)
  typedef	char*	caddr_t;
  #endif
  #include <X11/Xos.h>
*** sam/B.sh-	Mon Mar 15 07:05:22 1993
--- sam/B.sh	Mon Mar 15 08:19:31 1993
***************
*** 9,14 ****
--- 9,17 ----
  fi
  
  dir=`/bin/pwd`
+ if [ "$USER" = "" ]; then
+ 	USER=$LOGNAME
+ fi
  pipe=/tmp/.sam.$USER
  
  if [ $DISPLAY != "" ]; then
*** samterm/unix.c-	Mon Mar 15 07:05:57 1993
--- samterm/unix.c	Mon Mar 15 08:23:37 1993
***************
*** 15,20 ****
--- 15,25 ----
  #define S_IFIFO	_IFIFO
  #endif
  
+ #ifdef	HPUX
+ #define S_IFMT	_S_IFMT
+ #define S_IFIFO	_S_IFIFO
+ #endif
+ 
  #if	defined(UMIPS) || defined(SUNOS)
  #define	atexit(p)		/* sigh */
  #endif


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-03-15 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-03-15 14:36 HPUX mods for 3/12/93 sam Ed Kubaitis - CCSO

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).