1diff -Nur path.c path.c 2--- path.c 2011-09-25 18:53:42.000000000 +0200 3+++ path.c 2018-03-04 08:13:24.836905800 +0200 4@@ -317,8 +317,8 @@ 5 #if __CYGWIN__ 6 /* Use cygwin function to convert a DOS path to a POSIX path. */ 7 if( *path && path[1] == ':' && isalpha(*path) ) { 8- int err = cygwin_conv_to_posix_path(path, cpath); 9- if (err) 10+ int err = cygwin_conv_path(CCP_WIN_A_TO_POSIX, path, cpath, PATH_MAX); 11+ if (err < 0) 12 Fatal( "error converting \"%s\" - %s\n", 13 path, strerror (errno)); 14 if( path[2] != '/' && path[2] != '\\' ) 15diff -Nur sysintf.c sysintf.c 16--- sysintf.c 2011-09-25 18:53:42.000000000 +0200 17+++ sysintf.c 2018-03-04 08:15:54.315421400 +0200 18@@ -69,7 +69,7 @@ 19 # include <sys/timeb.h> 20 #endif 21 22-/* for cygwin_conv_to_posix_path() in Prolog() and for cygdospath()*/ 23+/* for cygwin_conv_path() in Prolog() and for cygdospath()*/ 24 #if __CYGWIN__ 25 # include <sys/cygwin.h> 26 #endif 27@@ -538,8 +538,8 @@ 28 if ( (CygDrvPre = MALLOC( PATH_MAX, char)) == NIL(char) ) 29 No_ram(); 30 else { 31- int err = cygwin_conv_to_posix_path("c:", CygDrvPre); 32- if (err) 33+ int err = cygwin_conv_path(CCP_WIN_A_TO_POSIX, "c:", CygDrvPre, PATH_MAX); 34+ if (err < 0) 35 Fatal( "error converting \"%s\" - %s\n", 36 CygDrvPre, strerror (errno)); 37 if( (CygDrvPreLen = strlen(CygDrvPre)) == 2 ) { 38@@ -1144,8 +1144,8 @@ 39 40 if( *src && src[0] == '/' ) { 41 char *tmp; 42- int err = cygwin_conv_to_win32_path(src, buf); 43- if (err) 44+ int err = cygwin_conv_path(CCP_POSIX_TO_WIN_A, src, buf, PATH_MAX); 45+ if (err < 0) 46 Fatal( "error converting \"%s\" - %s\n", 47 src, strerror (errno)); 48 49 50