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
View this message in rfc822 format
On Mon, Mar 2, 2015 at 1:29 PM, Linda Walsh <coreutils <at> tlinx.org> 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.
>
> Here's the output (with a some lines elided)...
>
>
> 0 mpt/summary
> 0 net/netfilter/nfnetlink_log
Correction: I was using wc from upstream git (coreutils-8.23.141), so as
Pádraig says, it will be fixed in 8.24.
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.