]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
PR:
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 May 2000 04:22:14 +0000 (04:22 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 May 2000 04:22:14 +0000 (04:22 +0000)
Obtained from:
Submitted by:
Reviewed by:

  Whoops, though I had already knocked off that nasty chomp() side effect.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85299 13f79535-47bb-0310-9956-ffa450edef68

build/cvstodsp5.pl
build/dsp5tocvs.pl

index 183ce2a4bc0987cdba0e6bfda962133297093d5a..d04597fd686e19618ae0dca3fa29b925d8d6ad1b 100644 (file)
@@ -8,7 +8,7 @@ sub tovc5 {
 
     if (m|.dsp$|) {
        $tname = '.#' . $_;
-       print "Convert project " . $_ . " to CVS standard VC5 in " . $File::Find::dir . "\n"; 
+       print "Convert VC6 project " . $_ . " to VC5 in " . $File::Find::dir . "\n"; 
        $srcfl = new IO::File $_, "r" || die;
        $dstfl = new IO::File $tname, "w" || die;
        while ($src = <$srcfl>) {
index 4f18d15a52c5cb2ccf3209e43ac36ed2dae799e3..47867e6cb60606891150d3b1803e413dbfb8e116 100644 (file)
@@ -8,7 +8,7 @@ sub tovc6 {
 
     if (m|.dsp$|) {
        $tname = '.#' . $_;
-       print "Convert project " . $_ . " to VC6 in " . $File::Find::dir . "\n"; 
+       print "Convert VC6 project " . $_ . " to VC5 in " . $File::Find::dir . "\n"; 
        $srcfl = new IO::File $_, "r" || die;
        $dstfl = new IO::File $tname, "w" || die;
        while ($src = <$srcfl>) {
@@ -17,8 +17,7 @@ sub tovc6 {
            $src =~ s|^(# ADD BASE CPP .*)/Zi (.*)|$1/ZI $2|;
            if ($src =~ s|^(!MESSAGE .*)\\\n|$1|) {
                 $cont = <$srcfl>;
-               chomp $src;
-               $src = chomp($src) . $cont;
+               $src = $src . $cont;
             }
             print $dstfl $src; 
            if ($src =~ m|^# Begin Project|) {