[padb-devel] [padb] r285 committed - Ensure calls to output() use brackets.

codesite-noreply at google.com codesite-noreply at google.com
Sun Oct 11 20:34:45 BST 2009


Revision: 285
Author: apittman
Date: Sun Oct 11 12:33:54 2009
Log: Ensure calls to output() use brackets.

http://code.google.com/p/padb/source/detail?r=285

Modified:
  /trunk/src/padb

=======================================
--- /trunk/src/padb	Thu Oct  8 07:57:31 2009
+++ /trunk/src/padb	Sun Oct 11 12:33:54 2009
@@ -5662,7 +5662,7 @@
              $proc->{gdb} = $gdb;
              push @all, $proc;
          } else {
-            output $vp, 'Failed to attach to to process';
+            output( $vp, 'Failed to attach to to process' );
          }

      }
@@ -6110,7 +6110,7 @@
        or p_die( $vp, "cant start command $cmd" );
      while (<$CMD>) {
          chomp $_;
-        output $vp, $_;
+        output( $vp, $_ );
          $lines++;
      }
      send_cont_signal($pid);
@@ -6123,7 +6123,7 @@
      open my $CMDS, '-|', "$cmd" or p_die $vp, 'cant fork subcommand';
      while (<$CMDS>) {
          chomp $_;
-        output $vp, $_;
+        output( $vp, $_ );
      }
      close $CMDS;
      return;
@@ -6692,7 +6692,7 @@
                    ( $frame->{file} || '?' ),
                    ( $frame->{line} || '?' );

-                output $vp, $l;
+                output( $vp, $l );

                  if ( $carg->{out_format} eq 'tree' ) {
                      push @fl, $l;




More information about the padb-devel mailing list