bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: one dependency too much


From: Bruno Haible
Subject: Re: one dependency too much
Date: Thu, 31 Dec 2009 01:27:05 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> According to Bruno Haible on 12/26/2009 11:59 AM:
> > * The dependency of dup2-tests on 'cloexec' could be removed if the
> >   relevant (small) part of the test would be enclosed in
> >      #ifdef GNULIB_CLOEXEC
> >   so that it is skipped if the cloexec module is not present. coreutils
> >   does include the 'cloexec' module, therefore at least the coreutils users
> >   will still have a 100% check of dup2.
> 
> Seems reasonable.  I'll push this.

Thanks. This is precisely what I had in mind too.

> > * The dependency of dup2-tests on 'open' can safely be removed because the
> >   file to be opened is "test-dup2.tmp", which does not trigger any of the
> >   problems listed in doc/posix-functions/open.texi.
> 
> No, the test also does 'open ("/dev/null",...)', which _does_ require the
> open module.

Oops, you're right. Yes.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]