bug-bash
[Top][All Lists]
Advanced

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

Re: feature request: file_not_found_handle()


From: Greg Wooledge
Subject: Re: feature request: file_not_found_handle()
Date: Tue, 20 Aug 2013 11:02:24 -0400
User-agent: Mutt/1.4.2.3i

On Tue, Aug 20, 2013 at 05:48:12PM +0300, Aharon Robbins wrote:
> In article <mailman.403.1376999138.10748.bug-bash@gnu.org> you write:
> >1) PATH is used by the kernel (exec family) to determine how commands are
> >   executed.  The way PATH is used by the kernel is not likely to change.
> >   Having the shell treat it differently would lead to confusion.
> 
> Actually, PATH searching is implemented in the C library and always
> has been; there is only one real system call.  The confusion likely arises
> from the traditional practice of documenting all the exec calls on the
> same manpage.

Oh, really?  That's very misleading and confusing.

HP-UX 10.20 exec(2) says:

  The exec*() system calls, in all their forms, ...

So that's a complete lie, I guess.  (And they do appear to be defined in
/lib/libc.a if I'm reading the output of nm correctly.)



reply via email to

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