NetBSD-Bugs archive

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

bin/44128: stat(1) formatting bug (time_t related?)

>Number:         44128
>Category:       bin
>Synopsis:       stat(1) formatting bug (time_t related?)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 22 04:45:03 +0000 2010
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD
        stat(1)'s format1() function seems to assume both of secs and nsecs
        are printf'able with "%d".  actually they are of time_t and long.

        on 32bit machine,

        % stat -f "%Fa" /


Home | Main Index | Thread Index | Old Index