2e4cdd5582Add -lpwl to ppllibs, and -lisl to clooglibs.
Sebastian Pop
2011-03-02 03:49:38 +0000
7a3190f081* autoload.cc (dll_load): Avoid in_forkee test since this apparently fails even when not forked.
Christopher Faylor
2011-03-01 22:36:19 +0000
96ef911a49* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 9.
Christopher Faylor
2011-03-01 22:35:00 +0000
127c3221cd2011-03-01 Aaron Landwehr <snaphat@gmail.com>
Jeff Johnston
2011-03-01 21:43:15 +0000
ba5f92981d* autoload.cc (dll_load): Only perform DONT_RESOLVE_DLL_REFERENCES hack on systems which need it. * wincap.cc (use_dont_resolve_hack): Set as appropriate. * wincap.h (use_dont_resolve_hack): Define.
Christopher Faylor
2011-03-01 00:19:23 +0000
8ceb4854b6* autoload.cc (dll_load): Make inline. Clarify logic.
Christopher Faylor
2011-02-28 20:55:10 +0000
87cd8d6d9dChangeLog libiberty/ 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz
2011-02-28 18:30:14 +0000
949ffef8dfgas/ * config/tc-mips.c (macro): Handle M_PREF_AB.
Maciej W. Rozycki
2011-02-28 16:06:51 +0000
8addc3ef02Swap ChangeLog entries.
Maciej W. Rozycki
2011-02-28 16:03:38 +0000
7b5dc6db8e* autoload.cc (dll_load): Only call LoadLibraryExW with DONT_RESOLVE_DLL_REFERENCES if a normal LoadLibrary call failed with ERROR_INVALID_ADDRESS. (LsaRegisterLogonProcess): Align comment to previous change.
Corinna Vinschen
2011-02-27 09:45:58 +0000
a16b0549d4* autoload.cc: Use LoadDLLfuncEx3 for all winmm functions. Accommodate changes to LoadDLLprime. (LoadDLLprime): Take an extra argument indicating whether this dll needs special handling on fork. Place this information in the "handle" location. (LoadDLLfuncEx3): Eliminate "func" handling. Pass new no_resolve_on_fork argument to LoadDLLprime. (dll_load): New function. (std_dll_init): Accommodate changes to dll_info::handle. Use dll_load to load DLL in both cases where it is used.
Christopher Faylor
2011-02-26 23:30:33 +0000
e80f6dc8f0* autoload.cc: Make autoloaded ntdll function non-optional. Ditto for secur32 functions, except for LsaRegisterLogonProcess. Change return value to ERROR_PROC_NOT_FOUND. Explain why. * sec_auth.cc (lsaauth): Handle ERROR_PROC_NOT_FOUND from call to LsaRegisterLogonProcess when generating the errno value.
Corinna Vinschen
2011-02-26 20:47:56 +0000
830f7b740bfix pr number
Alan Modra
2011-02-25 12:33:53 +0000
e338fc02fbPR 12519 * internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size sections at start or end of PT_DYNAMIC.
Alan Modra
2011-02-25 07:48:51 +0000
cf601851e0ChangeLog include/
Kai Tietz
2011-02-23 08:52:34 +0000
d9db1bc555* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV if incoming buffer is NULL.
Corinna Vinschen
2011-02-22 15:38:14 +0000
291698e54a* fhandler_socket (fhandler_socket::readv): Call recv_internal directly, rather than recvmsg. (fhandler_socket::writev): Call send_internal directly, rather than sendmsg. * net.cc (cygwin_recv): Call fhandler_socket::recvfrom directly, rather than cygwin_recvfrom. (cygwin_send): Call fhandler_socket::sendto directly, rather than cygwin_sendto.
Corinna Vinschen
2011-02-21 17:01:05 +0000
05901e6aee* fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O before closing. (fhandler_base_overlapped::wait_overlapped): Defensively zero bytes read. Add more info to debugging output.
Christopher Faylor
2011-02-21 03:18:30 +0000
734e1c50ff* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which allocates a lot of space at startup.
Christopher Faylor
2011-02-18 17:43:22 +0000
f65dbc7e27* cygwin.sc: Set alignment of .cygheap section to 64K.
Corinna Vinschen
2011-02-18 16:15:20 +0000
8ec562ed28* spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode. Drop flag if creating new process failed.
Corinna Vinschen
2011-02-15 18:11:50 +0000
3591470260* Throughout fix copyright dates.
Corinna Vinschen
2011-02-15 15:56:03 +0000
ce05ca932a* legal.sgml: Bump date. * new-features.sgml (ov-new1.7.8): Move dropped NT4 pre-SP4 support up to be the first paragraph.
Corinna Vinschen
2011-02-15 15:37:59 +0000
a413f8a20e* devices.in: Throughout use slashes instead of backslashes in the native path of devices not backed by native NT devices. * devices.cc: Regenerate. * globals.cc (ro_u_pmem): Use correct case. (ro_u_globalroot): New R/O unicode string. * path.cc (path_conv::check): Fix incorrect handling of /proc/sys block devices if they are just visited due to a component check. (symlink_info::posixify): Fix typo in comment. (cygwin_conv_path): Use ro_u_globalroot instead of string constant. (fast_cwd_version): New shared variable to store FAST_CWD version used on the system. (find_fast_cwd_pointer): Rename from find_fast_cwd_pointers. Don't set global fast_cwd_ptr pointer here. Return pointer value instead. (find_fast_cwd): New function to set fast_cwd_ptr and fast_cwd_version. (cwdstuff::override_win32_cwd): Call find_fast_cwd from here. Check for fast_cwd_version to differ between old and new FAST_CWD structure. Check old_cwd for NULL to avoid SEGV. Don't set CWD if we have neitehr a valid fast_cwd_ptr, nor a valid CWD handle in the process parameter block. (cwdstuff::set): Create Win32 path taking /proc/sys paths into account. * spawn.cc (spawn_guts): Recode creating runpath. Also take /proc/sys paths into account. Drop special CWD handling when starting non-Cygwin processes.
Corinna Vinschen
2011-02-15 15:25:59 +0000
c48947b454* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't append slash if there is one already.
Corinna Vinschen
2011-02-15 10:47:24 +0000
ec58420870Revert change from 2010-08-31: * path.cc (normalize_posix_path): Drop support for //./ and //?/ prefixes. (path_conv::check): Ditto.
Corinna Vinschen
2011-02-15 10:39:36 +0000
2908e3eb80* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX path to check for symlink.
Corinna Vinschen
2011-02-15 10:31:54 +0000
4655360348* config/i386/profile.h: Sync with Mingw.
Corinna Vinschen
2011-02-14 09:42:19 +0000
6148be0f22Remove freebsd1 from libtool.m4 macros and config.rpath.
Ralf Wildenhues
2011-02-13 21:00:08 +0000
32d86d2ab2* path.cc (struct _FAST_CWD): Redefine to new layout used since patch for KB 2393802. Adjust comments throughout. (struct _FAST_CWD_OLD): Rename former definition. (cwdstuff::override_win32_cwd): Check if the OS is using the old or the new FAST_CWD structure layout and handle accordingly.
Corinna Vinschen
2011-02-13 15:43:00 +0000
8447bf9f9fgas/opcodes: blackfin: move dsp mac func defines to common header
Michael Frysinger
2011-02-12 19:36:31 +0000
e7e950024cImport move-if-change script from gnulib.
Ralf Wildenhues
2011-02-12 15:47:02 +0000
a8ed311494Sync toplevel and config/ from GCC.
Ralf Wildenhues
2011-02-12 14:40:09 +0000
98525461c8* mkstatic: Make sure that we are not cd'ed to temporary directory on exit to avoid bogus warnings on directory cleanup. * speclib: Ditto. * mkimport: Ditto.
Christopher Faylor
2011-02-11 18:00:55 +0000
cc25fb3641* cygheap.cc (_cygheap_mid): Drop unneeded section attribute. (cygheap_init): Just zero cygheap structure. * cygwin.sc: Keep 16 byte alignment but drop all other alignments related to cygheap. Eliminate unused __cygheap_end1.
Christopher Faylor
2011-02-11 16:05:26 +0000
5ec0839c12* cygwin.sc: Raise default cygheap size to 1 Meg. Set alignment to standard 64K.
Corinna Vinschen
2011-02-11 12:58:01 +0000
7be671075d* include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, and __BYTE_ORDER into ... * include/bits/endian.h: New file. * include/arpa/nameser_compat.h: Include endian.h rather than defining BYTE_ORDER here. * include/asm/byteorder.h: Include bits/endian.h. Drop definition of __LITTLE_ENDIAN. * include/netinet/ip.h: Include bits/endian.h. Drop definitions of BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER. Use underscored variants of aforementioned constants. * include/netinet/tcp.h: Ditto. * include/sys/param.h: Drop disabled definitions of BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER.
Corinna Vinschen
2011-02-11 12:42:30 +0000
96b998db51strerror_r: fix compilation bug in previous patch
Eric Blake
2011-02-10 20:25:54 +0000
3696acf497* cygwin.din (pthread_yield): Export as alias to sched_yield. * include/pthread.h (pthread_yield): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-deprec): Add pthread_yield.
Yaakov Selkowitz
2011-02-10 10:51:14 +0000
ca1953eeee* cygheap.cc: Add some __stdcall decoration where appropriate. * lib/cygwin_crt0.c: __attribute -> __attribute__.
Christopher Faylor
2011-02-10 02:22:36 +0000
27239c6372* hookapi.cc (hook_or_detect_cygwin): Prevent i from being considered uninitialized by gcc.
Christopher Faylor
2011-02-09 15:46:00 +0000
7a5f322c35* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef. * dll_init.cc: Fix typo in comment.
Christopher Faylor
2011-02-09 15:40:37 +0000
38286e47f0* dll_init.cc: Fix typo in comment.
Christopher Faylor
2011-02-08 20:14:37 +0000
4bd8eb7d1b* configure.in: Remove AC_ALLOCA test and test for __builtin_memset. * configure: Regenerate.
Corinna Vinschen
2011-02-07 16:22:02 +0000
c3099d3d42Fix path in ChangeLog entry
Corinna Vinschen
2011-02-07 11:36:04 +0000
050d09e873* fhandler_console.cc (fhandler_console::write_normal): Remove erroneous premature return after collecting truncated multibyte sequence in trunc_buf. Rather fall through to printing routine. Fix return value to take trunc_buf content into account. Improve comments.
Corinna Vinschen
2011-02-07 11:18:19 +0000
63398011f9* autoload.cc (wsock_init): Properly define WSAStartup function pointer to avoid stack damage.
Christopher Faylor
2011-02-05 19:38:21 +0000
3bd3027c34PR libgcj/44341 * configure.ac: Discard --with-* flags for host when configuring target libraries for cross build. * configure: Rebuilt.
Alexandre Oliva
2011-01-31 05:26:01 +0000
a01454811a* fhandler_socket.cc (address_in_use): Disable. Add comment. (fhandler_socket::bind): Change comment to explain setting the SO_EXCLUSIVEADDRUSE socket option. Remove code which checks for address in use. * net.cc (cygwin_setsockopt): Never set SO_REUSEADDR option. Improve comment to compensate for the deleted comment in fhandler_socket::bind. * wincap.cc: Throughout, drop has_enhanced_socket_security from wincaps. * wincap.h (struct wincaps): Drop has_enhanced_socket_security flags and method.
Corinna Vinschen
2011-01-30 21:52:12 +0000
9ce2a54f70winsup: * configure.in: Configure winsup/cygserver regardless of cross_host. * configure: Regenerate. winsup/cygwin: * configure.in: Define LIBSERVER regardless of cross_host. * configure: Regenerate.
Christopher Faylor
2011-01-29 06:41:28 +0000
93a4d9d97c* fhandler_socket.cc (fhandler_socket::wait_for_events): Call pthread_testcancel in case of timeout to enable pthread_cancel on waiting thread.
Corinna Vinschen
2011-01-28 11:17:29 +0000
656df313e0* libc/stdio/fclose.c: Only use sfp lock to guard non-atomic changes of flags and fp lock. * libc/stdio/freopen.c: Ditto. * libc/stdio/freopen64.c: Ditto. * libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks which guard entire function to avoid potential deadlocks when using stdio functions in multiple thraeds. * libc/stdio/fgets.c: Ditto. * libc/stdio/fgetwc.c: Ditto. * libc/stdio/fgetws.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio/getc.c: Ditto. * libc/stdio/getdelim.c: Ditto. * libc/stdio/gets.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/vfwscanf.c: Ditto.
Corinna Vinschen
2011-01-28 10:49:11 +0000
5623c49951Sync toplevel configure from GCC
Andreas Schwab
2011-01-21 13:29:47 +0000
a1c35b8b65* syscalls.cc (rename): Fix permission problem with symlinks on NFS. Rework how NtOpenFile gets called to make it more readable. Change comment.
Corinna Vinschen
2011-01-21 13:13:00 +0000
2aba945c95* exec.cc: Include pinfo.h. * winf.h: Move definitions of _P_PATH_TYPE_EXEC and _P_MODE from here... * pinfo.h: ...to here. (_P_PATH_TYPE_EXEC): Redefine to be bigger than _P_SYSTEM. (_P_MODE): Redefine so as not to mask out _P_SYSTEM. * spawn.cc (spawnlp): Add _P_PATH_TYPE_EXEC flag in call to spawnve. (spawnlpe): Ditto. (spawnvp): Ditto.
Corinna Vinschen
2011-01-20 11:09:21 +0000
9b68968b21* spawn.cc (av::fixup): Reenable #! handling for all exec functions. Return ENOEXEC in !p_type_exec case only for unrecognized files. Fix comment formatting.
Corinna Vinschen
2011-01-19 14:59:10 +0000
1393f63206* exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call to spawnve.
Corinna Vinschen
2011-01-19 10:30:39 +0000
26b070c0cf* exec.cc: Rearrange functions in alphabetical order. (_execve): Drop temporary define and drop export alias. (execl): Call spawnve. (execle): New function. (execlp): New function. (execv): Call spawnve. (execve): Drop converting NULL envp to emtpy envp. (execvp): Call spawnve. (execvpe): Drop converting NULL envp to emtpy envp. Call spawnve. (fexecve): Call spawnve. * spawn.cc (spawnve): Convert NULL envp to emtpy envp. Remove outdated comment. (spawnlp): Call spawnve. (spawnlpe): Ditto. (spawnvp): Ditto. (spawnvpe): Fix formatting.
Corinna Vinschen
2011-01-19 10:28:39 +0000
17133a85de* exec.cc (strccpy): Move function from here... * strfuncs.cc (strccpy): ...to here. * string.h (strccpy): Declare. * winsup.h (strccpy): Drop declaration.
Corinna Vinschen
2011-01-19 09:41:54 +0000
808aae3d13* errno.cc (errmap): Add error codes for invalid binaries. * exec.cc (execvp): Call spawnve with _P_PATH_TYPE_EXEC flag from here. (execvpe): Ditto. * spawn.cc (spawn_guts): Filter _P_PATH_TYPE_EXEC from mode and store in p_type_exec. Call av::fixup with addtional p_type_exec argument. (spawnve): Check for filtered mode. (spawnvpe): Add _P_PATH_TYPE_EXEC flag when calling spawnve. (av::fixup): Accept additional bool parameter p_type_exec. Only check for script if p_type_exec is true. * winf.h (_P_PATH_TYPE_EXEC): Define. (_P_MODE): Define. (av::fixup): Declare with additional bool parameter.
Corinna Vinschen
2011-01-19 09:15:17 +0000
be37165114* path.cc (path_conv::check): Don't follow reparse point symlinks if PC_SYM_NOFOLLOW_REP flag is set. (cygwin_conv_path): Set PC_SYM_NOFOLLOW_REP flag when converting from POSIX to Win32. * path.h (enum pathconv_arg): Define PC_SYM_NOFOLLOW_REP flag.
Corinna Vinschen
2011-01-17 14:19:39 +0000
483e9d0022* fhandler_proc.cc (proc_tab_cmp): Fix typo in comment. (fhandler_proc::fill_filebuf): Handle return value of 0 from format function as error. (format_proc_stat): Set errno when returning 0 size. (format_proc_partitions): Rewrite method to fetch partition info.
Corinna Vinschen
2011-01-17 13:38:06 +0000