Subject: Re: Xemacs v21 path bug
From: [email-masked] (Keisuke Mori)

26 Jun 1998 04:46:35 -0700
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.91 - "Hinomiko")
Content-Type: text/plain; charset=US-ASCII
To: [email-masked]

Matthew Patton <[email-masked]> 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: [email-masked]

----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
"[email-masked]" with one line of text: "help".