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

Re: zsh-3.0-pre3 and AIX 4.X



Bill Pemberton wrote:
> However, I ran into a bit of a problem building it on AIX 4.2.  In the
> compile for builtin.c I get the message:
> 
> "builtin.c", line 3596.5: 1506-205 (S) there are some unknown limits.  Fix me!

Bill sent me his /usr/include/sys/resources.h so the patch below should fix
that problem.  Please try it.

Zoltan


*** Src/builtin.c	1996/07/14 18:47:08	2.60
--- Src/builtin.c	1996/07/19 15:44:36
***************
*** 3592,3597 ****
--- 3592,3602 ----
  #  define NEXT_RLIM (RLIMIT_AS + 1)
      "addressspace",
  # endif /* RLIMIT_AS */
+ # if defined RLIMIT_NOFILE && RLIMIT_NOFILE == NEXT_RLIM
+ #  undef NEXT_RLIM
+ #  define NEXT_RLIM (RLIMIT_NOFILE + 1)
+     "descriptors",
+ # endif /* RLIMIT_NOFILE */
  # if NEXT_RLIM != RLIM_NLIMITS
     #error there are some unknown limits.  Fix me!
  # endif




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