emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few Windows build fixes


From: Eli Zaretskii
Subject: Re: A few Windows build fixes
Date: Fri, 02 Sep 2011 17:05:35 +0300

> From: Andy Moreton <address@hidden>
> Date: Fri, 02 Sep 2011 12:43:03 +0100
> 
> > Full support for Cygwin-specific file names can only happen on the C
> > level.  E.g., in w32.c:normalize_filename.  We should probably have a
> > similar function in ntlib, because lib-src programs will need to use
> > it as well (see the example with emacsclient posted here).
> >
> > Anything else will necessarily be buggy or at least incomplete.
> 
> I disagree. The right way to get the cygwin mount points is to run
> 'mount -m' and look at the output. Doing so at the C level properly
> involves calling into the cygwin DLL, which is fragile for a non-cygwin
> application.

It doesn't matter who and how runs "mount -m".  The results of that
should be used on the C level.  Otherwise, the result will be
semi-broken, because Emacs manipulates file names on the C level
without going through Lisp.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]