[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19969: problem: wc -c doesn't read actual # of bytes in file
From: |
Pádraig Brady |
Subject: |
bug#19969: problem: wc -c doesn't read actual # of bytes in file |
Date: |
Mon, 02 Mar 2015 21:44:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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.