GNU bug report logs - #77800
grep-3.12: write-error-msg test failure on fedora rawhide (f43)

Previous Next

Package: grep;

Reported by: Jaroslav Škarvada <jskarvad <at> redhat.com>

Date: Mon, 14 Apr 2025 12:56:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #62 received at 77800 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>, Grisha Levit <grishalevit <at> gmail.com>,
 bug-gnulib <at> gnu.org
Cc: Jaroslav Škarvada <jskarvad <at> redhat.com>,
 Paul Eggert <eggert <at> cs.ucla.edu>, jackson <at> fastmail.fm,
 Pádraig Brady <P <at> draigbrady.com>, 77800 <at> debbugs.gnu.org
Subject: Re: bug#77800: grep-3.12: write-error-msg test failure on fedora
 rawhide (f43)
Date: Fri, 18 Apr 2025 13:05:53 +0200
Pádraig Brady wrote:
>   bs=0
>   ws=4095: printf: write error
>   ws=4096: printf: write error
>   ws=4097: printf: write error
>   bs=4096
>   ws=4095: printf: write error: No space left on device
>   ws=4096: printf: write error
>   ws=4097: printf: write error
>   bs=8192
>   ws=4095: printf: write error: No space left on device
>   ws=4096: printf: write error: No space left on device
>   ws=4097: printf: write error: No space left on device

Yep. There are cases where the errno value gets lost (due to the ISO C
standard, and even in glibc the errno value gets lost in such cases).

For the user, both messages are nearly equivalent, since a full disk
is the most likely reason for a write error.

> It might be appropriate instead to just not look for the specific ENOSPC error.

+1

Bruno







This bug report was last modified 7 days ago.

Previous Next


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