DragonFly bugs List (threaded) for 2004-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
second small patch - was (Re: linuxulator problems in linux_socket.c (and friends))
Another bug in linux_socket.c.
kern_fcntl() needs a valid pointer to a fcntl_dat object.
Index: linux_socket.c
===================================================================
RCS file: /usr/dfly/repo/src/sys/emulation/linux/linux_socket.c,v
retrieving revision 1.15
retrieving revision 1.15.2.14
diff -b -B -r1.15 -r1.15.2.14
424a425
> union fcntl_dat dat = { 0 };
467c468
< kern_fcntl(*res, F_SETFL, 0);
---
> kern_fcntl(*res, F_SETFL, &dat);
Cheers,
Andrew.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]