2008/5/20  <[EMAIL PROTECTED]>:
> Hi Shawn,
> Is this wad complete?
>
> I took a look at the src/modules/client directory and there are a bunch
> of Python files that use print to output error messages too.  Presumably
> you want to wrap these to avoid the broken pipe problem too?
>
> I also found that the driver action in src/modules/actions seems to
> print when it encounters errors.
>
> It may be worthwhile to take this SIGPIPE error handling out of the
> client and put it in some common module that can be used by both the
> client and the server.  At least if we need to wrap modules that are
> used by both components.
>

The wad is complete, and in my testing, I didn't run into other cases
where it was an issue.

However, I can see the need to create a common set of wrapper
functions for messaging and changing *all* the client modules to deal
with it as well.

I'll work on that later tonight.

Cheers,
-- 
Shawn Walker

"To err is human -- and to blame it on a computer is even more so." -
Robert Orben
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to