Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76903 - progress-bar patch contains a non-breaking space instead of a normal one.
Summary: progress-bar patch contains a non-breaking space instead of a normal one.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-06 07:41 UTC by Nikolai Weibull
Modified: 2005-01-07 21:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that fixes the problem with the non-breaking space. (001_all_coreutils-gen-progress-bar.patch.patch,567 bytes, patch)
2005-01-06 08:06 UTC, Nikolai Weibull
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Weibull 2005-01-06 07:41:00 UTC
The progress-bar patch to the coreutils package included in the Gentoo set of patches against said package contains a non-breaking space (character code 160) instead of a normaal one.  The problem with this is that this code is very illegal in UTF-8 and most non-latin based (ISO8859) character sets.  Thus, this space should be replaced with a normal one (character code 32).

Reproducible: Always
Steps to Reproduce:
1. % LANG=en_us.UTF-8 cp --progress <large enough file> <destinaton>
2. 
3.

Actual Results:  
The output is corrupted, albeit not very badly.

Expected Results:  
The output should be fine.
Comment 1 Nikolai Weibull 2005-01-06 08:06:07 UTC
Created attachment 47764 [details, diff]
Patch that fixes the problem with the non-breaking space.

Simple fix for the problem.
Comment 2 SpanKY gentoo-dev 2005-01-07 21:27:02 UTC
fixed in 5.2.1-r4, thanks