[Bug 1612] Recent change to rtems/cpukit/libcsupport/src/freenode.c breaks socket use

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jul 14 15:30:50 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1612

Sebastian Huber <sebastian.huber at embedded-brains.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian.huber at embedded-br
                   |                            |ains.de

--- Comment #14 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-07-14 10:30:49 CDT ---
This is not a problem the NULL as handlers.  The problem is that the handler
and ops table in pathinfo is NULL.  This is clear since sockets are not part of
the file system and thus have not path information.  The suggested fix is
brittle.  Can we rely an arbitrary root file system freenode handler? I see two
ways to fix this:

1. Provide a handler and ops table with default handlers.
2. Fix rtems_filesystem_freenode() such that it can cope with a NULL ops table.

I prefer 1.

-- 
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