NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/57853: wc(1) fails to read files on pseudo-filesystems with the -c option



>Number:         57853
>Category:       bin
>Synopsis:       wc(1) fails to read files on pseudo-filesystems with the -c option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 14 16:40:00 +0000 2024
>Originator:     Ricardo Branco
>Release:        NetBSD 10.0_RC2
>Organization:
>Environment:
>Description:
wc(1) fails to read files on pseudo-filesystems with the -c option


>How-To-Repeat:
To reproduce:

```
$ wc -c /proc/cpuinfo
0
```
>Fix:
https://github.com/NetBSD/src/pull/22



Home | Main Index | Thread Index | Old Index