Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-292004-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney
* src-release (CVS_NAMES): Define. (do-tar, do-tar): Prune $(CVS_NAMES).
2004-02-26 * miscfuncs.cc (check_invalid_virtual_addr): Assure the last pageCorinna Vinschen
in the range is always tested. Add appropriate const. * mmap.cc (mmap_record::aloc_fh): Remove unused static path_conf object.
2004-02-26* exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it existsChristopher Faylor
to force signal to be handled. Zero event here to prevent races. * signal.cc (sigwaitinfo): Use local handle value for everything since signal thread could zero event element at any time. Detect when awaking due to thread not in mask and set return value and errno accordingly. Don't set signal number to zero unless we've recognized the signal. * sigproc.cc (sigq): Rename from sigqueue throughout. * thread.cc (pthread::join): Handle signals received while waiting for thread to terminate. * cygwin.din: Export sighold, sigqueue. * exceptions.cc (sighold): Define new function. * signal.cc (handle_sigprocmask): Set correct errno for invalid signal. Simplify debugging output. (sigqueue): Define new function. * include/cygwin/signal.h (sighold): Declare new function. (sigqueue): Ditto. * include/cygwin/version.h: Bump API minor version number. * include/limits.h (TIMER_MAX): Define. (_POSIX_TIMER_MAX): Ditto.
2004-02-25 * miscfuncs.cc (check_invalid_virtual_addr): New function.Corinna Vinschen
* winsup.h (check_invalid_virtual_addr): Declare. * mmap.cc (munmap): Call check_invalid_virtual_addr instead of IsBadReadPtr.
2004-02-25* gendef (stabilize_sig_stack): Correctly align this pointer for call toChristopher Faylor
_cygtls::call_signal_handler. * gentls_offsets: Output sizeof field. * tlsoffsets.h: Regenerate.
2004-02-25merge from gccDJ Delorie
2004-02-25* cygpath.cc (long_options): Add "mode" option.Christopher Faylor
(options): Ditto. (usage): Report on new option. (report_mode): New function. (main): Implement -M option.
2004-02-25* dcrt0.cc (_dll_crt0): Don't check sync_startup if threadfunc_ix is set.Christopher Faylor
* external.cc (cygwin_internal): Implement CW_GET_BINMODE. * include/sys/cygwin.h: Declare CW_GET_BINMODE.
2004-02-24* dcrt0.cc (_dll_crt0): Add some stern internal errors.Christopher Faylor
2004-02-24merge from gccDJ Delorie
2004-02-24 * thread.cc (pthread::cancelable_wait): Rearrange slightly.Corinna Vinschen
Add do_sig_wait parameter. Wait for signal_arrived if set to true. Return WAIT_SIGNALED if signal arrived. (pthread_cond::wait): Accomodate change to pthread::cancelable_wait. (pthread::join): Ditto. (semaphore::_timedwait): Ditto. (semaphore::_wait): Ditto. Change to return int to allow status feedback. (semaphore::wait): Return return value from semaphore::_wait. * thread.h (WAIT_SIGNALED): New definition. (pthread::cancelable_wait): Change declaration. Define do_sig_wait as false by default to not interfere with existing calls accidentally. (semaphore::_wait): Declare int.
2004-02-232004-02-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney
* texinfo/texinfo.tex: Update from version 2003-02-03.16 to 2004-02-19.09.
2004-02-232004-02-23 Filip Navara <xnavara@volny.cz>Danny Smith
* include/ddk/video.h: Corrected packing.
2004-02-232004-02-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin
* Makefile.in: Fix problem links in faq0.html file. * what.texinfo: Remove outdated 'recent' history.
2004-02-232004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin
* dll_init.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * dtable.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * external.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * path.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * pinfo.cc: Update funcsynopsis for DocBook 4.2 SGML DTD. * shared.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * stackdump.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
2004-02-22* exceptions.cc (sigpacket::process): Make sure that tls is filled in forChristopher Faylor
SIGSTOP condition. (_cygtls::call_signal_handler): Restore signal mask using saved oldmask rather than current oldmask.
2004-02-21 * include/_mingw.h (__UNUSED_PARAM): Define macro.Danny Smith
* include/wchar.h (fwide): Use it. (mbsinit): Ditto.
2004-02-21* Makefile.in (build_dumper): Detect missing iconv library.Christopher Faylor
* cygpath.cc (dowin): Report on filename conversion errors. (doit): Ditto. * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
2004-02-21* path.cc (conv_path_list): Return error condition.Christopher Faylor
(copy1): New function. (copyenc): New function. (mount_item::fnmunge): Return error condition. Use new functions to copy strings. (mount_item::build_win32): Ditto. (mount_info::conv_to_win32_path): Return error condition. (cygwin_conv_to_posix_path): Return result of path conversion. (cygwin_conv_to_full_posix_path): Ditto. (return_with_errno): New macro. (cygwin_win32_to_posix_path_list): Use new macro to potentially set errno. (cygwin_posix_to_win32_path_list): Ditto. * path.h (mount_item::fnmunge): Add size argument. (mount_item::build_win32): Ditto.
2004-02-21 * getopt.c: Avoid useless compiler warnings.Corinna Vinschen
2004-02-21 * getopt.c: Replace with latest vanilla(!) OpenBSD version 1.16.Corinna Vinschen
2004-02-202004-02-19 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin
* cygwinenv.sgml: Remove incorrect ^Z information. Add some tags to server option description. * textbinary.sgml: Remove incorrect ^Z information.
2004-02-20 PR bootstrap/11932Nathanael Nerode
* mkinstalldirs, install-sh: Import from automake CVS HEAD.
2004-02-19Index: ChangeLogAndrew Cagney
2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16. Index: dejagnu/ChangeLog 2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16. Index: readline/ChangeLog.gdb 2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16.
2004-02-19 * include/Gl/glu (GLU_ERROR): Define.Danny Smith
Thanks to Philip Lamb <phil at rave dot co dot nz>
2004-02-19 * include/Gl/glu.h: Include <stddef.h>.Danny Smith
Thanks to Greg Couch <gregcouch@users.sourceforge.net>
2004-02-19* fork.cc (fork_child): Invert sense of test which defeated correct handling inChristopher Faylor
a fork from a non-main thread. * dcrt0.cc (initial_env): Eliminate parameter and just send DebugBreak when appropriate. (dll_crt0_0): Reflect parameter change to initial_env. (dll_crt0_1): Don't call initial_env.
2004-02-18* gendef (stabilize_sig_stack): New function.Christopher Faylor
(setjmp): Import, add sig stack handling. Store sig stack info. (longjmp): Call stabilize_sig_stack. Restore sig stack info. * config/i386/setjmp.c: Remove.
2004-02-18 * fork.cc (fork_child): Move fixup_shms_after_fork so thatCorinna Vinschen
signal_arrived is initialized when calling it.
2004-02-17* Makefile.in (clean): Clean libserver, too.Christopher Faylor
* fhandler.cc (fhandler_base::~fhandler_base): Remove path_conv cleanup. * syscalls.cc (chroot): Ditto. * path.cc (path_conv::~path_conv): Define new destructor. (conv_path_list_buf_size): Remove explicit path_conv cleanup. * path.h (path_conv::~path_conv): Declare new destructor.
2004-02-17* Makefile.in: Compile flock.o with -fomit-frame-pointer.Christopher Faylor
2004-02-17* Makefile.in: Compile dlfcn.o with -fomit-frame-pointer.Christopher Faylor
2004-02-16* Makefile.in: Compile delqueue.o with -fomit-frame-pointer.Christopher Faylor
2004-02-16 * cygwinenv.sgml: Add server option description.Corinna Vinschen
2004-02-16 * syscalls.cc (rename): Do not test the MoveFile error codeCorinna Vinschen
where MoveFileEx exists.
2004-02-16correct changelogChristopher Faylor
2004-02-16* cygheap.cc (_csbrk): Report failing condition to stderr rather than strace.Christopher Faylor
2004-02-15 * include/w32api.h: Increment version to 3.0.Earnie Boyd
* Makefile.in: Ditto. * README.win32api: Modify license to Public Domain per agreement as found in the mingw-dvlpr list archive.
2004-02-15* Makefile.in: Compile syscalls.o with -fomit-frame-pointer.Christopher Faylor
* sigproc.cc: Eliminate unused variable.
2004-02-14 * getopt.c: Replace with latest NetBSD version 1.16. Keep CygwinCorinna Vinschen
specific changes as minimal as possible.
2004-02-14 * ssp.c (opts): Add leading '+' to force posixly correct behaviour.Corinna Vinschen
2004-02-14* sigproc.cc (proc_subproc): Change warning back to silent debug output.Christopher Faylor
2004-02-14* dcrt0.cc (alloc_stack_hard_way): Revert to previous implementation.Christopher Faylor
(alloc_stack): Ditto. * exceptions.cc (ctrl_c_handler): Add debugging output.
2004-02-14 * include/ddk/winddk.h (DIRECTORY_QUERY): Add define.Earnie Boyd
(DIRECTORY_TRAVERSE): Ditto. (DIRECTORY_CREATE_OBJECT): Ditto. (DIRECTORY_CREATE_SUBDIRECTORY): Ditto. (DIRECTORY_ALL_ACCESS): Ditto. Thanks to Konstantin Stepaniuk <skostia@users.sourceforge.net>
2004-02-13* Makefile.in (clean): Remove sigfe.s.Christopher Faylor
(sigfe.s): Ensure that sigfe.s will be regenerated if it does not exist. * dll_init.cc (dll_dllcrt0): Simplify initializing tests. * exceptions.cc (setup_handler): Detect when stub caller is either spinning or has acquired the lock after being suspended to avoid windows problems with suspending a win32 API call. * cygtls.h (_cygtls::spinning): Declare new element. * gendef: Remove unused _siglist_index and _siglist declaration. (_sigfe): Set spinning element when potentially looping, waiting for lock. (_sigbe): Ditto. (_cygtls::lock): Ditto. (_longjmp): Ditto. * tlsoffsets.h: Regenerate. * pinfo.cc (_pinfo::exit): Set final exit state here. Call sigproc_terminate if invoked with 'norecord'. Clear any residual _cygtls stuff. * winsup.h (exit_states): Define ES_FINAL. * spawn.cc (spawn_guts): Don't call proc_terminate specifically when execing. Let _pinfo::exit handle that case. * sigproc.cc (wait_subproc): Always exit loop early when proc_loop_wait. * init.cc (munge_threadfunc): Eliminate unused argument. (dll_entry): Reflect above change in call to munge_threadfunc.
2004-02-12* gendef (_sigbe): Zero location on pop.Christopher Faylor
(_cygtls::pop): Ditto.
2004-02-12* dcrt0.cc (alloc_stack_hard_way): Eliminate second argument.Christopher Faylor
(alloc_stack): Remove use of 'b' throughout.
2004-02-12Rename _threadinfo to _cygtls, throughout.Christopher Faylor
* cygtls.h (_cygtls::call_signal_handler): Rename from call_signal_handler_now. (_cygtls::push): Make second argument mandatory. (_cygtls::fixup_after_fork): Declare new function. (_cygtls::lock): Ditto. * cygtls.cc (_cygtls::fixup_after_fork): Define new function. * dcrt0.cc (cygwin_finished_initializing): Define as bool. (alloc_stack): Use _tlstop rather than arbitrary variable in probably vain attempt to avoid strange fork problem on CTRL-C. (dll_crt0_0): Remove obsolete winpids::init call. * dll_init.cc (dll_dllcrt0): Detect forkee condition as equivalent to initializing. * winsup.h (cygwin_finished_initializing): Declare as bool. * exceptions.cc (handle_exceptions): Rely on cygwin_finished_initializing to determine how to handle exception during process startup. (_cygtls::call_signal_handler): Rename from call_signal_handler_now. (_cygtls::interrupt_now): Fill in second argument to push. (signal_fixup_after_fork): Eliminate. (setup_handler): Initialize locked to avoid potential inappropriate unlock. Resume thread if it has acquired the stack lock. (ctrl_c_handler): Just exit if ctrl-c is hit before cygiwn has finished initializing. * fork.cc (sync_with_child): Don't call abort since it can cause exit deadlocks. (sync_with_child): Change debugging output slightly. (fork_child): Set cygwin_finished_initializing here. Call _cygtls fork fixup and explicitly call sigproc_init. (fork_parent): Release malloc lock on fork failure. (vfork): Call signal handler via _my_tls. * sigproc.cc (sig_send): Ditto. * syscalls.cc (readv): Ditto. * termios.cc (tcsetattr): Ditto. * wait.cc (wait4): Ditto. * signal.cc (nanosleep): Ditto. (abort): Ditto. (kill_pgrp): Avoid killing self if exiting. * sync.cc (muto::acquire): Remove (temporarily?) ill-advised exiting_thread check. * gendef (_sigfe): Be more agressive in protecting stack pointer from other access by signal thread. (_cygtls::locked): Define new function. (_sigbe): Ditto. (_cygtls::pop): Protect edx. (_cygtls::lock): Use guaranteed method to set eax to 1. (longjmp): Aggressively protect signal stack. * miscfuncs.cc (low_priority_sleep): Reduce "sleep time" for secs == 0. * pinfo.cc (winpids::set): Counterintuitively use malloc's lock to protect simultaneous access to the pids list since there are pathological conditions which can cause malloc to call winpid. (winpids::init): Eliminate. * pinfo.h (winpids::cs): Eliminate declaration. * pinfo.h (winpids::init): Eliminate definition.
2004-02-12 * include/basetypes.h (_REFIID_DEFINED): Correct typo.Danny Smith
* include/winuser.h (NCCALCSIZE_PARAMS): Define structure. Thanks to Mike Nordell <tamlin at algonet dot se>.
2004-02-11 * lib/dnsapi.a: New file.Danny Smith
* lib/test.c: Include windns,h.