5336d6de842001-02-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-02-09 00:32:43 +0000
8915d10a262001-02-08 Edward M. Lee <tailbert@yahoo.com>
Jeff Johnston
2001-02-09 00:13:54 +0000
889109ab1f* mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED and on MAP_PRIVATE|MAP_ANON in the special case of offset 0.
Corinna Vinschen
2001-02-08 21:10:45 +0000
db49d0b530* mmap.cc (class list): Add member `hash'. (list::list): Initialize `hash'. (list::get_list_by_fd): Use filepath hash value to get the correct mapping list if it's not an anonymous mapping. (map::add_list): Initialize `hash' with filepath hash value. (mmap): Check for reusing a mapping only on MAP_SHARED.
Corinna Vinschen
2001-02-08 21:02:36 +0000
df7e8957fd* setup2.sgml: Add docs about domain accounts.
DJ Delorie
2001-02-08 04:12:48 +0000
91d385fed3* signal.cc (killpg): Correct first argument.
Christopher Faylor
2001-02-07 23:48:09 +0000
9182099c10* autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll. Add LoadDLLfuncEx statements for GetIfTable@12 and GetIpAddrTable@12. * fhandler_socket.cc (fhandler_socket::ioctl): Move variable definitions to the beginning of the function to allow better debugging. Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. * net.cc: Include iphlpapi.h. (get_2k_ifconf): Rewritten. Uses IP Helper API now. (get_nt_ifconf): Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. (get_95_ifconf): Ditto. Renamed from `get_9x_ifconf'. (get_ifconf): Name loopback `lo' instead of `lo0' as in Linux. Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. Call `get_95_ifconf' only on Windows 95, `get_nt_ifconf' only on Windows NT < Service Pack 3, `get_2k_ifconf otherwise. * include/asm/socket.h: Add defines for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. * include/cygwin/if.h: Add `ifr_hwaddr', `ifr_metric' and `ifr_mtu'. (struct ifreq): Add `ifru_hwaddr'.
Corinna Vinschen
2001-02-07 22:50:50 +0000
93ac4487072001-02-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-02-07 18:11:09 +0000
d7e7986bca* configure: Output host type to stdout, not stderr.
DJ Delorie
2001-02-07 01:06:43 +0000
b1417ae1cc2001-01-23 H.J. Lu <hjl@gnu.org>
H.J. Lu
2001-02-06 19:35:48 +0000
ea8a3d42ab2001-02-06 Will Cohen <wcohen@redhat.com>
Jeff Johnston
2001-02-06 19:17:20 +0000
d7ed877ba3* syscalls.cc (stat_worker): Add a check for the special case when a process creates a file using mode 000 using ntsec.
Corinna Vinschen
2001-02-06 14:07:02 +0000
31f5feea332001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
Jeff Johnston
2001-02-05 21:51:43 +0000
ae9b22c69b* fhandler.cc (fhandler_base::open): Always add GENERIC_READ access when opening raw disk devices. * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Implement bytewise access. * fhandler_raw.cc (fhandler_dev_raw::open): Always open raw disk device binary. (fhandler_dev_raw::raw_write): Don't drop read buffer content when writing after read.
Corinna Vinschen
2001-02-05 16:10:06 +0000
cada03f92f* mmap.cc (mmap_record::fixup_map): New method to duplicate the memory protection in a just forked child. (mmap): Realign gran_len to page boundary only on anonymous mapping before saving in the mmap_record. (munmap): Cleanup code. (msync): Ditto. (fixup_mmaps_after_fork): Ditto. Call mmap_record::fixup_map now.
Corinna Vinschen
2001-02-05 12:36:41 +0000
d4eaf28eb5* config.guess: Import from subversions.gnu.org (revision 1.181). * config.sub: Import from subversions.gnu.org (revision 1.199).
Michael Sokolov
2001-02-04 18:17:30 +0000
30da4f3d29Binutils portion of fix for syntax array elements when max operands is greater than 127.
Patrick Macdonald
2001-02-02 23:04:39 +0000
6c9d74d3femerge from gcc
DJ Delorie
2001-02-02 18:58:10 +0000
7152ac2bb3* include/winnt.h: (__TEXT): Add private macro. (_TEXT): Modify definition to use __TEXT. (_T): Ditto. This change allows the passing of a MACRO as an argument and have that MACRO resolved first. Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
Earnie Boyd
2001-02-02 18:10:58 +0000
67997034e8* Makefile.in: Increment VERSION to 0.5 * include/winnt.h: Change TEXT to _TEXT throughout. (SID_RELEASE): Define. Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
Earnie Boyd
2001-01-31 22:41:22 +0000
4ea1be6d1f* Makefile.in: Increment version to 0.5 * include/_mingw.h: Increment minor version
Earnie Boyd
2001-01-31 22:17:17 +0000
e29d83550e2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-01-31 20:11:48 +0000
f8da150758* shared.cc (shared_info::initialize): Reduce size of heap.
Christopher Faylor
2001-01-31 15:06:06 +0000
4f42df7bc4* include/cygwin/version.h: Bump version to 1.3.0.
Christopher Faylor
2001-01-30 23:19:19 +0000
535964b7a4* include/assert.h: (assert): Remove ; from end of definition Thanks to: AJ Reins <tbisp@qwest.net>
Earnie Boyd
2001-01-30 18:03:23 +0000
9cf3d9cbb5* Apply Phil Krylov patches. 2001-01-19 Phil Krylov <phil@mail.ru> * include/commctrl.h: (HDI_IMAGE) New definition. (HDI_DI_SETITEM) Ditto. (HDI_ORDER) Ditto. (HDI_FILTER) Ditto. (HDF_BITMAP_ON_RIGHT) Ditto. (HDF_IMAGE) Ditto. (HDM_SETORDERARRAY) Ditto. (Header_SetOrderArray) Ditto. (ICC_BAR_CLASSES) Ditto. (struct _HD_ITEMA) Change definition. (struct _HD_ITEMW) Ditto. (struct tagINITCOMMONCONTROLSEX) Enclose in _WIN32_IE braces. (InitCommonControlsEx()) Ditto. 2001-01-23 Phil Krylov <phil@mail.ru> * include/richedit.h: Many Richedit 2.0 definitions.
Earnie Boyd
2001-01-30 15:47:41 +0000
aaee3363f6* include/winuser.h: (IDC_HAND) New resource identifier. Thanks to: Mark Jordon <mark_jordan@ieee.org>
Earnie Boyd
2001-01-30 14:59:29 +0000
04f79a1ca8* include/iptypes.h: Include <sys/types.h> for time_t declaration. Fix typo's.
Earnie Boyd
2001-01-30 14:37:54 +0000
bac9524c30* objidl.h: (GetClassID): Argument needs to be a pointer. (GetUnmarshalClass): CLSID argument needs to be a pointer. Thanks To: <bge@users.sourceforge.net>
Earnie Boyd
2001-01-30 13:34:50 +0000
9d80174e9d* Apply Danny Smith patch 102386 2000-11-15 Danny Smith <danny_r_smith_2001@yahoo.co.nz> * lib/rasapi32.def: add symbols available in NT4 and W2k
Earnie Boyd
2001-01-30 12:55:03 +0000
58605e60f6* include/time.h: (CLOCKS_PER_SEC): Type cast the constant. Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
Earnie Boyd
2001-01-30 12:44:46 +0000
9928a7e108* pinfo.cc (pinfo::init): Use INVALID_HANDLE_VALUE instead of explicit cast (HANDLE) 0xffffffff. * shared.cc (open_shared): Ditto.
Corinna Vinschen
2001-01-30 08:10:04 +0000
82ea92f3ea* libc/stdlib/mallocr.c: Undefine windows preprocessor variables when compiling under Cygwin.
Christopher Faylor
2001-01-30 04:04:59 +0000
f1f21b9ea2Handle hppa64-linux systems.
Alan Modra
2001-01-30 02:17:40 +0000
747e88d3f6* fhandler_serial.cc (raw_write): Use local copy of OVERLAPPED structure instead of shared structure to fix a race condition between read/write.
Christopher Faylor
2001-01-30 01:52:29 +0000
3aaa66f8132001-01-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-01-29 22:40:50 +0000
2f3ea37bc8* time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
Earnie Boyd
2001-01-29 19:05:18 +0000
68ea0dc2fc* mmap.cc (mmap): Remove obsolete check for MAP_SHARED|MAP_ANON as being invalid.
Corinna Vinschen
2001-01-29 13:39:17 +0000
6a4878cf16* syscalls.cc (_link): Make sure that newpath does not exist. Set errno if it does. * cygheap.cc (init_cheap): Don't specify a load address for the heap. It doesn't work on #!*& Windows 9x. (cygheap_init): Move GetUserName to memory_init. * dcrt0.cc (dll_crt0_1): Call new memory_init functin, eliminate call to heap_init. * heap.cc (heap_init): Improve error output. * heap.h: Correct some declarations. * shared.cc (mount_table_init): Remove. (memory_init): Renamed from shared_init. Reorganize to accomodate strange Windows 9x problems with cygheap/heap interaction. * shared_info.h: Rename shared_init to memory_init.
Christopher Faylor
2001-01-29 00:46:25 +0000
39d871d66d* include/wchar.h: The 2001.01.18 Change was incorrect. The functions are actually C functions. These functions are resolved via the -lmsvcp60 library and comments were placed in the header.
Earnie Boyd
2001-01-28 18:06:17 +0000
ae6c8e4fc2* include/cygwin/version.h: Bump API version.
Christopher Faylor
2001-01-28 06:26:50 +0000
9a089f21ea* cygheap.cc (init_cheap): Move username initialization. (cygheap_init): Here. * shared_info.h (mount_info): Add a sys_mount_table_counter field. (shared_info): Ditto. * path.cc (mount_info::conv_to_win32_path): Check that our mount table is in sync with the system mount table and reinitialize it if not. (mount_info::add_reg_mount): Bump sys_mount_table counters if the system mount table changes. (mount_info::del_reg_mount): Ditto. (mount_info::write_cygdrive_info_to_registry): Ditto. (mount_info::remove_cygdrive_info_from_registry): Ditto.
Christopher Faylor
2001-01-28 06:23:42 +0000
2a6fc028baThroughout, change 'cygwin_shared.mount' to 'mount_table'. * child_info.h (child_info): Move shared_h, console_h to cygheap. Add mount_h. * cygheap.h (init_cygheap): Add shared_h, console_h. * cygheap.cc (init_cheap): Initialize heap at a fixed location after the shared memory regions. Initialize cygheap->user name here. * dcrt0.cc (dll_crt0_1): Call getpagesize () to initialize constants. Remove cygheap_init since it is done in shared_init now. (_dll_crt0): Initialize mount_h, remove shared_h and console_h initialization. * fhandler_console.cc (console_shared_h): Eliminate. (get_tty_stuff): Use cygheap->console_h rather than console_shared_h. * heap.cc (heap_init): Use page size constant calculated earlier in initialization. * shared.cc: Eliminate cygwin_shared_h. Add cygwin_mount_h. (mount_table_init): New function for initializing a user mount table. (open_shared_file_map): Use constant for shared memory region. Initialize cygheap and mount table here. (open_shared): Improve debugging output. (shared_info::initialize): Eliminate call to mount.init. (shared_terminate): Use cygheap->shared_h. Close cygwin_mount_h. (open_shared_file_map): Eliminate. * shared_info.h (mount_info): Add a version field. (shared_align_past): New macro for calculating location for shared memory regions. * sigproc.cc (init_child_info): Eliminate shared_h, console_h. * spawn.cc (spawn_guts): Pass on cygwin_mount_h iff not a different user. * syscalls.cc (system_info): New global holding system memory defaults. (getpagesize): Use system_info. * uinfo.cc (internal_getlogin): Only fill in user name if nonexistent. * winsup.h: Declare system_info. * passwd.cc (read_etc_passwd): Use cygheap->user.name () rather than retrieving the name again.
Christopher Faylor
2001-01-28 05:51:15 +0000
022ce214de* ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works): Don't unset, it's non-portable and no longer necessary, set to empty instead.
Michael Sokolov
2001-01-27 19:36:45 +0000
05ea0b46f1* ltconfig: Shell portability fix for the tagname validity check.
Michael Sokolov
2001-01-27 19:34:13 +0000
dcc5e02d01* ltcf-cxx.sh: Use parentheses around eval $ac_compile.
Michael Sokolov
2001-01-27 19:29:31 +0000
4c16ad64a2* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types. * ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
Alexandre Oliva
2001-01-27 19:22:59 +0000
bdfeca609b* path.cc (path_conv::check): Detect when path has symlinks. (symlink_info::check): Remove debugging stuff. (chdir): Use posix'ized win32 path if cd'ed to a path using symlinks.
Christopher Faylor
2001-01-27 15:34:38 +0000
0826bed5c1Fix typos. Add some comments.
Christopher Faylor
2001-01-27 03:02:15 +0000
206a8d884b* exceptions.cc (sigreturn): Call any pending signals prior to resetting the signal mask so that stacked signals behave correctly. (sigdelayed): Avoid a race where a signal could end up calling an incorrect signal handler if two signals come in close together.
Christopher Faylor
2001-01-27 02:23:46 +0000
6bdf786b95* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we keep at least one of build_libtool_libs or build_old_libs set to yes.
Alexandre Oliva
2001-01-24 20:09:37 +0000
77ab85cb32Fix swapgs instruction.
Alan Modra
2001-01-24 07:32:34 +0000
174f1a392e* mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping with len != 0 only when performing an anonymous mapping.
Corinna Vinschen
2001-01-24 04:00:41 +0000
3643210e242001-01-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-01-24 00:12:44 +0000
841081c9f22001-01-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-01-23 19:56:14 +0000
e9cd87b82a2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-01-23 19:49:09 +0000
4c7b82500d* path.h: Add a new constant. * syscalls.cc (_read): Oscillate errno check.
Christopher Faylor
2001-01-22 20:36:38 +0000
c65a318355* include/cygwin/version.h: Bump API to reflect setlogmask.
Christopher Faylor
2001-01-22 20:29:24 +0000
29c39fe3dd* cygwin.din: Add export for setlogmask(). * syslog.cc (setlogmask): New function.
Christopher Faylor
2001-01-22 15:55:34 +0000
6e0801da6aGive credit for the last change to Philip instead of to Maciej.
Andreas Jaeger
2001-01-22 10:49:19 +0000
eeb681b57f2001-01-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Andreas Jaeger
2001-01-20 16:57:28 +0000
a302b48c212001-01-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-01-19 01:25:13 +0000
74a3cd0a4f* include/wchar.h: Protect prototypes only declared in the C++ STL from being declared unless __cplusplus is defined.
Earnie Boyd
2001-01-18 15:40:50 +0000
c807d3552a* resource.cc (setrlimit): Support RLIMIT_NOFILE.
Corinna Vinschen
2001-01-18 09:30:37 +0000
4e2a97b2ac* syscalls.cc (setdtablesize): Call with amount to increment not total amount. Return success or failure error code.
Christopher Faylor
2001-01-18 04:26:04 +0000
d0319c3b5b* libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
Christopher Faylor
2001-01-18 04:24:03 +0000
a7cde2b98a* autoload.cc (LoadDLLinitfunc): Remove debugging statement. * exceptions.cc (sig_handle_tty_stop): Move setting of PID_STOPPED to earlier in interrupt. ((interrupt_setup): i.e., here. (sig_handle): Don't queue multiple SIGSTOPS. * fhandler.h (bg_check_types): Enumerate return value of bg_check for clarity. * signal.cc (kill_pgrp): Minor cleanup. * fhandler_termios.cc (fhandler_termios::bg_check): Use enumerated type for function return. Don't raise signal if a signal is already queued. * fhandler_console.cc (fhandler_console::read): Use enumerated return type for bg_check. * select.cc: Ditto, throughout. * read.cc: Ditto, throughout. * termios.cc: Ditto, throughout. (_read): YA interrupt detect simplification. * wait.cc (wait4): Ditto.
Christopher Faylor
2001-01-17 14:57:09 +0000
48e952a687* include/sqlucode.h: Apply Danny Smith patch 102443 2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz> New file.
Earnie Boyd
2001-01-16 19:02:04 +0000
4ba2b1898c* lib/odbccp32.def: Apply Danny Smith patch 102442 2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz> New file.
Earnie Boyd
2001-01-16 18:41:48 +0000
8a5edc3613* include/odbcinst.h: Apply Danny Smith patch 102441 2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz> New file.
Earnie Boyd
2001-01-16 18:23:52 +0000
2762a24302* include/stdlib.h: Apply Danny Smith patch 102730 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz> (_wgetenv) Correction to return type.
Earnie Boyd
2001-01-16 16:43:00 +0000
49a5f0809b* include/locale.h: Apply Danny Smith patch 101834 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz> (LC_MIN) Add definition. (LC_MAX) ditto. (_wsetlocale) Add prototype.
Earnie Boyd
2001-01-16 14:51:03 +0000
da2515fc49General cleanup.
Andrew Cagney
2001-01-16 05:30:31 +0000
be948af13cClarify dejagnu
Andrew Cagney
2001-01-16 05:22:12 +0000
9470a80c8b* wait.cc (wait4): Rename variable for consistency. Allow restartable signal behavior.
Christopher Faylor
2001-01-16 02:29:47 +0000
9334c89c1d* mmap.cc (mmap): Add more parameter checking. Change error output in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
Corinna Vinschen
2001-01-15 22:18:14 +0000
c6dd43f263* mmap.cc: include <unistd.h>. Define some bit operations for the new page map. (mmap_record): Change type of base_address_ to caddr_t. Add map_map_ member. Add several methods to manipulate map_map_. (mmap_record::alloc_map): New method. (mmap_record::free_map): Ditto. (mmap_record::find_empty): Ditto. (mmap_record::map_map): Ditto. (mmap_record::unmap_map): Ditto. (list::add_record): Change return type to `mmap_record *'. Allocate page map. (list::match): New method. (mmap): Partly rewritten to take care for the new page map. Add some parameter checking. (munmap): Ditto.
Corinna Vinschen
2001-01-15 19:42:33 +0000
6d15efce112001-01-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-01-15 18:20:18 +0000
66097f06dd* heap.cc (heap_init): Fix extern declaration of getpagesize. * syscalls.cc (getpagesize): Fix another typo.
Corinna Vinschen
2001-01-15 12:53:30 +0000
dc3651b6cd* syscalls.cc (getpagesize): Save pagesize in global variable to avoid calling GetSystemInfo too often. * heap.cc (getpagesize): Eliminate. (heap_init): Use getpagesize function from syscalls.cc.
Corinna Vinschen
2001-01-15 12:25:00 +0000
4cf2c0e0cb* sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZE request to avoid implementing the same twice.
Corinna Vinschen
2001-01-15 10:58:19 +0000
8d1c0339082001-01-15 Ben Elliston <bje@redhat.com>
Ben Elliston
2001-01-15 00:19:42 +0000