Bugfix for previous patch to simplify configuration checks for ulimit builtin

darcs-hash:20060526111934-ac50b-ae9e85cd3e18994d2c56c2f6c69df6a1d93f9ea6.gz
This commit is contained in:
axel 2006-05-26 21:19:34 +10:00
parent 29e86254d0
commit 18a59291ed

View file

@ -379,13 +379,13 @@ int builtin_ulimit( wchar_t ** argv )
case L'f': case L'f':
what=RLIMIT_FSIZE; what=RLIMIT_FSIZE;
break; break;
#if HAVE_RLIMIT_MEMLOCK #ifdef RLIMIT_MEMLOCK
case L'l': case L'l':
what=RLIMIT_MEMLOCK; what=RLIMIT_MEMLOCK;
break; break;
#endif #endif
#if HAVE_RLIMIT_RSS #ifdef RLIMIT_RSS
case L'm': case L'm':
what=RLIMIT_RSS; what=RLIMIT_RSS;
break; break;
@ -403,13 +403,13 @@ int builtin_ulimit( wchar_t ** argv )
what=RLIMIT_CPU; what=RLIMIT_CPU;
break; break;
#if HAVE_RLIMIT_NPROC #ifdef RLIMIT_NPROC
case L'u': case L'u':
what=RLIMIT_NPROC; what=RLIMIT_NPROC;
break; break;
#endif #endif
#if HAVE_RLIMIT_AS #ifdef RLIMIT_AS
case L'v': case L'v':
what=RLIMIT_AS; what=RLIMIT_AS;
break; break;