Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3959

Uninitialized value warning in bindings/swig/perl/native/Core.pm

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ---
    • Fix Version/s: 1.7.0
    • Component/s: bindings_swig_perl
    • Labels:

      Description

      I'm using git-svn to wotk with subversion. Whenever there is a problem with 
      network connection, it frequently prints the following warning:
      
      Use of uninitialized value in concatenation (.) or string at <...>/SVN/Core.pm 
      line 584.
      
      Could you please apply the following simple patch to 
      bindings/swig/perl/native/Core.pm to fix it?
      
      
      Index: Core.pm
      ===================================================================
      --- Core.pm	(revision 1146621)
      +++ Core.pm	(working copy)
      @@ -581,7 +581,7 @@
       
       		my $error_message = $svn_error->strerror();
       		while ($svn_error) {
      -		    $error_message .= ': ' . $svn_error->message();
      +		    $error_message .= ': ' . ($svn_error->message() || "");
       				$svn_error = $svn_error->child();
       		}
       		return $error_message;
      

      Original issue reported by infnty

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: