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
2006-03-21 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.Mark Mitchell
* configure.in (--disable-newlib-atexit-dynamic-alloc): New option. * configure: Regenerated. * newlib.hin: Regenerated. * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc if _ATEXIT_DYNAMIC_ALLOC is undefined. * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free if _ATEXIT_DYNAMIC_ALLOC is undefined.
2006-03-20* child_info.h (child_status): New enum.Christopher Faylor
(child_info::flag): Rename from 'straced'. (child_info::isstraced): New function. (child_info::iscygwin): Ditto. (child_info_fork::handle_fork): Reparmize. (child_info_fork::handle_failure): Ditto. (child_info_spawn::handle_spawn): New function. * dcrt0.cc (get_cygwin_startup_info): Use isstraced method. (child_info_spawn::handle_spawn): Define new function from code previously in dll_crt0_0. (dll_crt0_0): Move spawn stuff into handle_spawn. Only call init_console_handler for fork case. * sigproc.cc (child_info::child_info): Set flag appropriately. (child_info::proc_retry): Treat exit code as "funny" if it's a cygwin process. * spawn.cc (spawn_guts): Remove commented out flag setting.
2006-03-20revert previous debugging checkinChristopher Faylor
2006-03-20* pinfo.cc (commune_process): Fix randomly invalid pointer which caused fifosChristopher Faylor
to work incorrectly.
2006-03-20* dcrt0.cc (dll_crt0_0): Oops. We need to bother with setting this in theChristopher Faylor
fork/exec case.
2006-03-20* dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler hereChristopher Faylor
since it will be set later when we discover if we have a ctty or not. * exceptions.cc (init_console_handler): Properly remove NULL handler.
2006-03-20 * hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,John David Anglin
SHF_HP_COMDAT, SHF_HP_CONST, SHN_TLS_COMMON, SHN_NS_COMMON, SHN_NS_UNDEF, SHN_FS_UNDEF, SHN_HP_EXTERN, SHN_HP_EXTHINT, SHN_HP_UNDEF_BIND_IMM, SHT_HP_OVLBITS, SHT_HP_DLKM, SHT_HP_COMDAT, SHT_HP_OBJDICT, SHT_HP_ANNOT, STB_HP_ALIAS): Define.
2006-03-18* pinfo.h (EXITCODE_OK): Define new constant.Christopher Faylor
* sigproc.cc (child_info::sync): Return EXITCODE_OK if entering with exit_code == 0. (sig_send): Don't complain if sending signals while blocked if the sender isn't in the main thread.
2006-03-18* child_info.h (CURR_CHILD_INFO_MAGIC): Regenerate.Christopher Faylor
(child_info::retry): Move here from fork subclass. (child_info::exit_code): New field. (child_info::retry_count): Max retry count for process start. (child_info::proc_retry): Declare new function. (child_info_fork::retry): Move to parent. (child_info_fork::fork_retry): Ditto. * dcrt0.cc (child_info::fork_retry): Rename and move. (child_info_fork::handle_failure): Move. (dll_crt0_0): Initialize console handler based on whether we have a controlling tty or not. Avoid nonsensical check for fork where it can never occur. * environ.cc (set_proc_retry): Rename from set_fork_retry. Set retry_count in child_info. (parse_thing): Reflect above change. * exceptions.cc (dummy_ctrl_c_handler): Remove unused variable name. (ctrl_c_handler): Always return TRUE for the annoying CTRL_LOGOFF_EVENT. * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Remove call to init_console_handler. * fhandler_tty.cc (fhandler_tty_slave::open): Just call mange_console_count here and let it decide what to do with initializing console control handling. * fork.cc (fork_retry): Remove definition. (frok::parent): Define static errbuf and use in error messages (not thread safe yet). Close pi.hThread as soon as possible. Protect pi.hProcess as soon as possible. Don't set retry_count. That happens automatically in the constructor now. Accommodate name change from fork_retry to proc_retry. * init.cc (dll_entry): Turn off ctrl-c handling early until we know how it is supposed to be handled. * pinfo.cc (_pinfo::dup_proc_pipe): Remember original proc pipe value for failure error message. Tweak debug message slightly. * sigproc.cc (child_info::retry_count): Define. (child_info::child_info): Initialize retry count. (child_info::sync): Set exit code if process dies before synchronization. (child_info::proc_retry): Rename from child_info_fork::fork_retry. Use previously derived exit code. Be more defensive about what is classified as an error exit. (child_info_fork::handle_failure): Move here from dcrt0.cc. * spawn.cc (spawn_guts): Maintain error mode when starting new process to avoid annoying pop ups. Move deimpersonate call within new loop. Move envblock freeing to end. Loop if process dies prematurely with bad exit code. * syscalls.cc (init_console_handler): Remove hopefully unneeded call to init_console_handler.
2006-03-182006-03-18 Julien Lecomte <julienlecomte@users.sourceforge.net>Danny Smith
* include/wincon.h (ENABLE_*): Add more defines. 2006-03-18 Jan Nijtmans <nijtmans@users.sourceforge.net> * include/winnt.h (INHERITED_ACE): Define. (VALID_INHERIT_FLAGS): Correct definition. 2006-03-18 Peter �strand <astrand@cendio.se> * lib/wtsapi32.def: New file.
2006-03-182006-03-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/linuxthreads/config.h: Remove definition of UINT32_C.
2006-03-16* include/winbase.h (STATUS_DLL_INIT_FAILED): New define.Christopher Faylor
(STATUS_DLL_INIT_FAILED_LOGOFF): Ditto.
2006-03-16* cygheap.cc (init_cygheap::manage_console_count): Turn console control handlerChristopher Faylor
on/off depending on whether we have allocated a console or not. * dcrt0.cc (child_info_fork::fork_retry): Add more potential retry statuses. (dll_crt0_0): Turn on/off console control depending on whether we have a controlling tty or not. * exceptions.cc (init_console_handler): Change BOOL to bool. * fhandler_console.cc (fhandler_console::need_invisible): Cosmetic change. * winsup.h (init_console_handler): Reflect argument type change. * wincap.h (supports_setconsolectrlhandler_null): Remove duplicate capability throughout. * wincap.cc: Ditto.
2006-03-162006-03-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/wsetup.c (__swsetup): Don't make a buffer for a string I/O file that isn't using the asprintf family.
2006-03-15* child_info.h (child_info_fork::fork_retry): Declare new function.Christopher Faylor
* dcrt0.cc (child_info_fork::fork_retry): Define new function. * fork.cc (frok::parent): Move retry decision into child_info_fork::fork_retry and honor what it tells us to do. * sigproc.cc (sig_send): Unhold signals on __SIGEXIT.
2006-03-15* fork.cc (frok::parent): Improve error message.Christopher Faylor
2006-03-14* dcrt0.cc (main_environ): Initialize to &__cygwin_environment.Christopher Faylor
(dll_crt0_1): Move resourcelocks, thread interface, pinfo_init, and uinfo_init... (dll_crt0_0): ...to here. (_dll_crt0): Call update_envptrs here after setting main_environ. * environ.cc (environ_init): Eliminate initted variable. Don't call update_envptrs here. * sigproc.cc (wait_sig): Use my_sendsig when calling CreatePipe to avoid a dereference.
2006-03-142006-03-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.in: Regenerate.
2006-03-142006-03-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
Sync with gcc: 2006-03-10 Aldy Hernandez <aldyh@redhat.com> * configure.in: Handle --disable-<component> generically. * configure: Regenerate. 2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com> * Makefile.tpl (BUILD_CONFIGDIRS): Remove. (TARGET_CONFIGDIRS): Remove. * configure.in: Remove AC_SUBST(target_configdirs). * Makefile.in, configure: Regenerated.
2006-03-14* child_info.h (child_info_fork::handle_failure): Declare new function.Christopher Faylor
(child_info_fork::retry): New field. * dcrt0.cc (__api_fatal_exit_val): Define. (child_info_fork::handle_failure): Define new function. (__api_fatal): Exit using __api_fatal_exit_val value. * environ.cc (set_fork_retry): Set fork_retry based on CYGWIN environment variable. (parse_thing): Add "fork_retry" setting. * fork.cc (fork_retry): Define. (frok::parent): Reorganize to allow retry of failed child creation if child signalled that it was ok to do so. * heap.cc (heap_init): Signal parent via handle_failure when VirtualAlloc fails. * pinfo.h (EXITCODE_RETRY): Declare. * sigproc.cc (child_info::sync): Properly exit with failure condition if called for fork and didn't see subproc_ready. * spawn.cc (spawn_guts): Use windows pid as first argument. * winsup.h: Remove obsolete NEW_MACRO_VARARGS define. (__api_fatal_exit_val): Declare. (set_api_fatal_return): Define. (in_dllentry): Declare. * exceptions.cc (inside_kernel): Remove unneeded in_dllentry declaration.
2006-03-14* cygwinenv.sgml: Explain about new fork_retry CYGWIN environment variableChristopher Faylor
setting.
2006-03-13* dcrt0.cc (dll_crt0_0): Reorganize so that sigproc_init is called a littleChristopher Faylor
later. Add a comment. * fork.cc (resume_child): Make void. (frok::parent): Only zero pi when necessary. Explicitly zero si. Set this_errno when child_copy fails. Accommodate change to resume_child. * sigproc.cc (sigalloc): Move global_sigs initialization here. (sigproc_init): Move global_sigs. (sig_send): Just check for flush signals once. * wincap.h: Define supports_setconsolectrlhandler_null throughout. * wincap.cc: Ditto.
2006-03-13 Fix typo.Corinna Vinschen
2006-03-13 * autoload.cc (LoadDLLfuncNt): New define to wrap NT native functions.Corinna Vinschen
Use for NT native functions throughout. * dtable.cc (handle_to_fn): Treate return value of NtQueryObject as NTSTATUS value.
2006-03-13tweak last ChangeLog descriptionChristopher Faylor
2006-03-13* cygtls.cc (_cygtls::remove): Reset initialized flag right away if we wereChristopher Faylor
previously initialized. * cygtls.h (_cygtls::initialized): Move nearer the end to catch situation when Windows 98 mysteriously changes pieces of cygtls when thread is detaching. * gendef (__sigfe_maybe): Simplify slightly. * tlsoffsets.h: Regenerate.
2006-03-13* cygtls.h (CYGTLS_INITIALIZED): Change to a little more unlikely value.Christopher Faylor
(CYGTLSMAGIC): Delete. * dcrt0.cc (dll_crt0_0): Call sigproc_init during init startup. (_dll_crt0): Don't worry about sync_startup. Just wait for sigthread here. * dll_init.cc (cygwin_detach_dll): Only pick up tls version of retaddr if we have a valid tls. * fork.cc (frok::child): Remove sigproc_init initialization since it happens much earlier now. * gendef: Recognize SIGFE_MAYBE. (fefunc): Generate calls to _sigfe_maybe, if appropriate. (_sigfe_maybe): New function. * init.cc (search_for): Always initialize search_for, even on fork. (calibration_thread): Delete. (calibration_id): Delete. (prime_threads): Delete. (munge_threadfunc): Remove calibration_thread special case. Avoid calling thread function if we haven't yet hit the "search_for" thread. (dll_entry): Remove prime_threads call. Only call munge_threadfunc when hwait_sig is active. Ditto. for _my_tls.remove (); * sigproc.cc (hwait_sig): Make global. (sigproc_init): Don't bother with sync_startup. (sig_send): Treat flush as a no-op when signals are held. (wait_sig): Cause signals to be held after fork.
2006-03-102006-03-10 Paul Brook <paul@codesourcery.com>Paul Brook
bfd/ * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5. (elf32_arm_print_private_bfd_data): Ditto. binutils/ * readelf.c (decode_ARM_machine_flags): Handle EABIv5. gas/ * config/tc-arm.c (md_begin): Handle EABIv5. (arm_eabis): Add EF_ARM_EABI_VER5. * doc/c-arm.texi: Document -meabi=5. include/elf/ * arm.h (EF_ARM_EABI_VER5): Define.
2006-03-102006-03-10 Paul Brook <paul@codesourcery.com>Paul Brook
include/opcode/ * arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
2006-03-09 * syscalls.cc (rename): Move existance check for oldpath further upCorinna Vinschen
to the start of the function. Avoid another case of a name collision if oldpath is a shortcut and a file or directory newpath already exists.
2006-03-09 * include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type).Dimitri Papadopoulos
(FORM_USER,FORM_PRINTER): Define (DWORD type). * include/winspool.h [_WIN32_WINNT >= 0x0500] (DSPRINT_*): Define (DWORD type). Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
2006-03-09 * autoload.cc (NtClose): Define.Corinna Vinschen
(NtOpenDirectoryObject): Define. (NtQueryDirectoryObject): Define. * fhandler_proc.cc: Include ctype.h and wchar.h. (format_proc_partitions): Revamp loop over existing harddisks by scanning the NT native \Device object directory and looking for Harddisk entries. * ntdll.h: Rearrange system call declarations alphabetically. (DIRECTORY_QUERY): Define. (struct _DIRECTORY_BASIC_INFORMATION): Define. (NtOpenDirectoryObject): Declare. (NtQueryDirectoryObject): Declare.
2006-03-09 Remove accidentally checked in ChangeLog entry.Corinna Vinschen
2006-03-09 * include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define.Dimitri Papadopoulos
Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
2006-03-09* cygtls.h (_cygtls::retaddr): New method.Christopher Faylor
* dll_init.cc (cygwin_detach_dll): Use new tls function to find return address since this function is now signal guarded. (update_envptrs): Remove unneeded braces. * syscalls.cc (statvfs): Coerce full_path to avoid a gcc warning.
2006-03-08 * syscalls.cc (statvfs): Simplify path name expression.Corinna Vinschen
2006-03-08 * syscalls.cc: Include winioctl.h.Corinna Vinschen
(statvfs): Request correct volume size using DeviceIoControl if quotas are enforced on the file system.
2006-03-082006-03-07 Eric Blake <ebb9@byu.net>Jeff Johnston
* libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL filename, allow read-only or write-only FILE atop O_RDWR file descriptor. * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2006-03-082006-03-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf. * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2006-03-07 * include/shellapi.h [_WIN32_IE >= 0x0600]Dimitri Papadopoulos
(SEE_MASK_NOZONECHECKS,SEE_MASK_FLAG_LOG_USAGE): Define on Windows XP SP1 and Windows XP respectively.
2006-03-07 * include/shellapi.h (NOTIFYICONDATA_V*_SIZE): Define.Dimitri Papadopoulos
Thanks to: Daniel Atallah <datallah at users dot sf dot net> * include/shellapi.h [_WIN32_IE >= 0x0500] (NIS_*): Introduced in Version 5.0.
2006-03-07 * cygwinenv.sgml: Add missing </para> at transparent_exe.Corinna Vinschen
2006-03-07 * include/wingdi.h (CS_*): Correct WINVER guard onDanny Smith
Image Color Matching colour definitions.
2006-03-07 * include/shlobj.h (SFGAO_ISSLOW): Define.Danny Smith
(SFGAO_DISPLAYATTRMASK): Define in terms of preceding display attribute constants.
2006-03-06 * include/wingdi.h [WINVER >= 0x0500]Dimitri Papadopoulos
(GRADIENT_FILL_*,*_EMBEDED): Included in Windows 2000 and later. Thanks to: David A. Capello <dacap at users dot sf dot net>
2006-03-06 * include/wingdi.h [WINVER >= 0x0500]Dimitri Papadopoulos
(INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later. Thanks to: David A. Capello <dacap at users dot sf dot net>
2006-03-06 * include/wingdi.h [WINVER >= 0x0500]Dimitri Papadopoulos
(INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later. Thanks to: David A. Capello <dacap at users dot sf dot net>
2006-03-06missing changelog entry for my 2006-02-07 patchNathan Sidwell
* m68k.h (m68008, m68ec030, m68882): Remove. (m68k_mask): New. (cpu_m68k, cpu_cf): New. (mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407
2006-03-06 bfd:Nathan Sidwell
* archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp): New. Adjust other variants. (bfd_default_scan): Update. * bfd-in2.h: Rebuilt. * cpu-m68k.c: Adjust. (bfd_m68k_compatible): New. Use it for architectures. * elf32-m68k.c (elf32_m68k_object_p): Adjust. (elf32_m68k_merge_private_bfd_data): Adjust. Correct isa-a/b mismatch. (elf32_m68k_print_private_bfd_data): Adjust. * ieee.c (ieee_write_processor): Adjust. binutils: * readelf.c (get_machine_flags): Adjust. gas: * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k and cf. (m68k_ip): <case 'J'> Check we have some control regs. (md_parse_option): Allow raw arch switch. (m68k_init_arch): Better detection of arch/cpu mismatch. Detect whether 68881 or cfloat was meant by -mfloat. (md_show_usage): Adjust extension display. (m68k_elf_final_processing): Adjust. gas/testsuite: * gas/m68k/arch-cpu-1.s: Tweak. * gas/m68k/arch-cpu-1.d: Tweak. include/elf: * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust. (EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New. (EF_M68K_HW_DIV, EF_M68K_USP): Remove. (EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust. (EF_M68K_EMAC_B): New. ld/testsuite: * ld-m68k: New tests.
2006-03-052006-03-05 Paul J. Lucas <pauljlucas@users.sourceforge.net>Danny Smith
* include/wininet.h (INTERNET_CONNECTED_INFO): Define structure. (INTERNET_STATE_*): Define flags. (INTERNET_OPTION_CONNECTED_STATE): Define constant.