Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: pre1 on hpux bug



>- # ifdef __hpux
>- /* HPUX does have the BSD rlimits in the kernel.  Officially they are *
>-  * unsupported but quite a few of them like RLIMIT_CORE seem to work. *
>-  * All the following are in the <sys/resource.h> but made visible     *
>-  * only for the kernel.                                               */

>Note that all these definitions are in <sys/resource.h>, but with
>RLIMIT_AS added and RLIM_NLIMITS defined to 8.

Maybe that #ifdef should merely be changed to "#if defined(__hpux) &&
!defined(RLIM_NLIMITS)".

-zefram




Messages sorted by: Reverse Date, Date, Thread, Author