bug-grep
[Top][All Lists]
Advanced

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

Re: grep . /; echo $?


From: Charles Levert
Subject: Re: grep . /; echo $?
Date: Fri, 4 Nov 2005 18:36:19 -0500
User-agent: Mutt/1.4.1i

* On Friday 2005-11-04 at 23:16:58 +0100, Benno Schulenberg wrote:
> @@ -187,7 +187,7 @@
>  suppressible_error (char const *mesg, int errnum)
>  {
>    if (! suppress_errors)
> -    error (0, errnum, "%s", mesg);
> +    error (0, errnum, "Cannot read %s", mesg);
>    errseen = 1;
>  }

That particular solution is not accurate in
systematically attributing the problem to a
read() error.
The suppressible_error() function is used after
errors from the read(), stat(), and open()
system calls, and from the savedir() function.




reply via email to

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