From owner-freebsd-current Tue Nov 28 02:42:54 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA24525 for current-outgoing; Tue, 28 Nov 1995 02:42:54 -0800 Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id CAA24517 for ; Tue, 28 Nov 1995 02:42:47 -0800 Received: by Sysiphos id AA15437 (5.67b/IDA-1.5 for current@freebsd.org); Tue, 28 Nov 1995 11:41:29 +0100 Message-Id: <199511281041.AA15437@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Tue, 28 Nov 1995 11:41:28 +0100 In-Reply-To: -Vince- "select() and setrlimit() broken" (Nov 27, 16:13) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: -Vince- Subject: Re: select() and setrlimit() broken Cc: current@freebsd.org Sender: owner-current@freebsd.org Precedence: bulk On Nov 27, 16:13, -Vince- wrote: } Subject: select() and setrlimit() broken } } Does anyone know if select() and setrlimit() is broken in -CURRENT since } they don't behave the way they should as compared to every other UN*X } variant. Any info would be helpful. Thanks! Did you make sure you used the correct types for setrlimit ? int setrlimit(int resource, struct rlimit *rlp); struct rlimit { quad_t rlim_cur; /* current (soft) limit */ quad_t rlim_max; /* hard limit */ }; The two fields of this struct are unsigned long on most other systems ... Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se