[Bug 1612] Recent change to rtems/cpukit/libcsupport/src/freenode.c breaks socket use
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Sat Jul 10 17:33:28 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1612
--- Comment #5 from Joel Sherrill <joel.sherrill at oarcorp.com> 2010-07-10 12:33:28 CDT ---
OK.. This actually compiles.. so it has a better chance of fixing it. :)
Index: libcsupport/src/libio_sockets.c
===================================================================
RCS file: /usr1/CVS/rtems/cpukit/libcsupport/src/libio_sockets.c,v
retrieving revision 1.14
diff -u -r1.14 libio_sockets.c
--- libcsupport/src/libio_sockets.c 28 Jun 2010 23:12:10 -0000 1.14
+++ libcsupport/src/libio_sockets.c 10 Jul 2010 17:32:51 -0000
@@ -71,5 +71,7 @@
iop->data0 = fd;
iop->data1 = so;
iop->handlers = h;
+ /* All root filesystems should have a default freenode */
+ iop->handlers = rtems_filesystem_root.handlers;
return fd;
}
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list