Mercurial > hg > xemacs-beta
diff lib-src/gnuclient.c @ 5920:0f2338afbabf cygwin
Minimum necessary to get started:
sufficient to compile OK, run -nw, but not with window
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Mon, 21 Apr 2014 11:42:50 +0100 |
parents | 308d34e9f07d |
children |
line wrap: on
line diff
--- a/lib-src/gnuclient.c Thu Dec 16 11:20:17 2021 +0000 +++ b/lib-src/gnuclient.c Mon Apr 21 11:42:50 2014 +0100 @@ -45,13 +45,14 @@ * ../etc/gnuserv.README relative to the directory containing this file) */ -#ifdef CYGWIN -extern void cygwin_conv_to_posix_path(const char *path, char *posix_path); -#endif - #include "gnuserv.h" #include "compiler.h" +#ifdef CYGWIN +/*extern void cygwin_conv_to_posix_path(const char *path, char *posix_path);*/ +#include <sys/cygwin.h> +#endif + char gnuserv_version[] = "gnuclient version " GNUSERV_VERSION; #include "getopt.h" @@ -190,7 +191,9 @@ /* If we're in cygwin, just convert it and let the unix stuff handle it. */ - cygwin_conv_to_posix_path(filename, cygwinFilename); + /* gone in 64-bit cygwin_conv_to_posix_path(filename, cygwinFilename); */ + cygwin_conv_path (CCP_WIN_A_TO_POSIX | CCP_RELATIVE, filename, cygwinFilename, +PATH_MAX); filename = cygwinFilename; #endif