aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2012-07-29 01:18:29 -0700
committerPaul Eggert2012-07-29 01:18:29 -0700
commitb46a6a83b3c30d34aa6b80633394c74e6145291c (patch)
tree70cf89c43b7663acf77c2e54f2ed644d1eb18a4e /src
parent72b255c7e7856eb0abefb1149211a8be519f6fef (diff)
downloademacs-b46a6a83b3c30d34aa6b80633394c74e6145291c.tar.gz
emacs-b46a6a83b3c30d34aa6b80633394c74e6145291c.zip
Don't use the abbreviation "win" to refer to Windows (Bug#10421).
* lisp/org/ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path. (ly-w32-pdf-path): Rename from ly-win32-pdf-path. (ly-w32-midi-path): Rename from ly-win32-midi-path. (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path): Check for "windows-nt", not "win32", in system-type. * src/regex.c (MAX_BUF_SIZE): Remove some incorrect and long-ago-commented-out code that talks about "WIN32". * src/w32heap.h (OS_WINDOWS_95): Rename from OS_WIN95. All uses changed.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/ChangeLog.106
-rw-r--r--src/ChangeLog.113
-rw-r--r--src/ChangeLog.618
-rw-r--r--src/ChangeLog.78
-rw-r--r--src/ChangeLog.82
-rw-r--r--src/dbusbind.c2
-rw-r--r--src/makefile.w32-in2
-rw-r--r--src/regex.c14
-rw-r--r--src/sound.c2
-rw-r--r--src/w32.c6
-rw-r--r--src/w32console.c4
-rw-r--r--src/w32fns.c4
-rw-r--r--src/w32font.c6
-rw-r--r--src/w32font.h2
-rw-r--r--src/w32gui.h2
-rw-r--r--src/w32heap.c6
-rw-r--r--src/w32heap.h3
-rw-r--r--src/w32inevt.c2
-rw-r--r--src/w32inevt.h3
-rw-r--r--src/w32menu.c2
-rw-r--r--src/w32proc.c12
-rw-r--r--src/w32select.c2
-rw-r--r--src/w32term.c2
-rw-r--r--src/w32term.h2
-rw-r--r--src/w32xfns.c2
26 files changed, 59 insertions, 66 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cc112f4b5da..21ba05adf6d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2
3 Don't use the abbreviation "win" to refer to Windows (Bug#10421).
4 * regex.c (MAX_BUF_SIZE): Remove some incorrect and
5 long-ago-commented-out code that talks about "WIN32".
6 * w32heap.h (OS_WINDOWS_95): Rename from OS_WIN95.
7 All uses changed.
8
12012-07-28 Paul Eggert <eggert@cs.ucla.edu> 92012-07-28 Paul Eggert <eggert@cs.ucla.edu>
2 10
3 Use Gnulib stdalign module (Bug#9772, Bug#9960). 11 Use Gnulib stdalign module (Bug#9772, Bug#9960).
diff --git a/src/ChangeLog.10 b/src/ChangeLog.10
index cf62ec29bbc..6eda101c815 100644
--- a/src/ChangeLog.10
+++ b/src/ChangeLog.10
@@ -15825,7 +15825,7 @@
15825 * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from 15825 * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from
15826 xterm.c to handle overlaid fringe bitmaps and to use cursor color 15826 xterm.c to handle overlaid fringe bitmaps and to use cursor color
15827 for displaying cursor in fringe. 15827 for displaying cursor in fringe.
15828 (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 15828 (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New Windows
15829 specific functions to define and destroy fringe bitmaps in fringe_bmp. 15829 specific functions to define and destroy fringe bitmaps in fringe_bmp.
15830 (w32_redisplay_interface): Add them to redisplay_interface. 15830 (w32_redisplay_interface): Add them to redisplay_interface.
15831 (w32_term_init): Call w32_init_fringe instead of explicitly 15831 (w32_term_init): Call w32_init_fringe instead of explicitly
@@ -21476,7 +21476,7 @@
21476 "Emacs built on Windows 9x/ME crashes at startup on Windows XP, 21476 "Emacs built on Windows 9x/ME crashes at startup on Windows XP,
21477 or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." 21477 or Emacs builtpart of on XP crashes at startup on Windows 9x/ME."
21478 21478
21479 * w32.c: Added wrapper functions around the win32 API functions 21479 * w32.c: Added wrapper functions around the Windows API functions
21480 OpenProcessToken, GetTokenInformation, LookupAccountSid, and 21480 OpenProcessToken, GetTokenInformation, LookupAccountSid, and
21481 GetSidIdentifierAuthority. These wrapper functions serve two 21481 GetSidIdentifierAuthority. These wrapper functions serve two
21482 purposes: 21482 purposes:
@@ -21490,7 +21490,7 @@
21490 the version of advapi32.dll that is found in the 9x branch of 21490 the version of advapi32.dll that is found in the 9x branch of
21491 Microsoft Windows. 21491 Microsoft Windows.
21492 21492
21493 * w32.c (init_user_info): Replace the calls to the win32 API 21493 * w32.c (init_user_info): Replace the calls to the Windows API
21494 functions OpenProcessToken, GetTokenInformation, LookupAccountSid, 21494 functions OpenProcessToken, GetTokenInformation, LookupAccountSid,
21495 and GetSidIdentifierAuthority with calls to the newly added 21495 and GetSidIdentifierAuthority with calls to the newly added
21496 wrapper functions. 21496 wrapper functions.
diff --git a/src/ChangeLog.11 b/src/ChangeLog.11
index 781027ee8ae..d3b0a8284b5 100644
--- a/src/ChangeLog.11
+++ b/src/ChangeLog.11
@@ -3994,7 +3994,8 @@
3994 3994
39952010-09-24 Juanma Barranquero <lekktu@gmail.com> 39952010-09-24 Juanma Barranquero <lekktu@gmail.com>
3996 3996
3997 Remove W32 API function pointer unused since 2005-02-15 (revno 2005-02-15T23:19:26Z!jasonr@gnu.org). 3997 Remove Windows API function pointer unused since 2005-02-15 (revno
3998 2005-02-15T23:19:26Z!jasonr@gnu.org).
3998 * w32fns.c (clipboard_sequence_fn): Don't declare. 3999 * w32fns.c (clipboard_sequence_fn): Don't declare.
3999 (globals_of_w32fns): Don't initialize it. 4000 (globals_of_w32fns): Don't initialize it.
4000 4001
diff --git a/src/ChangeLog.6 b/src/ChangeLog.6
index 3aa1a23818e..64f8b3a8314 100644
--- a/src/ChangeLog.6
+++ b/src/ChangeLog.6
@@ -1269,7 +1269,7 @@
1269 "light", "extralight", and "thin" fonts. 1269 "light", "extralight", and "thin" fonts.
1270 (x_to_win32_charset, win32_to_x_charset): New functions. 1270 (x_to_win32_charset, win32_to_x_charset): New functions.
1271 (win32_to_x_font): Use new height units. Use win32_to_x_charset. 1271 (win32_to_x_font): Use new height units. Use win32_to_x_charset.
1272 (x_to_win32_font): Use x_to_win32_charset. Support Win32 font names 1272 (x_to_win32_font): Use x_to_win32_charset. Support w32 font names
1273 in addition to X font names. 1273 in addition to X font names.
1274 1274
1275 (win32_load_font, Fx_list_fonts, Fx_display_color_cells) 1275 (win32_load_font, Fx_list_fonts, Fx_display_color_cells)
@@ -3625,11 +3625,11 @@
3625 3625
3626 * xdisp.c [HAVE_NTGUI] (set_menu_framebar): Declare external. 3626 * xdisp.c [HAVE_NTGUI] (set_menu_framebar): Declare external.
3627 [HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables 3627 [HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables
3628 for Win32 window system. 3628 for w32 window system.
3629 [HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include 3629 [HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include
3630 procedures for Win32 window system. 3630 procedures for w32 window system.
3631 [HAVE_NTGUI] (x_consider_frame_title): Test for Win32 frame. 3631 [HAVE_NTGUI] (x_consider_frame_title): Test for w32 frame.
3632 [HAVE_NTGUI] (display_text_line): Test for Win32 frame on face change. 3632 [HAVE_NTGUI] (display_text_line): Test for w32 frame on face change.
3633 [HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system. 3633 [HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system.
3634 3634
3635 * window.c [HAVE_NTGUI] (Fset_window_configuration): Set menu 3635 * window.c [HAVE_NTGUI] (Fset_window_configuration): Set menu
@@ -3659,7 +3659,7 @@
3659 (make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes 3659 (make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes
3660 before applying modifiers. 3660 before applying modifiers.
3661 3661
3662 * frame.c [HAVE_NTGUI]: Test for a Win32 frame in procedures 3662 * frame.c [HAVE_NTGUI]: Test for a w32 frame in procedures
3663 that test for an X frame. 3663 that test for an X frame.
3664 3664
3665 * frame.h (output_method): New method: output_win32. 3665 * frame.h (output_method): New method: output_win32.
@@ -3673,13 +3673,13 @@
3673 * emacs.c [HAVE_NTGUI]: Declare Vwindow_system. 3673 * emacs.c [HAVE_NTGUI]: Declare Vwindow_system.
3674 [HAVE_NTGUI] (main): Enable inhibit_window_system. 3674 [HAVE_NTGUI] (main): Enable inhibit_window_system.
3675 Initialize environment from registry. 3675 Initialize environment from registry.
3676 Declare syms of Win32 windowing modules. 3676 Declare syms of w32 windowing modules.
3677 3677
3678 * dispnew.c [HAVE_NTGUI]: Include w32term.h. 3678 * dispnew.c [HAVE_NTGUI]: Include w32term.h.
3679 Include dispextern.h before cm.h since dispextern.h includes windows.h. 3679 Include dispextern.h before cm.h since dispextern.h includes windows.h.
3680 [HAVE_NTGUI] (make_frame_glyphs, free_frame_glyphs, scroll_frame_lines) 3680 [HAVE_NTGUI] (make_frame_glyphs, free_frame_glyphs, scroll_frame_lines)
3681 (update_frame, update_line): Test for WIN32 frame. 3681 (update_frame, update_line): Test for w32 frame.
3682 [HAVE_NTGUI] (init_display): Initialize WIN32 window system. 3682 [HAVE_NTGUI] (init_display): Initialize w32 window system.
3683 3683
3684 * dispextern.h [HAVE_NTGUI]: Include win32.h. 3684 * dispextern.h [HAVE_NTGUI]: Include win32.h.
3685 [HAVE_NTGUI] (struct frame_glyphs): Include pixel fields. 3685 [HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
diff --git a/src/ChangeLog.7 b/src/ChangeLog.7
index 0952826e8c6..ce240ab2928 100644
--- a/src/ChangeLog.7
+++ b/src/ChangeLog.7
@@ -2070,7 +2070,7 @@
2070 (sys_select): Ignore children dead children with pending input. 2070 (sys_select): Ignore children dead children with pending input.
2071 Delay sending SIGCHLD until all output has been read. 2071 Delay sending SIGCHLD until all output has been read.
2072 (sys_kill): Sleep to allow focus change events to propagate. 2072 (sys_kill): Sleep to allow focus change events to propagate.
2073 Use TerminateProcess on Win95. 2073 Use TerminateProcess on Windows 95.
2074 (int_from_hex, enum_locale_fn, Fw32_get_valid_locale_ids): 2074 (int_from_hex, enum_locale_fn, Fw32_get_valid_locale_ids):
2075 New functions. 2075 New functions.
2076 (Vw32_valid_locale_ids): New variable. 2076 (Vw32_valid_locale_ids): New variable.
@@ -5719,13 +5719,13 @@
5719 Loop over handles round robin to ensure fairness. 5719 Loop over handles round robin to ensure fairness.
5720 (sys_kill): Send ctrl-break and ctrl-c keystrokes to subprocesses 5720 (sys_kill): Send ctrl-break and ctrl-c keystrokes to subprocesses
5721 on SIGINT if not sharing consoles, otherwise generate ctrl-break event. 5721 on SIGINT if not sharing consoles, otherwise generate ctrl-break event.
5722 On other termination signals, send WM_QUIT message to Win95 apps 5722 On other termination signals, send WM_QUIT message to Windows 95 apps
5723 and WM_CLOSE to NT apps. 5723 and WM_CLOSE to NT apps.
5724 (syms_of_ntproc): Intern new symbols. defsubr new functions. 5724 (syms_of_ntproc): Intern new symbols. defsubr new functions.
5725 DEFVAR new variables. 5725 DEFVAR new variables.
5726 5726
5727 * w32term.c (SIF_*): Win95 macros defined for NT. 5727 * w32term.c (SIF_*): Windows 95 macros defined for NT.
5728 (struct tagSCROLLINFO): Win95 struct defined for NT. 5728 (struct tagSCROLLINFO): Windows 95 struct defined for NT.
5729 (vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border) 5729 (vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border)
5730 (vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos) 5730 (vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos)
5731 (Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): 5731 (Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock):
diff --git a/src/ChangeLog.8 b/src/ChangeLog.8
index d3ce1eb2a45..e68966b16a2 100644
--- a/src/ChangeLog.8
+++ b/src/ChangeLog.8
@@ -13203,7 +13203,7 @@
13203 * w32.c (stat): GetFileInformationByHandle can legitimately fail, 13203 * w32.c (stat): GetFileInformationByHandle can legitimately fail,
13204 so don't rely on it succeeding. 13204 so don't rely on it succeeding.
13205 13205
13206 * w32fns.c (x_to_w32_font): Specify DEFAULT_CHARSET in the w32 13206 * w32fns.c (x_to_w32_font): Specify DEFAULT_CHARSET in the Windows
13207 LOGFONT struct if x font doesn't specify the charset. 13207 LOGFONT struct if x font doesn't specify the charset.
13208 (x_to_w32_charset): Change >= to == when testing results of 13208 (x_to_w32_charset): Change >= to == when testing results of
13209 stricmp. 13209 stricmp.
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 93388d4b24a..c1b1310454c 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -986,7 +986,7 @@ static int
986xd_find_watch_fd (DBusWatch *watch) 986xd_find_watch_fd (DBusWatch *watch)
987{ 987{
988#if HAVE_DBUS_WATCH_GET_UNIX_FD 988#if HAVE_DBUS_WATCH_GET_UNIX_FD
989 /* TODO: Reverse these on Win32, which prefers the opposite. */ 989 /* TODO: Reverse these on w32, which prefers the opposite. */
990 int fd = dbus_watch_get_unix_fd (watch); 990 int fd = dbus_watch_get_unix_fd (watch);
991 if (fd == -1) 991 if (fd == -1)
992 fd = dbus_watch_get_socket (watch); 992 fd = dbus_watch_get_socket (watch);
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index a2d1c36af64..ada19ccdca3 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -1,4 +1,4 @@
1# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. 1# -*- Makefile -*- for GNU Emacs on the Microsoft Windows API.
2# Copyright (C) 2000-2012 Free Software Foundation, Inc. 2# Copyright (C) 2000-2012 Free Software Foundation, Inc.
3 3
4# This file is part of GNU Emacs. 4# This file is part of GNU Emacs.
diff --git a/src/regex.c b/src/regex.c
index 4bf119402ac..43ee2c45212 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -1739,20 +1739,6 @@ static int analyse_first (re_char *p, re_char *pend,
1739 be too small, many things would have to change. */ 1739 be too small, many things would have to change. */
1740# define MAX_BUF_SIZE (1L << 15) 1740# define MAX_BUF_SIZE (1L << 15)
1741 1741
1742#if 0 /* This is when we thought it could be 2^16 bytes. */
1743/* Any other compiler which, like MSC, has allocation limit below 2^16
1744 bytes will have to use approach similar to what was done below for
1745 MSC and drop MAX_BUF_SIZE a bit. Otherwise you may end up
1746 reallocating to 0 bytes. Such thing is not going to work too well.
1747 You have been warned!! */
1748#if defined _MSC_VER && !defined WIN32
1749/* Microsoft C 16-bit versions limit malloc to approx 65512 bytes. */
1750# define MAX_BUF_SIZE 65500L
1751#else
1752# define MAX_BUF_SIZE (1L << 16)
1753#endif
1754#endif /* 0 */
1755
1756/* Extend the buffer by twice its current size via realloc and 1742/* Extend the buffer by twice its current size via realloc and
1757 reset the pointers that pointed into the old block to point to the 1743 reset the pointers that pointed into the old block to point to the
1758 correct places in the new one. If extending the buffer results in it 1744 correct places in the new one. If extending the buffer results in it
diff --git a/src/sound.c b/src/sound.c
index 151bc1a08c1..403f08240ce 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -31,7 +31,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
31 cause an error to be generated. 31 cause an error to be generated.
32 32
33 The Windows implementation of play-sound is implemented via the 33 The Windows implementation of play-sound is implemented via the
34 Win32 API functions mciSendString, waveOutGetVolume, and 34 Windows API functions mciSendString, waveOutGetVolume, and
35 waveOutSetVolume which are exported by Winmm.dll. 35 waveOutSetVolume which are exported by Winmm.dll.
36*/ 36*/
37 37
diff --git a/src/w32.c b/src/w32.c
index 55b076e80f0..cd1d927e6fc 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -1,4 +1,4 @@
1/* Utility and Unix shadow routines for GNU Emacs on the Microsoft W32 API. 1/* Utility and Unix shadow routines for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1994-1995, 2000-2012 Free Software Foundation, Inc. 2 Copyright (C) 1994-1995, 2000-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
@@ -2011,7 +2011,7 @@ fdutimens (int fd, char const *file, struct timespec const timespec[2])
2011 2011
2012 2012
2013/* ------------------------------------------------------------------------- */ 2013/* ------------------------------------------------------------------------- */
2014/* IO support and wrapper functions for W32 API. */ 2014/* IO support and wrapper functions for the Windows API. */
2015/* ------------------------------------------------------------------------- */ 2015/* ------------------------------------------------------------------------- */
2016 2016
2017/* Place a wrapper around the MSVC version of ctime. It returns NULL 2017/* Place a wrapper around the MSVC version of ctime. It returns NULL
@@ -2929,7 +2929,7 @@ sys_rename (const char * oldname, const char * newname)
2929 /* volume_info is set indirectly by map_w32_filename. */ 2929 /* volume_info is set indirectly by map_w32_filename. */
2930 oldname_dev = volume_info.serialnum; 2930 oldname_dev = volume_info.serialnum;
2931 2931
2932 if (os_subtype == OS_WIN95) 2932 if (os_subtype == OS_WINDOWS_95)
2933 { 2933 {
2934 char * o; 2934 char * o;
2935 char * p; 2935 char * p;
diff --git a/src/w32console.c b/src/w32console.c
index c3a1c5d86b3..76585851e7f 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -1,4 +1,4 @@
1/* Terminal hooks for GNU Emacs on the Microsoft W32 API. 1/* Terminal hooks for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1992, 1999, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1992, 1999, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
@@ -515,7 +515,7 @@ w32con_set_terminal_modes (struct terminal *t)
515{ 515{
516 CONSOLE_CURSOR_INFO cci; 516 CONSOLE_CURSOR_INFO cci;
517 517
518 /* make cursor big and visible (100 on Win95 makes it disappear) */ 518 /* make cursor big and visible (100 on Windows 95 makes it disappear) */
519 cci.dwSize = 99; 519 cci.dwSize = 99;
520 cci.bVisible = TRUE; 520 cci.bVisible = TRUE;
521 (void) SetConsoleCursorInfo (cur_screen, &cci); 521 (void) SetConsoleCursorInfo (cur_screen, &cci);
diff --git a/src/w32fns.c b/src/w32fns.c
index 1b1c5001344..97b7001a3fa 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -1,4 +1,4 @@
1/* Graphical user interface functions for the Microsoft W32 API. 1/* Graphical user interface functions for the Microsoft Windows API.
2 2
3Copyright (C) 1989, 1992-2012 Free Software Foundation, Inc. 3Copyright (C) 1989, 1992-2012 Free Software Foundation, Inc.
4 4
@@ -6575,7 +6575,7 @@ If the underlying system call fails, value is nil. */)
6575 value = Qnil; 6575 value = Qnil;
6576 6576
6577 /* Determining the required information on Windows turns out, sadly, 6577 /* Determining the required information on Windows turns out, sadly,
6578 to be more involved than one would hope. The original Win32 api 6578 to be more involved than one would hope. The original Windows API
6579 call for this will return bogus information on some systems, but we 6579 call for this will return bogus information on some systems, but we
6580 must dynamically probe for the replacement api, since that was 6580 must dynamically probe for the replacement api, since that was
6581 added rather late on. */ 6581 added rather late on. */
diff --git a/src/w32font.c b/src/w32font.c
index 81378825412..fd24a90d60b 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -1,4 +1,4 @@
1/* Font backend for the Microsoft W32 API. 1/* Font backend for the Microsoft Windows API.
2 Copyright (C) 2007-2012 Free Software Foundation, Inc. 2 Copyright (C) 2007-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
@@ -292,7 +292,7 @@ intern_font_name (char * string)
292 Lisp_Object str = DECODE_SYSTEM (build_string (string)); 292 Lisp_Object str = DECODE_SYSTEM (build_string (string));
293 int len = SCHARS (str); 293 int len = SCHARS (str);
294 Lisp_Object obarray = check_obarray (Vobarray); 294 Lisp_Object obarray = check_obarray (Vobarray);
295 Lisp_Object tem = oblookup (obarray, SDATA (str), len, len); 295 Lisp_Object tem = oblookup (obarray, SDATA (str), len, len);
296 /* This code is similar to intern function from lread.c. */ 296 /* This code is similar to intern function from lread.c. */
297 return SYMBOLP (tem) ? tem : Fintern (str, obarray); 297 return SYMBOLP (tem) ? tem : Fintern (str, obarray);
298} 298}
@@ -1394,7 +1394,7 @@ font_matches_spec (DWORD type, NEWTEXTMETRICEX *font,
1394 currently appear in fontset.el, so it isn't worth 1394 currently appear in fontset.el, so it isn't worth
1395 creating a mapping table of codepages/scripts to languages 1395 creating a mapping table of codepages/scripts to languages
1396 or opening the font to see if there are any language tags 1396 or opening the font to see if there are any language tags
1397 in it that the W32 API does not expose. Fontset 1397 in it that the Windows API does not expose. Fontset
1398 spec should have a fallback, as some backends do 1398 spec should have a fallback, as some backends do
1399 not recognize language at all. */ 1399 not recognize language at all. */
1400 return 0; 1400 return 0;
diff --git a/src/w32font.h b/src/w32font.h
index 40edafa146d..b08d48a3d36 100644
--- a/src/w32font.h
+++ b/src/w32font.h
@@ -1,4 +1,4 @@
1/* Shared GDI and Uniscribe Font backend declarations for the W32 API. 1/* Shared GDI and Uniscribe Font backend declarations for the Windows API.
2 Copyright (C) 2007-2012 Free Software Foundation, Inc. 2 Copyright (C) 2007-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
diff --git a/src/w32gui.h b/src/w32gui.h
index 1e800e3cf3a..1ea185bfaa1 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -1,4 +1,4 @@
1/* Definitions and headers for communication on the Microsoft W32 API. 1/* Definitions and headers for communication on the Microsoft Windows API.
2 Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
diff --git a/src/w32heap.c b/src/w32heap.c
index cc5e5cd2bf5..e34021b1099 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -1,4 +1,4 @@
1/* Heap management routines for GNU Emacs on the Microsoft W32 API. 1/* Heap management routines for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
@@ -66,7 +66,7 @@ cache_system_info (void)
66 w32_minor_version = version.info.minor; 66 w32_minor_version = version.info.minor;
67 67
68 if (version.info.platform & 0x8000) 68 if (version.info.platform & 0x8000)
69 os_subtype = OS_WIN95; 69 os_subtype = OS_WINDOWS_95;
70 else 70 else
71 os_subtype = OS_NT; 71 os_subtype = OS_NT;
72 72
@@ -79,7 +79,7 @@ cache_system_info (void)
79 GetVersionEx (&osinfo_cache); 79 GetVersionEx (&osinfo_cache);
80 80
81 w32_build_number = osinfo_cache.dwBuildNumber; 81 w32_build_number = osinfo_cache.dwBuildNumber;
82 if (os_subtype == OS_WIN95) 82 if (os_subtype == OS_WINDOWS_95)
83 w32_build_number &= 0xffff; 83 w32_build_number &= 0xffff;
84} 84}
85 85
diff --git a/src/w32heap.h b/src/w32heap.h
index b2d51655098..7a20ba2a8b6 100644
--- a/src/w32heap.h
+++ b/src/w32heap.h
@@ -51,7 +51,7 @@ extern int w32_minor_version;
51extern int w32_build_number; 51extern int w32_build_number;
52 52
53enum { 53enum {
54 OS_WIN95 = 1, 54 OS_WINDOWS_95 = 1,
55 OS_NT 55 OS_NT
56}; 56};
57 57
@@ -92,4 +92,3 @@ IMAGE_SECTION_HEADER * find_section (char * name, IMAGE_NT_HEADERS * nt_header);
92IMAGE_SECTION_HEADER * rva_to_section (DWORD rva, IMAGE_NT_HEADERS * nt_header); 92IMAGE_SECTION_HEADER * rva_to_section (DWORD rva, IMAGE_NT_HEADERS * nt_header);
93 93
94#endif /* NTHEAP_H_ */ 94#endif /* NTHEAP_H_ */
95
diff --git a/src/w32inevt.c b/src/w32inevt.c
index 8d041194ca1..6d869727d2f 100644
--- a/src/w32inevt.c
+++ b/src/w32inevt.c
@@ -1,4 +1,4 @@
1/* Input event support for Emacs on the Microsoft W32 API. 1/* Input event support for Emacs on the Microsoft Windows API.
2 Copyright (C) 1992-1993, 1995, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1992-1993, 1995, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
diff --git a/src/w32inevt.h b/src/w32inevt.h
index 5386f2aa96c..c874e58ef39 100644
--- a/src/w32inevt.h
+++ b/src/w32inevt.h
@@ -1,4 +1,4 @@
1/* Input routines for GNU Emacs on the Microsoft W32 API. 1/* Input routines for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
@@ -30,4 +30,3 @@ extern void w32_console_mouse_position (FRAME_PTR *f, int insist,
30 unsigned long *time); 30 unsigned long *time);
31 31
32#endif /* EMACS_W32INEVT_H */ 32#endif /* EMACS_W32INEVT_H */
33
diff --git a/src/w32menu.c b/src/w32menu.c
index 871baedd0d3..09484d74b79 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -1,4 +1,4 @@
1/* Menu support for GNU Emacs on the Microsoft W32 API. 1/* Menu support for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1986, 1988, 1993-1994, 1996, 1998-1999, 2001-2012 2 Copyright (C) 1986, 1988, 1993-1994, 1996, 1998-1999, 2001-2012
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
diff --git a/src/w32proc.c b/src/w32proc.c
index afc1b21fdde..15b0ea25bc7 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -1,4 +1,4 @@
1/* Process support for GNU Emacs on the Microsoft W32 API. 1/* Process support for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1992, 1995, 1999-2012 Free Software Foundation, Inc. 2 Copyright (C) 1992, 1995, 1999-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
@@ -799,7 +799,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp)
799 unixtodos_filename (cmdname); 799 unixtodos_filename (cmdname);
800 argv[0] = cmdname; 800 argv[0] = cmdname;
801 801
802 /* Determine whether program is a 16-bit DOS executable, or a w32 802 /* Determine whether program is a 16-bit DOS executable, or a 32-bit Windows
803 executable that is implicitly linked to the Cygnus dll (implying it 803 executable that is implicitly linked to the Cygnus dll (implying it
804 was compiled with the Cygnus GNU toolchain and hence relies on 804 was compiled with the Cygnus GNU toolchain and hence relies on
805 cygwin.dll to parse the command line - we use this to decide how to 805 cygwin.dll to parse the command line - we use this to decide how to
@@ -1386,7 +1386,7 @@ find_child_console (HWND hwnd, LPARAM arg)
1386 1386
1387 GetClassName (hwnd, window_class, sizeof (window_class)); 1387 GetClassName (hwnd, window_class, sizeof (window_class));
1388 if (strcmp (window_class, 1388 if (strcmp (window_class,
1389 (os_subtype == OS_WIN95) 1389 (os_subtype == OS_WINDOWS_95)
1390 ? "tty" 1390 ? "tty"
1391 : "ConsoleWindowClass") == 0) 1391 : "ConsoleWindowClass") == 0)
1392 { 1392 {
@@ -1517,7 +1517,7 @@ sys_kill (int pid, int sig)
1517 if (NILP (Vw32_start_process_share_console) && cp && cp->hwnd) 1517 if (NILP (Vw32_start_process_share_console) && cp && cp->hwnd)
1518 { 1518 {
1519#if 1 1519#if 1
1520 if (os_subtype == OS_WIN95) 1520 if (os_subtype == OS_WINDOWS_95)
1521 { 1521 {
1522/* 1522/*
1523 Another possibility is to try terminating the VDM out-right by 1523 Another possibility is to try terminating the VDM out-right by
@@ -1536,7 +1536,7 @@ sys_kill (int pid, int sig)
1536 1536
1537*/ 1537*/
1538#if 0 1538#if 0
1539 /* On Win95, posting WM_QUIT causes the 16-bit subsystem 1539 /* On Windows 95, posting WM_QUIT causes the 16-bit subsystem
1540 to hang when cmdproxy is used in conjunction with 1540 to hang when cmdproxy is used in conjunction with
1541 command.com for an interactive shell. Posting 1541 command.com for an interactive shell. Posting
1542 WM_CLOSE pops up a dialog that, when Yes is selected, 1542 WM_CLOSE pops up a dialog that, when Yes is selected,
@@ -1810,7 +1810,7 @@ If successful, the return value is t, otherwise nil. */)
1810 CHECK_NUMBER (process); 1810 CHECK_NUMBER (process);
1811 1811
1812 /* Allow pid to be an internally generated one, or one obtained 1812 /* Allow pid to be an internally generated one, or one obtained
1813 externally. This is necessary because real pids on Win95 are 1813 externally. This is necessary because real pids on Windows 95 are
1814 negative. */ 1814 negative. */
1815 1815
1816 pid = XINT (process); 1816 pid = XINT (process);
diff --git a/src/w32select.c b/src/w32select.c
index 1d4a6f41bdd..59ff4405368 100644
--- a/src/w32select.c
+++ b/src/w32select.c
@@ -1,4 +1,4 @@
1/* Selection processing for Emacs on the Microsoft W32 API. 1/* Selection processing for Emacs on the Microsoft Windows API.
2 2
3Copyright (C) 1993-1994, 2001-2012 Free Software Foundation, Inc. 3Copyright (C) 1993-1994, 2001-2012 Free Software Foundation, Inc.
4 4
diff --git a/src/w32term.c b/src/w32term.c
index 6f0065de9eb..f02d101cea3 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1,4 +1,4 @@
1/* Implementation of GUI terminal on the Microsoft W32 API. 1/* Implementation of GUI terminal on the Microsoft Windows API.
2 2
3Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc. 3Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc.
4 4
diff --git a/src/w32term.h b/src/w32term.h
index 4fdf560dabc..b49104dde8b 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -1,4 +1,4 @@
1/* Definitions and headers for communication on the Microsoft W32 API. 1/* Definitions and headers for communication on the Microsoft Windows API.
2 Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
diff --git a/src/w32xfns.c b/src/w32xfns.c
index 0b0fc26fb6a..745a5cfe3e7 100644
--- a/src/w32xfns.c
+++ b/src/w32xfns.c
@@ -1,4 +1,4 @@
1/* Functions taken directly from X sources for use with the Microsoft W32 API. 1/* Functions taken directly from X sources for use with the Microsoft Windows API.
2 Copyright (C) 1989, 1992-1995, 1999, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1989, 1992-1995, 1999, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.