--- /dev/null
+commit 561198ab2fa5a09661e1570d1d463d8079814432
+Author: Ian Lance Taylor <ian@airs.com>
+Date: Sun Jul 3 04:16:13 2011 +0000
+
+ * dirsearch.cc (Dir_cache::read_files): Ignore ENOTDIR errors.
+
+diff --git a/gold/dirsearch.cc b/gold/dirsearch.cc
+index a149db5..1ae2055 100644
+--- a/gold/dirsearch.cc
++++ b/gold/dirsearch.cc
+@@ -66,8 +66,9 @@ Dir_cache::read_files()
+ DIR* d = opendir(this->dirname_);
+ if (d == NULL)
+ {
+- // We ignore directories which do not exist.
+- if (errno != ENOENT)
++ // We ignore directories which do not exist or are actually file
++ // names.
++ if (errno != ENOENT && errno != ENOTDIR)
+ gold::gold_error(_("%s: can not read directory: %s"),
+ this->dirname_, strerror(errno));
+ return;
Summary(uk.UTF-8): Набір інструментів GNU для побудови виконуваних програм
Name: binutils
Version: 2.21.52.0.2
-Release: 3
+Release: 4
Epoch: 3
License: GPL v3+
Group: Development/Tools
Patch7: %{name}-libtool-m.patch
Patch8: %{name}-build-id.patch
Patch9: %{name}-tooldir.patch
+Patch10: %{name}-git.patch
URL: http://sources.redhat.com/binutils/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
%patch7 -p1
%patch8 -p0
%patch9 -p1
+%patch10 -p1
# file contains hacks for ac 2.59 only
%{__rm} config/override.m4