aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-06-14* path.cc (path_conv::check): Always reset to FH_FS when component != 0 andChristopher Faylor2-14/+16
FH_NETDRIVE to fix problems with strict case checking.
2005-06-14 PR libgcj/19877:Tom Tromey2-1/+7
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable is set but not 'no'.
2005-06-14 * parse_pe.c (exclusion::sort_and_check): Remove crude cast.Corinna Vinschen2-1/+5
2005-06-14 * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compilerCorinna Vinschen2-1/+6
warning.
2005-06-13* depstand.m4, lead-dot.m4: New files.DJ Delorie3-0/+172
2005-06-13* depcomp: Update from automake CVS. Add 'ia64hp' stanza.DJ Delorie2-26/+62
In 'cpp' stanza, support '#line' as well as '# '.
2005-06-12 * fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSHCorinna Vinschen2-0/+7
when trying to pass file descriptor by setting msg->msg_accrightslen to 0.
2005-06-11* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.Christopher Faylor2-1/+7
2005-06-11 * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,John David Anglin2-12/+17
respectively, in various floating-point load and store patterns.
2005-06-11* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.Christopher Faylor2-1/+5
2005-06-11* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.Christopher Faylor5-15/+29
* winsup.api/pthread/mutex4.c (main): Ditto. * winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type. * winsup.api/pthread/mutex6d.c: Ditto.
2005-06-11* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.Christopher Faylor4-24/+47
Revert PTHREAD_MUTEX_INITIALIZER to PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP since that is actually closer to what linux does. * thread.h (cw_cancel_action): New enum. (cancelable_wait): Use cw_cancel_action as third argument. * thread.cc (cancelable_wait): Ditto. Don't wait for cancel if cancel_action == cw_no_cancel. (pthread::create): Don't wait for cancel event since that is racy. (pthread_mutex::pthread_mutex): Set default to PTHREAD_MUTEX_ERRORCHECK. (pthread_mutexattr::pthread_mutexattr): Ditto. (pthread_mutex::_lock): Tell cancelable_wait not to wait for cancellation event. (semaphore::_timedwait): Accommodate change in cancelable_wait args. (pthread::join): Ditto.
2005-06-10 * fhandler_socket.cc (fhandler_socket::sendto): Always initializeCorinna Vinschen2-4/+10
ret to 0. (fhandler_socket::sendmsg): Ditto.
2005-06-10* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since itChristopher Faylor2-1/+6
causes compile failures with gcc 3.4.4.
2005-06-10whitespace changes to hopefully force snapshot run.Christopher Faylor2-2/+2
2005-06-10 * cygwin.din (imaxabs): Export.Corinna Vinschen4-2/+24
(imaxdiv): Export. (llabs): Export. (lldiv): Export. (strtoimax): Export. (strtoumax): Export. * include/inttypes.h (imaxabs): Activate declaration. (imaxdiv): Ditto. (strtoimax): Ditto. (strtoumax): Ditto. * include/cygwin/version.h: Bump API minor.
2005-06-09* cygthread.cc (cygthread::detach): Improve diagnostics for what should be anChristopher Faylor2-1/+19
impossible failure condition.
2005-06-09* cygtls.h (_local_storage::setmode_file): New element.Christopher Faylor6-75/+95
(_local_storage::setmode_mode): New element. * tlsoffsets.h: Regenerate. * cygwin.din (setmode): Define as cygwin_getmode. * syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than using unthreadsafe static. (setmode): Break out fwalk stuff. (cygwin_setmode): New function. Put fwalk stdio stuff here.
2005-06-09* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather thanChristopher Faylor2-1/+6
WaitForSingleObject.
2005-06-09* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.Christopher Faylor2-4/+8
2005-06-09* cygwin.sc: Place .cygwin_dll_common.Christopher Faylor3-1/+10
* init.cc (threadfunc_ix): Use a more common name for the section name.
2005-06-09* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change toChristopher Faylor2-1/+6
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
2005-06-09* thread.cc (cancelable_wait): No-op change to make sure that res is always aChristopher Faylor2-3/+7
valid WFMO return.
2005-06-09Change pthread::cancelable_wait to just cancelable_wait, throughout.Christopher Faylor6-48/+70
* thread.h (cw_sig_wait): New enum. (fast_mutex::lock): Use cancelable_wait with resumable signal. (cancelable_wait): Change fourth argument to cw_sig_wait enum. * thread.cc (cancelable_wait): Ditto. Loop on signal detection if fourth argument == cw_sig_resume.
2005-06-08* cygwin.sc: Apparently nonloading sections need to go last.Christopher Faylor2-24/+28
2005-06-08* cygwin.sc: Restore resource and reloc sections and use more modern syntax forChristopher Faylor2-4/+16
stabs sections.
2005-06-08opcodes:Zack Weinberg2-1/+5
* arm-opc.h: Delete; fold contents into ... * arm-dis.c: ... here. Move includes of internal COFF headers next to includes of internal ELF headers. (streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused. (struct arm_opcode): Rename struct opcode32. Make 'assembler' const. (struct thumb_opcode): Rename struct opcode16. Make 'assembler' const. (arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames) (iwmmxt_wwnames, iwmmxt_wwssnames): Make const. (regnames): Remove iWMMXt coprocessor register sets. (iwmmxt_regnames, iwmmxt_cregnames): New statics. (get_arm_regnames): Adjust fourth argument to match above changes. (set_iwmmxt_regnames): Delete. (print_insn_arm): Constify 'c'. Use ISO syntax for function pointer calls. Expand sole use of BDISP. Use iwmmxt_regnames and iwmmxt_cregnames, not set_iwmmxt_regnames. (print_insn_thumb16, print_insn_thumb32): Constify 'c'. Use ISO syntax for function pointer calls. include: * dis-asm.h (get_arm_regnames): Update prototype.
2005-06-08* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUGChristopher Faylor2-1/+6
with HOME.
2005-06-08 * security.cc (cygwin_logon_user): Run LogonUser in the primaryCorinna Vinschen2-6/+20
process token context. Fix potential handle leak.
2005-06-07 * common.h (EM_MS1): Define.Aldy Hernandez3-0/+55
* ms1.h: New file.
2005-06-07 * dis-asm.h: Externalize print_insn_ms1.Aldy Hernandez2-0/+7
2005-06-07 * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES andCorinna Vinschen10-23/+57
allocate dynamically. (pinfo::set_acl): Replace sa_buf by dynamically allocated acl_buf. * sec_acl.cc (setacl): Allocate acl dynamically. * sec_helper.cc (sec_acl): Add test for alignment of acl when DEBUGGING is defined. (__sec_user): Same for sa_buf. * security.cc (verify_token): Define sd_buf as PSECURITY_DESCRIPTOR and allocate dynamically. (alloc_sd): Allocate acl dynamically. security.h (sec_user_nih): Change first parameter to SECURITY_ATTRIBUTES *. (sec_user): Ditto. * sigproc.cc (wait_sig): Define sa_buf as PSECURITY_ATTRIBUTES and allocate dynamically. * syscalls.cc (seteuid32): Define dacl_buf as PACL and allocate dynamically. * uinfo.cc (cygheap_user::init): Define sa_buf as PSECURITY_ATTRIBUTES and allocate dynamically. * winbase.h (ilockincr): Mark first argument of inline assembly as earlyclobber. (ilockdecr): Ditto.
2005-06-07* cygthread.cc (cygthread::detach): Make error message a little more detailed.Christopher Faylor7-9/+33
* fhandler.cc (fhandler_base::raw_read): Ditto for debug message. * dcrt0.cc (do_exit): Add some more synchronization tests. * fhandler_fifo.cc (fhandler_fifo::dup): Don't duplicate a nonexistent handle. Use derived return value rather than always retuning 0. * fhandler_netdrive.cc (fhandler_netdrive::exists): Wnet -> WNet. * winsup.h (exit_states): Add a couple of new exit states.
2005-06-07 * configure.in <cris-*, crisv32-*>: Enable target-libffi again forHans-Peter Nilsson2-4/+4
*-*-linux* and *-*-elf. * configure: Regenerate.
2005-06-07Sync with gcc-toplevelHans-Peter Nilsson1-9/+28
2005-06-07 * configure.in (unsupported_languages): New macro.Hans-Peter Nilsson3-72/+113
<mmix-knuth-mmixware>: Set unsupported_languages. Name explicit non-ported target libraries in noconfigdirs. <cris-*, crisv32-*> Ditto, except for non-aout, non-elf, non-linux-gnu. Remove libgcj_ex_libffi. <lang_frag loop>: Set add_this_lang=no if the language is in unsupported_languages. * configure: Regenerate.
2005-06-06merge from gccDJ Delorie2-1/+5
2005-06-06* cygload/cygload.exp: .cpp -> .cc.Christopher Faylor2-1/+5
2005-06-06* Makefile.in: Test cygload.Christopher Faylor7-1/+882
* cygload: New directory. * cygload/README: New file. * cygload/Makefile: Ditto. * cygload/cygload.h: Ditto. * cygload/cygload.cc: Ditto. * cygload/cygload.exp: Ditto.
2005-06-06reformat ChangeLog entry slightly.Christopher Faylor1-2/+2
2005-06-06* configure.in: Fix typo in handling of --with-mpfr-dir.DJ Delorie3-62/+67
* configure: Regenerate.
2005-06-06 * path.cc (symlink_info::check): If GetFileAttributes returnsCorinna Vinschen2-2/+16
with ERROR_SHARING_VIOLATION, the file exists.
2005-06-06 * uname.cc (uname): Change "amd64" to "x86_64" as on Linux.Corinna Vinschen2-1/+5
2005-06-06 * uname.cc (uname): Add missing break.Corinna Vinschen2-0/+5
2005-06-06 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typoDanny Smith2-3/+8
in GNUC version guard.
2005-06-05* Makefile.in: Build sync.o with -fomit-frame-pointer and -O3.Christopher Faylor2-0/+5
2005-06-05* sync.cc (muto::acquire): Remove unneeded brackets and fix whitespace.Christopher Faylor2-10/+12
2005-06-05* malloc.cc: Update to Doug Lea's malloc v2.8.0.Christopher Faylor2-4416/+3787
2005-06-05Slight rearragementJoshua Daniel Franklin2-24/+26
2005-06-04* how-programming.texinfo: Add "How do I load cygwin1.dll dynamically from aChristopher Faylor2-0/+21
Visual Studio or MinGW application?"