b30eef0f67* floatformat.h (floatformat_arm_ext): Document as deprecated. (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) (floatformat_ia64_spill_little, floatformat_ia64_quad_little) (floatformat_ia64_spill_big, floatformat_ia64_quad_big) (floatformat_m88110_harris_ext): Declare.
Andrew Cagney
2001-08-21 00:20:05 +0000
d9b68c2c7ddebug
Christopher Faylor
2001-08-20 16:03:54 +0000
b1d0b9073c* cygheap.cc (init_cheap): Allocate cygheap in shared memory for Windows NT.
Christopher Faylor
2001-08-20 15:58:16 +0000
538eaed779* config.sub, config.guess: Import latest from subversions.
Alan Modra
2001-08-20 03:29:21 +0000
f088df8366merge from gcc
DJ Delorie
2001-08-18 23:47:14 +0000
6445d1871cmerge from gcc
DJ Delorie
2001-08-17 06:32:52 +0000
ab7c6379a8Add support for MIPS R1[02]000 performance counter opcodes.
Thiemo Seufer
2001-08-16 19:24:33 +0000
933cbf6213* fhandler_socket.cc (fhandler_socket::create_secret_event): Relax security of secret_event so AF_UNIX socket clients can connect to servers even if running under a different user account. (fhandler_socket::check_peer_secret_event): Ditto.
Egor Duda
2001-08-16 14:34:27 +0000
1457739a63* resource.cc (getrlimit): Return getdtablesize () as current limit on RLIMIT_NOFILE. * syscalls.cc (getdtablesize): Return OPEN_MAX if current dtable size is less than OPEN_MAX, the current dtable size otherwise. * sysconf.cc (sysconf): Return getdtablesize () on _SC_OPEN_MAX.
Corinna Vinschen
2001-08-16 14:29:21 +0000
3171175e90* resource.cc (getrlimit): Return OPEN_MAX as current limit on RLIMIT_NOFILE. * syscalls.cc (getdtablesize): Return OPEN_MAX. * sysconf.cc (sysconf): Return OPEN_MAX on _SC_OPEN_MAX. * include/limits.h (OPEN_MAX): Define as 256.
Corinna Vinschen
2001-08-16 14:20:09 +0000
91a1423a87* times.cc (utimes): Revert previous change. Just open the file using FILE_WRITE_ATTRIBUTES instead of GENERIC_WRITE on NT/W2K.
Corinna Vinschen
2001-08-15 10:48:43 +0000
2a9366ff49* security.cc (set_nt_attribute): Return always -1 in case of a failure. * times.cc (utimes): On NTFS with ntsec ON, change the file's security descriptor temporarily to acquire write access if opening the file failed.
Corinna Vinschen
2001-08-15 10:21:39 +0000
5fd12fb0cc* fhandler.cc (fhandler_base::is_nonblocking): New method. (fhandler_base::set_nonblocking): Ditto. * fhandler.h (fhandler_base): Declare new methods `is_nonblocking' and `set_nonblocking'. * fhandler_socket.cc (fhandler_socket::ioctl): Use `set_nonblocking'. * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Use `is_nonblocking'. (fhandler_tty_slave::read): Ditto. (fhandler_tty_slave::ioctl): Use `set_nonblocking'. (fhandler_pty_master::ioctl): Ditto. * net.cc (cygwin_sendto): Fallback to winsock 1 functionality in case of nonblocking IO. (cygwin_recvfrom): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * syscalls.cc (_read): Use `is_nonblocking'.
Corinna Vinschen
2001-08-15 07:49:15 +0000
da3ea61edd* cygpath.cc (main): Support -w for Windows (System) directories and return physical correct orthography for the Windows System dir.
Christopher Faylor
2001-08-15 03:24:18 +0000
3ca6bcc4d0* include/cygwin/version.h: Bump API version.
Christopher Faylor
2001-08-14 15:05:43 +0000
4acf3edf6a* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments. * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin.
Christopher Faylor
2001-08-14 14:36:58 +0000
6a574f1ad6* fhandler.cc (fhandler_base::fcntl): Use new O_NONBLOCK_MASK define. * fhandler.h: Move definitions of O_NOSYMLINK, O_DIROPEN and OLD_O_NDELAY from winsup.h to here. Add O_NONBLOCK_MASK define. * fhandler_socket.cc (fhandler_socket::close): Add hack to allow a graceful shutdown even if shutdown() hasn't been called by the application. Add debug output. (fhandler_socket::ioctl): Set fhandler's NONBLOCK flag according to FIONBIO setting. (fhandler_socket::fcntl): Use new O_NONBLOCK_MASK define. Actually set `request' before using it. * fhandler_tty.cc: Use new O_NONBLOCK_MASK define throughout. (fhandler_tty_slave::ioctl): Set fhandler's NONBLOCK flag according to FIONBIO setting. (fhandler_pty_master::ioctl): Ditto. * net.cc (wsock_event::prepare): Compare WSACreateEvent return code with `WSA_INVALID_EVENT' according to MSDN. * syscalls.cc (_read): Use new O_NONBLOCK_MASK define.
Corinna Vinschen
2001-08-14 07:41:45 +0000
52c80be8142001-08-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-08-13 22:54:42 +0000
29a075260aOops. Forgot to check in include/wchar.h???
Christopher Faylor
2001-08-11 01:56:53 +0000
067b070964(lbasename): Change function declaration to return a const char pointer.
Andrew Cagney
2001-08-10 23:46:15 +0000
5bb2a182c8* opcode/mips.h (INSN_GP32): Remove. (OPCODE_IS_MEMBER): Remove gp32 parameter. (M_MOVE): New macro identifier.
Richard Sandiford
2001-08-10 16:20:43 +0000
6286806473* lib/kernels.c: New file.
Earnie Boyd
2001-08-10 11:52:35 +0000
5b9d54bf97* lib/test.c (Win32_Winsock): Replace with __USE_W32_SOCKETS. Add more includes of w32api headers. * include/winnt.h (GetCurrentFiber): Change __inline to __inline__. Swap asm code with that of GetFiberData. (GetFiberData): Ditto. * lib/kernels.c: New file, containing library versions of GetCurrentFiber and GetFiberData. * lib/makefile.in: Add kernel32.o as static object to libkernal32.a.
Earnie Boyd
2001-08-10 11:51:03 +0000
b5c27d80c0Revert 2001-08-08 changes.
Alan Modra
2001-08-10 01:34:47 +0000
f11db2f4fa* include/wchar.h: Define __need_wint_t.
Christopher Faylor
2001-08-08 19:26:24 +0000
584b6591df* ppc.h (struct powerpc_operand): New field `reloc'. * ppc-opc.c: Include "bfd.h". (powerpc_operands): Add new field for reloc type.
Alan Modra
2001-08-08 13:19:36 +0000
8c62297ac5* security.cc (alloc_sd): Revert to setting inheritance attribute for permissions given to directories. Never set inheritance on NULL ACE.
Corinna Vinschen
2001-08-08 10:00:35 +0000
c0ae23dc47* security.cc (alloc_sd): Don't set FILE_DELETE_CHILD for group if S_ISVTX attribute is given. * dir.cc (mkdir): Allow immediate setting of S_ISUID, S_ISGID and S_ISVTX attribute. * syscalls.cc (_open): Ditto.
Corinna Vinschen
2001-08-07 16:14:59 +0000
86fb039324* dir.cc (mkdir): Set security attributes correctly for CreateDirectoryA () call if ntsec is on. Don't call set_file_attributes () then. * fhandler.cc (fhandler_base::open): Ditto for CreateFileA () call. * path.cc (symlink): Ditto. * security.cc (set_security_attribute): New function. * security.h: Add declaration for `allow_ntea' and `set_security_attribute'.
Corinna Vinschen
2001-08-07 15:09:54 +0000
f5e8e2be4a* grp.cc (class grp_check): New class. Make `group_state' a member of class grp_check. (read_etc_group): Free former allocated memory on reread. * passwd.cc (class pwd_check): New class Make `passwd_state' a member of class pwd_check. (read_etc_passwd): Free former allocated memory on reread.
Corinna Vinschen
2001-08-07 08:56:22 +0000
300624d4f3* fhandler_console.cc (get_tty_stuff): Don't initialize shared memory console area if it is already initialized. * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Augment debugging info.
Christopher Faylor
2001-08-07 05:15:59 +0000
96a3f4ae68* cygheap.cc (cygheap_root::set): Avoid treating '/' specially. * fhandler.cc (fhandler_base::fcntl): Only set specific O_NDELAY style flag passed in from application. * fhandler_socket.cc (fhandler_socket::fcntl): Ditto. * fhandler.h: Set constant for future use. * winsup.h: Define OLD_O_NDELAY only for old programs. * include/cygwin/version.h: Define CYGWIN_VERSION_CHECK_FOR_OLD_O_NONBLOCK.
Christopher Faylor
2001-08-07 00:01:42 +0000
54580e6a88* include/wtypes.h: (DECIMAL_SETZERO): Correct typo. * include/oleidl.h (ISupportErrorInfo, ICreateInfo): Move from here * include/oaidl.h: ... to here. * include/oaidl.h ICreateErrorInfo): Add interface definition. (IErrorInfo::GetGUID): Change arg to GUID. (LPSUPPORTERRORINFO): Add typedef. (IID_ISupportErrorInfo): Change forward decl. of type to IID. * include/winsock2.h (WSAGET* and WSAMAKE*): Remove duplicate defines. * include/commctrl.h (TreeView_SetIndent): Correct typo. * include/commctrl.h (TBSTYPE_FLAT): Remove define. * include/commctrl.h (TBBUTTONINFO[AW]): Add struct definitions, and UNICODE mappings, if _WIN32_IE >= 0x400. (TBIF_* and TB_SETBUTTONINFO): Add defines, if _WIN32_IE >= 0x400. (CDIS_*,CDDS_*,CDRF_*) : Add defines. (tagNMCUSTOMDRAWINFO): Add struct definition and typedefs. (tagNMLVCUSTOMDRAW): Likewise. (tagNMTVCUSTOMDRAW): Likewise. (tagNMLVCACHEHINT): Likewise. * include/basetsd.h (#include <_mingw.h>): Remove. (__int64): Define. * include/wingdi.h (AC_SRC_OVER): Add define. (struct _BLENDFUNCTION): Add. * include/shlobj.h: Add BIF_* defines. * include/winerror.h (E_PENDING): Add error code define. * include/basetsd.h (#include <_mingw.h>): Add directive. * include/winbase.h(InterlockedCompareExchange): Change args and return value from PVOID to LONG. (InterlockedExchange): Change first arg to LPLONG. (InterlockedCompareExchangePointer): New macro. (InterlockedExchangePointer): New macro.
Earnie Boyd
2001-08-05 12:47:53 +0000
e5ba4c060eThroughout, change check for running under Windows NT to 'iswinnt'. * dcrt0.cc (set_os_type): Set 'iswinnt' appropriately. * cygheap.cc (init_cheap): Revert to using VirtualAlloc for allocating cygheap. (cygheap_setup_for_child_cleanup): New function. Standard function to call after calling CreateProcess to cleanup cygheap info passed to child. (cygheap_fixup_in_child): Copy cygheap from shared memory into allocated space under Windows 9x or if can't relocate shared space under NT. * cygheap.h: Declare new function. * spawn.cc (spawn_guts): Use cygheap_fixup_in_child. * fork.cc (fork_parent): Ditto. * winsup.h: Declare iswinnt.
Christopher Faylor
2001-08-04 21:10:52 +0000
17195d08bc* dtable.cc (dtable::release): Avoid messing with console when closing socket.
Egor Duda
2001-08-04 18:53:53 +0000
7eb971a561* net.cc (cygwin_accept): Allow NULL peer and len parameters. * include/cygwin/socket.h: Define socklen_t as int.
Corinna Vinschen
2001-08-03 12:06:29 +0000
dce6f56397* path.cc (fchdir): Set the fhandler's path to absolute value to ensure changing to the correct directory even if the fhandler originally points to a relative path.
Corinna Vinschen
2001-08-03 11:14:09 +0000
20b2e9ce39merge from gcc
DJ Delorie
2001-08-02 23:27:47 +0000
3dcef5eedc* bfdlink.h (struct bfd_link_info): add new boolean field pei386_auto_import.
Charles Wilson
2001-08-02 23:07:10 +0000
a7061f7f502001-08-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-08-02 22:28:40 +0000
e13ea3343d* dcrt0.cc (alloc_stack_hard_way): Make half-hearted attempt to deal with growing stack under Windows 95. * Makefile.in: Add install-lib and install-headers.
Christopher Faylor
2001-07-29 02:33:30 +0000
8e4e3874c4* cygwin.din: Export sys_errlist, sys_nerr. * include/cygwin/version.h: Bump minor version number.
Christopher Faylor
2001-07-27 16:33:20 +0000
8b43d2722b* security.cc (get_user_primary_group): Fix compiler warning. (alloc_sd): Add DELETE permission for user when S_IWUSR is given.
Corinna Vinschen
2001-07-27 09:17:57 +0000
f9f2c11985* thread.cc (__pthread_equal): Invert return value so that true is returned when threads are equal.
Christopher Faylor
2001-07-26 20:47:05 +0000
351a85482cChristopher Faylor <cgf@cygnus.com> * cygwin.din: Export __signgam. * include/cygwin/version.h: Bump minor version number.
Christopher Faylor
2001-07-26 20:42:52 +0000
6b91b8d53bThroughout, reorganize header file inclusion to put security.h prior to fhandler.h. * fhandler.h (fhandler_base::get_inheritance): New method. * fhandler_socket.cc (fhandler_socket::create_secret_event): Use proper close-on-exec inheritance when creating. (fhandler_socket::check_peer_secret_event): Create handle as non-inheritable.
Christopher Faylor
2001-07-26 19:22:24 +0000
c784c833aa* MAINTAINERS: Clarify libiberty merge rules and procedures.
DJ Delorie
2001-07-26 14:20:05 +0000
0cc642a5f1* syscalls.cc (setsid): Detach process from its console if the current controlling tty is the console and already closed. * dtable.h (class dtable): Add members to count descriptors referring to the console. * dtable.cc (dtable::dec_console_fds): New function to detach process from its console. (dtable::release): Decrement the counter of console descriptors. (dtable::build_fhandler): Increment it. * exception.cc (ctrl_c_handler): Send SIGTERM to myself when catch CTRL_SHUTDOWN_EVENT.
Christopher Faylor
2001-07-26 00:10:52 +0000
09ff05f7f9* localtime.c: Changed whole file to become C++ clean. Rename to localtime.cc. * localtime.cc (tzload): Preserve errno.
Corinna Vinschen
2001-07-25 21:58:21 +0000
a7670c1e82* cygheap.cc (cygheap_fixup_in_child): Attempt Win95 workaround. * dtable.cc (dtable::dup_worker): Add debugging output. (dtable::vfork_child_dup): Correctly set close_on_exec. * fhandler.cc (fhandler_base::fork_fixup): Don't mess with handle if there is no need to get it from the parent. * fhandler_tty.cc (fhandler_tty_common::close): Add debugging output.
Christopher Faylor
2001-07-21 03:20:01 +0000
b34f1c9f7bClone src/config.guess. Mention in MAINTAINERS.
Andrew Cagney
2001-07-20 20:08:08 +0000
aea57aa057fix typo.
Christopher Faylor
2001-07-19 15:27:59 +0000
4e1965bb51merge from gcc
DJ Delorie
2001-07-19 00:04:11 +0000
07eb702fec2001-07-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-07-18 21:26:59 +0000
16828fc5d4* cygheap.cc (_cmalloc): Use correct constants for size calculation. * dcrt0.cc (dll_crt0_1): Move uid initialization earlier. * fork.cc (fork_parent): Move cygheap_setup_in_child to just prior to CreateProcess so that all contents of cygheap are copied. * spawn.cc (spawn_guts): Ditto.
Christopher Faylor
2001-07-18 17:05:34 +0000
c9fbce2641* security.cc (get_user_groups): Call Net function with NULL server name under specific error conditions. (is_group_member): Ditto. (get_user_local_groups): Ditto. (get_user_primary_group): Ditto.
Corinna Vinschen
2001-07-18 12:56:26 +0000
5457dfcb81* child_info.h: Bump magic number. (class child_info): Add an element. * cygheap.cc (init_cheap): Allocate cygwin heap in shared memory area. (cygheap_fixup_in_child): Map cygwin heap, passed from parent via shared memory into correct address. (cygheap_setup_for_child): New function. * cygheap.h: Declare new functions. * dcrt0.cc (dll_crt0_1): Accomodate new cygheap_fixup_in_child arguments. Avoid protecting subproc_ready unless it is spawn/nowait. * fork.cc (fork_parent): Use new cygheap_setup_for_child function to setup cygwin heap info. Close passed cygheap shared memory handle. * spawn.cc (spawn_guts): Ditto. Also, reorganize to avoid synchronization between parent and child in non-P_OVERLAY case. * sigproc.cc (wait_sig): Only signal subproc_ready when execing.
Christopher Faylor
2001-07-17 03:41:52 +0000
30640285c3Update local local copies of config.sub and config.guess. Mention those files in MAINTAINERS.
Andrew Cagney
2001-07-17 00:30:00 +0000
3a157c0d0dChange well_known_admin_sid to well_known_admins_sid throughout. * sec_acl.cc (setacl): Never set DELETE permission. Set FILE_DELETE_CHILD only on readable and executable directories. * sec_helper.cc: Add constructor for `well_known_null_sid'. * security.cc (get_nt_attribute): Set S_ISVTX for directories if FILE_WRITE_DATA and FILE_EXECUTE but not FILE_DELETE_CHILD is set. Add evaluation of S_ISVTX, S_ISGID and S_ISUID from NULL ACE. (alloc_sd): Never set DELETE permission. Set FILE_DELETE_CHILD only on readable and executable directories. Add creation of NULL ACE for S_ISVTX, S_ISGID and S_ISUID permissions. * security.h: Add extern declaration for `well_known_null_sid'.
Corinna Vinschen
2001-07-15 22:40:07 +0000
4c61c04cd3* regtool.cc (find_key): Handle keys with only one subkey.
Corinna Vinschen
2001-07-15 11:27:23 +0000
2aa2adb2d2* syscalls.cc (_unlink): Correct (?) logic which determines when to report an access violation and when to queue file for eventual deletion. (stat_worker): Check for invalid buf argument.
Christopher Faylor
2001-07-13 17:22:15 +0000
dfd34b9e6d2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-07-12 21:20:59 +0000
ef393a8fad* some support for funny-endian 16/32-bit insn sets
Frank Ch. Eigler
2001-07-12 02:32:25 +0000
25b14d6c00merge from gcc
DJ Delorie
2001-07-11 00:15:17 +0000
8595942c8e* mmap.cc (fhandler_disk_file::mmap): Try to open file mappings by a unified name when running under 9x/ME. If that failes, create the file mapping using the unified name.
Corinna Vinschen
2001-07-10 21:04:14 +0000
25c06979efNew entry: "Why don't international (8-bit) characters work?"
David Starks-Browning
2001-07-06 00:30:23 +0000
0acab04bbeNew "Known Problems" entry: Pipe key doesn't work on non-US kbds on Win9x. Some cosmetic changes.
David Starks-Browning
2001-07-06 00:16:13 +0000
9fbb1738c4better instructions for installing cygwin snapshots
David Starks-Browning
2001-07-05 23:58:34 +0000
3f5ab6915cNew entry "Where is the su command?"
David Starks-Browning
2001-07-05 23:29:43 +0000
ad78f91ea8force
Christopher Faylor
2001-07-05 00:38:10 +0000
c3ac95e258"How do I rebuild the tools on my NT box?": texi2html now provided.
David Starks-Browning
2001-07-04 23:36:16 +0000
0ef44b84e6"Why the weird directory structure?": new mount output format. "Why can't I run bash as a shell under NT Emacs?": new title.
David Starks-Browning
2001-07-04 23:30:17 +0000
7414c97eb3Update "Can I use setup to install snapshots?" (now 'no') with new instructions.
David Starks-Browning
2001-07-04 23:21:49 +0000
d3f2880903Add caveat that contents list is always out of date. Remove entry "Setup screwed up my mounts!"
David Starks-Browning
2001-07-04 23:00:31 +0000
a43d0f3e07just a bit more...
David Starks-Browning
2001-07-04 22:54:16 +0000
7b49219617Add more to entry "How do I print under Cygwin"?
David Starks-Browning
2001-07-04 22:52:58 +0000
f215088f81Add apropos and /usr/sbin/makewhatis to "Why doesn't man work?" entry.
David Starks-Browning
2001-07-04 21:14:41 +0000
518117ea0fRemerge with gcc
Nick Clifton
2001-06-30 08:58:10 +0000
1e8b3ce280Add DWARF 2.1 attributes
Nick Clifton
2001-06-29 14:17:31 +0000
2113bf6c1a* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Return 0 for success.
Christopher Faylor
2001-06-29 02:20:01 +0000
2b6b730c98Handle ARMs with big endian IEEE words but little endian IEEE bytes
Nick Clifton
2001-06-28 10:40:09 +0000