Mail Archives: djgpp-workers/2001/11/11/08:32:49
On Sun, 11 Nov 2001, Richard Dawe wrote:
> Below is a patch to compute st_blksize in struct stat. This is basically
> the st_blocks patch with the st_blocks stuff removed.
>
> OK to commit?
It's fine with me, but:
1) Please don't use tolower (or any other ctype functions) when you
manipulate file names. Only ASCII characters should be subject to
case conversions, whereas ctype function are locale-sensitive. So
please downcase with explicit code.
2) I'm a bit worried by the possible slow-down, due to the call to
statfs. Could you compare the old and the new versions, at least on
hard disks, floppies, and CDs?
- Raw text -