bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug#158957: fileutils: stat does not return errors


From: Paul Eggert
Subject: Re: Bug#158957: fileutils: stat does not return errors
Date: Wed, 08 Sep 2004 15:53:26 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

It might be worth mentioning that "stat" exit status bug was fixed in
a different way in CVS coreutils, I think in the 2004-08-03 patch.  At
least I don't observe the bug now.  Here's a brief summary of that
patch and a URL:

2004-08-03  Paul Eggert  <address@hidden>

        * src/stat.c (G_fail): Remove.
        (print_statfs): Print various gotta-be-nonnegative values using
        unsigned long int, not long int or int.
        (do_statfs, do_stat): Return a boolean success flag.
        (do_stat, main): Use bool for booleans.

http://savannah.gnu.org/cgi-bin/viewcvs/coreutils/coreutils/src/stat.c.diff?r1=text&tr1=1.72&r2=text&tr2=1.73&diff_format=u




reply via email to

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