GNU bug report logs -
#19969
problem: wc -c doesn't read actual # of bytes in file
Previous Next
Reported by: Linda Walsh <coreutils <at> tlinx.org>
Date: Sat, 28 Feb 2015 09:00:03 UTC
Severity: normal
Tags: fixed
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 19969 <at> debbugs.gnu.org (full text, mbox):
On 02/03/15 21:29, Linda Walsh wrote:
>
>
> Jim Meyering wrote:
>>> As root:
>>> # cd /proc
>>> # find -H [^0-9]* -name self -prune -o -name thread-self -prune -o -type f !
>>> -name kmsg ! -name kcore ! -name kpagecount ! -name kpageflags -print0|wc -c
>>> --files0-from=- |sort -n
>>
>> Thanks for the report.
>> However, with wc from coreutils-8.23 and a 3.10 kernel, this is no
>> longer an issue.
> ---
>
> with coreutils 8.23 from suse 13.2 and uname:
>
> Linux Ishtar 3.18.5-Isht-Van #1 SMP PREEMPT Wed Feb 4 14:50:44 PST 2015 x86_64 x86_64 x86_64 GNU/Linux
>
> it is an issue. All the "/proc/sys" entries are still 0.
The issue will be addressed in 8.24:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.23-47-g2662702
You can build this locally and test just with the src/wc binary
without worrying about overwriting any packaged binaries.
Pádraig.
This bug report was last modified 6 years and 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.