[Xorp-hackers] Assert in recent cvs

Pavlin Radoslavov pavlin at ICSI.Berkeley.EDU
Tue Oct 21 17:28:33 PDT 2008


> Ben,
> 
> Could you try the following patch.
> It basically gets rid of the SIGPIPE handling and uses
> "signal(SIGPIPE, SIG_IGN)" to completely ignore SIGPIPE inside the
> EventLoop constructor.
> Instead of dealing with SIGPIPE, we handle error conditions by
> using the return error code.

Patch committed to CVS:

Revision  Changes                               Path
1.28      +1 -4;  commitid: 7b5d48fe72eb41a7;   xorp/libxipc/finder_main.cc
1.46      +9 -36;  commitid: 7b5d48fe72eb41a7;  xorp/libxorp/asyncio.cc
1.35      +1 -4;  commitid: 7b5d48fe72eb41a7;   xorp/libxorp/asyncio.hh
1.47      +10 -1;  commitid: 7b5d48fe72eb41a7;  xorp/libxorp/eventloop.cc
1.75      +1 -12;  commitid: 7b5d48fe72eb41a7;  xorp/rtrmgr/xorpsh_main.cc


Scream loudly if it breaks things for you.

Pavlin



More information about the Xorp-hackers mailing list