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

Re: F11: Bug in sh-4.0 source build-in command

Dario Lesca <d lesca solinos it> writes:

> Il giorno lun, 03/08/2009 alle 20.55 +0200, Michal Schmidt ha scritto:
>> Not a bug. You're running bash in POSIX mode (probably you ran "sh").
>> In POSIX mode the current directory is not searched by the source
>> command. This is documented in the manpage.
> IMHO, this is a Bug.

>From <http://opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot>:

    Some older implementations searched the current directory for the
    file, even if the value of PATH disallowed it. This behavior was
    omitted from this volume of POSIX.1-2008 due to concerns about
    introducing the susceptibility to trojan horses that the user might
    be trying to avoid by leaving dot out of PATH.


Andreas Schwab, schwab redhat com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."

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