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
>Organization:
        
>Environment:
        
>Description:
        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.

>How-To-Repeat:
        on 32bit machine,

        % stat -f "%Fa" /
        1290400248.000000000
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index