removal of cruft from D
Justin Johansson
no at spam.com
Fri Nov 20 15:15:05 PST 2009
Justin Johansson wrote:
> Lars T. Kyllingstad wrote:
>> It would definitely be a problem if octal literals disappeared from
>> the language, even if only for a short while. They are pretty much the
>> only sensible way to specify POSIX file permissions.
>>
>> import core.sys.posix.sys.stat;
>> ...
>> chmod("path/to/file", 0755);
>>
>> -Lars
>
> Good point. Few if any other of us though of that! :-)
s/though/thought/
More information about the Digitalmars-d
mailing list