This is the mail archive of the
cygwin
mailing list for the Cygwin project.
undef WIN32_FILENAMES with cygwin-1.7
- From: Reini Urban <rurban at x-ray dot at>
- To: xemacs-beta at xemacs dot org
- Cc: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Wed, 24 Jun 2009 12:43:10 +0200
- Subject: undef WIN32_FILENAMES with cygwin-1.7
cygwin-1.7 removed support for accepting win32 style pathnames.
xemacs should follow.
The particular problem was file-truename returning a fabricated windows path,
instead of the POSIX path, which for example failed the mule testsuite for me.
diff -u xemacs-21.5.28/src/fileio.c.orig xemacs-21.5.28/src/fileio.c
--- xemacs-21.5.28/src/fileio.c.orig 2007-02-22 17:19:43.000000000 +0100
+++ xemacs-21.5.28/src/fileio.c 2009-06-24 12:35:05.703125000 +0200
@@ -59,7 +59,11 @@
#endif /* HPUX */
#ifdef WIN32_ANY
+#if (CYGWIN_VERSION_API_MINOR >= 181)
+#undef WIN32_FILENAMES
+#else
#define WIN32_FILENAMES
+#endif
#include "syswindows.h"
#define IS_DRIVE(x) isalpha (x)
/* Need to lower-case the drive letter, or else expanded
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple