delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/26/04:46:35

From: ksk AT ntts DOT com (Keisuke Mori)
Subject: Re: Xemacs v21 path bug
26 Jun 1998 04:46:35 -0700 :
Message-ID: <wkogvhnwd9.fsf.cygnus.gnu-win32@ntts.com>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980622092604 DOT 00959580 AT mail DOT ra DOT pae DOT osd DOT mil>
Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.91 - "Hinomiko")
To: gnu-win32 AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019