develooper Front page | perl.perl5.porters | Postings from November 2012

[perl #115900] (msys) perl readline creates sys$command files w/o STDIN connected

Thread Next
From:
Sven Strickroth
Date:
November 25, 2012 01:55
Subject:
[perl #115900] (msys) perl readline creates sys$command files w/o STDIN connected
Message ID:
rt-3.6.HEAD-17500-1353781593-1619.115900-75-0@perl.org
# New Ticket Created by  Sven Strickroth 
# Please include the string:  [perl #115900]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115900 >


>perl -v
This is perl, v5.8.8 built for msys

Perl readline creates "sys$command" files when no STDIN is connected to
the perl process.

I noticed this issue on using msysgit with TortoiseGit. I tracked down
which msysgit versions are affected (<=1.7.7 work, but >=1.7.7.1 has the
issue), but both use the same perl versions (5.8.8) and
Termin/Readline.pl (1.02). I don't know how this issue was introduced,
but the reason seems to be that there is no "con"-file and $^O is
'msys', but a check is missing for this (in Term/ReadLine.pm, sub
findConsole, line 214 - see attached patch).

-- 
Best regards,
 Sven Strickroth

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About