[ooo-build-commit] patches/dev300

Tor Lillqvist tml at kemper.freedesktop.org
Wed Sep 23 05:46:35 PDT 2009


 patches/dev300/win32-cygwin-1.7.diff |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 13eee60b0ad4fea57d2a2f8cba72a46b499a0483
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Wed Sep 23 15:45:07 2009 +0300

    Do also error check in the additional rename()
    
    * patches/dev300/win32-cygwin-1.7.diff: Check the success also of the
      additional rename() we do in deliver.pl to handle the Cygwin ".exe"
      append feature.

diff --git a/patches/dev300/win32-cygwin-1.7.diff b/patches/dev300/win32-cygwin-1.7.diff
index e959e8a..7368108 100644
--- a/patches/dev300/win32-cygwin-1.7.diff
+++ b/patches/dev300/win32-cygwin-1.7.diff
@@ -25,7 +25,7 @@
 +                 $^O eq 'cygwin' && 
 +                 -f $to.".exe" )
 +            {
-+                rename ($to.".exe", $to);
++                $success = rename ($to.".exe", $to);
 +            }
          }
          if ( $success ) {


More information about the ooo-build-commit mailing list