Skip to content

Commit

Permalink
Fix a Windows build-breaking bug introduced in
Browse files Browse the repository at this point in the history
my last commit, caused by the wrong conversion
direction between POSIX and Windows paths
in 1 dmake function.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1825802 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Damjan Jovanovic committed Mar 4, 2018
1 parent d724658 commit 16cc2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/solenv/src/dmake-cygwin64.patch
Expand Up @@ -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));
Expand Down

0 comments on commit 16cc2fe

Please sign in to comment.