Package: pdksh Version: 5.2.14-18 Severity: wishlist The code in c_ulimit.c seem to intend to work when RLIMIT_LOCKS is not defined:
#ifdef RLIMIT_LOCKS { "flocks", RLIMIT, RLIMIT_LOCKS, RLIMIT_LOCKS, -1, 'L' }, #endif However, later in the code it's used unconditionaly: if ( getreturn < 0 ) { if ( ( errno == EINVAL ) && ( l->gcmd == RLIMIT_LOCKS ) ) { Systems using BSD kernels (like GNU/kFreeBSD) don't have this macro (either because there is no limit, or because it can't be checked, I'm not sure). Please could you forward this to upstream? -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: kfreebsd-i386 (i686) Kernel: GNU/kFreeBSD 5.3-9 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]