home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!math.fu-berlin.de!pyrrhus.hrz.tu-chemnitz.de!hrz.tu-chemnitz.de!jpo
- From: jpo@kappa.informatik.tu-chemnitz.de (Joerg Pommnitz)
- Newsgroups: comp.os.linux
- Subject: Bug in linux include file ?
- Date: 4 Jan 1993 18:21:09 +0100
- Organization: University of Technology Chemnitz, FRG
- Lines: 22
- Message-ID: <jpo.726167655@hrz.tu-chemnitz.de>
- NNTP-Posting-Host: kappa.informatik.tu-chemnitz.de
- Summary: possible bug in linux includes
- Keywords: struct fdset changed but macros not ?
-
- A few kernel releases before the max number of open
- files changed to 256.
-
- This influenced the select sys-call. The type fd_set is
- now defined as
-
- typedef struct fd_set {
- unsigned long fds_bits [__FDSET_LONGS];
- } fd_set;
-
- where __FDSET_LONGS is 8.
-
- There are a few macros to handle this type (FD_SET,
- FD_CLR, ...).
-
- But I think these macros havn't changed ! They still
- use a single 386 machine instruction to clear/set bits.
-
- I think this is wrong.
- Any comments ?
-
- Joerg
-