[Issue 8734] Compiler must verify exe path is writable before attempting compilation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 29 08:54:06 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8734


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-09-29 08:54:30 PDT ---
(In reply to comment #3)
> I think it would slow things down in general.

Ok I'm closing it. Anyway here's a win32 batch workaround:
@echo off
set "exePath=test.exe"
echo x > %exePath% || goto :ERROR

goto :EOF
:ERROR
echo Can't write to "%exePath%".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list