summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some small speedups.Joern Rennecke2002-07-082-5/+7
|
* gas/ChangeLogAlan Modra2002-07-082-4/+8
| | | | | | | | | * config/tc-i386.c (process_suffix): Remove intel mode movsx and movzx fudges. (md_assemble): Instead, zap the suffix here. include/opcode/ChangeLog * i386.h: Remove IgnoreSize from movsx and movzx.
* doc patch.Christopher Faylor2002-07-071-76/+85
|
* * configure.in: Check for libiconv.a.Christopher Faylor2002-07-074-38/+78
| | | | | * configure: Regenerate. * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
* * Makefile.in: Use MINGW stuff from Makefile.common.Christopher Faylor2002-07-074-23/+15
|
* * testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h willChristopher Faylor2002-07-072-1/+6
| | | | be found.
* * Makefile.common (MINGW_INCLUDES): Simplify.Christopher Faylor2002-07-072-43/+8
| | | | | (MINGW_CFLAGS): New. (MINGW_CXXFLAGS): Ditto.
* Add missing entry from 2002-06-25Christopher Faylor2002-07-071-0/+43
|
* * libc/machine/sh/Makefile.am (lib_a_SOURCES):Joern Rennecke2002-07-075-32/+193
| | | | | | | | Make strcmp.S unconditional. * libc/machine/sh/Makefile.in: Regenerate. * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ . * strcmp.S (strcmp): Add SHmedia variant. Use different registers for SHcompact.
* * fhandler.h (fhandler_socket::is_unconnected): Constify.Corinna Vinschen2002-07-065-20/+55
| | | | | | | | | | | | | | | | | | | (fhandler_socket::is_connect_pending): Ditto. (fhandler_socket::is_connected): Ditto. (fhandler_socket::set_connect_state): New method. (struct select_record): Add member `except_on_write'. (select_record::select_record): Initialize all bool values to `false'. * fhandler_socket.cc: Use set_connect_state() method throughout. (fhandler_socket::connect): Set state always to connected if connection isn't pending. * net.cc (cygwin_getsockopt): Revert erroneous previous patch. * select.cc (set_bits): Check for `except_on_write'. Set fd in write_fds if set. Set connect state to connected if fd has been returned by WINSOCK_SELECT. (peek_socket): Check for `except_on_write'. (start_thread_socket): Ditto. (fhandler_socket::select_write): Don't set `write_ready' if connect is pending. Set `except_on_write' if connect is pending.
* add missing entryChristopher Faylor2002-07-051-0/+3
|
* * ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.Christopher Faylor2002-07-053-36/+43
| | | | (_SYSTEM_TIME_OF_DAY_INFORMATION): Ditto.
* * fhandler.h (UNCONNECTED): New define.Corinna Vinschen2002-07-055-20/+64
| | | | | | | | | | | | | | | | | | | | | (CONNECT_PENDING): Ditto. (CONNECTED): Ditto. (class fhandler_socket): Add member `had_connect_or_listen'. Add member functions `is_unconnected', `is_connect_pending' and `is_connected'. * fhandler_socket.cc (fhandler_socket::connect): Set member `had_connect_or_listen' according to return code of WinSock call. (fhandler_socket::listen): Ditto. * net.cc (cygwin_getsockopt): Modify SO_ERROR return value in case of socket with pending connect(). * select.cc (peek_socket): Only add socket to matching fd_set if it's not "ready". Call WINSOCK_SELECT only if at least one socket is in one of the fd_sets. (start_thread_socket): Only add socket to matching fd_set if it's not "ready". (fhandler_socket::select_write): Set write_ready to true also if socket isn't connected or listening.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-042-2/+9
| | | | | * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC define before including <sys/lock.h>.
* * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.Alexandre Oliva2002-07-042-3/+20
|
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-048-6/+120
| | | | | | | | | | | | * libc/include/utime.h: Add include of <_ansi.h>. * libc/sys/linux/Makefile.am: Add utimes.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/inode.c(__umask): New static routine. (umask): Written to use __umask and attempt to thread lock. (getumask): New function written to use __umask and thread lock. * libc/sys/linux/utimes.c: New file. * libc/sys/linux/sys/time.h: Fix utimes prototype. * libc/sys/linux/sys/utime.h: New file.
* * Remove files (should have been done on 2002-06-20).Thomas Fitzsimmons2002-07-042-322/+0
|
* * process.c: Add comment.Thomas Fitzsimmons2002-07-041-0/+3
|
* * libtool.m4: New file.Thomas Fitzsimmons2002-07-0466-64/+1037
| | | | | * libc/sys/linux/process.c: Implement vfork in terms of fork, rather than as a syscall.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-048-30/+119
| | | | | | | | | | * libc/include/stdio.h: Add new prototypes. * libc/stdio/Makefile.am: Add fseeko.c and ftello.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/fseek.c: Add fseeko documentation. * libc/stdio/ftell.c: Add ftello documentation. * libc/stdio/fseeko.c: New file. * libc/stdio/ftello.c: New file.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-049-52/+284
| | | | | | | | | | | | * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/asprintf.c: New file. * libc/stdio/vasprintf.c: Ditto. * libc/stdio/fvwrite.c: Add code to dynamically reallocate the buffer for asprintf support. * libc/stdio/sprintf.c: Add asprintf documentation. * libc/stdio/vfprintf.c: Add vasprintf documentation. * libc/include/stdio.h: Add new prototypes.
* * fhandler_socket.cc (fhandler_socket::set_sun_path): Don't freeCorinna Vinschen2002-07-042-3/+6
| | | | memory here. Allow NULL parameter.
* * fhandler_socket.cc (fhandler_socket::dup): Add missing copy operationCorinna Vinschen2002-07-042-0/+7
| | | | on sun_path.
* * winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32Egor Duda2002-07-046-0/+840
| | | | | | | | project. * winsup.api/pthread/cancel2.c: Ditto. * winsup.api/pthread/cancel3.c: Ditto. * winsup.api/pthread/cancel4.c: Ditto. * winsup.api/pthread/cancel5.c: Ditto.
* 2002-06-25 Thomas Pfaff <tpfaff@gmx.net>Robert Collins2002-07-045-281/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/pthread.h (PTHREAD_CANCELED): Defined a reasonable value. * pthread.cc (pthread_exit): Call method instead of function. (pthread_setcancelstate): Ditto. (pthread_setcanceltype): Ditto. (pthread_testcancel): Ditto. * thread.h (pthread::cancel_event): New member. (__pthread_cancel_self): New prototype. (pthread::exit): New Method. (pthread::cancel): Ditto. (pthread::testcancel): Ditto. (pthread::cancel_self): Ditto. (pthread::static_cancel_self): Ditto. (pthread::setcancelstate): Ditto. (pthread::setcanceltype): Ditto. (__pthread_cancel): Give c++ linkage. (__pthread_exit): Remove. (__pthread_setcancelstate): Ditto. (__pthread_setcanceltype): Ditto. (__pthread_testcancel): Ditto. * thread.cc (pthread::pthread): Inititialize cancel_event. (pthread::~pthread): Close cancel_event if needed. (pthread::create): Create cancel_event. (pthread::exit): New method. Replacement for __pthread_exit. (pthread::cancel): New method. (pthread::testcancel): Ditto. (pthread::static_cancel_self); New static method. (pthread::setcancelstate): New method. Replacement for __pthread_setcancelstate. (pthread::setcanceltype): New method. Replacement for __pthread_setcanceltype. (pthread::pop_cleanup_handler): Added lock for async cancel safe cancellation. (pthread::thread_init_wrapper): Change __pthread_exit to thread->exit(). (__pthread_cancel): Call method thread->cancel(). (__pthread_exit): Remove. (__pthread_setcancelstate): Ditto. (__pthread_setcanceltype): Ditto. (__pthread_testcancel): Ditto.
* Let RPC API work with or without windows.h.Danny Smith2002-07-043-3/+15
| | | | | | | * include/rpc.h: Conditionally include <windows.h> before header guard. * include/wtypes.h: Include <rpc.h> and <rpcndr.h> before header guard.
* * Makefile.in: Eliminate unneeded Makefile recreation rule.Christopher Faylor2002-07-042-5/+4
|
* * configure.in: Make --without-x work.DJ Delorie2002-07-032-1/+9
|
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2002-07-032-1/+5
|
* * include/sys/statfs.h: New header file.Christopher Faylor2002-07-032-0/+15
|
* * dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if noneChristopher Faylor2002-07-034-2/+12
| | | | | | | | specified. * fhandler.cc (fhandler_base::init): Make bin argument a guarantee rather than a suggestion. * path.cc (path_conv::check): Load flag returned from cygwin_conv_to_win32_path into path_flags.
* * tty.cc (tty::common_init): Reverse logic of cygserver check inConrad Scott2002-07-032-1/+6
| | | | call to SetKernelObjectSecurity.
* New directory. Created to contain a copy of the texi2pod.pl script so thatNick Clifton2002-07-031-0/+6
| | | | it is in the same place as the version in the FSF GCC sources.
* * autoload.cc (WSAEventSelect): Define new autoload function.Corinna Vinschen2002-07-033-16/+83
| | | | | | (WSAEnumNetworkEvents): Ditto. * fhandler_socket.cc (fhandler_socket::accept): If socket is in blocking mode wait for incoming connection and signal.
* * configure.in: Rearrange target Makefile fragment collection.DJ Delorie2002-07-032-18/+23
|
* * cygheap.cc (init_cheap): Rearrange error message.Christopher Faylor2002-07-037-44/+28
| | | | | | | | (cygheap_fixup_in_child): Ditto. * dtable.cc: Remove if 0'ed code. * fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode. * sec_helper.cc (cygsid::get_id): Use system_printf for error message. * tty.cc (tty::common_init): Ditto.
* * libc/search/hcreate.c: Remove advertising clause from license.Thomas Fitzsimmons2002-07-033-14/+9
| | | | * libc/search/hcreate_r.c: Likewise.
* * net.cc (cygwin_getpeername): Defend against NULL pointer dereference.Christopher Faylor2002-07-022-1/+5
|
* * Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, orDJ Delorie2002-07-023-35/+16
| | | | | cvs[src]. * configure.in: Ditto.
* 2002-07-02 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-025-20/+117
| | | | | | | | | | | | | * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN) (__IEEE_BIG_ENDIAN): Define appropriately for MIPS. Check that one of them is defined and error out if not. Add any platforms defined in <machine/ieeefp.h> that are missing. * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN) (DB_LITTLE_ENDIAN): New defines. * libc/search/hash.c: Replace all incorrect checks for _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions. * libc/search/hash_page.c: Likewise.
* * mkgroup.c: Add function pointers for functions from advapi32.dll.Corinna Vinschen2002-07-022-4/+28
| | | | | | (load_netapi): Load used functions from advapi32.dll. (main): Use function pointers instead of statically linked functions from advapi32.dll.
* * include/cygwin/version.h: Bump API minor version.Corinna Vinschen2002-07-022-1/+6
|
* * security.cc (get_logon_server): Interpret a zero lengthCorinna Vinschen2002-07-022-3/+15
| | | | | | | | domain as the local domain. (get_group_sidlist): Add authenticated users SID to SYSTEM's group list instead of SYSTEM itself. (verify_token): Accept the primary group sid if it equals the token user sid.
* * cygwin.din (__fpclassifyd): Add symbol.Corinna Vinschen2002-07-022-0/+11
| | | | | | (__fpclassifyf): Ditto. (__signbitd): Ditto. (__signbitf): Ditto.
* * security.h (DONT_INHERIT): Eliminate definition.Corinna Vinschen2002-07-024-11/+19
| | | | | | | | (INHERIT_ALL): Ditto. (INHERIT_ONLY): Ditto. * sec_acl.cc: Use appropriate defines from accctrl.h instead of the above throughout. * security.cc: Ditto.
* 2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2002-07-022-5/+45
| | | | | | | | | | | | | | | | | | * include/commctrl.h (WC_*): Remove some duplicate defines. 2002-07-02 Ken Fitlike <kenfitlike@hotmail.com> * include/commctrl.h (WC_IPADDRESS[AW]): Add defines and UNICODE mappings. (IPM*): Add defines. (IPN_*): Add defines. (NMIPADDRESS): Add structure and typedefs. (MAKEIPADDRESS): Add macro. (MAKEIPRANGE): Add macro. (FIRST_IPADDRESS): Add macro. (SECOND_IPADDRESS): Add macro. (THIRD_IPADDRESS): Add macro. (FOURTH_IPADDRESS): Add macro.
* * syscalls.c (seteuid32): Return immediately if the program is not impersonatedChristopher Faylor2002-07-022-11/+16
| | | | | and both uid and gid are original. (setegid32): Return immediately if the new gid is the current egid.
* * syscalls.cc (seteuid32): Fix incorrect placement of Pierre's patch below.Christopher Faylor2002-07-022-5/+10
|
* * syscalls.cc (seteuid32): Fix incorrect use of system_printf.Christopher Faylor2002-07-022-1/+5
|
* * autoload.cc (GetSecurityInfo): Define new autoload function.Christopher Faylor2002-07-029-152/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (RegQueryInfoKeyA): Ditto. * fhandler.h (fhandler_virtual::fill_filebuf): Change return type to bool. (fhandler_proc::fill_filebuf): Ditto. (fhandler_registry::fill_filebuf): Ditto. (fhandler_process::fill_filebuf): Ditto. (fhandler_registry::value_name): Add new member. (fhandler_registry::close): Add new method. (fhandler_process::p): Remove member. * fhandler_proc.cc (fhandler_proc::open): Add set_nohandle after calling superclass method. Check return value of fill_filebuf. (fhandler_proc::fill_filebuf): Change return type to bool. Add return statement. * fhandler_process.cc (fhandler_process::open): Add set_nohandle after calling superclass method. Remove references to p. Check return value of fill_filebuf. (fhandler_process::fill_filebuf): Change return type to bool. Don't use dereference operator on p. Add return statement. (fhandler_process::format_process_stat): Fix typo. * fhandler_registry.cc: Add static open_key declaration. (fhandler_registry::exists): Assume path is already normalised. Try opening the path as a key in its own right first, before reverting to enumerating subkeys and values of the parent key. (fhandler_registry::fstat): Add additional code to return more relevant information about the registry key/value. (fhandler_registry::readdir): Explicitly set desired access when opening registry key. Remove output of buf from debug_printf format string. (fhandler_registry::open): Use set_io_handle to store registry key handle. Set value_name member. Move code to read a value from the registry to fill_filebuf. Add call to fill_filebuf. (fhandler_registry::close): New method. (fhandler_registry::fill_filebuf): Change return type to bool. Add code to read a value from registry. (fhandler_registry::open_key): Make function static. Use KEY_READ as desired access unless this is the last path component. Check the return value of RegOpenKeyEx for an error instead of hKey. * fhandler_virtual.cc (fhandler_virtual::lseek): Check the return value of fill_filebuf. (fhandler_virtual::open): Remove call to set_nohandle. (fhandler_virtual::fill_filebuf): Change return type to bool. Add return statement. * security.cc (get_nt_object_attribute): New function. (get_object_attribute): New function. * security.h (get_object_attribute): New function declaration.