Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27203

Modified Files:
        CLI.pm ChangeLog 
Log Message:
Reduce redundant POSIX symbol import redundancy.


Index: CLI.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/CLI.pm,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- CLI.pm      13 Jul 2005 06:51:37 -0000      1.32
+++ CLI.pm      13 Jul 2005 19:19:56 -0000      1.33
@@ -480,6 +480,8 @@
 expires or immediately (without waiting for input) if fink is suppressing
 the prompt (run with the -y option or with an appropriate SuppressPrompts).
 If not suppressing a prompt, this function destroys any pre-existing alarm().
+STDIN is flushed before accepting input, so stray keystrokes prior to
+the prompt are ignored.
 
 The options hash can contain the following keys:
 
@@ -505,7 +507,7 @@
        my $prompt = shift;
        my %opts = (timeout => 0, category => '', @_);
 
-       use POSIX qw(:termios_h tcflush);
+       use POSIX qw(tcflush TCIFLUSH);
 
        # Don't really skip SkipPrompts, just make them short
        my $skip_timeout = 7;

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1053
retrieving revision 1.1054
diff -u -d -r1.1053 -r1.1054
--- ChangeLog   13 Jul 2005 19:13:52 -0000      1.1053
+++ ChangeLog   13 Jul 2005 19:19:56 -0000      1.1054
@@ -1,3 +1,7 @@
+2005-07-13  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * CLI.pm: Improve POSIX symbol imports.
+
 2005-07-13  Dave Vasilevsky  <[EMAIL PROTECTED]>
 
        * Bootstrap.pm: Support 10.4.2.



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to