develooper Front page | perl.perl5.porters | Postings from October 2005

[PATCH] perl5db.pl incorrect instructions in termination message

Thread Next
From:
Brendan O'Dea
Date:
October 28, 2005 14:14
Subject:
[PATCH] perl5db.pl incorrect instructions in termination message
Message ID:
20051028211440.GA23305@londo.c47.org
Termination message suggests using "O inhibit_exit", which doesn't work:

  Debugged program terminated.  Use q to quit or R to restart,
    use O inhibit_exit to avoid stopping after program termination,
    h q, h R or h O to get additional info.  
  DB<1> O inhibit_exit
  The old O command is now the o command.
  Use 'h' to get current command help synopsis or
  use 'o CommandSet=pre580' to revert to old usage

--bod

Bug#334516: Program termination message suggests the obsolete O command
rather than o to set options.

diff -Naur --exclude=debian perl-5.8.7.orig/lib/perl5db.pl perl-5.8.7/lib/perl5db.pl
--- perl-5.8.7.orig/lib/perl5db.pl	2004-12-30 10:21:10.000000000 +1100
+++ perl-5.8.7/lib/perl5db.pl	2005-10-29 07:12:16.000000000 +1000
@@ -2034,8 +2034,8 @@
             $term || &setterm;
             print_help(<<EOP);
 Debugged program terminated.  Use B<q> to quit or B<R> to restart,
-  use B<O> I<inhibit_exit> to avoid stopping after program termination,
-  B<h q>, B<h R> or B<h O> to get additional info.  
+  use B<o> I<inhibit_exit> to avoid stopping after program termination,
+  B<h q>, B<h R> or B<h o> to get additional info.  
 EOP
 
             # Set the DB::eval context appropriately.

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