GNU bug report logs -
#19909
[PATCH] Error out if with-file-notification=w32 is specified on cygwin
Previous Next
Reported by: bug-gnu-emacs <at> gnu.org
Date: Fri, 20 Feb 2015 09:49:02 UTC
Severity: minor
Tags: patch
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Fri, 27 Feb 2015 17:25:54 -0500
> From: Ken Brown <kbrown <at> cornell.edu>
> CC: bug-gnu-emacs <at> gnu.org, rpluim <at> gmail.com
>
> It looks like it might not take much effort. What I did for now, just
> for testing purposes, is to copy into w32notify.c whatever was necessary
> to make the Cygwin-w32 build compile with w32 file notification. I
> tested it briefly and it seems to work. Obviously it needs much more
> testing to make sure this doesn't break anything else, and then we can
> worry about how to do this right.
Thanks. A few comments:
. Cygwin doesn't need to call MultiByteToWideChar and
WideCharToMultiByte via function pointers, it can call them
directly.
. I think there shouldn't be a need to call filename_to_utf16 and
its ilk, but instead use the to_unicode etc., like the rest of
Cygwin-w32 code does. E.g., just use GUI_ENCODE_FILE defined on
w32term.h.
This bug report was last modified 10 years and 79 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.