* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
/* wincap.cc -- figure out on which OS we're running. Set the
|
|
|
|
capability class to the appropriate values.
|
|
|
|
|
2004-02-09 05:04:24 +01:00
|
|
|
Copyright 2001, 2002, 2003, 2004 Red Hat, Inc.
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
|
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
#include "winsup.h"
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_unknown = {
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
lock_file_highword:0x0,
|
|
|
|
chunksize:0x0,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE,
|
|
|
|
is_winnt:false,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:false,
|
|
|
|
has_delete_on_close:false,
|
|
|
|
has_page_guard:false,
|
|
|
|
has_security:false,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:false,
|
|
|
|
has_lseek_bug:false,
|
|
|
|
has_lock_file_ex:false,
|
|
|
|
has_signal_object_and_wait:false,
|
|
|
|
has_eventlog:false,
|
|
|
|
has_ip_helper_lib:false,
|
|
|
|
has_set_handle_information:false,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:false,
|
|
|
|
map_view_of_file_ex_sucks:false,
|
|
|
|
altgr_is_ctrl_alt:false,
|
|
|
|
has_physical_mem_access:false,
|
|
|
|
has_working_copy_on_write:false,
|
|
|
|
share_mmaps_only_by_name:false,
|
|
|
|
virtual_protect_works_on_shared_pages:false,
|
|
|
|
has_hard_links:false,
|
|
|
|
can_open_directories:false,
|
|
|
|
has_move_file_ex:false,
|
|
|
|
has_negative_pids:false,
|
|
|
|
has_unreliable_pipes:false,
|
|
|
|
has_try_enter_critical_section:false,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:false,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:false,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:false,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:false,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:false,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:false,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:false,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:false,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_95 = {
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
lock_file_highword:0x0,
|
|
|
|
chunksize:32 * 1024 * 1024,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE,
|
|
|
|
is_winnt:false,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:true,
|
|
|
|
has_delete_on_close:false,
|
|
|
|
has_page_guard:false,
|
|
|
|
has_security:false,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:false,
|
|
|
|
has_lseek_bug:true,
|
|
|
|
has_lock_file_ex:false,
|
|
|
|
has_signal_object_and_wait:false,
|
|
|
|
has_eventlog:false,
|
|
|
|
has_ip_helper_lib:false,
|
|
|
|
has_set_handle_information:false,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:false,
|
|
|
|
map_view_of_file_ex_sucks:true,
|
|
|
|
altgr_is_ctrl_alt:false,
|
|
|
|
has_physical_mem_access:false,
|
|
|
|
has_working_copy_on_write:false,
|
|
|
|
share_mmaps_only_by_name:true,
|
|
|
|
virtual_protect_works_on_shared_pages:false,
|
|
|
|
has_hard_links:false,
|
|
|
|
can_open_directories:false,
|
|
|
|
has_move_file_ex:false,
|
|
|
|
has_negative_pids:true,
|
|
|
|
has_unreliable_pipes:true,
|
|
|
|
has_try_enter_critical_section:false,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:false,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:false,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:false,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:false,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:false,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:false,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:false,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:true,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_95osr2 = {
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
lock_file_highword:0x0,
|
|
|
|
chunksize:32 * 1024 * 1024,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE,
|
|
|
|
is_winnt:false,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:true,
|
|
|
|
has_delete_on_close:false,
|
|
|
|
has_page_guard:false,
|
|
|
|
has_security:false,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:false,
|
|
|
|
has_lseek_bug:true,
|
|
|
|
has_lock_file_ex:false,
|
|
|
|
has_signal_object_and_wait:false,
|
|
|
|
has_eventlog:false,
|
|
|
|
has_ip_helper_lib:false,
|
|
|
|
has_set_handle_information:false,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:false,
|
|
|
|
map_view_of_file_ex_sucks:true,
|
|
|
|
altgr_is_ctrl_alt:false,
|
|
|
|
has_physical_mem_access:false,
|
|
|
|
has_working_copy_on_write:false,
|
|
|
|
share_mmaps_only_by_name:true,
|
|
|
|
virtual_protect_works_on_shared_pages:false,
|
|
|
|
has_hard_links:false,
|
|
|
|
can_open_directories:false,
|
|
|
|
has_move_file_ex:false,
|
|
|
|
has_negative_pids:true,
|
|
|
|
has_unreliable_pipes:true,
|
|
|
|
has_try_enter_critical_section:false,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:false,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:false,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:false,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:false,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:false,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:false,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:false,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:true,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_98 = {
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
lock_file_highword:0x0,
|
|
|
|
chunksize:32 * 1024 * 1024,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE,
|
|
|
|
is_winnt:false,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:true,
|
|
|
|
has_delete_on_close:false,
|
|
|
|
has_page_guard:false,
|
|
|
|
has_security:false,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:false,
|
|
|
|
has_lseek_bug:true,
|
|
|
|
has_lock_file_ex:false,
|
|
|
|
has_signal_object_and_wait:false,
|
|
|
|
has_eventlog:false,
|
|
|
|
has_ip_helper_lib:true,
|
|
|
|
has_set_handle_information:false,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:false,
|
|
|
|
map_view_of_file_ex_sucks:true,
|
|
|
|
altgr_is_ctrl_alt:false,
|
|
|
|
has_physical_mem_access:false,
|
|
|
|
has_working_copy_on_write:false,
|
|
|
|
share_mmaps_only_by_name:true,
|
|
|
|
virtual_protect_works_on_shared_pages:false,
|
|
|
|
has_hard_links:false,
|
|
|
|
can_open_directories:false,
|
|
|
|
has_move_file_ex:false,
|
|
|
|
has_negative_pids:true,
|
|
|
|
has_unreliable_pipes:true,
|
|
|
|
has_try_enter_critical_section:false,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:false,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:false,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:false,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:false,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:false,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:false,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:true,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_98se = {
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
lock_file_highword:0x0,
|
|
|
|
chunksize:32 * 1024 * 1024,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE,
|
|
|
|
is_winnt:false,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:true,
|
|
|
|
has_delete_on_close:false,
|
|
|
|
has_page_guard:false,
|
|
|
|
has_security:false,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:false,
|
|
|
|
has_lseek_bug:true,
|
|
|
|
has_lock_file_ex:false,
|
|
|
|
has_signal_object_and_wait:false,
|
|
|
|
has_eventlog:false,
|
|
|
|
has_ip_helper_lib:true,
|
|
|
|
has_set_handle_information:false,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:false,
|
|
|
|
map_view_of_file_ex_sucks:true,
|
|
|
|
altgr_is_ctrl_alt:false,
|
|
|
|
has_physical_mem_access:false,
|
|
|
|
has_working_copy_on_write:false,
|
|
|
|
share_mmaps_only_by_name:true,
|
|
|
|
virtual_protect_works_on_shared_pages:false,
|
|
|
|
has_hard_links:false,
|
|
|
|
can_open_directories:false,
|
|
|
|
has_move_file_ex:false,
|
|
|
|
has_negative_pids:true,
|
|
|
|
has_unreliable_pipes:true,
|
|
|
|
has_try_enter_critical_section:false,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:false,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:false,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:false,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:false,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:false,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:false,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:true,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_me = {
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
lock_file_highword:0x0,
|
|
|
|
chunksize:32 * 1024 * 1024,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE,
|
|
|
|
is_winnt:false,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:true,
|
|
|
|
has_delete_on_close:false,
|
|
|
|
has_page_guard:false,
|
|
|
|
has_security:false,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:false,
|
|
|
|
has_lseek_bug:true,
|
|
|
|
has_lock_file_ex:false,
|
|
|
|
has_signal_object_and_wait:false,
|
|
|
|
has_eventlog:false,
|
|
|
|
has_ip_helper_lib:true,
|
|
|
|
has_set_handle_information:false,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:false,
|
|
|
|
map_view_of_file_ex_sucks:true,
|
|
|
|
altgr_is_ctrl_alt:false,
|
|
|
|
has_physical_mem_access:false,
|
|
|
|
has_working_copy_on_write:false,
|
|
|
|
share_mmaps_only_by_name:true,
|
|
|
|
virtual_protect_works_on_shared_pages:false,
|
|
|
|
has_hard_links:false,
|
|
|
|
can_open_directories:false,
|
|
|
|
has_move_file_ex:false,
|
|
|
|
has_negative_pids:true,
|
|
|
|
has_unreliable_pipes:true,
|
|
|
|
has_try_enter_critical_section:false,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:false,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:false,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:false,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:false,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:false,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:false,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:true,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_nt3 = {
|
2003-12-03 17:35:52 +01:00
|
|
|
lock_file_highword:UINT32_MAX,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
chunksize:0,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
|
|
|
is_winnt:true,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:false,
|
|
|
|
has_delete_on_close:true,
|
|
|
|
has_page_guard:true,
|
|
|
|
has_security:true,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:true,
|
|
|
|
has_lseek_bug:false,
|
|
|
|
has_lock_file_ex:true,
|
|
|
|
has_signal_object_and_wait:false,
|
|
|
|
has_eventlog:true,
|
|
|
|
has_ip_helper_lib:false,
|
|
|
|
has_set_handle_information:true,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:false,
|
|
|
|
map_view_of_file_ex_sucks:false,
|
|
|
|
altgr_is_ctrl_alt:true,
|
|
|
|
has_physical_mem_access:true,
|
|
|
|
has_working_copy_on_write:true,
|
|
|
|
share_mmaps_only_by_name:false,
|
|
|
|
virtual_protect_works_on_shared_pages:true,
|
|
|
|
has_hard_links:true,
|
|
|
|
can_open_directories:true,
|
|
|
|
has_move_file_ex:true,
|
|
|
|
has_negative_pids:false,
|
|
|
|
has_unreliable_pipes:false,
|
|
|
|
has_try_enter_critical_section:false,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:true,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:true,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:true,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:true,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:true,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:false,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:false,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_nt4 = {
|
2003-12-03 17:35:52 +01:00
|
|
|
lock_file_highword:UINT32_MAX,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
chunksize:0,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
|
|
|
is_winnt:true,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:false,
|
|
|
|
has_delete_on_close:true,
|
|
|
|
has_page_guard:true,
|
|
|
|
has_security:true,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:true,
|
|
|
|
has_lseek_bug:false,
|
|
|
|
has_lock_file_ex:true,
|
|
|
|
has_signal_object_and_wait:true,
|
|
|
|
has_eventlog:true,
|
|
|
|
has_ip_helper_lib:false,
|
|
|
|
has_set_handle_information:true,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:true,
|
|
|
|
map_view_of_file_ex_sucks:false,
|
|
|
|
altgr_is_ctrl_alt:true,
|
|
|
|
has_physical_mem_access:true,
|
|
|
|
has_working_copy_on_write:true,
|
|
|
|
share_mmaps_only_by_name:false,
|
|
|
|
virtual_protect_works_on_shared_pages:true,
|
|
|
|
has_hard_links:true,
|
|
|
|
can_open_directories:true,
|
|
|
|
has_move_file_ex:true,
|
|
|
|
has_negative_pids:false,
|
|
|
|
has_unreliable_pipes:false,
|
|
|
|
has_try_enter_critical_section:true,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:true,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:true,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:true,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:true,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:true,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:true,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:false,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_nt4sp4 = {
|
2003-12-03 17:35:52 +01:00
|
|
|
lock_file_highword:UINT32_MAX,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
chunksize:0,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
|
|
|
is_winnt:true,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:false,
|
|
|
|
has_delete_on_close:true,
|
|
|
|
has_page_guard:true,
|
|
|
|
has_security:true,
|
|
|
|
has_security_descriptor_control:false,
|
|
|
|
has_get_process_times:true,
|
|
|
|
has_lseek_bug:false,
|
|
|
|
has_lock_file_ex:true,
|
|
|
|
has_signal_object_and_wait:true,
|
|
|
|
has_eventlog:true,
|
|
|
|
has_ip_helper_lib:true,
|
|
|
|
has_set_handle_information:true,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:true,
|
|
|
|
map_view_of_file_ex_sucks:false,
|
|
|
|
altgr_is_ctrl_alt:true,
|
|
|
|
has_physical_mem_access:true,
|
|
|
|
has_working_copy_on_write:true,
|
|
|
|
share_mmaps_only_by_name:false,
|
|
|
|
virtual_protect_works_on_shared_pages:true,
|
|
|
|
has_hard_links:true,
|
|
|
|
can_open_directories:true,
|
|
|
|
has_move_file_ex:true,
|
|
|
|
has_negative_pids:false,
|
|
|
|
has_unreliable_pipes:false,
|
|
|
|
has_try_enter_critical_section:true,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:true,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:true,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:false,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:true,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:true,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:true,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:false,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:true,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:false,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_2000 = {
|
2003-12-03 17:35:52 +01:00
|
|
|
lock_file_highword:UINT32_MAX,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
chunksize:0,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
|
|
|
is_winnt:true,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:false,
|
|
|
|
has_delete_on_close:true,
|
|
|
|
has_page_guard:true,
|
|
|
|
has_security:true,
|
|
|
|
has_security_descriptor_control:true,
|
|
|
|
has_get_process_times:true,
|
|
|
|
has_lseek_bug:false,
|
|
|
|
has_lock_file_ex:true,
|
|
|
|
has_signal_object_and_wait:true,
|
|
|
|
has_eventlog:true,
|
|
|
|
has_ip_helper_lib:true,
|
|
|
|
has_set_handle_information:true,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:true,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:true,
|
|
|
|
map_view_of_file_ex_sucks:false,
|
|
|
|
altgr_is_ctrl_alt:true,
|
|
|
|
has_physical_mem_access:true,
|
|
|
|
has_working_copy_on_write:true,
|
|
|
|
share_mmaps_only_by_name:false,
|
|
|
|
virtual_protect_works_on_shared_pages:true,
|
|
|
|
has_hard_links:true,
|
|
|
|
can_open_directories:true,
|
|
|
|
has_move_file_ex:true,
|
|
|
|
has_negative_pids:false,
|
|
|
|
has_unreliable_pipes:false,
|
|
|
|
has_try_enter_critical_section:true,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:true,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:true,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:true,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:true,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:true,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:true,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:true,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:true,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:false,
|
|
|
|
has_ioctl_storage_get_media_types_ex:false
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2001-09-14 06:22:05 +02:00
|
|
|
static NO_COPY wincaps wincap_xp = {
|
2003-12-03 17:35:52 +01:00
|
|
|
lock_file_highword:UINT32_MAX,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
chunksize:0,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
|
|
|
is_winnt:true,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:false,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
access_denied_on_delete:false,
|
|
|
|
has_delete_on_close:true,
|
|
|
|
has_page_guard:true,
|
|
|
|
has_security:true,
|
|
|
|
has_security_descriptor_control:true,
|
|
|
|
has_get_process_times:true,
|
|
|
|
has_lseek_bug:false,
|
|
|
|
has_lock_file_ex:true,
|
|
|
|
has_signal_object_and_wait:true,
|
|
|
|
has_eventlog:true,
|
|
|
|
has_ip_helper_lib:true,
|
|
|
|
has_set_handle_information:true,
|
2001-09-20 10:02:01 +02:00
|
|
|
has_set_handle_information_on_console_handles:true,
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
supports_smp:true,
|
|
|
|
map_view_of_file_ex_sucks:false,
|
|
|
|
altgr_is_ctrl_alt:true,
|
|
|
|
has_physical_mem_access:true,
|
|
|
|
has_working_copy_on_write:true,
|
|
|
|
share_mmaps_only_by_name:false,
|
|
|
|
virtual_protect_works_on_shared_pages:true,
|
|
|
|
has_hard_links:true,
|
|
|
|
can_open_directories:true,
|
|
|
|
has_move_file_ex:true,
|
|
|
|
has_negative_pids:false,
|
|
|
|
has_unreliable_pipes:false,
|
|
|
|
has_try_enter_critical_section:true,
|
2001-10-16 16:53:26 +02:00
|
|
|
has_raw_devices:true,
|
2001-10-15 11:41:18 +02:00
|
|
|
has_valid_processorlevel:true,
|
2002-02-25 18:47:51 +01:00
|
|
|
has_64bit_file_access:true,
|
2002-05-12 03:37:48 +02:00
|
|
|
has_process_io_counters:true,
|
2002-07-24 13:01:37 +02:00
|
|
|
supports_reading_modem_output_lines:true,
|
2003-04-20 03:36:15 +02:00
|
|
|
needs_memory_protection:true,
|
2003-05-20 17:22:09 +02:00
|
|
|
pty_needs_alloc_console:true,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:true,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:true,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:false,
|
|
|
|
has_ioctl_storage_get_media_types_ex:true
|
2003-05-20 17:22:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
static NO_COPY wincaps wincap_2003 = {
|
2003-12-03 17:35:52 +01:00
|
|
|
lock_file_highword:UINT32_MAX,
|
2003-05-20 17:22:09 +02:00
|
|
|
chunksize:0,
|
|
|
|
shared:FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
|
|
|
is_winnt:true,
|
2003-09-27 05:44:31 +02:00
|
|
|
is_server:true,
|
2003-05-20 17:22:09 +02:00
|
|
|
access_denied_on_delete:false,
|
|
|
|
has_delete_on_close:true,
|
|
|
|
has_page_guard:true,
|
|
|
|
has_security:true,
|
|
|
|
has_security_descriptor_control:true,
|
|
|
|
has_get_process_times:true,
|
|
|
|
has_lseek_bug:false,
|
|
|
|
has_lock_file_ex:true,
|
|
|
|
has_signal_object_and_wait:true,
|
|
|
|
has_eventlog:true,
|
|
|
|
has_ip_helper_lib:true,
|
|
|
|
has_set_handle_information:true,
|
|
|
|
has_set_handle_information_on_console_handles:true,
|
|
|
|
supports_smp:true,
|
|
|
|
map_view_of_file_ex_sucks:false,
|
|
|
|
altgr_is_ctrl_alt:true,
|
|
|
|
has_physical_mem_access:true,
|
|
|
|
has_working_copy_on_write:true,
|
|
|
|
share_mmaps_only_by_name:false,
|
|
|
|
virtual_protect_works_on_shared_pages:true,
|
|
|
|
has_hard_links:true,
|
|
|
|
can_open_directories:true,
|
|
|
|
has_move_file_ex:true,
|
|
|
|
has_negative_pids:false,
|
|
|
|
has_unreliable_pipes:false,
|
|
|
|
has_try_enter_critical_section:true,
|
|
|
|
has_raw_devices:true,
|
|
|
|
has_valid_processorlevel:true,
|
|
|
|
has_64bit_file_access:true,
|
|
|
|
has_process_io_counters:true,
|
|
|
|
supports_reading_modem_output_lines:true,
|
|
|
|
needs_memory_protection:true,
|
|
|
|
pty_needs_alloc_console:true,
|
2003-08-28 04:04:16 +02:00
|
|
|
has_terminal_services:true,
|
2004-01-20 00:03:43 +01:00
|
|
|
has_switch_to_thread:true,
|
2004-03-14 19:01:45 +01:00
|
|
|
cant_debug_dll_entry:false,
|
|
|
|
has_ioctl_storage_get_media_types_ex:true
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
};
|
|
|
|
|
2002-06-10 19:08:09 +02:00
|
|
|
wincapc wincap;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
|
|
|
|
void
|
|
|
|
wincapc::init ()
|
|
|
|
{
|
|
|
|
const char *os;
|
2003-09-27 10:14:56 +02:00
|
|
|
bool has_osversioninfoex = false;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
|
2002-01-29 03:02:03 +01:00
|
|
|
if (caps)
|
|
|
|
return; // already initialized
|
|
|
|
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
memset (&version, 0, sizeof version);
|
2003-09-27 10:14:56 +02:00
|
|
|
/* Request simple version info first. */
|
2003-09-27 05:44:31 +02:00
|
|
|
version.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
|
2003-09-27 10:14:56 +02:00
|
|
|
GetVersionEx (reinterpret_cast<LPOSVERSIONINFO>(&version));
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
|
|
|
|
switch (version.dwPlatformId)
|
|
|
|
{
|
|
|
|
case VER_PLATFORM_WIN32_NT:
|
|
|
|
switch (version.dwMajorVersion)
|
|
|
|
{
|
|
|
|
case 3:
|
|
|
|
os = "NT";
|
|
|
|
caps = &wincap_nt3;
|
|
|
|
break;
|
|
|
|
case 4:
|
|
|
|
os = "NT";
|
|
|
|
if (strcmp (version.szCSDVersion, "Service Pack 4") < 0)
|
2001-11-05 07:09:15 +01:00
|
|
|
caps = &wincap_nt4;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
else
|
2004-05-28 21:50:07 +02:00
|
|
|
{
|
2003-09-27 10:14:56 +02:00
|
|
|
caps = &wincap_nt4sp4;
|
|
|
|
if (strcmp (version.szCSDVersion, "Service Pack 6") >= 0)
|
|
|
|
has_osversioninfoex = true;
|
|
|
|
}
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
break;
|
|
|
|
case 5:
|
2001-09-12 23:07:13 +02:00
|
|
|
os = "NT";
|
2003-09-27 10:14:56 +02:00
|
|
|
has_osversioninfoex = true;
|
2003-05-20 17:22:09 +02:00
|
|
|
switch (version.dwMinorVersion)
|
2004-05-28 21:50:07 +02:00
|
|
|
{
|
2003-05-20 17:22:09 +02:00
|
|
|
case 0:
|
|
|
|
caps = &wincap_2000;
|
|
|
|
break;
|
2003-07-26 06:53:59 +02:00
|
|
|
|
2003-05-20 17:22:09 +02:00
|
|
|
case 1:
|
|
|
|
caps = &wincap_xp;
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
caps = &wincap_2003;
|
|
|
|
}
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
break;
|
|
|
|
default:
|
|
|
|
os = "??";
|
|
|
|
caps = &wincap_unknown;
|
|
|
|
break;
|
|
|
|
}
|
2001-11-05 07:09:15 +01:00
|
|
|
break;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
case VER_PLATFORM_WIN32_WINDOWS:
|
|
|
|
switch (version.dwMinorVersion)
|
|
|
|
{
|
|
|
|
case 0:
|
|
|
|
os = "95";
|
2002-09-22 05:38:57 +02:00
|
|
|
if (strchr (version.szCSDVersion, 'C'))
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
caps = &wincap_95osr2;
|
|
|
|
else
|
|
|
|
caps = &wincap_95;
|
|
|
|
break;
|
|
|
|
case 10:
|
|
|
|
os = "98";
|
2002-09-22 05:38:57 +02:00
|
|
|
if (strchr (version.szCSDVersion, 'A'))
|
2001-11-05 07:09:15 +01:00
|
|
|
caps = &wincap_98se;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
else
|
2001-11-05 07:09:15 +01:00
|
|
|
caps = &wincap_98;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
break;
|
|
|
|
case 90:
|
|
|
|
os = "ME";
|
|
|
|
caps = &wincap_me;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
os = "??";
|
|
|
|
caps = &wincap_unknown;
|
|
|
|
break;
|
|
|
|
}
|
2001-11-05 07:09:15 +01:00
|
|
|
break;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
default:
|
2001-11-05 07:09:15 +01:00
|
|
|
os = "??";
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
caps = &wincap_unknown;
|
|
|
|
break;
|
|
|
|
}
|
2003-09-27 05:44:31 +02:00
|
|
|
|
2003-09-27 10:14:56 +02:00
|
|
|
if (has_osversioninfoex)
|
2003-09-27 05:44:31 +02:00
|
|
|
{
|
2003-09-27 10:14:56 +02:00
|
|
|
/* Request extended version to get server info.
|
|
|
|
Available since NT4 SP6. */
|
|
|
|
version.dwOSVersionInfoSize = sizeof (OSVERSIONINFOEX);
|
2003-09-27 05:44:31 +02:00
|
|
|
GetVersionEx (reinterpret_cast<LPOSVERSIONINFO>(&version));
|
|
|
|
if (version.wProductType != VER_NT_WORKSTATION)
|
|
|
|
((wincaps *)this->caps)->is_server = true;
|
|
|
|
}
|
|
|
|
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-12 19:46:37 +02:00
|
|
|
__small_sprintf (osnam, "%s-%d.%d", os, version.dwMajorVersion,
|
|
|
|
version.dwMinorVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
wincapc::set_chunksize (DWORD nchunksize)
|
|
|
|
{
|
|
|
|
((wincaps *)this->caps)->chunksize = nchunksize;
|
|
|
|
}
|