apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41678] New: - APR_FINFO_CSIZE support missing on unix
Date Thu, 22 Feb 2007 12:33:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41678>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41678

           Summary: APR_FINFO_CSIZE support missing on unix
           Product: APR
           Version: 1.2.8
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: nikke@acc.umu.se


In apr/file_io/unix/filestat.c you find the comment "needs to be revisited" in
the fill_out_finfo()-function, and all code dealing with csize is commented out.

I really need csize, so I had to uncomment that code in order to get things in a
working state.

I suspect that it's commented due to the fact that st_blocks is a non-standard
extension to the stat struct. However it feels like a no-brainer to support it
where present, either by a configure test or by hardcoding in known good
architectures which support it.

To begin such a list, I can state that the following architectures support
st_blocks in units of 512-byte-blocks:
Linux (verified on Ubuntu Dapper amongst others)
AIX (verified on AIX 5.1 and 5.3)
Solaris (verified on Solaris 10)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message