[Bug 202424] [regression] fetch(1) reports "0 B 0 Bps" in the logs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 18 19:50:03 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202424

            Bug ID: 202424
           Summary: [regression] fetch(1) reports "0 B 0 Bps" in the logs
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: danfe at FreeBSD.org
          Keywords: regression

I've observed that with newer FreeBSD releases, fetch(1) would leave bogus
transfer statistics in the logs (that is, when it's being redirected):

> $ uname -rms
> FreeBSD 11.0-CURRENT i386
> $ fetch http://homehost/somefile >& log
> $ cat log 
> somefile                                                 0  B    0  Bps

Same happens on 10.X releases.  While on 8.4, the output correctly lists file
length and transfer speed:

> $ uname -rms
> FreeBSD 8.4-STABLE i386
> $ fetch http://homehost/somefile >& log
> $ cat log
> somefile                                               178 kB   11 MBps

This bugs occurs independently of the shell being used (sh/tcsh/bash).

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


More information about the freebsd-bugs mailing list