In Linux 2.0.2, an __FDSET_INTS was forgotten in
include/asm-i386/posix_types.h
I included a patch below which corrects this.
Without this, the macro FD_ZERO is unusable.
Guilhem.
--- cut here ------------
--- linux/include/asm-i386/posix_types.h.old Fri Jul 5 19:16:56 1996
+++ linux/include/asm-i386/posix_types.h Fri Jul 5 19:17:04 1996
@@ -57,7 +57,7 @@
#define __FD_ZERO(fdsetp) \
__asm__ __volatile__("cld ; rep ; stosl" \
:"=m" (*(__kernel_fd_set *) (fdsetp)) \
- :"a" (0), "c" (__FDSET_INTS), \
+ :"a" (0), "c" (__FDSET_LONGS), \
"D" ((__kernel_fd_set *) (fdsetp)) :"cx","di")
#endif
--- cut here ------------
-- -----------------------------------| | /-\ LAVAUX Yves & Guilhem | | / \ /-\ | |-/ \ / \ /------------| | \ / \-/ | | \-/ ylavaux@pratique.fr | -----------------------------------|