search for: __set_errno

Displaying 2 results from an estimated 2 matches for "__set_errno".

2007 Apr 18
1
[Bridge] Little problem with 1.x versions (if_indextoname)
Hi, I have used bridge-utils 0.9.6 so far in a kernel 2.4.26, uClibc and ppc environment. When I use version 1.0.3 I have the problem that I do not see the brige with the 'brctl show' command if it is not fully set up. It was working with 0.9.6. I tracked the problem down to an 'incompatibility' in bridge/uClibc/kernel. 0.9.6 uses its own if_indextoname function which uses the
2006 Apr 04
0
Need help debugging (long)
...c:4896 #18 0x0833ad8a in reload_services (test=0) at smbd/server.c:545 #19 0x0833b712 in main (argc=4, argv=0xbfa8c544) at smbd/server.c:842 (gdb) list 25 26 27 int 28 iconv_close (iconv_t cd) 29 { 30 if (__builtin_expect (cd == (iconv_t *) -1L, 0)) 31 { 32 __set_errno (EBADF); 33 return -1; 34 } (gdb) Single stepping: Breakpoint 2, smb_iconv_close (cd=0x8412a28) at lib/iconv.c:315 315 if (cd->cd_direct) iconv_close((iconv_t)cd->cd_direct); (gdb) step Breakpoint 3, iconv_close (cd=0x8412a50) at iconv_close.c:30 30...