X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Wed, 24 Jun 2009 12:43:10 +0200 Message-ID: <6910a60906240343u3a1c8f3v5adadf68a8c3b83a@mail.gmail.com> Subject: undef WIN32_FILENAMES with cygwin-1.7 From: Reini Urban To: xemacs-beta AT xemacs DOT org Cc: The Cygwin Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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