bug-gnulib
[Top][All Lists]
Advanced

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

Re: test results on NetBSD 7.0


From: Bruno Haible
Subject: Re: test results on NetBSD 7.0
Date: Wed, 16 Aug 2017 20:32:41 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-91-generic; KDE/5.18.0; x86_64; ; )

Hi Paul,

> That test is too strict, as it rejects the NetBSD 7 behavior.  I installed 
> the 
> attached, to try to fix this.

I confirm that it works fine:

  * On NetBSD 7.0, configure finds that
      checking whether rename manages hard links correctly... yes
    and so REPLACE_RENAME = 0 and REPLACE_RENAMEAT = 0.
    And the rename/renameat tests pass.

  * On Cygwin 1.5.25, configure find that
      checking whether rename manages hard links correctly... no
    (because the test program exited with code 8),
    and so REPLACE_RENAME = 1 and HAVE_RENAMEAT = 0.
    And the rename/renameat tests pass.

> ... that test. As its comment says, it 
> attempts to detect a bug with rename("a","b") setting st_nlink incorrectly 
> when 
> "a" and "b" are hard links to the same file. This bug is somewhat independent 
> of 
> the issue we're talking about.

But the test program does not call stat(), nor does it test st_nlink.
Still confused...

Bruno




reply via email to

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