Mageia Bugzilla – Attachment 864 Details for
Bug 2877
check_elf_files fails with filenames containing parentheses
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
A patch that solve this bug
check_elf_files.patch (text/plain), 422 bytes, created by
Matteo Pasotti
on 2011-09-30 09:33:58 CEST
(
hide
)
Description:
A patch that solve this bug
Filename:
MIME Type:
Creator:
Matteo Pasotti
Created:
2011-09-30 09:33:58 CEST
Size:
422 bytes
patch
obsolete
>--- /usr/share/spec-helper/check_elf_files.orig 2011-09-30 00:10:33.644550738 +0200 >+++ /usr/share/spec-helper/check_elf_files 2011-09-30 00:09:02.980027748 +0200 >@@ -46,7 +46,7 @@ > # TODO: we should write a binding for libfile... > sub expensive_test { > my ($file) = @_; >- my $type = `file -- $file`; >+ my $type = `file -- "${file}"`; > } > > # Check if a file is an elf binary, shared library, or static library,
--- /usr/share/spec-helper/check_elf_files.orig 2011-09-30 00:10:33.644550738 +0200 +++ /usr/share/spec-helper/check_elf_files 2011-09-30 00:09:02.980027748 +0200 @@ -46,7 +46,7 @@ # TODO: we should write a binding for libfile... sub expensive_test { my ($file) = @_; - my $type = `file -- $file`; + my $type = `file -- "${file}"`; } # Check if a file is an elf binary, shared library, or static library,
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2877
: 864