Mail Archives: cygwin/1998/06/26/04:46:35
Matthew Patton <matthew DOT patton AT ra DOT pae DOT osd DOT mil> writes:
> I majorly like this beta port of emacs. However, it doesn't understand
> cygnus paths like the following: //d/foo/bar. I'm forced to make symlinks
The patch below will fix this problem. It works fine as far as
I've tested with XEmacs-21.0-b46. If you have a compiling
environment.
--
Keisuke Mori / NTT Software Corp. California Branch
E-Mail: ksk AT ntts DOT com
----8<--------8<--------8<--------8<--------8<--------8<---- Cut here
--- fileio.c.org Wed Jun 24 20:51:41 1998
+++ fileio.c Thu Jun 25 11:18:09 1998
@@ -1426,13 +1426,13 @@
for (p = nm; p != endp; p++)
{
if ((p[0] == '~'
-#if defined (APOLLO) || defined (WINDOWSNT)
+#if defined (APOLLO) || defined (WINDOWSNT) || defined(__CYGWIN32__)
/* // at start of file name is meaningful in Apollo and
WindowsNT systems */
|| (IS_DIRECTORY_SEP (p[0]) && p - 1 != nm)
-#else /* not (APOLLO || WINDOWSNT) */
+#else /* not (APOLLO || WINDOWSNT || __CYGWIN32__) */
|| IS_DIRECTORY_SEP (p[0])
-#endif /* not (APOLLO || WINDOWSNT) */
+#endif /* not (APOLLO || WINDOWSNT || __CYGWIN32__) */
)
&& p != nm
&& (IS_DIRECTORY_SEP (p[-1])))
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -