digitalmars.D.bugs - [Issue 8733] New: Normalize -of path on Windows
- d-bugmail puremagic.com (29/29) Sep 27 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8733
- d-bugmail puremagic.com (10/10) Sep 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8733
- d-bugmail puremagic.com (29/30) Oct 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8733
- d-bugmail puremagic.com (11/11) Nov 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8733
- d-bugmail puremagic.com (11/11) Jun 10 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8733
- d-bugmail puremagic.com (9/9) Jun 10 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8733
http://d.puremagic.com/issues/show_bug.cgi?id=8733 Summary: Normalize -of path on Windows Product: D Version: unspecified Platform: All OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-09-27 18:33:03 PDT --- Make a .d file in a foo directory, then run: $ dmd foo/test.d ok $ dmd foo/test.d -offoo/main.exe OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 9: Unknown Option : MAIN OPTLINK : Warning 9: Unknown Option : MAIN.EXE user32.def(0) : Error 2: File Not Found user32.def --- errorlevel 1 DMD should try to normalize the -of path by changing forward slashes to backslashes since Optlink reserves forward slashes for flags. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 27 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8733 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code klickverbot.at --- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-09-29 16:58:38 PDT --- *** Issue 8736 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8733 --- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-03 20:33:23 PDT --- (In reply to comment #1)*** Issue 8736 has been marked as a duplicate of this issue. ***Guys is this safe to implement this way?: mars.c: void toWinPath(char* src) { if (src != NULL) { while (*src != '\0') { if (*src == '/') *src = '\\'; src++; } } } case 'f': if (!p[3]) goto Lnoarg; #if TARGET_WINDOS toWinPath(p + 3); #endif It works in simple cases but I'm worried about any Unicode issues and of course UNC paths and whatnot. Is there any standard WinAPI/DMC API function that normalizes the path (converts '/' to '\')? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8733 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-11-24 15:42:59 PST --- Forgot to mention it's a pull: https://github.com/D-Programming-Language/dmd/pull/1208 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 24 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8733 --- Comment #4 from github-bugzilla puremagic.com 2013-06-10 16:33:24 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5680ab0255f2a2e51674a3dabed8b95ec938280a Fixes Issue 8733 - Turn forward slashes into backslashes on Windows. https://github.com/D-Programming-Language/dmd/commit/cf03d8e3c4433a66269f37b7ea1df7e963be4f1a Merge pull request #1208 from AndrejMitrovic/Fix8733 Issue 8733 - Normalize -of and -od path on Windows -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 10 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8733 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 10 2013