http://d.puremagic.com/issues/show_bug.cgi?id=5926
Summary: D2 shows empty command line on Windows 98 SE
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
Com
http://d.puremagic.com/issues/show_bug.cgi?id=5926
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #2 from Denis 2011-05-04 06:50:01 PDT
---
Created an attachment (id=960)
getCommandLineArgs function with it's unittests
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #3 from Denis 2011-05-04 06:52:27 PDT
---
I wrote a function getCommandLineArgs and tested it on all such arguments:
[aZяЫ \t\\"]{1,6} | [\r\nЫ \t\\"]{1,6} and others (in test.d). It's output was
equal to CommandLineToArgvW.
Pleas
http://d.puremagic.com/issues/show_bug.cgi?id=5666
kenn...@gmail.com changed:
What|Removed |Added
CC||kenn...@gmail.com
OS/Version
http://d.puremagic.com/issues/show_bug.cgi?id=5666
Andrei Alexandrescu changed:
What|Removed |Added
Status|REOPENED|ASSIGNED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5927
Summary: Broken getcwd when using GetCurrentDirectoryA
Product: D
Version: D1 & D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=5926
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #5 from Jonathan M Davis 2011-05-04 11:04:14
PDT ---
That definitely sounds like a good approach where it can be done. And in this
case, it looks like that should be possible.
--
Configure issuemail: http://d.puremagic.com/issues
http://d.puremagic.com/issues/show_bug.cgi?id=5926
Sean Kelly changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #7 from Walter Bright 2011-05-04
14:01:50 PDT ---
Why is this code there to begin with anyway? The C runtime already sets up
argc/argv.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #8 from Sean Kelly 2011-05-04 16:36:31 PDT
---
It's there because the argv data on Windows is in code pages instead of
Unicode, and it seemed easiest to let the OS deal with the conversion.
--
Configure issuemail: http://d.purema
http://d.puremagic.com/issues/show_bug.cgi?id=5927
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comme
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #9 from Walter Bright 2011-05-04
17:56:09 PDT ---
(In reply to comment #8)
> It's there because the argv data on Windows is in code pages instead of
> Unicode, and it seemed easiest to let the OS deal with the conversion.
Here's t
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #10 from Denis 2011-05-04 22:04:18
PDT ---
argv is in windows multi byte format and just can't store every UTF-16 symbol.
But, in old windows there are no *W functions to create a process with UTF-16
argumants. Maybe it is possible
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #11 from Walter Bright 2011-05-04
22:30:42 PDT ---
Sounds reasonable.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=5926
Denis changed:
What|Removed |Added
Attachment #960 is|0 |1
obsolete|
http://d.puremagic.com/issues/show_bug.cgi?id=5926
--- Comment #13 from Denis 2011-05-04 23:24:27
PDT ---
(From update of attachment 961)
version (Windows)
{
wchar_t* wcbuf = GetCommandLineW();
size_twclen = wcslen(wcbuf);
char* cargp = null;
s
http://d.puremagic.com/issues/show_bug.cgi?id=5926
Denis changed:
What|Removed |Added
Attachment #961 is|0 |1
obsolete|
http://d.puremagic.com/issues/show_bug.cgi?id=5927
--- Comment #2 from Denis 2011-05-04 23:51:02 PDT
---
(In reply to comment #1)
> This is silly. Do you expect the Phobos library to work around every single
> Windows bug for outdated Windows operating systems that not even Microsoft
> support
20 matches
Mail list logo