]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years ago* configure.in: Remove non-working options.
Christopher Faylor [Thu, 14 Feb 2008 00:49:47 +0000 (00:49 +0000)]
* configure.in: Remove non-working options.
* configure: Regenerate.

16 years ago* syscalls.cc (_isatty): Define as an alias to isatty to override newlib
Christopher Faylor [Wed, 13 Feb 2008 17:21:05 +0000 (17:21 +0000)]
* syscalls.cc (_isatty): Define as an alias to isatty to override newlib
version.
* thread.cc (pthread_kill): Deal with signal 0 as per POSIX and also avoid
manipulating an invalid thread.

16 years ago * posix.sgml: Move llrint, llrintf, llrintl, lrintl, rintl, wcstol,
Corinna Vinschen [Wed, 13 Feb 2008 14:50:39 +0000 (14:50 +0000)]
* posix.sgml: Move llrint, llrintf, llrintl, lrintl, rintl, wcstol,
wcstoll, wcstoul, wcstoull, wcsxfrm from unimplemented to implemented
POSIX interfaces.
Change headline of "GNU extensions" to "GNU and Linux extensions".
Add fgetxattr, flistxattr, fremovexattr, fsetxattr, getxattr, lgetxattr,
listxattr, llistxattr, lremovexattr, lsetxattr, removexattr, setxattr,
wcpcpy and wcpncpy to list of implemented GNU functions.

16 years ago * cygtls.cc (_cygtls::init_exception_handler): Revert patch
Corinna Vinschen [Wed, 13 Feb 2008 09:42:22 +0000 (09:42 +0000)]
    * cygtls.cc (_cygtls::init_exception_handler): Revert patch
        from 2005-12-02.
        * exceptions.cc (stack_info::walk): Add workaround for NT 5.2
        64 bit OSes.
        * wincap.h (wincaps::has_restricted_stack_args): New element.
        * wincap.cc: Implement above element throughout.
        (wincapc::init): Reset has_restricted_stack_args if not running
        under WOW64.

16 years ago2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Tue, 12 Feb 2008 21:21:13 +0000 (21:21 +0000)]
2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/straddr.h: New file, supplies _straddr.
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strcpy.c: Use _strcpy.
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
        str[n]cpy and str[n]cat.
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strncpy.c: Use _strcpy.

16 years ago2008-02-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 12 Feb 2008 18:07:55 +0000 (18:07 +0000)]
2008-02-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
        for user specifying --disable-newlib-io-long-long on configure.
        Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
        reentrant pointer passed in rather than _REENT.

16 years ago2008-02-12 Peter Rosin <peda@lysator.liu.se>
Jeff Johnston [Tue, 12 Feb 2008 17:20:09 +0000 (17:20 +0000)]
2008-02-12  Peter Rosin  <peda@lysator.liu.se>

        * libc/stdlib/getopt.c (getopt_internal): Handle optional
        arguments better for long options and short options not
        appearing as the first option in a sequence.

16 years ago2008-02-02 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 12 Feb 2008 01:31:52 +0000 (01:31 +0000)]
2008-02-02  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

  * include/specstrings.h (IN, OUT, OPTIONAL): Remove.
  * include/windef.h (IN, OUT, OPTIONAL): Define.

16 years ago2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 11 Feb 2008 22:19:59 +0000 (22:19 +0000)]
2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/straddr.h: New file, supplies _straddr.
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strcpy.c: Use _strcpy.
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
        str[n]cpy and str[n]cat.
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strncpy.c: Use _strcpy.

16 years ago2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 11 Feb 2008 22:14:46 +0000 (22:14 +0000)]
2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/strlen.c: Remove the len variable and unneeded
        calculation of its value.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused
Corinna Vinschen [Mon, 11 Feb 2008 19:03:36 +0000 (19:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused
attr.
(fhandler_disk_file::fsetxattr): Ditto.
* include/attr/xattr.h: New file.

16 years ago * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
Bob Wilson [Mon, 11 Feb 2008 17:53:04 +0000 (17:53 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.

16 years ago * dcrt0.cc (dll_crt0_1): Fix typo in call to sys_wcstombs.
Corinna Vinschen [Mon, 11 Feb 2008 16:39:06 +0000 (16:39 +0000)]
* dcrt0.cc (dll_crt0_1): Fix typo in call to sys_wcstombs.
* miscfuncs.cc (next_char): Initialize ret to keep gcc happy.

16 years ago Fix ChangeLog entry.
Corinna Vinschen [Sun, 10 Feb 2008 15:44:12 +0000 (15:44 +0000)]
Fix ChangeLog entry.

16 years ago * Makefile.in (DLL_OFILES): Add ntea.o.
Corinna Vinschen [Sun, 10 Feb 2008 15:43:04 +0000 (15:43 +0000)]
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.

16 years ago * libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility.
Corinna Vinschen [Sun, 10 Feb 2008 15:19:08 +0000 (15:19 +0000)]
* libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility.
* libc/nftw.c (nftw): Ditto.

16 years ago Fix typo in latest ChangeLog entry.
Corinna Vinschen [Thu, 7 Feb 2008 20:38:39 +0000 (20:38 +0000)]
Fix typo in latest ChangeLog entry.

16 years ago * dtable.cc (dtable::init_std_file_from_handle): Set access to
Corinna Vinschen [Thu, 7 Feb 2008 18:59:40 +0000 (18:59 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Set access to
read/write of handle is connected to a tty or console.
* fhandler_dsp.cc (fhandler_dev_dsp::dup): Set open flags correctly
after duplicating from archetype.
* fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.
(fhandler_pty_master::dup): Ditto.

16 years ago * bsd_helper.cc: Replace %E __small_printf format specifier with %lu
Corinna Vinschen [Wed, 6 Feb 2008 22:30:38 +0000 (22:30 +0000)]
* bsd_helper.cc: Replace %E __small_printf format specifier with %lu
and call to GetLastError throughout.
* bsd_mutex.cc: Ditto.
* sysv_sem.cc (semget): Replace %X __small_printf format specifier
with %llx.

16 years ago * miscfuncs.cc (next_char): Fix typos in comment.
Corinna Vinschen [Wed, 6 Feb 2008 22:04:16 +0000 (22:04 +0000)]
* miscfuncs.cc (next_char): Fix typos in comment.
* strfuncs.cc: Remove cygserver guards.

16 years ago Remove dependency from Cygwin internal code.
Corinna Vinschen [Wed, 6 Feb 2008 22:01:30 +0000 (22:01 +0000)]
Remove dependency from Cygwin internal code.
* Makefile.in (CYGWIN_OBJS): Remove smallprint.o.
(cygserver.exe): Remove strfuncs.o
(strfuncs.o): Drop rule.
* bsd_log.cc (_vlog): Use snprintf/vsnprintf instead of
__small_sprintf/__small_vsprintf.
* sysv_sem.cc (seminit): Use sys_malloc instead of malloc.  Use
snprintf instead of __small_sprintf.
(semunload): Free the above allocated sema_mtx names here.

16 years ago * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for
Corinna Vinschen [Wed, 6 Feb 2008 18:24:50 +0000 (18:24 +0000)]
* fhandler.h (fhandler_console::trunc_buf): Add to use as cache for
truncated multibyte characters on input.
(fhandler_console::write_replacement_char): Declare new method.
* fhandler_console.cc (CONVERT_LIMIT): Raise to 64K.
(fhandler_console::fhandler_console): Initialize trunc_buf.
(ERR): Define as independent value again.
(fhandler_console::write_replacement_char): New method to print
replacement chars.
(fhandler_console::write_normal): Add handling for truncated multibyte
sequences.  Call next_char instead of pathetic CharNextExA function.
Don't change src, rather just work with found later on.
* miscfuncs.cc (is_cp_multibyte): Move here from strfuncs.cc.
Don't call Windows function, restrict to well-known ANSI/OEM codepages
and UTF-8.
(next_char): Call CharNextExA only for doublebyte codepages.
Implement for UTF-8 here.
* strfuncs.cc (is_cp_multibyte): Move to miscfuncs.cc.
* winsup.h (next_char): Declare.
* include/limits.h (MB_LEN_MAX): Set to maximum value of MB_CUR_MAX
as defined by newlib for now.

16 years ago * autoload.cc (CharToOemA): Remove.
Corinna Vinschen [Tue, 5 Feb 2008 17:37:10 +0000 (17:37 +0000)]
* autoload.cc (CharToOemA): Remove.
(CharNextExA): Define.
* environ.cc (codepage_init): Un-static.  Set active_codepage to
active codepage.  Default to ansi regardless of buf pointer.
* fhandler.h (dev_console::get_console_cp): New method.
(dev_console::con_to_str): Change declaration according to new
implementation.
(dev_console::str_to_con): Ditto.
* fhandler_console.cc (cp_convert): Remove.
(dev_console::con_to_str): Redefine to take WCHAR as incoming console
char.
(dev_console::get_console_cp): Return correct codepage according to
alternate_charset_active setting.
(dev_console::str_to_con): Redefine to create WCHAR buffer for console
output.
(fhandler_console::read): Read console input as WCHARs.
(base_chars): Fix typo in comment.
(fhandler_console::char_command): Save and restore console output
buffer using UNICODE functions.
(fhandler_console::write_normal): Convert to write output in UNICODE.
Use CharNextExA to recognize multibyte characters in input.  Workaround
problem with UTF-8 and MultiByteToWideChar.  Simplify the loop for
printing "normal" characters.
* strfuncs.cc (active_codepage): New variable to store active codepage.
(get_cp): Call codepage_init() if active_codepage is uninitialized.
Just return active_codepage.
(is_cp_multibyte): New function.
* winsup.h (active_codepage): Declare.
(codepage_init): Declare.
(is_cp_multibyte): Declare.

16 years ago * mips.h: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:25:05 +0000 (19:25 +0000)]
* mips.h: Update copyright.
(INSN_CHIP_MASK): New macro.
(INSN_OCTEON): New macro.
(CPU_OCTEON): New macro.
(OPCODE_IS_MEMBER): Handle Octeon instructions.

16 years ago * mips.h: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:21:25 +0000 (19:21 +0000)]
* mips.h: Update copyright.
(E_MIPS_MACH_OCTEON): New macro.

16 years ago * Makefile.in: Don't link strfuncs.o from the Cygwin build dir.
Corinna Vinschen [Mon, 4 Feb 2008 12:02:26 +0000 (12:02 +0000)]
* Makefile.in: Don't link strfuncs.o from the Cygwin build dir.
Build it again with __OUTSIDE_CYGWIN__ defined.

16 years ago * smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type.
Corinna Vinschen [Mon, 4 Feb 2008 12:00:19 +0000 (12:00 +0000)]
* smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type.
* strfuncs.cc (sys_wcstombs_alloc): Guard use of ccalloc
to !__OUTSIDE_CYGWIN__ for use in cygserver.
(sys_mbstowcs_alloc): Ditto.

16 years ago * configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
Hans-Peter Nilsson [Sat, 2 Feb 2008 22:19:04 +0000 (22:19 +0000)]
* configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
* configure: Regenerate.

16 years ago2008-02-01 Brian Dessent <brian@dessent.net>
Chris Sutcliffe [Sat, 2 Feb 2008 14:14:49 +0000 (14:14 +0000)]
2008-02-01  Brian Dessent  <brian@dessent.net>

        * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
        the different runtime versions.

16 years ago2008-02-02 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 2 Feb 2008 13:19:23 +0000 (13:19 +0000)]
2008-02-02  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/specstrings.h: new file, move pseudo modifiers from windef.h.
        * include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount,
        __out, __out_ecount_part, __struct_bcount, __field_ecount_opt,
        __out_bcount_opt): Move to specstrings.h.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 18:32:06 +0000 (18:32 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

16 years ago * miscfuncs.cc (cygwin_wcsncasecmp): Never access more than n
Corinna Vinschen [Fri, 1 Feb 2008 13:11:57 +0000 (13:11 +0000)]
* miscfuncs.cc (cygwin_wcsncasecmp): Never access more than n
characters.
(cygwin_strncasecmp): Ditto.  Fix for strings longer than n.

16 years ago * string.h: Re-enable inline strcasematch and strncasematch
Corinna Vinschen [Fri, 1 Feb 2008 12:37:51 +0000 (12:37 +0000)]
* string.h: Re-enable inline strcasematch and strncasematch
implementations and rename to ascii_strcasematch/ascii_strncasematch.
* dcrt0.cc: Replace str[n]casematch with ascii_str[n]casematch where
applicable.
* environ.cc: Ditto.
* fhandler_process.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* strace.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.
* winf.cc: Ditto.

16 years ago * dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current
Corinna Vinschen [Thu, 31 Jan 2008 20:26:01 +0000 (20:26 +0000)]
* dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current
codepage.
* environ.cc (set_file_api_mode): Always set file api to ANSI if not
using the OEM codepage.
(codepage_init): Allow "utf8" codepage.
* fhandler_clipboard.cc (set_clipboard): Convert clipbuf to void and
cast as needed.  Always convert input to wide char and write
CF_UNICODETEXT to clipboard.
(fhandler_dev_clipboard::read): Read CF_UNICODETEXT from clipboard and
convert to current codepage if CYGWIN_NATIVE format is not available.
* fhandler_console.cc: Drop redundant undef.
* smallprint.cc (__small_vsprintf): Convert PWCHAR and UNICODE_STRING
to current codepage for printing.
* strfuncs.cc: Use PWCHAR throughout.
(get_cp): Return CP_UTF8 for utf8_cp codepage setting.
(sys_wcstombs): Allow NULL target buffer.
(sys_wcstombs_alloc): New function.
(sys_mbstowcs_alloc): Ditto.
* winsup.h (codepage_type): Add utf8_cp.
(HEAP_NOTHEAP): Define.
(sys_wcstombs_alloc): Declare.
(sys_mbstowcs_alloc): Declare.

16 years ago * cygheap.h (struct cwdstuff): Add dir member to store cwd handle.
Corinna Vinschen [Thu, 31 Jan 2008 14:18:49 +0000 (14:18 +0000)]
* cygheap.h (struct cwdstuff): Add dir member to store cwd handle.
(cwdstuff::get_handle): New method.
* path.cc (cwdstuff::set): When doit is true, always try to get
directory handle.  Fail if duplicating handle fails.  Store handle
in dir.  Fix potential SEGV when setting drive_length.

16 years ago2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 31 Jan 2008 10:39:43 +0000 (10:39 +0000)]
2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        PR bootstrap/34922
        * configure.ac (PARSE_ARGS): Push suitable setting of
        ac_subdirs_all, for `./configure --help=recursive'.
        Handle `+' in generic toplevel directory disabling.
        * configure: Regenerate.

16 years agoRemove conflict marker as obvious.
Brian Ford [Wed, 30 Jan 2008 18:49:59 +0000 (18:49 +0000)]
Remove conflict marker as obvious.

16 years ago Add OpenVMS extensions.
Nick Clifton [Wed, 30 Jan 2008 10:37:43 +0000 (10:37 +0000)]
    Add OpenVMS extensions.
        * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
        (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
        (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
        (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
        (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
        (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
        (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
        (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
        (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
        (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
        (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
        (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
        (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
        (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
        (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
        (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
        (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
        (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
        (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
        (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
        (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
        (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define

        * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
        (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
        (get_dynamic_type): Handle IA64-specific tags.
        (get_ia64_section_type_name): Handle OpenVMS-specific sections.
        (get_section_type_name): Handle OS-specific sections (and
        particularly IA64 OpenVMS one).
        (get_elf_section_flags): Makes flags static.  Add entries for IA64 and
        decode them.

16 years ago2008-01-30 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 30 Jan 2008 09:39:16 +0000 (09:39 +0000)]
2008-01-30  Brandon Sneed  <nivenh@sourceware.org>

* lib/bthprops.def: new file, bluetooth imports.

16 years ago2008-01-30 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 30 Jan 2008 09:18:22 +0000 (09:18 +0000)]
2008-01-30  Brandon Sneed  <nivenh@sourceware.org>

* include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount,
__out, __out_ecount_part, __struct_bcount, __field_ecount_opt,
__out_bcount_opt): Defined additional pseudo-modifiers.

16 years ago2008-01-29 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 30 Jan 2008 00:47:35 +0000 (00:47 +0000)]
2008-01-29  Brandon Sneed  <nivenh@sourceware.org>
* include/ras.h (RAS_MaxDnsSuffix): corrected typo, was RAX_MaxDnsSuffix.
(RASENTRYA, RASENTRYW): Added members (dwfOptions2, dwfOptions3, szDnsSuffix,
dwTcpWindowSize, szPrerequisitePbk, szPrerequisiteEntry, dwRedialCount,
dwRedialPause.

16 years ago2008-01-29 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Tue, 29 Jan 2008 21:18:49 +0000 (21:18 +0000)]
2008-01-29  Brandon Sneed  <nivenh@sourceware.org>

* include/winnt.h (SYSTEM_POWER_CONDITION): typedef.
* include/winuser.h (PBT_POWERSETTINGCHANGE, DEVICE_NOTIFY_WINDOW_HANDLE,
DEVICE_NOTIFY_SERVICE_HANDLE): define.
* include/winuser.h (LPCGUID, HPOWERNOTIFY, POWERBROADCAST_SETTING): typedefs.
* include/winuser.h (GUID_POWERSCHEME_PERSONALITY, GUID_MIN_POWER_SAVINGS,
GUID_MAX_POWER_SAVINGS, GUID_TYPICAL_POWER_SAVINGS, GUID_ACDC_POWER_SOURCE,
GUID_BATTERY_PERCENTAGE_REMAINING, GUID_IDLE_BACKGROUND_TASK,
GUID_SYSTEM_AWAYMODE, GUID_MONITOR_POWER_ON): added externs for GUIDs.
* include/winuser.h (RegisterPowerSettingNotification,
UnregisterPowerSettingNotification): Add prototypes.
* lib/user32.def: Added imports for the above prototypes.
* lib/Makefile.in: Added build support for power-uuid.c.
* lib/power-uuid.c: New file containing power GUID definitions.

16 years ago* include/ras.h (RAS_MaxDnsSuffix): define.
Brandon Sneed [Tue, 29 Jan 2008 20:40:32 +0000 (20:40 +0000)]
* include/ras.h (RAS_MaxDnsSuffix): define.

16 years agoAdded new PSAPI defines and exports
Brandon Sneed [Tue, 29 Jan 2008 20:34:43 +0000 (20:34 +0000)]
Added new PSAPI defines and exports

16 years ago * path.cc: Fix Samba version in comment.
Corinna Vinschen [Mon, 28 Jan 2008 12:19:30 +0000 (12:19 +0000)]
* path.cc: Fix Samba version in comment.

16 years agoinclude/
David Daney [Sun, 27 Jan 2008 06:25:45 +0000 (06:25 +0000)]
include/
2008-01-26  David Daney  <ddaney@avtrex.com>

* demangle.h (demangle_component_type):  Add
DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER as new enum values.
(demangle_component): Add struct s_character to union u.

libiberty/
2008-01-26  David Daney  <ddaney@avtrex.com>

* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
(d_make_character): New function.
(d_java_resource): Same.
(d_special_name): Handle "Gr" case.
(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
* testsuite/demangle-expected: Add test for java resource name
mangling.

16 years ago * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
Hans-Peter Nilsson [Fri, 25 Jan 2008 04:31:11 +0000 (04:31 +0000)]
* libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
Make ISO C.

16 years ago * path.cc (fs_info::update): Fix old-style Samba test to support
Corinna Vinschen [Thu, 24 Jan 2008 17:29:29 +0000 (17:29 +0000)]
* path.cc (fs_info::update): Fix old-style Samba test to support
recent as well as upcoming Samba releases.

16 years ago/gas:
Eric Weddington [Wed, 23 Jan 2008 17:36:23 +0000 (17:36 +0000)]
/gas:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for at86rf401.

/include:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 23 Jan 2008 02:43:51 +0000 (02:43 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago * ntdll.h (struct _FILE_FS_OBJECTID_INFORMATION): Define.
Corinna Vinschen [Tue, 22 Jan 2008 17:43:22 +0000 (17:43 +0000)]
* ntdll.h (struct _FILE_FS_OBJECTID_INFORMATION): Define.
* path.cc (struct smb_extended_info): Define.
(fs_info::update): Request object id info to get Samba information.
Set flags according to new implementation.
* path.h (struct fs_info): Add samba_version to status_flags.
Implement flags() and samba_version() using IMPLEMENT_STATUS_FLAG.

16 years ago* libc/sys/sh/syscalls.c (_isatty): New.
DJ Delorie [Tue, 22 Jan 2008 00:24:45 +0000 (00:24 +0000)]
* libc/sys/sh/syscalls.c (_isatty): New.

16 years ago2008-01-21 Neal H. Walfield <neal@gnu.org>
Jeff Johnston [Mon, 21 Jan 2008 18:29:17 +0000 (18:29 +0000)]
2008-01-21  Neal H. Walfield  <neal@gnu.org>

        * Makefile.am (crt1.o): Use correct source.
        * Makefile.in: Regenerated.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Open file with
Corinna Vinschen [Mon, 21 Jan 2008 14:51:55 +0000 (14:51 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Open file with
READ_CONTROL for Vista/Longhorn's sake.

16 years ago* common.h (AT_SUN_AUXFLAGS): Define.
Mark Kettenis [Wed, 16 Jan 2008 22:01:42 +0000 (22:01 +0000)]
* common.h (AT_SUN_AUXFLAGS): Define.

16 years ago/gas:
Eric Weddington [Wed, 16 Jan 2008 17:59:07 +0000 (17:59 +0000)]
/gas:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for avr3,
at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82,
at90usb162.
These changes support the new avr35 architecture group in gcc.

/include:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_USB162): Add new opcode set.
(AVR_ISA_AVR3): Likewise.

16 years ago * Makefile.in (install-libs): Overwrite newlib's libg.a with symlink
Corinna Vinschen [Tue, 15 Jan 2008 17:42:10 +0000 (17:42 +0000)]
* Makefile.in (install-libs): Overwrite newlib's libg.a with symlink
to libcygwin.a.

16 years ago * Makefile.in (DLL_OFILES): Remove memmem.o.
Corinna Vinschen [Tue, 15 Jan 2008 13:45:42 +0000 (13:45 +0000)]
* Makefile.in (DLL_OFILES): Remove memmem.o.
* memmem.cc: Remove in favor of newlib implementation.

16 years ago* libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
Eric Blake [Tue, 15 Jan 2008 13:35:33 +0000 (13:35 +0000)]
* libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
* libc/string/Makefile: Regenerate.

16 years ago * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
Corinna Vinschen [Tue, 15 Jan 2008 09:41:06 +0000 (09:41 +0000)]
* libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
(sigsetjmp): Use __SIGMASK_FUNC.
(siglongjmp): Ditto.
(_setjmp): Define as macro.
(_longjmp): Ditto.

16 years ago * cygcheck.cc (dump_sysinfo): Always try to get a OSVERSIONINFOEX
Corinna Vinschen [Sun, 13 Jan 2008 13:41:45 +0000 (13:41 +0000)]
* cygcheck.cc (dump_sysinfo): Always try to get a OSVERSIONINFOEX
first.  Load kernel32.dll earlier.  Make osname a buffer.  Simplify
Non-NT code.  Use GetProductInfo in Vista/2008 case.  Clean up
non-Vista version info.  Exit early if not on NT.

16 years agoMake strstr and strcasestr O(n), not O(n^2); add memmem.
Eric Blake [Sat, 12 Jan 2008 04:25:55 +0000 (04:25 +0000)]
Make strstr and strcasestr O(n), not O(n^2); add memmem.
* libc/string/str-two-way.h: New file.
* libc/string/memmem.c (memmem): New file.
* libc/include/string.h (memmem): Declare for all platforms.
* libc/string/strstr.c (strstr): Provide O(n) implementation when
not optimizing for space.
* libc/string/strcasestr.c (strcasestr): Likewise.
* libc/string/Makefile.am (ELIX_SOURCES): Rename to...
(ELIX_2_SOURCES): ...this.
(ELIX_4_SOURCES): New category, for memmem.
(lib_a_SOURCES, libstring_la_SOURCES): Build new file.
(CHEWOUT_FILES): Build documentation for memmem.
* libc/string/strings.tex: Include new docs.

16 years ago* m32c/exit.S (__exit): preserve both argument registers.
DJ Delorie [Fri, 11 Jan 2008 02:21:44 +0000 (02:21 +0000)]
* m32c/exit.S (__exit): preserve both argument registers.

16 years ago2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Jan 2008 21:48:06 +0000 (21:48 +0000)]
2008-01-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/m68k/memcpy.S: Remove % from register references
        as this is already handled by m68kasm.h.
        * libc/machine/m68k/memset.S: Ditto.

16 years ago * futex.m4: New file.
Jakub Jelinek [Tue, 8 Jan 2008 17:29:24 +0000 (17:29 +0000)]
* futex.m4: New file.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 7 Jan 2008 23:25:47 +0000 (23:25 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2008 18:59:45 +0000 (18:59 +0000)]
2008-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/m68k/m68kasm.h: New file.
        * libc/machine/m68k/setjmp.S: Remove common definitions and
        place in m68kasm.h.  Include "m68kasm.h".
        * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
        SYM() macro when referencing function name.
        * libc/machine/m68k/memset.S: Ditto.

16 years ago * fhandler.h: Update copyright.
Corinna Vinschen [Mon, 7 Jan 2008 16:51:54 +0000 (16:51 +0000)]
* fhandler.h: Update copyright.
* include/limits.h: Ditto.

16 years ago* fhandler.h (fhandler_base::is_tty): Make bool.
Christopher Faylor [Sun, 6 Jan 2008 18:37:20 +0000 (18:37 +0000)]
* fhandler.h (fhandler_base::is_tty): Make bool.
(fhandler_serial::is_tty): Ditto.
(fhandler_termios::is_tty): Ditto.
(fhandler_base::is_slow): Return bool value.
(fhandler_socket::is_slow): Ditto.
(fhandler_serial::is_slow): Ditto.
(fhandler_console::is_slow): Ditto.
(fhandler_tty_common::is_slow): Ditto.
(fhandler_tty_master::is_slow): Ditto.
(fhandler_dev_null::is_slow): Ditto.

16 years ago* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for
Christopher Faylor [Sun, 6 Jan 2008 18:31:35 +0000 (18:31 +0000)]
* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for
(at least) null terminating byte for "/dev/console".

16 years ago2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Jan 2008 22:38:31 +0000 (22:38 +0000)]
2008-01-03  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/redboot-syscalls.c: Consistently supply _isatty if syscalls
        dir is used in newlib.
        * bfin/syscalls.c: Ditto.
        * cris/gensyscalls: Ditto.
        * fr30/syscalls.c: Ditto.
        * frv/isatty.c: Ditto.
        * iq2000/isatty.c: Ditto.
        * libnosys/isatty.c: Ditto.
        * m32r/isatty.c: Ditto.
        * mn10200/isatty.c: Ditto.
        * mn10300/isatty.c: Ditto.
        * xstormy16/isatty.c: New file with _isatty function.

16 years ago2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Jan 2008 22:33:37 +0000 (22:33 +0000)]
2008-01-03  Jeff Johnston  <jjohnstn@redhat.com>

        Make isatty syscall handling consistent with other newlib syscalls.

        * libc/include/_syslist.h: Add _isatty.
        * libc/include/reent.h: Add _isatty_r.
        * libc/include/sys/unistd.h: Add _isatty.
        * libc/posix/Makefile.am: Add new _isatty.c file.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/_isatty.c: New file.
        * libc/posix/isatty.c: Changed to call _isatty().
        * libc/reent/Makefile.am: Add new isattyr.c file.
        * libc/reent/Makefile.in: Regenerated.
        * libc/reent/isattyr.c: New file.
        * libc/stdio/freopen.c: Changed to call _isatty_r().
        * libc/stdio/makebuf.c: Ditto.
        * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
        * libc/sys/arc/isatty.c: Ditto.
        * libc/sys/arm/syscalls.c: Ditto.
        * libc/sys/d10v/syscalls.c: Ditto.
        * libc/sys/h8300hms/syscalls.c: Ditto.
        * libc/sys/h8500hms/syscalls.c: Ditto.
        * libc/sys/linux/Makefile.am: Add new isatty.c file.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/isatty.c: New file.
        * libc/syscalls/Makefile.am: Add new sysisatty.c file.
        * libc/syscalls/Makefile.in: Regenerated.
        * libc/syscalls/sysisatty.c: New file.

16 years ago2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Jan 2008 00:16:49 +0000 (00:16 +0000)]
2008-01-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/syscalls/sysclose.c: Always call reentrant version of the
        underlying syscall since one is guaranteed to exist in libc/reent.
        * libc/syscalls/sysexecve.c: Ditto.
        * libc/syscalls/sysfcntl.c: Ditto.
        * libc/syscalls/sysfork.c: Ditto.
        * libc/syscalls/sysfstat.c: Ditto.
        * libc/syscalls/sysgetpid.c: Ditto.
        * libc/syscalls/sysgettod.c: Ditto.
        * libc/syscalls/syskill.c: Ditto.
        * libc/syscalls/syslink.c: Ditto.
        * libc/syscalls/syslseek.c: Ditto.
        * libc/syscalls/sysopen.c: Ditto.
        * libc/syscalls/sysread.c: Ditto.
        * libc/syscalls/syssbrk.c: Ditto.
        * libc/syscalls/sysstat.c: Ditto.
        * libc/syscalls/systimes.c: Ditto.
        * libc/syscalls/sysunlink.c: Ditto.
        * libc/syscalls/syswait.c: Ditto.
        * libc/syscalls/syswrite.c: Ditto.

16 years ago Updated copyright notices for most files.
Daniel Jacobowitz [Tue, 1 Jan 2008 22:53:22 +0000 (22:53 +0000)]
Updated copyright notices for most files.

16 years ago* tty.cc: Update copyright.
Christopher Faylor [Tue, 1 Jan 2008 19:07:36 +0000 (19:07 +0000)]
* tty.cc: Update copyright.
* pipe.cc: Ditto.

16 years ago* newsym: First stab at understanding data as well as functions.
Christopher Faylor [Tue, 1 Jan 2008 18:51:23 +0000 (18:51 +0000)]
* newsym: First stab at understanding data as well as functions.

* pipe.cc (fhandler_pipe::init): Move more intelligence here.
(fhandler_pipe::create): Simplify based on above change.

* tty.cc (tty_list::allocate): Remove non-NT code.

16 years ago * cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
Dave Korn [Sun, 30 Dec 2007 21:12:08 +0000 (21:12 +0000)]
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl):  Export fast *rint* functions.
(lrint, lrintf, rint, rintf):  Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl):  Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR):  Bump.

16 years ago * bloda.cc (enum bad_app): Add BYTEMOBILE.
Dave Korn [Sat, 29 Dec 2007 19:26:56 +0000 (19:26 +0000)]
* bloda.cc (enum bad_app):  Add BYTEMOBILE.
(dodgy_app_detects[]):  Add FILENAME entry to detect bmnet.dll.
(big_list_of_dodgy_apps[]):  Add description for BYTEMOBILE.

16 years ago * faq-using.xml (faq.using.bloda): New entry.
Dave Korn [Sat, 29 Dec 2007 18:20:13 +0000 (18:20 +0000)]
* faq-using.xml (faq.using.bloda):  New entry.
(faq.using.firewall, faq.using.anti-virus):  Link to faq.using.bloda.
* faq-setup.xml (faq.setup.hang):  Likewise link to faq.using.bloda.

16 years ago2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 28 Dec 2007 00:33:04 +0000 (00:33 +0000)]
2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.14.

16 years ago2007-12-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 28 Dec 2007 00:32:27 +0000 (00:32 +0000)]
2007-12-27  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.11.
        * Makefile.in: Ditto.

16 years ago * fhandler.h (class fhandler_dev_random): Add dummy_offset member.
Corinna Vinschen [Sat, 22 Dec 2007 13:26:47 +0000 (13:26 +0000)]
* fhandler.h (class fhandler_dev_random): Add dummy_offset member.
* fhandler_random.cc (fhandler_dev_random::lseek): Fake seeking
capability as on Linux.

16 years ago * Makefile.in (cygcheck.exe): Don't link to ntdll.
Brian Dessent [Fri, 21 Dec 2007 03:32:46 +0000 (03:32 +0000)]
* Makefile.in (cygcheck.exe): Don't link to ntdll.
* bloda.cc (pNtQuerySystemInformation): Add.
(pRtlAnsiStringToUnicodeString): Add.
(get_process_list): Use function pointers for NT functions.
(dump_dodgy_apps): Skip dodgy app check on non-NT platforms.
Use GetProcAddress for NT-specific functions.

16 years ago * libc/memmem.cc (memmem): Fix bug when searching for empty string.
Corinna Vinschen [Thu, 20 Dec 2007 10:11:37 +0000 (10:11 +0000)]
* libc/memmem.cc (memmem): Fix bug when searching for empty string.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 22:36:48 +0000 (22:36 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.16.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.16.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.16.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 22:27:00 +0000 (22:27 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strcasestr.c: Remove id macro.
        * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
        field reference to be __sched_priority.
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
        * libc/sys/linux/stdlib/collate.c: Remove id macro.
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
        * libc/sys/linux/stdlib/engine.c: Ditto.
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
        * libc/sys/linux/stdlib/glob.c: Ditto.
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
        * libc/sys/linux/stdlib/regerror.c: Ditto.
        * libc/sys/linux/stdlib/regexec.c: Ditto.
        * libc/sys/linux/stdlib/regfree.c: Ditto.
        * libc/sys/linux/sys/cdefs.h: Replace with latest version.
        * libc/sys/linux/include/argp.h: Ditto.
        * libc/sys/linux/sys/libc-lock.h: New file.
        * libc/sys/linux/sys/stdint.h: Ditto.
        * libc/sys/linux/include/sched.h: New file.

16 years ago2007-12-19 Dave Korn <dave.korn@artimi.com>
Jeff Johnston [Wed, 19 Dec 2007 22:20:25 +0000 (22:20 +0000)]
2007-12-19  Dave Korn  <dave.korn@artimi.com>
            Jeff Johnston  <jjohnstn@redhhat.com>

        * libc/include/_ansi.h: Add _LONG_LONG definition.
        * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
        prototypes.
        * libc/machine/i386/machine/fastmath.h: Add support for new i386
        fast math versions of rint, lrint, and llrint family functions.
        * libm/machine/i386/Makefile.am: Add new files.
        * libm/machine/i386/Makefile.in: Regenerated.
        * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
        libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
        libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
        libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
        libm/machine/i386/f_rintl.c:  New files with fast math implementations.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 20:47:45 +0000 (20:47 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Update default copyright.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 19:12:23 +0000 (19:12 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update default copyright.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 18:51:19 +0000 (18:51 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/features.h: Add checks for C90 compilers using
        -ansi.

16 years ago2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 18:49:17 +0000 (18:49 +0000)]
2007-11-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_default_fcntl.h: New header file that
        is the default version of sys/fcntl.h.
        * libc/include/sys/fcntl.h: Changed to simply include
        sys/_default_fcntl.h.
        * libc/sys/arm/sys/fcntl.h: New file that includes
        sys/_default_fcntl.h and defines O_BINARY.

16 years ago * cygwin.din: Export wcpcpy, wcpncpy.
Corinna Vinschen [Wed, 19 Dec 2007 17:38:18 +0000 (17:38 +0000)]
* cygwin.din: Export wcpcpy, wcpncpy.
* include/cygwin/version.h: Bump API minor number.

16 years ago * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
Corinna Vinschen [Wed, 19 Dec 2007 17:33:12 +0000 (17:33 +0000)]
* libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
* libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
wcpncpy.c.
(CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
* libc/string/Makefile.in: Regenerate.
* libc/string/wcpcpy.c: New file.
* libc/string/wcpncpy.c: New file.
* libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.

16 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
Corinna Vinschen [Wed, 19 Dec 2007 17:06:19 +0000 (17:06 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
_wcsrtombs_r.

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:37:34 +0000 (07:37 +0000)]
/tmp/foo.diff

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:34:56 +0000 (07:34 +0000)]
/tmp/foo.diff

16 years ago* dtable.cc (POSIX_NAMED_PIPE): New define.
Christopher Faylor [Sun, 16 Dec 2007 21:21:23 +0000 (21:21 +0000)]
* dtable.cc (POSIX_NAMED_PIPE): New define.
(POSIX_NAMED_PIPE_LEN): Ditto.
(dtable::add_archetype): Use crealloc_abort.
(dtable::init_std_file_from_handle): Specifically detect pipe stdin/stdout.
Pass name to build_fh_dev so that proper name is recorded.  Use binmode of fh
if it is set before using get_default_mode.  Set proper read/write access when
calling init().
(handle_to_fn): Handle pipes.
* fhandler.cc (fhandler_base::wait_overlapped): Add some debugging.
* fhandler.h (fhandler_base::set_name): Default to just setting the path_conv
name.
(fhandler_pipe::init): Declare.
* pipe.cc (struct pipesync): New struct.
(getov_result): New function.  Blocks and retrieves the result of an overlay
I/O operation.
(pipe_handler): New function.
(pipesync::pipesync): New function.  Initializer for pipesync struct.
(handler_pipe::init): Define.  Detects attempts to set up a "native" pipe
fhandler and creates a thread which accepts input from or output to the
non-cygwin pipe, creating a cygwin pipe wrapper around the non-cygwin pipe.
(fhandler_pipe::create): Add pipe-specific flags to call to init().
* exceptions.cc (ctrl_c_handler): Lock process while we determine what to do.

16 years ago* pathnames.xml: Fix a typo.
Christopher Faylor [Sun, 16 Dec 2007 21:19:29 +0000 (21:19 +0000)]
* pathnames.xml: Fix a typo.

16 years ago * include/cygwin/socket.h: Include sys/uio.h instead of cygwin/uio.h.
Corinna Vinschen [Fri, 14 Dec 2007 12:12:32 +0000 (12:12 +0000)]
* include/cygwin/socket.h: Include sys/uio.h instead of cygwin/uio.h.
* include/cygwin/uio.h: Remove.

16 years ago * dtable.cc (dtable::set_file_pointers_for_exec): Reenable. Fix
Corinna Vinschen [Fri, 14 Dec 2007 11:32:40 +0000 (11:32 +0000)]
* dtable.cc (dtable::set_file_pointers_for_exec): Reenable.  Fix
comment.
* spawn.cc (spawn_guts): Call cygheap->fdtab.set_file_pointers_for_exec
only for non-Cygwin processes.

This page took 0.072418 seconds and 5 git commands to generate.