Re: [Rpm-maint] lua extension API stability

2011-06-06 Thread Panu Matilainen
On 06/04/2011 11:16 AM, Ville Skyttä wrote: Hello, I'm considering using lua in some scriptlets, and noticed that while posix.symlink() currently exists in the posix extension included with rpm, it no longer exists in the current upstream version, there's a 3rd argument to posix.link() instead f

[Rpm-maint] Sigpipe handling in build/rpmfc.c

2011-06-06 Thread Michael Schroeder
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 s

Re: [Rpm-maint] Sigpipe handling in build/rpmfc.c

2011-06-06 Thread Panu Matilainen
On 06/06/2011 02:40 PM, Michael Schroeder wrote: Hi guys, what's the reason for the complex pipe handling with sigpipe_handler(), sigpipe_init() and sigpipe_finish()? The point was to make it more robust: a) use blocking io instead of spinning on a timeout that will inevitably be wrong for s