core/sys/windows/windows.d is executable
Jonathan M Davis
jmdavisProg at gmx.com
Fri Sep 27 12:13:37 PDT 2013
On Friday, September 27, 2013 14:45:37 Joseph Rushton Wakeling wrote:
> Hello all,
>
> While updating my DMD/druntime/phobos install from git HEAD, I noticed that
> the druntime file core/sys/windows/windows.d has executable permissions.
>
> Am I right to assume this is a mistake which probably stems from someone
> editing it _on Windows_, from whence all files seem to arrive on POSIX with
> executable permissions?
>
> I'll file a bug report & patch, but first thought I'd check I wasn't
> mistaken about this being a mistake.
No, it should not be executable. The only time that it makes sense for a .d
file to be executable is when it's a script with something like #!/bin/rdmd at
the top, which certainly isn't the case for windows.d.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list