🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by J.T. Conklin Thu, 10 Sep 1992 11:35
tar-1.11 and AIX 3.2
#795
Author: J.T. Conklin
Date: Thu, 10 Sep 1992 11:35
51 lines
1702 bytes
Fixed in enclosed patch:
1. Both <sys/time.h> and <time.h> need to be included for getdate.y

2. rindex and index are defined in <string.h>, so #undef them before
   redefining them.

Not fixed in patch:
1. complains about number of arguments of macro rindex()

2. won't link with provided malloc -- unresolved symbol etext --
   works with system malloc.

*** OLD/getdate.y	Thu Sep 10 17:40:56 1992
--- getdate.y	Thu Sep 10 17:44:26 1992
***************
*** 50,59 ****
--- 50,65 ----
  #else
  #include <sys/timeb.h>
  #endif	/* defined(USG) && !defined(HAVE_FTIME) */
+
  #if	defined(BSD4_2) || defined(BSD4_1C)
  #include <sys/time.h>
  #else
+ #if	defined(_AIX)
+ #include <sys/time.h>
  #include <time.h>
+ #else
+ #include <time.h>
+ #endif	/* defined(_AIX) */
  #endif	/* defined(BSD4_2) */
  #endif	/* defined(vms) */

*** OLD/port.h	Thu Sep 10 17:45:34 1992
--- port.h	Thu Sep 10 17:46:37 1992
***************
*** 98,104 ****
--- 98,110 ----
  #if !defined(__MSDOS__) && !defined(STDC_HEADERS)
  #include <memory.h>
  #endif
+ #ifdef index
+ #undef index
+ #endif
  #define index strchr
+ #ifdef rindex
+ #undef rindex
+ #endif
  #define rindex strrchr
  #define bcopy(s, d, n) memcpy(d, s, n)
  #define bzero(s, n) memset(s, 0, n)
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