Fix file name handling on MS-Windows 9X.
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Jan 2014 11:46:22 +0000 (13:46 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jan 2014 11:46:22 +0000 (13:46 +0200)
commit5197f0c2fee01c473b4876f6a49e784250f63640
tree31e0bf2968e74fbde5da7f1e0e13cdcd6e0c07ea
parent812a093042a860768b002b988789c53d31127bb6
Fix file name handling on MS-Windows 9X.

 src/w32.c (maybe_load_unicows_dll): New function.
 src/emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early
 on, to make sure we can convert file names to and from UTF-8 on
 Windows 9X.  This fixes a failure to start up because Emacs cannot
 find term/w32-win.el.  Reported by oslsachem <oslsachem@gmail.com>.
 src/w32font.c [WINDOWSNT]: Include w32.h.
 (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead
 of implementing the same stuff.
 Remove now unused g_b_init_is_windows_9x.
 src/w32.h (maybe_load_unicows_dll): Add prototype.

 nt/runemacs.c (ensure_unicows_dll): Don't tell in the message box
 that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
 w32.c:maybe_load_unicows_dll and its callers for the reason.
nt/ChangeLog
nt/runemacs.c
src/ChangeLog
src/emacs.c
src/w32.c
src/w32.h
src/w32font.c