You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2018/03/04 08:39:49 UTC

svn commit: r1825802 - /openoffice/trunk/main/solenv/src/dmake-cygwin64.patch

Author: damjan
Date: Sun Mar  4 08:39:49 2018
New Revision: 1825802

URL: http://svn.apache.org/viewvc?rev=1825802&view=rev
Log:
Fix a Windows build-breaking bug introduced in
my last commit, caused by the wrong conversion
direction between POSIX and Windows paths
in 1 dmake function.

Patch by: me


Modified:
    openoffice/trunk/main/solenv/src/dmake-cygwin64.patch

Modified: openoffice/trunk/main/solenv/src/dmake-cygwin64.patch
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/src/dmake-cygwin64.patch?rev=1825802&r1=1825801&r2=1825802&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/src/dmake-cygwin64.patch (original)
+++ openoffice/trunk/main/solenv/src/dmake-cygwin64.patch Sun Mar  4 08:39:49 2018
@@ -41,7 +41,7 @@ diff -Nur sysintf.c sysintf.c
        char *tmp;
 -      int err = cygwin_conv_to_win32_path(src, buf);
 -      if (err)
-+      int err = cygwin_conv_path(CCP_WIN_A_TO_POSIX, src, buf, PATH_MAX);
++      int err = cygwin_conv_path(CCP_POSIX_TO_WIN_A, src, buf, PATH_MAX);
 +      if (err < 0)
  	 Fatal( "error converting \"%s\" - %s\n",
  		src, strerror (errno));