Bug 107786 - brp-compress doesn't handle whitespace in file names
Summary: brp-compress doesn't handle whitespace in file names
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-23 02:28 UTC by Marcus Harnisch
Modified: 2007-04-18 16:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-18 17:01:15 UTC
Embargoed:


Attachments (Terms of Use)
Patch to brp-compress (216 bytes, patch)
2003-10-23 02:31 UTC, Marcus Harnisch
no flags Details | Diff

Description Marcus Harnisch 2003-10-23 02:28:20 UTC
Description of problem:

If man-pages contain whitespace (ASCII 32 in particular), brp-compress screws up
due to shell-expansion.

Version-Release number of selected component (if applicable): 4.1

How reproducible: Install openssl (or any man-page containing whitespace) and
run brp-compress over the installation directory.

Steps to Reproduce:
1. Install openssl using their standard Makefile
2. run brp-compress over the installation directory
3. Look at the funny links created.

Actual results:
Weird links resulting from shell's word splitting

Expected results:
Correct links

Additional info:

Comment 1 Marcus Harnisch 2003-10-23 02:31:54 UTC
Created attachment 95412 [details]
Patch to brp-compress

Consider rewriting brp-compress in Perl. RPM is using Perl
in other places anyway.

Comment 2 Marcus Harnisch 2003-10-23 02:33:48 UTC
The patch above doesn't fix all possible problems. It should just take care of
space characters (ASCII 32) in filenames.


Comment 3 Bill Nottingham 2006-08-07 19:42:55 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
http://www.redhat.com/rhel/migrate/redhatlinux/.

Red Hat apologizes that these issues have not been resolved yet. We do
want to make sure that no important bugs slip through the cracks.
Please check if this issue is still present in a current Fedora Core
release. If so, please change the product and version to match, and
check the box indicating that the requested information has been
provided. Note that any bug still open against Red Hat Linux on will be
closed as 'CANTFIX' on September 30, 2006. Thanks again for your help.


Comment 4 Bill Nottingham 2006-10-18 17:01:15 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
http://www.redhat.com/rhel/migrate/redhatlinux/.

Closing as CANTFIX.


Note You need to log in before you can comment on or make changes to this bug.