diff -durpN zsh-3.0.6.orig/Src/builtin.c zsh-3.0.6/Src/builtin.c --- zsh-3.0.6.orig/Src/builtin.c Tue Jul 13 02:24:29 1999 +++ zsh-3.0.6/Src/builtin.c Wed Oct 27 20:31:31 1999 @@ -3997,6 +3997,9 @@ bin_ulimit(char *name, char **argv, char # ifdef RLIMIT_VMEM case RLIMIT_VMEM: # endif /* RLIMIT_VMEM */ +# ifdef RLIMIT_AIO_MEM + case RLIMIT_AIO_MEM: +# endif /* RLIMIT_AIO_MEM */ limit *= 1024; break; } @@ -4196,6 +4199,20 @@ printulimit(int lim, int hard, int head) printf("cached threads "); break; # endif /* RLIMIT_TCACHE */ + # ifdef RLIMIT_AIO_OPS + case RLIMIT_AIO_OPS: + if (head) + printf("AIO operations "); + break; + # endif /* RLIMIT_AIO_OPS */ + # ifdef RLIMIT_AIO_MEM + case RLIMIT_AIO_MEM: + if (head) + printf("AIO locked-in-memory (kb) "); + if (limit != RLIM_INFINITY) + limit /= 1024; + break; + # endif /* RLIMIT_AIO_MEM */ } /* display the limit */ if (limit == RLIM_INFINITY) diff -durpN zsh-3.0.6.orig/Src/rlimits.awk zsh-3.0.6/Src/rlimits.awk --- zsh-3.0.6.orig/Src/rlimits.awk Tue Apr 27 22:21:43 1999 +++ zsh-3.0.6/Src/rlimits.awk Wed Oct 27 20:29:14 1999 @@ -7,7 +7,7 @@ # BEGIN {limidx = 0} -/^[\t ]*(#[\t ]*define[\t _]*RLIMIT_[A-Z]*[\t ]*[0-9][0-9]*|RLIMIT_[A-Z]*,[\t ]*)/ { +/^[\t ]*(#[\t ]*define[\t _]*RLIMIT_[A-Z_]*[\t ]*[0-9][0-9]*|RLIMIT_[A-Z]*,[\t ]*)/ { limindex = index($0, "RLIMIT_") limtail = substr($0, limindex, 80) split(limtail, tmp) @@ -35,6 +35,8 @@ BEGIN {limidx = 0} if (limnam == "NPROC") { msg[limnum] = "maxproc" } if (limnam == "AS") { msg[limnum] = "addressspace" } if (limnam == "TCACHE") { msg[limnum] = "cachedthreads" } + if (limnam == "AIO_OPS") { msg[limnum] = "aiooperations" } + if (limnam == "AIO_MEM") { msg[limnum] = "aiomemorylocked" } } } } diff -durpN zsh-3.0.6.orig/config.log zsh-3.0.6/config.log --- zsh-3.0.6.orig/config.log Wed Oct 27 20:32:00 1999 +++ zsh-3.0.6/config.log Wed Dec 31 16:00:00 1969 @@ -1,4 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -configure:586: checking host system type Binary files zsh-3.0.6.orig/conftest and zsh-3.0.6/conftest differ