bug-bash
[Top][All Lists]
Advanced

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

Re: No such file or directory


From: Mike Frysinger
Subject: Re: No such file or directory
Date: Wed, 2 Jan 2013 12:27:42 -0500
User-agent: KMail/1.13.7 (Linux/3.7.1; KDE/4.6.5; x86_64; ; )

On Wednesday 02 January 2013 09:47:10 Roman Rakus wrote:
> On 01/02/2013 03:31 PM, Eric Blake wrote:
> > On 01/02/2013 07:28 AM, Michael Williamson wrote:
> >> Thanks for your explanation. Now I have another question.
> >> Why is the error message for ENOENT simply
> >> "No such file or directory", when the man page for execve
> >> has this complete description:
> >> "The file filename or a script or ELF interpreter does not exist,
> >>   or a shared library needed for file  or  interpreter  cannot  be
> >>   found."?
> > 
> > Because that's what strerror() in your libc reports.  It's not bash's
> > fault if libc produces a shorter message (correct in the common case)
> > than what the man pages says is possible in the more comprehensive case.
> 
> I think the best would be if kernel provides more informations.

that ship has already sailed
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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