gcc.c (access_check): New static function.
authorIan Lance Taylor <ian@zembu.com>
Wed, 4 Aug 1999 07:45:10 +0000 (07:45 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 4 Aug 1999 07:45:10 +0000 (01:45 -0600)
commitca6062011d6bf45dbf4c2f9a7d12f671a58f50b7
tree89008bf231e3566bf6c5354c788a05cf2957f413
parent0c26b18a0dbb2225f7524b1c83f9d88ad1966bdc
gcc.c (access_check): New static function.

        * gcc.c (access_check): New static function.
        (find_a_file): Use it when searching a directory list.
        * collect2.c (find_a_file): Don't accept directories found when
        searching a directory list.

From-SVN: r28486
gcc/ChangeLog
gcc/collect2.c
gcc/gcc.c