Re: ignored SIGPIPE (Darwin vs. cat)

2009-03-04 Thread Bruno Haible
Eric Blake wrote: > you can often write > tests in such a way that you can guarantee the reader will consume all > input until the writer has completed, rather than completing early, to > avoid the issue of whether SIGPIPE is ignored. I want to avoid the extra effort to inspect all unit tests one

Re: automake conditional for visibility?

2009-03-04 Thread Simon Josefsson
Bruno Haible writes: > * modules/visibility (Makefile.am): Augment AM_CFLAGS. > * gnulib-tool (func_emit_lib_Makefile_am): Emit initialization of > AM_CFLAGS. That is much better than my patch! Thank you. /Simon

Re: automake conditional for visibility?

2009-03-04 Thread Bruno Haible
Simon Josefsson wrote: > How about this patch? > +2009-03-04 Simon Josefsson > + > + * gnulib-tool (func_emit_lib_Makefile_am): When using the > + visibility module, add $(CFLAG_VISIBILITY) to AM_CFLAGS. This does not need special code in gnulib-tool; you can do it in the module des

Re: automake conditional for visibility?

2009-03-04 Thread Simon Josefsson
Bruno Haible writes: > Simon Josefsson wrote: >> However, one question. The document says: >> >> 1. Add `...@cflag_visibility@' or (in a Makefile.am) >> `$(CFLAG_VISIBILITY)' to the CFLAGS for the compilation of the >> sources that make up the library. >> >> Does this include sourc

Re: chmod failing with EPERM and PRIV_ALL needed

2009-03-04 Thread David Bartley
On Tue, Mar 3, 2009 at 9:08 AM, Jim Meyering wrote: > > Thanks for the report.  I read Casper's reply. > > That function removes PRIV_SYS_LINKDIR for the sake of security. > Without it, there's a guaranteed race condition that may lead to > unlinking a non-empty directory. > > It's ironic that Sol