Re: dlls/msvcrt: process.c (msvcrt-popen-1)
1 Nov
2002
1 Nov
'02
12:11 p.m.
On 01 Nov 2002 08:40:20 -0800, Alexandre Julliard <julliard(a)winehq.com> wrote :
Jaco Greeff <jaco(a)puxedo.org> writes:
1. Calling the popen function returns a FILE* which needs to be converted to a MSVCRT_FILE*. The apprach taken here is potentially not the best route but the only one I could think of. Is it suffiecient?
No, it's wrong. You should be using the Windows API (CreateProcess etc.) not the Unix popen(). Then you can build a proper MSVCRT_FILE.
I was actually taking a re-look at that this afternoon. I agree, the initial reason for th implementation was obviously that _popen is supposed to mimic popen, but the file conversion leaves me feeling really uncomfortable. I'll fix it up and submit it shortly. Greetings, Jaco
8442
Age (days ago)
8442
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jaco Greeff