Thread (22 messages) flat view 22 messages, 8 authors, 2016-06-15

Re: [PATCH] fmt-merge-msg: avoid open "-|" list form for Perl 5.6

From: Alex Riesen <hidden>
Date: 2016-06-15 22:42:19

Possibly related (same subject, not in this thread)

Eric Wong, Tue, Feb 21, 2006 21:56:18 +0100:
quoted
quoted
 * Eric, thanks for the hint.  I have this four-patch series.
   Could people with perl 5.6 please check them?
Does not work here (ActiveState Build 811, Perl 5.8.6):

$ perl -e 'open(F, "-|")'
'-' is not recognized as an internal or external command,
operable program or batch file.
Both "-|" and "|-" forms of open() use fork() internally.  Iirc, fork()
doesn't work too well on that platform.
AFAICS, it does not exist. There is emulation of it in that active-perl,
though so this works:

    if ( !fork ) { something }

but not "too well" (you have to be carefule not spawn too many (which
is around 50) processes. Perl'll crash otherwise).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help