|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] Full fstat? |
Date: | Mon, 15 Jan 2007 08:19:22 +0100 |
On 1/14/07, John Cowan <address@hidden> wrote:
I think the posix unit should be changed, Felix. This is a patch to make file-stat return a 13-element vector, where the last four elements are st_dev, st_rdev, st_blksize, and st_blocks. Other systems may have other elements, but these four are present in Posix; st_dev and st_rdev date right back to 7th Edition times, and st_blksize and st_blocks to 4.1BSD. Unless someone actually checks the returned length, this will be entirely backward-compatible.
I'll add this - thanks for the patch. cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |