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
2012-07-03* fhandler_registry.cc (fhandler_registry::open): Handle missing EROFS errorChristopher Faylor
condition pointed to by Clang.
2012-07-02* pinfo.cc (_pinfo::commune_request): Eliminate unneeded assignment found byChristopher Faylor
Clang.
2012-07-02* external.cc (fillout_pinfo): Return NULL rather than 0.Christopher Faylor
(exit_process): Guard against NULL pointer dereference found by Clang.
2012-07-02* mount.cc (mount_info::conv_to_win32_path): Eliminate unneeded assignmentChristopher Faylor
found by CLANG. * path.cc (symlink_info::check): Remove unneeded/unused variable found by CLANG.
2012-07-02* path.cc (symlink_info::check): Remove unneeded/unused variable.Christopher Faylor
2012-07-02 * dll_init.cc (dll_list::alloc): Take long UNC paths into account.Corinna Vinschen
2012-07-02* Makefile.in: Add some more optimization flags for cygwait, malloc and ↵Christopher Faylor
path. Explain why -fomit-frame-pointer doesn't work right for passwd.o and path.o. Add -static to link command line for cygwin0.dll. * fhandler_disk_file.cc (fhandler_disk_file::facl): Reorganize slightly to silence compiler warning when compiling with -fstack-check. * net.cc (inet_ntop6): Initialize structure members to silence compiler warning when compiling with -fstack-check. * pseudo-reloc.cc (_pei386_runtime_relocator): Make this a C function. Detect NULL u. * winsup.h (_pei386_runtime_relocator): Declare this as extern "C". * lib/_cygwin_crt0_common.cc (_pei386_runtime_relocator): Call with NULL argument. * signal.cc (sigaction_worker): Eliminate last argument. Let callers report their own strace info. Regparmize. (sigaction): Reflect sigaction_worker changes. (siginterrupt): Ditto. * exceptions.cc: Update copyright.
2012-07-02* path.cc: Perform some whitespace fixups throughout.Christopher Faylor
2012-06-29 * kernel32.cc (_KERNEL32_): Define. Explain why.Corinna Vinschen
(CreateFileMappingW): Drop undocumented flProtect flags.
2012-06-28 * fhandler_serial.cc: Fix includes for IOCTL codes to support Mingw64.Corinna Vinschen
* fhandler_tape.cc: Ditto. * flock.cc (allow_others_to_sync): Use PISECURITY_DESCRIPTOR since PSECURITY_DESCRIPTOR is supposed to be the opaque type. * ntdll.h: Remove CreateDisposition flags again, now that they are defined in Mingw64's ntdef.h. Ditto for Create/Open flags.
2012-06-28 * exceptions.cc (RtlUnwind): Align declaration with MSDN.Corinna Vinschen
* ntdll.h: Define CreateDisposition Flags. Add comments. * winlean.h: Define FILE_SHARE_VALID_FLAGS if using Mingw64 headers.
2012-06-28* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sureAlexandre Oliva
they contain -O2. * configure: Regenerate.
2012-06-28 * common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,Iain D Sandoe
AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New defines.
2012-06-28 * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.Corinna Vinschen
* doc/Makefile.in: Regenerate.
2012-06-28* cygwait.h (cancelable_wait): Make extern to avoid always including.Christopher Faylor
* select.cc (allocfd_set): Try to make a little more efficient. (cygwin_select): Break into two functions to avoid what seems to be a strange compiler problem with alloca and sel constructor. (select): New function. Always honor return from call_signal_handler. (select_stuff::wait): Always honor return from call_signal_handler. * select.h (select_stuff::select_stuff): Use NULL to initialize pointers rather than 0.
2012-06-27 * exceptions.cc (exception::handle): Cast exception code to NTSTATUSCorinna Vinschen
for comparison. * ntdll.h: Drop defining NT status codes in favor of including ntstatus.h.
2012-06-27 * miscfuncs.cc (WritePipeOverlapped): Define second parameter LPCVOID,Corinna Vinschen
rather than PCVOID. * miscfuncs.h (WritePipeOverlapped): Ditto.
2012-06-27 * advapi32.cc (_ADVAPI32_): Define. Explain why.Corinna Vinschen
(ImpersonateNamedPipeClient): Add missing WINAPI. * ntdll.h (STATUS_INVALID_PARAMETER): Only define if it isn't already. (STATUS_DLL_NOT_FOUND): Ditto. (STATUS_ENTRYPOINT_NOT_FOUND): Ditto. (enum _EVENT_TYPE): Guard against redefinition since it's already defined in Mingw64's ntdef.h. (enum _TIMER_TYPE): Ditto. (enum _SECTION_INHERIT): Define if using Mingw64 headers since it's missing in Mingw64's ntdef.h. * winlean.h (__STRALIGN_H_): Define before including windows.h.
2012-06-26 * winsup.h (GetLastError): Drop redundant definition.Corinna Vinschen
2012-06-26* libc/include/sys/types.h: Don't use the same preprocessor guard for time_t,Christopher Faylor
timespec, and itimerspec. Add a separate guard specifically for timespec and always unconditionally define itimerspec.
2012-06-26fix typoChristopher Faylor
2012-06-25* cygwait.cc (cancelable_wait): Make sure that timer is cancelled beforeChristopher Faylor
cancelling thread.
2012-06-25* cygwait.h (cancelable_wait): Need to force time to negative to indicateChristopher Faylor
relative time.
2012-06-24 PR 14125Doug Evans
* NEWS: Document additions to .gdb_index. * dwarf2read.c: #include "gdb/gdb-index.h". (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro. (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro. (DW2_GDB_INDEX_CU_SET_VALUE): New macro. (dwarf2_read_index): Recognize version 7. (dw2_do_expand_symtabs_matching): New args want_specific_block, block_kind, domain): All callers updated. (dw2_find_symbol_file): Handle new index CU values. (dw2_expand_symtabs_matching): Match symbol kind if requested. (add_index_entry): New args is_static, kind. All callers updated. (offset_type_compare, uniquify_cu_indices): New functions (symbol_kind): New function. (write_psymtabs_to_index): Remove duplicate CU values. (write_psymtabs_to_index): Write .gdb_index version 7. doc/ * gdb.texinfo (Index Section Format): Document version 7 format. include/gdb/ * gdb-index.h: New file.
2012-06-22 * path.cc (realpath): Fix comment.Corinna Vinschen
2012-06-21 * path.cc (realpath): Call mount_info::conv_to_posix_path rather thanCorinna Vinschen
mount_info::cygdrive_posix_path to convert DOS paths to POSIX paths. Add comment to explain why that's necessary at all.
2012-06-19* cygwait.h (LARGE_NULL): Define.Christopher Faylor
(cancelable_wait): Define variant which accepts DWORD time argument. (cygwait): Use cancelable_wait with DWORD argument. (cygwait): Use cancelable_wait with DWORD argument and cw_sig_eintr for timeout-only case. * exceptions.cc (handle_sigsuspend): Use LARGE_NULL as second argument to distinguish between cancelable_wait variants. * thread.cc (pthread_mutex::lock): Ditto. (pthread::join): Ditto. (semaphore::_timedwait): Ditto. * thread.h (fast_mutex::lock): Ditto. * wait.cc (wait4): Ditto.
2012-06-19Revert errneous checkin.Christopher Faylor
Check in actual change associated with ChangeLog.
2012-06-19* cygwait.cc (cancelable_wait): Mimic old cygwait behavior more closely wrtChristopher Faylor
handling of call_signal_handler. * cygwait.h (WAIT_CANCELED): Move here and redefine. (WAIT_SIGNALED): Ditto. * thread.h (WAIT_CANCELED): Delete. (WAIT_SIGNALED): Ditto.
2012-06-19merge from gccDJ Delorie
2012-06-19 * cygheap.cc (init_cygheap::init_installation_root): Rearrange codeCorinna Vinschen
creating valid native NT installation_root path. Only strip last backslash from path if the result is a valid NT path. Explain why.
2012-06-18Add '#include "cygwait.h"' throughout, where appropriate.Christopher Faylor
* DevNotes: Add entry cgf-000012. * Makefile.in (DLL_OFILES): Add cygwait.o. * sigproc.h: Remove cygwait definitions. * cygwait.h: New file. Define/declare Cygwin waitfor functions. * cygwait.cc: Ditto. * exceptions.cc: Include cygwait.h. (handle_sigsuspend): Accommodate change in cancelable_wait arguments. (sigpacket::process): Display thread tls in debugging output. * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use symbolic names for signal and cancel return. * fhandler_console.cc (fhandler_console::read): Ditto. (fhandler_dev_dsp::Audio_out::waitforspace): Ditto. fhandler_dev_dsp::Audio_in::waitfordata): Ditto. * fhandler_fifo.cc (fhandler_fifo::wait): Ditto. * fhandler_serial.cc (fhandler_serial::raw_read): Ditto. * fhandler_tty.cc (fhandler_pty_slave::read): Ditto. * select.cc (cygwin_select): Ditto. * wait.cc (wait4): Ditto. * thread.cc (cancelable_wait): Move definition to cygwait.h. (pthread_cond::wait): Accommodate change in cancelable_wait arguments. (pthread_mutex::lock): Ditto. (pthread_spinlock::lock): Ditto. (pthread::join): Ditto. (pthread::thread_init_wrapper): Display tls in debugging output. (semaphore::_timedwait): Ditto. * thread.h (cw_sig_wait): Move to cygwait.h. (cw_cancel_action): Delete. (cancelable_wait): Move declaration to cygwait.h.
2012-06-132012-06-12 Rafael Ávila de Espíndola <respindola@mozilla.com>Rafael Ávila de Espíndola
* plugin-api.h (ld_plugin_output_file_type): Add LDPO_PIE.
2012-06-12Fix last ChangeLog entry.Yaakov Selkowitz
2012-06-12 * regex/regcomp.c (p_ere): Allow vertical-line followingYaakov Selkowitz
left-parenthesis in ERE, as in glibc.
2012-06-10 * include/sys/elf_common.h (R_386_16): Define.Yaakov Selkowitz
(R_386_PC16): Define. (R_386_8): Define. (R_386_PC8): Define.
2012-06-10* select.cc (cygwin_select): Remove select_timeout test.Christopher Faylor
(select_stuff::wait): Return select_set_zero on timeout. (thread_socket): Report timeout when debugging.
2012-06-08merge from gccDJ Delorie
2012-06-07 * avr.h: (AVR_ISA_XCH): New define.Nick Clifton
(AVR_ISA_XMEGA): Use it. (XCH, LAS, LAT, LAC): New XMEGA opcodes.
2012-06-06 * include/elf.h: Update from FreeBSD.Yaakov Selkowitz
* include/machine/elf.h: New header, from FreeBSD. * include/sys/elf.h: Ditto. * include/sys/elf32.h: Update from FreeBSD. * include/sys/elf64.h: Ditto. * include/sys/elf_common.h: Ditto. (R_IA64_*): Define Linux-style names as aliases to R_IA_64_*. (R_SH_*): Define, based on sh-4 psABI. (R_390_*): Define, based on s390x psABI. * include/sys/elf_generic.h: Ditto.
2012-06-05 * libc/stdio/findfp.c (__sinit): Avoid infinite recursion onCorinna Vinschen
_REENT_SMALL targets. Add comment to explain.
2012-06-04 * fhandler_disk_file.cc (fhandler_disk_file::link ): TranslateCorinna Vinschen
STATUS_NOT_SUPPORTED to EPERM as well.
2012-06-04* dtable.cc (dtable::dup3): Only return with lock set when O_EXCL flag isChristopher Faylor
passed in. * syscalls.cc (dup_finish): Pass O_EXCL in flags to dtable::dup3.
2012-06-03* DevNotes: Add entry cgf-000011.Christopher Faylor
* fhandler.h (fhandler_base::refcnt): Delete. (fhandler_base::inc_refcnt): New function. (fhandler_base::dec_refcnt): New function. * cygheap.h (cygheap_fdnew::~cygheap_fdnew): Accommodate split of refcnt to inc_refcnt/dec_refcnt. (cygheap_fdget::cygheap_fdget): Ditto. (cygheap_fdget::~cygheap_fdget::cygheap_fdget): Ditto. * dtable.cc (dtable::release): Ditto. (cygwin_attach_handle_to_fd): Ditto. (dtable::init_std_file_from_handle): Ditto. (dtable::dup3): On success, return with fdtab locked. * dtable.h (dtable): Add dup_finish as a friend. * syscalls.cc (dup_finish): Define new function. Increment refcnt while fdtab is locked. (dup2): Use common dup_finish() to perform dup operation. (dup3): Ditto.
2012-06-03 * new-features.sgml (ov-new1.7.16): Document ReFS support.Corinna Vinschen
2012-06-03*** empty log message ***Corinna Vinschen
2012-06-03 * globals.cc (ro_u_refs): New R/O unicode string.Corinna Vinschen
* mount.cc (fs_info::update): Recognize ReFS. * mount.h (enum fs_info_type): Add refs. (class fs_info): Add refs flag and accessor methods. * ntdll.h (RtlAddAccessAllowedAceEx): Declare. (RtlAddAccessDeniedAceEx): Declare. * path.h (path_conv::fs_is_refs): Define. * sec_helper.cc (_recycler_sd): New function to create security descriptors suitable for the recycler bin starting with Vista. * security.cc (add_access_allowed_ace): Use RtlAddAccessAllowedAceEx and drop code to set AceFlags explicitely. (add_access_denied_ace): Use RtlAddAccessDeniedAceEx and drop code to set AceFlags explicitely. * security.h (_recycler_sd): Declare. (recycler_sd): Define. * syscalls.cc (desktop_ini): Change formatting. (desktop_ini_ext): Define third line of recycler desktop.ini file since Vista, (try_to_bin): Handle ReFS just like NTFS. Write Vista and later Recycler in all uppercase, just like shell32 does when recreating it. Fix comments to include ReFS. Don't implicitely reuse object attributes from earlier NtOpenFile call, rather recreate it for safety. Use recycler_sd call when creating security descriptor for Recycler dirs and files on Vista and later. Write third line of desktop.ini when on Vista and later.
2012-06-03 * cygcheck.cc (dump_sysinfo): Change "Server 8" to officialCorinna Vinschen
"Server 2012".
2012-06-03* winbase.h: Add missing copyright date.Christopher Faylor
2012-06-03* select.cc (cygwin_select): Make sure that we only return -1 as an errorChristopher Faylor
return. (select_stuff::wait): Semi-revert to previous method for filling out w4.