Hi guys, what's the reason for the complex pipe handling with sigpipe_handler(), sigpipe_init() and sigpipe_finish()?
IMHO aborting the read when a SIGCHLD occurs is wrong, as the pipe may still contain unread data (and data is only read in sizeof(buf)-1 chunks). Wouldn't it make more sense to simply ignore SIGCHLD and read until an EOF is returned, i.e. the read returns zero bytes? Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint