You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/11/21 19:25:50 UTC

HPUX 10 patch


----- Forwarded message from Paul Ginsparg 505-667-7353 -----

Date: Wed, 20 Nov 1996 22:16:27 -0700 (MST)
From: Paul Ginsparg 505-667-7353 <gi...@qfwfq.lanl.gov>
Message-Id: <19...@qfwfq.lanl.gov>
Subject: Re: apache timeout
Cc: robh@imdb.com

i had to comment out the 2nd occurrence of "typedef int rlim_t"
in conf.h due to conflict (actually i'd already mentioned this to rob):

diff -c conf.h conf.h.orig
***************
*** 111,117 ****
  #endif
  #define JMP_BUF sigjmp_buf
  #define HAVE_MMAP
! /*typedef int rlim_t;*/
  
  #elif defined(AIX)
  #undef HAVE_GMTOFF
--- 111,117 ----
  #endif
  #define JMP_BUF sigjmp_buf
  #define HAVE_MMAP
! typedef int rlim_t;
  
  #elif defined(AIX)
  #undef HAVE_GMTOFF

----- End of forwarded message from Paul Ginsparg 505-667-7353 -----


Here's a patch that preserves the typedef for hpux 9.x
Anyone out there able to do a sanity check with hpux 9 and/or 10 ?


*** /usr/local/httpd/apache_1.2-dev-961108/src/conf.h.orig	Thu Nov 21 18:21:51 1996
--- /usr/local/httpd/apache_1.2-dev-961108/src/conf.h	Thu Nov 21 18:22:11 1996
***************
*** 106,115 ****
  #endif
  #ifndef HPUX10
  #define getwd(d) getcwd(d,MAX_STRING_LEN)
  #endif
  #define JMP_BUF sigjmp_buf
  #define HAVE_SHMGET
- typedef int rlim_t;
  
  #elif defined(AIX)
  #undef HAVE_GMTOFF
--- 106,115 ----
  #endif
  #ifndef HPUX10
  #define getwd(d) getcwd(d,MAX_STRING_LEN)
+ typedef int rlim_t;
  #endif
  #define JMP_BUF sigjmp_buf
  #define HAVE_SHMGET
  
  #elif defined(AIX)
  #undef HAVE_GMTOFF



Re: HPUX 10 patch

Posted by Marc Slemko <ma...@znep.com>.
rlim_t does not exist as a type on AIX 4.1.x, so a typedef is also needed
there to make it compile.

On Sat, 23 Nov 1996, Brian Behlendorf wrote:

> 
> One of our customers complained about this too, and it's been in the bug
> database.  I've implemented a patch to conf.h to only set this if HPUX10 is
> undef'd.
> 
> 	Brian
> 
> On Thu, 21 Nov 1996, Rob Hartill wrote:
> > ----- Forwarded message from Paul Ginsparg 505-667-7353 -----
> > 
> > Date: Wed, 20 Nov 1996 22:16:27 -0700 (MST)
> > From: Paul Ginsparg 505-667-7353 <gi...@qfwfq.lanl.gov>
> > Message-Id: <19...@qfwfq.lanl.gov>
> > Subject: Re: apache timeout
> > Cc: robh@imdb.com
> > 
> > i had to comment out the 2nd occurrence of "typedef int rlim_t"
> > in conf.h due to conflict (actually i'd already mentioned this to rob):
> > 
> > diff -c conf.h conf.h.orig
> > ***************
> > *** 111,117 ****
> >   #endif
> >   #define JMP_BUF sigjmp_buf
> >   #define HAVE_MMAP
> > ! /*typedef int rlim_t;*/
> >   
> >   #elif defined(AIX)
> >   #undef HAVE_GMTOFF
> > --- 111,117 ----
> >   #endif
> >   #define JMP_BUF sigjmp_buf
> >   #define HAVE_MMAP
> > ! typedef int rlim_t;
> >   
> >   #elif defined(AIX)
> >   #undef HAVE_GMTOFF
> > 
> > ----- End of forwarded message from Paul Ginsparg 505-667-7353 -----
> > 
> > 
> > Here's a patch that preserves the typedef for hpux 9.x
> > Anyone out there able to do a sanity check with hpux 9 and/or 10 ?
> > 
> > 
> > *** /usr/local/httpd/apache_1.2-dev-961108/src/conf.h.orig	Thu Nov 21 18:21:51 1996
> > --- /usr/local/httpd/apache_1.2-dev-961108/src/conf.h	Thu Nov 21 18:22:11 1996
> > ***************
> > *** 106,115 ****
> >   #endif
> >   #ifndef HPUX10
> >   #define getwd(d) getcwd(d,MAX_STRING_LEN)
> >   #endif
> >   #define JMP_BUF sigjmp_buf
> >   #define HAVE_SHMGET
> > - typedef int rlim_t;
> >   
> >   #elif defined(AIX)
> >   #undef HAVE_GMTOFF
> > --- 106,115 ----
> >   #endif
> >   #ifndef HPUX10
> >   #define getwd(d) getcwd(d,MAX_STRING_LEN)
> > + typedef int rlim_t;
> >   #endif
> >   #define JMP_BUF sigjmp_buf
> >   #define HAVE_SHMGET
> >   
> >   #elif defined(AIX)
> >   #undef HAVE_GMTOFF
> > 
> > 
> > 
> > 
> 
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS
> 


Re: HPUX 10 patch

Posted by Brian Behlendorf <br...@organic.com>.
One of our customers complained about this too, and it's been in the bug
database.  I've implemented a patch to conf.h to only set this if HPUX10 is
undef'd.

	Brian

On Thu, 21 Nov 1996, Rob Hartill wrote:
> ----- Forwarded message from Paul Ginsparg 505-667-7353 -----
> 
> Date: Wed, 20 Nov 1996 22:16:27 -0700 (MST)
> From: Paul Ginsparg 505-667-7353 <gi...@qfwfq.lanl.gov>
> Message-Id: <19...@qfwfq.lanl.gov>
> Subject: Re: apache timeout
> Cc: robh@imdb.com
> 
> i had to comment out the 2nd occurrence of "typedef int rlim_t"
> in conf.h due to conflict (actually i'd already mentioned this to rob):
> 
> diff -c conf.h conf.h.orig
> ***************
> *** 111,117 ****
>   #endif
>   #define JMP_BUF sigjmp_buf
>   #define HAVE_MMAP
> ! /*typedef int rlim_t;*/
>   
>   #elif defined(AIX)
>   #undef HAVE_GMTOFF
> --- 111,117 ----
>   #endif
>   #define JMP_BUF sigjmp_buf
>   #define HAVE_MMAP
> ! typedef int rlim_t;
>   
>   #elif defined(AIX)
>   #undef HAVE_GMTOFF
> 
> ----- End of forwarded message from Paul Ginsparg 505-667-7353 -----
> 
> 
> Here's a patch that preserves the typedef for hpux 9.x
> Anyone out there able to do a sanity check with hpux 9 and/or 10 ?
> 
> 
> *** /usr/local/httpd/apache_1.2-dev-961108/src/conf.h.orig	Thu Nov 21 18:21:51 1996
> --- /usr/local/httpd/apache_1.2-dev-961108/src/conf.h	Thu Nov 21 18:22:11 1996
> ***************
> *** 106,115 ****
>   #endif
>   #ifndef HPUX10
>   #define getwd(d) getcwd(d,MAX_STRING_LEN)
>   #endif
>   #define JMP_BUF sigjmp_buf
>   #define HAVE_SHMGET
> - typedef int rlim_t;
>   
>   #elif defined(AIX)
>   #undef HAVE_GMTOFF
> --- 106,115 ----
>   #endif
>   #ifndef HPUX10
>   #define getwd(d) getcwd(d,MAX_STRING_LEN)
> + typedef int rlim_t;
>   #endif
>   #define JMP_BUF sigjmp_buf
>   #define HAVE_SHMGET
>   
>   #elif defined(AIX)
>   #undef HAVE_GMTOFF
> 
> 
> 
> 

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS