What is the rationale behind std.file.setAttributes ?

Martin Nowak code at dawg.eu
Fri Dec 27 20:15:57 PST 2013


On 12/27/2013 12:12 PM, Marco Leise wrote:
> It is a
> coincidence that both Windows and POSIX use a 32-bit integer
> for file attributes, but not technically sound to confuse them
> in a public API.

On Posix this should use mode_t instead which is 16-bit on some platforms.


More information about the Digitalmars-d mailing list