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/

Reply via email to