develooper Front page | perl.perl5.porters | Postings from August 2014

[perl #121159] List form of pipe open not implemented on Win32

Thread Next
bulk88 via RT
August 28, 2014 22:09
[perl #121159] List form of pipe open not implemented on Win32
Message ID:
On Mon Aug 18 23:05:20 2014, tonyc wrote:
> Patch attached for picking apart.
> Tony

win32_popen returns a PerlIO*, which is wrong since win32_* are C lib level replacements, not general perl api. If something. It should be called Perl_do_popen, and remove win32_popen.

+		    Move(args_pvs, args_pvs+w32_perlshell_items, narg+1, const char *);
+		    for (i = 0; i < w32_perlshell_items; ++i)
+		        args_pvs[i] = w32_perlshell_vec[i];

Why is 1 a Move and the other is a for loop? How about alloca instead of the Newx?

bulk88 ~ bulk88 at

via perlbug:  queue: perl5 status: new

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About