Subject: bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32

From: Eli Zaretskii <[email-masked]>
Date: Fri, 26 Oct 2012 15:12:57 +0200

> Date: Fri, 26 Oct 2012 20:21:22 +0900
> From: Kazuhiro Ito <[email-masked]>
> 
> On Cygw32, it seems that cache_system_info (in src/w32fns.c) is never
> called.

It should be called early on during startup, so perhaps a cygw32-only
call to it near the beginning of 'main' is all that's needed.

(Does the cygw32 build use w32_num_mouse_buttons? if not, that part of
cache_system_info should be #ifdef'ed away on Cygwin.)