Re: Kernel 2.0.2 (possibly earlier?): Bug in FD_ZERO()

Bryn Paul Arnold Jones (bpaj@gytha.demon.co.uk)
Sat, 6 Jul 1996 13:10:25 +0100 (BST)


On Fri, 5 Jul 1996, Horst von Brand wrote:

UNIFIED DIFFS ONLY PLEASE, they are shorter, and easer to read.
Bryn

> *** linux/include/asm/posix_types.h~ Tue Jul 2 12:08:43 1996
> --- linux/include/asm/posix_types.h Fri Jul 5 22:04:26 1996
> ***************
> *** 57,63 ****
> #define __FD_ZERO(fdsetp) \
> __asm__ __volatile__("cld ; rep ; stosl" \
> :"=m" (*(__kernel_fd_set *) (fdsetp)) \
> ! :"a" (0), "c" (__FDSET_INTS), \
> "D" ((__kernel_fd_set *) (fdsetp)) :"cx","di")
>
> #endif
> --- 57,63 ----
> #define __FD_ZERO(fdsetp) \
> __asm__ __volatile__("cld ; rep ; stosl" \
> :"=m" (*(__kernel_fd_set *) (fdsetp)) \
> ! :"a" (0), "c" (__FDSET_LONGS), \
> "D" ((__kernel_fd_set *) (fdsetp)) :"cx","di")
>
> #endif

--
PGP key pass phrase forgotten,   \ Overload -- core meltdown sequence 
again :(                          |            initiated.
                                 / This space is intentionally left   
                                |  blank, apart from this text ;-)
                                 \____________________________________