On Tue, Apr 03, 2012 at 02:51:46PM +0200, Karel Zak wrote: > On Thu, Mar 29, 2012 at 06:45:12PM +0200, Petr Uzel wrote: > > + if (pidfile_path) { > > + sprintf(reply_buf, "%8d\n", getpid()); > > + if (ftruncate(fd_pidfile, 0)) { > > + /* Silence warn_unused_result */ > > + } > > #include "c.h" > > ignore_result( ftruncate(fd_pidfile, 0) ); I'll change this in v2. Thanks Petr -- Petr Uzel IRC: ptr_uzl @ freenode
Attachment:
pgpqQNULzP76U.pgp
Description: PGP signature