This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/198] if_indextoname() should return errno ENXIO when NULL


------- Additional Comments From dlstevens at us dot ibm dot com  2004-06-02 21:37 -------
Created an attachment (id=101)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=101&action=view)
proposed fix

I believe the following patch fixes the bug for Linux and non-Linux systems
that 
return ENODEV as errno from SIOCGIFNAME. It also fixes the non-SIOCGIFNAME
path where the search results in no interface, but currently does not set errno

at all (should be ENXIO there, too).

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=198

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]