aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/w32.c2
-rw-r--r--src/w32heap.c4
-rw-r--r--src/w32heap.h2
-rw-r--r--src/w32proc.c4
5 files changed, 14 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fa1877f91c2..aba9846f6a6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12012-07-29 Eli Zaretskii <eliz@gnu.org>
2
3 * w32heap.h (OS_9X): Renamed from OS_WINDOWS_95.
4
5 * w32heap.c (cache_system_info):
6 * w32.c (sys_rename):
7 * w32proc.c (find_child_console, sys_kill): All users changed.
8
12012-07-29 Paul Eggert <eggert@cs.ucla.edu> 92012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2 10
3 * alloc.c (Fgarbage_collect): Indent as per usual Emacs style. 11 * alloc.c (Fgarbage_collect): Indent as per usual Emacs style.
diff --git a/src/w32.c b/src/w32.c
index cd1d927e6fc..a9f4f6fb50e 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -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_WINDOWS_95) 2932 if (os_subtype == OS_9X)
2933 { 2933 {
2934 char * o; 2934 char * o;
2935 char * p; 2935 char * p;
diff --git a/src/w32heap.c b/src/w32heap.c
index e34021b1099..26cc9aa0a0f 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -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_WINDOWS_95; 69 os_subtype = OS_9X;
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_WINDOWS_95) 82 if (os_subtype == OS_9X)
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 7a20ba2a8b6..fda3c58bf01 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_WINDOWS_95 = 1, 54 OS_9X = 1,
55 OS_NT 55 OS_NT
56}; 56};
57 57
diff --git a/src/w32proc.c b/src/w32proc.c
index 15b0ea25bc7..cfc82fa2c47 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -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_WINDOWS_95) 1389 (os_subtype == OS_9X)
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_WINDOWS_95) 1520 if (os_subtype == OS_9X)
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