diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/files/better_file_error.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/files/better_file_error.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/meta/recipes-devtools/binutils/files/better_file_error.patch b/meta/recipes-devtools/binutils/files/better_file_error.patch deleted file mode 100644 index 38ef52966e..0000000000 --- a/meta/recipes-devtools/binutils/files/better_file_error.patch +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | diff -urN binutils-2.11.92.0.5/bfd/opncls.c binutils-2.11.92.0.5.new/bfd/opncls.c | ||
2 | --- binutils-2.11.92.0.5/bfd/opncls.c Mon Oct 1 18:25:21 2001 | ||
3 | +++ binutils-2.11.92.0.5.new/bfd/opncls.c Sat Oct 13 11:26:59 2001 | ||
4 | @@ -127,6 +127,13 @@ | ||
5 | { | ||
6 | bfd *nbfd; | ||
7 | const bfd_target *target_vec; | ||
8 | + struct stat s; | ||
9 | + | ||
10 | + if (stat (filename, &s) == 0) | ||
11 | + if (S_ISDIR(s.st_mode)) { | ||
12 | + bfd_set_error (bfd_error_file_not_recognized); | ||
13 | + return NULL; | ||
14 | + } | ||
15 | |||
16 | nbfd = _bfd_new_bfd (); | ||
17 | if (nbfd == NULL) | ||