[Issue 14422] std.process: Pipes do not append to files on Win64

2017-07-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14422

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/b28eb9fab8d27a7134daabf33544198bb4fbd02b
fix Issue 14422 - std.process: Pipes do not append to files on Win64

https://github.com/dlang/phobos/commit/eecc989b2c7901d1dce40c761329920b690da0c0
Merge pull request #3160 from CyberShadow/pull-20150407-122150

--


[Issue 14422] std.process: Pipes do not append to files on Win64

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

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/b28eb9fab8d27a7134daabf33544198bb4fbd02b
fix Issue 14422 - std.process: Pipes do not append to files on Win64

https://github.com/D-Programming-Language/phobos/commit/eecc989b2c7901d1dce40c761329920b690da0c0
Merge pull request #3160 from CyberShadow/pull-20150407-122150

fix Issue 14422 - std.process: Pipes do not append to files on Win64

--


[Issue 14422] std.process: Pipes do not append to files on Win64

2015-04-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14422

Vladimir Panteleev  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #2 from Vladimir Panteleev  ---
https://github.com/D-Programming-Language/phobos/pull/3160

--


[Issue 14422] std.process: Pipes do not append to files on Win64

2015-04-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14422

--- Comment #1 from Vladimir Panteleev  ---
C program which reproduces this bug:

/// ctest.c ///
#include 
#include 

void main()
{
FILE *f;
PROCESS_INFORMATION pi = {0};
STARTUPINFO si = {sizeof(STARTUPINFO)};

f = fopen("test.txt", "w");
fprintf(f, "AA\n");
fclose(f);

f = fopen("test.txt", "a");
si.hStdOutput = (HANDLE)_get_osfhandle(_fileno(f));
si.dwFlags = STARTF_USESTDHANDLES;
CreateProcess(NULL, "cmd /c \"echo B\"",
NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi);
}
///

--