Bug 140922 - coreutils ls -og output wrong
Summary: coreutils ls -og output wrong
Status: VERIFIED WORKSFORME
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: RC 4
Hardware: i586 Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 11:18 UTC by Jan Engelhardt
Modified: 2006-05-17 22:29 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Engelhardt 2005-12-23 11:18:29 UTC
For example run this:

12:17 shanghai:/usr/lib > ls -glo libGLcore.so.1.0.4496
-rwxr-xr-x  15060036 Jul 17  2003 libGLcore.so.1.0.4496

There is a space missing between the link count (1) and the filesize (5060036).
Comment 1 Andreas Schwab 2006-01-09 13:48:34 UTC
Works fine here no matter which locale.
Comment 2 Jan Engelhardt 2006-05-17 22:29:38 UTC
Since SUSE Linux 10.1 is out, I updated a patch I added to 5.93, and by chance I spotted the off-by-one bug causing this behavior. sizeof("abc") is not the same as strlen("abc"). Sigh.