[Bug 276093] wc(1) fails to read files on pseudo-filesystems with the -c option

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Jan 2024 11:18:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276093

            Bug ID: 276093
           Summary: wc(1) fails to read files on pseudo-filesystems with
                    the -c option
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rbranco@suse.com

To reproduce:

```
$ wc -c /compat/linux/proc/cpuinfo
0
```

Fix available at https://github.com/freebsd/freebsd-src/pull/985

-- 
You are receiving this mail because:
You are the assignee for the bug.