[Issue 8733] Normalize -of path on Windows

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8733

Andrei Alexandrescu  changed:

   What|Removed |Added

Version|unspecified |D2

--


[Issue 8733] Normalize -of path on Windows

2013-06-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8733


Andrej Mitrovic  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: ---


[Issue 8733] Normalize -of path on Windows

2013-06-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8733



--- Comment #4 from github-bugzi...@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: ---


[Issue 8733] Normalize -of path on Windows

2012-11-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8733


Andrej Mitrovic  changed:

   What|Removed |Added

   Keywords||pull


--- Comment #3 from Andrej Mitrovic  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: ---


[Issue 8733] Normalize -of path on Windows

2012-10-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8733



--- Comment #2 from Andrej Mitrovic  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: ---


[Issue 8733] Normalize -of path on Windows

2012-09-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8733


Andrej Mitrovic  changed:

   What|Removed |Added

 CC||c...@klickverbot.at


--- Comment #1 from Andrej Mitrovic  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: ---