GNU bug report logs - #39364
[PATCH] rmdir: fix clobbered errno

Previous Next

Package: coreutils;

Reported by: Matthew Pfeiffer <spferical <at> gmail.com>

Date: Fri, 31 Jan 2020 02:21:02 UTC

Severity: normal

Tags: patch

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Jim Meyering <jim <at> meyering.net>, Pádraig Brady <P <at> draigbrady.com>
Cc: 39364 <at> debbugs.gnu.org, Matthew Pfeiffer <spferical <at> gmail.com>
Subject: bug#39364: [PATCH] rmdir: fix clobbered errno
Date: Sun, 2 Feb 2020 14:11:18 +0100

On 2020-02-02 07:32, Jim Meyering wrote:
> FTR, here's a minimal test addition that exercises the bug. Succeeds
> on 6.10, fails on 6.11:

Minor tweak for the test ...

-rmdir --ignore-fail-on-non-empty x/y && fail=1
+returns_ 1 rmdir --ignore-fail-on-non-empty x/y || fail=1


... due to:

  tests/rmdir/ignore.sh:36:rmdir --ignore-fail-on-non-empty x/y && fail=1
  maint.mk: && fail=1 detected. Please use: returns_ 1 ... || fail=1
  make: *** [cfg.mk:516: sc_prohibit_and_fail_1] Error 1

Thanks & have a nice day,
Berny




This bug report was last modified 5 years and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.