[10619] in Athena Bugs

home help back first fref pref prev next nref lref last post

third/common/mh-6.6/h/strings.h

daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 13:54:40 1993

From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 13:54:35 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU

*** /tmp/,RCSt1a18912	Fri Jun 25 13:53:47 1993
--- third/common/mh-6.6/h/strings.h	Tue Jun  8 14:26:31 1993
***************
*** 3,9 ****
  #ifndef	_STRINGS		/* once-only... */
  #define	_STRINGS
  
! #ifdef	SYS5
  #define	index	strchr
  #define	rindex	strrchr
  #endif	/* SYS5 */
--- 3,9 ----
  #ifndef	_STRINGS		/* once-only... */
  #define	_STRINGS
  
! #if defined(SYS5) && !defined(hpux)
  #define	index	strchr
  #define	rindex	strrchr
  #endif	/* SYS5 */
***************
*** 27,33 ****
  char   *getenv ();
  char   *calloc (), *malloc (), *realloc ();
  
! #ifdef	SYS5
  #include <memory.h>
  #define	bcopy(b1,b2,length)	(void) memcpy (b2, b1, length)
  #define	bcpy(b1,b2,length)	memcmp (b1, b2, length)
--- 27,33 ----
  char   *getenv ();
  char   *calloc (), *malloc (), *realloc ();
  
! #if defined(SYS5) && !defined(hpux)
  #include <memory.h>
  #define	bcopy(b1,b2,length)	(void) memcpy (b2, b1, length)
  #define	bcpy(b1,b2,length)	memcmp (b1, b2, length)

home help back first fref pref prev next nref lref last post