]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago* fhandler.h (fhandler_base::write): Remove __stdcall decoration.
Christopher Faylor [Sat, 7 Jul 2007 17:28:22 +0000 (17:28 +0000)]
* fhandler.h (fhandler_base::write): Remove __stdcall decoration.
(fhandler_pipe::write): Ditto.
(fhandler_fifo::write): Ditto.

17 years agoPreliminary change to make fifos/pipes interruptible and fifos reliable.
Christopher Faylor [Sat, 7 Jul 2007 17:00:33 +0000 (17:00 +0000)]
Preliminary change to make fifos/pipes interruptible and fifos reliable.
* dtable.cc (dtable::find_fifo): Eliminate definition.
* dtable.h (dtable::find_fifo): Ditto for declaration.
* fhandler.cc (fhandler_base::raw_read): Remove pipe-specific stuff.
(fhandler_base::fhandler_base): Ditto.
(fhandler_base::close): Handle overlapped I/O structure if appropriate.
(fhandler_base::dup): Ditto.
(fhandler_base::fork_fixup): Ditto.
(fhandler_base::setup_overlapped): Define new function.
(fhandler_base::destroy_overlapped): Ditto.
(fhandler_base::wait_overlapped): Ditto.
(fhandler_base::read_overlapped): Ditto.
(fhandler_base::write_overlapped): Ditto.
* fhandler.h (fhandler_base::get_overlapped): Declare new function.
(fhandler_base::setup_overlapped): Ditto.
(fhandler_base::destroy_overlapped): Ditto.
(fhandler_base::wait_overlapped): Ditto.
(fhandler_base::read_overlapped): Ditto.
(fhandler_base::write_overlapped): Ditto.
(fhandler_base::get_guard): Eliminate.
(fhandler_pipe::*): Rework to eliminate most Win9x related cruft, removing many
variables and defining a new overlapped capability.
(fhandler_fifo::*): Ditto.
(fifo_state): Declare new enum.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Remove old Win9x stuff.
Initialize overlapped handle to NULL.
(fhandler_fifo::set_use): Eliminate.
(fhandler_fifo::open_nonserver): Define.
(fhandler_fifo::open): Rework to use named pipes and overlapped I/O.
(fhandler_fifo::wait): Define new function to wait for named pipe connection.
(fhandler_fifo::read): Rework to use wait() and new overlapped I/O
functionality.
(fhandler_fifo::write): Ditto.
(fhandler_fifo::dup): Eliminate.
* pinfo.cc (commune_process): Remove fifo handling.
(_pinfo::commune_request): Ditto.
* pinfo.h (picom): Ditto.
* pipe.cc (fhandler_pipe::fhandler_pipe): Remove Win9x stuff.  Initialize
overlapped handle to NULL.
(fhandler_pipe::open): Eliminate Win9x stuff.
(fhandler_pipe::set_close_on_exec): Eliminate.
(read_pipe): Eliminate.
(fhandler_pipe::close): Ditto.
(fhandler_pipe::fixup_after_exec): Ditto.
(fhandler_pipe::fixup_in_child): Ditto.
(fhandler_pipe::read): Rework to use overlapped I/O.
(fhandler_pipe::write): New function using overlapped I/O.
(fhandler_pipe::dup): Rework to eliminate Win9x stuff.
(fhandler_pipe::create_selectable): Rework to eliminate Win9x and use
overlapped I/O.
* select.cc (peek_pipe): Rework to eliminate Win9x stuff and use overlapped
I/O.
(fhandler_base::ready_for_read): Ditto.

17 years ago* path.cc (symlink_info::check_shortcut): Handle device "symlinks" specially -
Christopher Faylor [Sat, 7 Jul 2007 16:48:26 +0000 (16:48 +0000)]
* path.cc (symlink_info::check_shortcut): Handle device "symlinks" specially -
don't posixify them.

17 years ago* fhandler_disk_file.cc: White space.
Christopher Faylor [Sat, 7 Jul 2007 16:46:35 +0000 (16:46 +0000)]
* fhandler_disk_file.cc: White space.
* fhandler_proc.cc: Ditto.
* fhandler_virtual.cc: Ditto.

17 years ago* fork.cc: White space.
Christopher Faylor [Sat, 7 Jul 2007 16:43:03 +0000 (16:43 +0000)]
* fork.cc: White space.
* net.cc: Ditto.
* posix_ipc.cc: Ditto.

17 years ago * times.cc (gettimeofday): Align definition to POSIX.
Corinna Vinschen [Fri, 6 Jul 2007 20:09:23 +0000 (20:09 +0000)]
* times.cc (gettimeofday): Align definition to POSIX.

17 years ago * cygwin.din: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm.
Corinna Vinschen [Fri, 6 Jul 2007 20:05:44 +0000 (20:05 +0000)]
* cygwin.din: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm.
* include/cygwin/version.h: Bump API minor number.

17 years ago * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
Corinna Vinschen [Fri, 6 Jul 2007 20:03:28 +0000 (20:03 +0000)]
* libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
(EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
wcstoull_r.c.
(CHEWOUT_FILES): Add .def files accordingly.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/stdlib.tex: Add documentation links for above functions.
* libc/stdlib/strtoll.c: Fix portability note.
* libc/stdlib/strtoull.c: Ditto.
* libc/stdlib/wcstol.c: New file.
* libc/stdlib/wcstoll.c: New file.
* libc/stdlib/wcstoll_r.c: New file.
* libc/stdlib/wcstoul.c: New file.
* libc/stdlib/wcstoull.c: New file.
* libc/stdlib/wcstoull_r.c: New file.

17 years ago * CYGWIN_LICENSE: Fix URL to world-wide offices.
Corinna Vinschen [Fri, 6 Jul 2007 19:55:43 +0000 (19:55 +0000)]
* CYGWIN_LICENSE: Fix URL to world-wide offices.

17 years ago * CYGWIN_LICENSE: Fix URL to open source definition.
Corinna Vinschen [Fri, 6 Jul 2007 19:51:44 +0000 (19:51 +0000)]
* CYGWIN_LICENSE: Fix URL to open source definition.

17 years ago2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Jul 2007 17:00:13 +0000 (17:00 +0000)]
2007-07-06  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/syscalls.c (gettimeofday): Change to POSIX signature
        where second argument is passed as void *.
        * bfin/syscalls.c (gettimeofday): Ditto.
        * cris/gensyscalls (gettimeofday): Ditto.
        * cris/linunistd.h (gettimeofday): Ditto.
        * crx/time.c (gettimeofday): Ditto.
        * frv/sim-time.c (gettimeofday): Ditto.
        * i386/cygmon-salib.c (gettimeofday): Ditto.
        * libnosys/gettod.c (gettimeofday): Ditto.
        * m68k/io-gettimeofday.c (gettimeofday): Ditto.
        * sparc/cygmon-salib.c (gettimeofday): Ditto.
        * spu/gettimeofday.c (gettimeofday): Ditto.

17 years ago2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Jul 2007 16:56:30 +0000 (16:56 +0000)]
2007-07-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/time.h (gettimeofday): Change to proper
        prototype where second parameter is void *.
        * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
        accordingly.
        * libc/include/reent.h: Fix prototype for _gettimeofday_r.
        * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
        * libc/sys/rdos/gettod.c: Ditto.
        * libc/sys/sh/syscalls.c: Ditto.
        * libc/time/time.c (time): Change call to _gettimeofday_r
        to pass NULL as 2nd argument.

17 years ago2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Jul 2007 16:42:48 +0000 (16:42 +0000)]
2007-07-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
        * libc/sys/linux/intl/l10nflist.c: Ditto.

17 years agoUpdate tp GPLv3
Nick Clifton [Fri, 6 Jul 2007 11:13:56 +0000 (11:13 +0000)]
Update tp GPLv3

17 years ago2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 5 Jul 2007 17:57:04 +0000 (17:57 +0000)]
2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>

* lt~obsolete.m4: New. Import from 20070318 libtool.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Add missing
Corinna Vinschen [Thu, 5 Jul 2007 09:35:36 +0000 (09:35 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Add missing
OBJ_INHERIT flag when creating OBJECT_ATTRIBUTES.
(fhandler_disk_file::rewinddir): Ditto.

17 years ago Check in missing cygwin.din change from 2007-06-29.
Corinna Vinschen [Thu, 5 Jul 2007 07:36:11 +0000 (07:36 +0000)]
Check in missing cygwin.din change from 2007-06-29.

17 years ago * libc/include/wchar.h: Add prototype for wcsxfrm.
Corinna Vinschen [Wed, 4 Jul 2007 16:18:34 +0000 (16:18 +0000)]
* libc/include/wchar.h: Add prototype for wcsxfrm.
* libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
(CHEWOUT_FILES): Add wcsxfrm.def.
* libc/string/Makefile.in: Regenerate.
* libc/string/wcsxfrm.c: New file.
* libc/string/wcstrings.tex: Add wcsxfrm.

17 years ago * times.cc: Define __timezonefunc__ before including time.h to protect
Corinna Vinschen [Wed, 4 Jul 2007 10:43:29 +0000 (10:43 +0000)]
* times.cc: Define __timezonefunc__ before including time.h to protect
definition of timezone function.

17 years ago * include/cygwin/time.h: Switch to timezone variable by default. Add
Corinna Vinschen [Wed, 4 Jul 2007 09:56:15 +0000 (09:56 +0000)]
* include/cygwin/time.h: Switch to timezone variable by default.  Add
comment.

17 years ago gas/testsuite/
Nathan Sidwell [Tue, 3 Jul 2007 07:54:19 +0000 (07:54 +0000)]
gas/testsuite/
* gas/m68k/mcf-coproc.d: New.
* gas/m68k/mcf-coproc.s: New.
* gas/m68k/all.exp: Add it.

gas/
* config/tc-m68k.c (m68k_ip): Add j & K operand types.
(install_operand): Add E encoding.
(md_begin): Check and skip initial '.' arg character.
(get_num): Add 0..511 case.

include/
* opcode/m68k.h: Document j K & E.

opcodes/
* m68k-dis.c (fetch_arg): Add E.  Replace length switch with
direct masking.
(print_ins_arg): Add j & K operand types.
(match_insn_m68k): Check and skip initial '.' arg character.
(m68k_scan_mask): Likewise.
* m68k-opc.c (m68k_opcodes): Add coprocessor instructions.

17 years ago * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
Mike Stump [Mon, 2 Jul 2007 18:06:53 +0000 (18:06 +0000)]
    * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
    builds.

    * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
    (ACX_HAVE_GCC_FOR_TARGET): Likewise.

17 years ago * include/shlobj.h: Add CSIDL_MYMUSIC and CSIDL_MYVIDEO.
Corinna Vinschen [Mon, 2 Jul 2007 09:47:36 +0000 (09:47 +0000)]
* include/shlobj.h: Add CSIDL_MYMUSIC and CSIDL_MYVIDEO.

17 years ago * include/oaidl.h: Include windows.h and ole2.h,
Danny Smith [Mon, 2 Jul 2007 02:52:56 +0000 (02:52 +0000)]
* include/oaidl.h: Include windows.h and ole2.h,
unless COM_NO_WINDOWS_H.

[ mingw-Bugs-1742130 ]
* include/oaidl.h (struct tagVARIANT): Add union members
LONGLONG  * pllVal and ULONGLONG * pullVal.

17 years ago * include/ws2tcpip.h (s6_addr32): Correct definition,
Danny Smith [Sun, 1 Jul 2007 10:09:12 +0000 (10:09 +0000)]
* include/ws2tcpip.h (s6_addr32): Correct definition,
Thanks to Alfred E. Heggestad <aeh at db dot org>

17 years agobfd:
Joseph Myers [Sat, 30 Jun 2007 00:03:40 +0000 (00:03 +0000)]
bfd:
* elf32-ppc.c (ppc_elf_merge_obj_attributes): New.
(ppc_elf_merge_private_bfd_data): Call it.

binutils:
* readelf.c (display_power_gnu_attribute, process_power_specific):
New.
(process_arch_specific): Call process_power_specific.

include/elf:
* ppc.h (Tag_GNU_Power_ABI_FP): Define.

ld/testsuite:
* ld-powerpc/attr-gnu-4-0.s, ld-powerpc/attr-gnu-4-00.d,
ld-powerpc/attr-gnu-4-01.d, ld-powerpc/attr-gnu-4-02.d,
ld-powerpc/attr-gnu-4-1.s, ld-powerpc/attr-gnu-4-10.d,
ld-powerpc/attr-gnu-4-11.d, ld-powerpc/attr-gnu-4-12.d,
ld-powerpc/attr-gnu-4-13.d, ld-powerpc/attr-gnu-4-2.s,
ld-powerpc/attr-gnu-4-20.d, ld-powerpc/attr-gnu-4-21.d,
ld-powerpc/attr-gnu-4-22.d, ld-powerpc/attr-gnu-4-3.s,
ld-powerpc/attr-gnu-4-31.d: New.
* ld-powerpc/powerpc.exp: Run these new tests.

17 years agobfd:
Joseph Myers [Fri, 29 Jun 2007 16:41:32 +0000 (16:41 +0000)]
bfd:
* elfxx-mips.c (mips_elf_merge_obj_attributes): New.
(_bfd_mips_elf_merge_private_bfd_data): Call it.

binutils:
* readelf.c (display_mips_gnu_attribute): New.
(process_mips_specific): Call process_attributes.

include/elf:
* mips.h (Tag_GNU_MIPS_ABI_FP): Define.

ld/testsuite:
* ld-mips-elf/attr-gnu-4-0.s, ld-mips-elf/attr-gnu-4-00.d,
ld-mips-elf/attr-gnu-4-01.d, ld-mips-elf/attr-gnu-4-02.d,
ld-mips-elf/attr-gnu-4-03.d, ld-mips-elf/attr-gnu-4-1.s,
ld-mips-elf/attr-gnu-4-10.d, ld-mips-elf/attr-gnu-4-11.d,
ld-mips-elf/attr-gnu-4-12.d, ld-mips-elf/attr-gnu-4-13.d,
ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-2.s,
ld-mips-elf/attr-gnu-4-20.d, ld-mips-elf/attr-gnu-4-21.d,
ld-mips-elf/attr-gnu-4-22.d, ld-mips-elf/attr-gnu-4-23.d,
ld-mips-elf/attr-gnu-4-3.s, ld-mips-elf/attr-gnu-4-30.d,
ld-mips-elf/attr-gnu-4-31.d, ld-mips-elf/attr-gnu-4-32.d,
ld-mips-elf/attr-gnu-4-33.d, ld-mips-elf/attr-gnu-4-4.s,
ld-mips-elf/attr-gnu-4-41.d: New.
* ld-mips-elf/mips-elf.exp: Run these new tests.

17 years agobfd:
Joseph Myers [Fri, 29 Jun 2007 16:29:16 +0000 (16:29 +0000)]
bfd:
* elf-attrs.c: New.
* Makefile.am (BFD32_BACKENDS): Add elf-attrs.lo.
(BFD32_BACKENDS_CFILES): Add elf-attrs.c.
(elf-attrs.lo): Generate dependencies.
* Makefile.in: Regenerate.
* configure.in (elf): Add elf-attrs.lo.
* configure: Regenerate.
* elf-bfd.h (struct elf_backend_data): Add entries for object
attributes.
(NUM_KNOWN_OBJ_ATTRIBUTES, obj_attribute, obj_attribute_list,
OBJ_ATTR_PROC, OBJ_ATTR_GNU, OBJ_ATTR_FIRST, OBJ_ATTR_LAST,
Tag_NULL, Tag_File, Tag_Section, Tag_Symbol, Tag_compatibility):
New.
(struct elf_obj_tdata): Add entries for object attributes.
(elf_known_obj_attributes, elf_other_obj_attributes,
elf_known_obj_attributes_proc, elf_other_obj_attributes_proc):
New.
(bfd_elf_obj_attr_size, bfd_elf_set_obj_attr_contents,
bfd_elf_get_obj_attr_int, bfd_elf_add_obj_attr_int,
bfd_elf_add_proc_attr_int, bfd_elf_add_obj_attr_string,
bfd_elf_add_proc_attr_string, bfd_elf_add_obj_attr_compat,
bfd_elf_add_proc_attr_compat, _bfd_elf_attr_strdup,
_bfd_elf_copy_obj_attributes, _bfd_elf_obj_attrs_arg_type,
_bfd_elf_parse_attributes, _bfd_elf_merge_object_attributes): New.
* elf.c (_bfd_elf_copy_private_bfd_data): Copy object attributes.
(bfd_section_from_shdr): Handle attributes sections.
* elflink.c (bfd_elf_final_link): Handle attributes sections.
* elfxx-target.h (elf_backend_obj_attrs_vendor,
elf_backend_obj_attrs_section, elf_backend_obj_attrs_arg_type,
elf_backend_obj_attrs_section_type): New.
(elfNN_bed): Update.
* elf32-arm.c (NUM_KNOWN_ATTRIBUTES, aeabi_attribute,
aeabi_attribute_list): Remove.
(struct elf32_arm_obj_tdata): Remove object attributes fields.
(check_use_blx, bfd_elf32_arm_set_vfp11_fix, using_thumb2,
elf32_arm_copy_private_bfd_data, elf32_arm_merge_eabi_attributes):
Update for new object attributes interfaces.
(uleb128_size, is_default_attr, eabi_attr_size,
elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
elf32_arm_new_eabi_attr, elf32_arm_get_eabi_attr_int,
elf32_arm_add_eabi_attr_int, attr_strdup,
elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat,
copy_eabi_attributes, elf32_arm_parse_attributes): Remove.  Moved
to generic code in elf-attrs.c.
(elf32_arm_obj_attrs_arg_type): New.
(elf32_arm_fake_sections): Do not handle .ARM.attributes.
(elf32_arm_section_from_shdr): Do not handle SHT_ARM_ATTRIBUTES.
(bfd_elf32_bfd_final_link): Remove.
(elf_backend_obj_attrs_vendor, elf_backend_obj_attrs_section,
elf_backend_obj_attrs_arg_type,
elf_backend_obj_attrs_section_type): New.
* elf32-bfin.c (bfin_elf_copy_private_bfd_data): Copy object
attributes.
* elf32-frv.c (frv_elf_copy_private_bfd_data): Likewise.
* elf32-iq2000.c (iq2000_elf_copy_private_bfd_data): Likewise.
* elf32-mep.c (mep_elf_copy_private_bfd_data): Likewise.
* elf32-mt.c (mt_elf_copy_private_bfd_data): Likewise.
* elf32-sh.c (sh_elf_copy_private_data): Likewise.
* elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise.

binutils:
* readelf.c (display_gnu_attribute): New.
(process_arm_specific): Rearrange as process_attributes.
(process_arm_specific): Replace by wrapper of process_attributes.

gas:
* as.c (create_obj_attrs_section): New.
(main): Call create_obj_attrs_section for ELF.
* read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
skip_past_comma, s_vendor_attribute): New.
(potable): Add gnu_attribute for ELF.
* read.h (s_vendor_attribute): Declare.
* config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
round s_vendor_attribute.
(aeabi_set_public_attributes): Update for new attributes
interfaces.
(arm_md_end): Remove attributes contents setting now done
generically.

include/elf:
* arm.h (elf32_arm_add_eabi_attr_int,
elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat,
elf32_arm_get_eabi_attr_int, elf32_arm_set_eabi_attr_contents,
elf32_arm_eabi_attr_size, Tag_NULL, Tag_File, Tag_Section,
Tag_Symbol, Tag_compatibility): Remove.
* common.h (SHT_GNU_ATTRIBUTES): Define.

ld:
* emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
(ATTRS_SECTIONS): Define.
* scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.

17 years ago * cygwin.din: Export fdopendir.
Corinna Vinschen [Fri, 29 Jun 2007 15:13:01 +0000 (15:13 +0000)]
* cygwin.din: Export fdopendir.
* dir.cc (opendir): Call fhandler's opendir with fd set to -1.
(fdopendir): New function.
(seekdir64): Use dirent_info_mask.
(rewinddir): Ditto.
(closedir): Only release underlying file descriptor if it has been
reserved by opendir itself.
* fhandler.cc (fhandler_base::opendir): Accommodate new parameter.
* fhandler.h (dirent_states): Add dirent_valid_fd and dirent_info_mask.
(fhander_XXX::opendir): Add file descriptor parameter.  Use regparms.
(fhandler_procnet::opendir): Drop declaration.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto.
If called from fdopendir, use existing handle to re-open directory
with valid flags.  Rename fd to cfd.  Use only if no valid incoming fd.
(fhandler_cygdrive::opendir): Accommodate new parameter.
* fhandler_process.cc (fhandler_process::opendir): Ditto.
* fhandler_procnet.cc (fhandler_procnet::opendir): Drop definition.
* fhandler_virtual.cc (fhandler_virtual::opendir): Accommodate new
parameter.  Only create new file descriptor entry if called from
opendir.  Remove duplicated setting of dir->__flags.
* posix.sgml: Add fdopendir to list of implemented Solaris functions.
* include/cygwin/version.h: Bump API minor number.
* include/sys/dirent.h: Declare fdopendir.

17 years agoNew port: National Semiconductor's CR16
Nick Clifton [Fri, 29 Jun 2007 14:09:34 +0000 (14:09 +0000)]
New port: National Semiconductor's CR16

17 years ago * configure.ac: Don't add target-libmudflap to noconfigdirs for
Bernd Schmidt [Fri, 29 Jun 2007 11:33:56 +0000 (11:33 +0000)]
* configure.ac: Don't add target-libmudflap to noconfigdirs for
uclinux and linux-uclibc targets.
* configure: Regenerate.

17 years ago * mingwex/gdtoa/mingw_snprintf.c: New file.
Danny Smith [Fri, 29 Jun 2007 10:11:57 +0000 (10:11 +0000)]
* mingwex/gdtoa/mingw_snprintf.c: New file.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
(GDTOA_OBJS): Add mingw_snprintf.O.

17 years ago * cygwin-api.in.sgml: Remove authorgroup and revhistory.
Corinna Vinschen [Fri, 29 Jun 2007 07:36:54 +0000 (07:36 +0000)]
* cygwin-api.in.sgml: Remove authorgroup and revhistory.
* cygwin-ug.in.sgml: Add Joshua Daniel Franklin to authorgroup.
Remove revhistory.
* legal.sgml: Update dates.

17 years ago * include/cygwin/version.h: Fix comment typo.
Brian Dessent [Thu, 28 Jun 2007 22:45:49 +0000 (22:45 +0000)]
* include/cygwin/version.h: Fix comment typo.

17 years ago* configure.ac (arm*-*-linux-gnueabi): Don't build libgloss if we're
DJ Delorie [Thu, 28 Jun 2007 19:31:44 +0000 (19:31 +0000)]
* configure.ac (arm*-*-linux-gnueabi): Don't build libgloss if we're
not building newlib.
* configure: Regenerated.

17 years ago * cygwin.din: Export stpcpy, stpncpy.
Corinna Vinschen [Thu, 28 Jun 2007 17:55:01 +0000 (17:55 +0000)]
* cygwin.din: Export stpcpy, stpncpy.
* posix.sgml: Add stpcpy and stpncpy to list of implemented
GNU extensions.
* include/cygwin/version.h: Bump API minor number.

17 years ago * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
Corinna Vinschen [Thu, 28 Jun 2007 17:07:23 +0000 (17:07 +0000)]
* libc/include/string.h: Add prototypes for stpcpy and stpncpy.
* libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
stpncpy.c.
(CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
* libc/string/Makefile.in: Regenerate.
* libc/string/stpcpy.c: New file.
* libc/string/stpncpy.c: New file.
* libc/string/strings.tex: Add stpcpy and stpncpy.

17 years ago * msvcrt.def.in: Update comment.
Danny Smith [Thu, 28 Jun 2007 07:13:04 +0000 (07:13 +0000)]
* msvcrt.def.in: Update comment.
Exclude _ctype stub if using msvcr71.dll or newer.
* include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
* include/wctype.h: Likewise.

17 years ago * shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
Corinna Vinschen [Wed, 27 Jun 2007 17:08:19 +0000 (17:08 +0000)]
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add heap_slop_inited member.
* shared.cc (shared_info::heap_slop_size): Use heap_slop_inited to
track initializing heap_slop since 0 is a valid value for heap_slop.
Drop useless < 0 consideration.

17 years ago * assert.cc (__assert_func): New function, to match newlib header
Eric Blake [Wed, 27 Jun 2007 12:46:35 +0000 (12:46 +0000)]
* assert.cc (__assert_func): New function, to match newlib header
change.
* cygwin.din: Export __assert_func.
* include/cygwin/version.h: Bump API minor number.

17 years ago Support __func__ in assert, as required by C99.
Eric Blake [Wed, 27 Jun 2007 12:44:41 +0000 (12:44 +0000)]
Support __func__ in assert, as required by C99.
* libc/stdlib/assert.c (__assert_func): New function.
(__assert): Use __assert_func.
* libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
possible.

17 years ago*include/wctpe.h: Likewise.
Danny Smith [Sat, 23 Jun 2007 07:54:58 +0000 (07:54 +0000)]
*include/wctpe.h: Likewise.
*include/wdirent.h: Likewise.
Changelog: Whitespace
Further: http://www.lib.virginia.edu/cgi-bin/imgload.cgi/53

17 years ago *include/assert.h: Qualify all functions with __MINGW_NOTHROW.
Danny Smith [Sat, 23 Jun 2007 07:34:16 +0000 (07:34 +0000)]
*include/assert.h:  Qualify all  functions with __MINGW_NOTHROW.
*include/conio.h:  Likewise.
*include/ctype.h:  Likewise.
*include/direct.h:  Likewise.
*include/dos.h:  Likewise.
*include/errno.h:  Likewise.
*include/fenv.h:  Likewise.
*include/float.h:  Likewise.
*include/inttypes.h:  Likewise.
*include/io.h:  Likewise.
*include/libgen.h:  Likewise.
*include/locale.h:  Likewise.
*include/malloc.h:  Likewise.
*include/mbctype.h:  Likewise.
*include/mbstring.h:  Likewise.
*include/process.h:  Likewise.
*include/search.h:  Likewise.
*include/setjmp.h:  Likewise.
*include/signal.h:  Likewise.
*include/stdio.h:  Likewise.
*include/stdlib.h:  Likewise.
*include/string.h:  Likewise.
*include/time.h:  Likewise.
*include/wchar.h:  Likewise.
*include/sys/stat.h:  Likewise.
*include/sys/time.h:  Likewise.
*include/sys/timeb.h:  Likewise.
*include/sys/utime.h:  Likewise.

17 years ago * src-release (DEVO_SUPPORT): Correct typos.
Daniel Jacobowitz [Fri, 22 Jun 2007 15:48:08 +0000 (15:48 +0000)]
* src-release (DEVO_SUPPORT): Correct typos.

17 years ago * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
Danny Smith [Fri, 22 Jun 2007 10:22:49 +0000 (10:22 +0000)]
* mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
Good night all.

17 years ago Add POSIX binary tree search API.
Danny Smith [Fri, 22 Jun 2007 10:09:20 +0000 (10:09 +0000)]
Add POSIX binary tree search API.

* mingwex/tfind.c: New file.
* mingwex/tdelete.c: New file.
* mingwex/tsearch.c: New file.
* mingwex/twalk.c: New file.
* mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
* mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
* include/search.h (tfind): Declare.
(tdelete): Declare.
(tsearch): Declare.
(twalk): Declare.
(ENTRY): Define.
(ACTION): Define.
(VISIT): Define.
(node_t): Define, on condition of _SEARCH_PRIVATE.

17 years ago * include/_mingw.h (__MINGW_NOTHROW): Define.
Danny Smith [Fri, 22 Jun 2007 09:19:25 +0000 (09:19 +0000)]
* include/_mingw.h (__MINGW_NOTHROW): Define.

17 years ago * autoload.cc (WSAIoctl): Remove.
Corinna Vinschen [Thu, 21 Jun 2007 15:57:54 +0000 (15:57 +0000)]
* autoload.cc (WSAIoctl): Remove.
* cygwin.din: Export freeifaddrs, getifaddrs.
* fhandler_socket.cc (fhandler_socket::ioctl): Drop SOCKET parameter
from get_ifconf.
* net.cc: Include ifaddrs.h.
(in_are_prefix_equal): Match addresses in network byte order.
(ip_addr_prefix): Convert address into host byte order before
testing with IN_LOOPBACK.
(struct ifall): Define.
(get_xp_ifs): Replace get_xp_ifconf.  Return struct ifall array.
(get_2k_ifs): Ditto, replace get_2k_ifconf.
(get_nt_ifs): Ditto, replace get_nt_ifconf.
(getifaddrs): New function.
(freeifaddrs): New function.
(get_ifconf): Call matching get_XX_ifs function and create
ifc content from here.  Drop lo fake since it's now in get_nt_ifs.
* posix.sgml: Add freeifaddrs and getifaddrs to list of implemented
BSD functions.
* wincap.h (wincapc::has_broken_if_oper_status): New element.
* wincap.cc: Implement above element throughout.
* include/ifaddrs.h: New file.
* include/cygwin/version.h: Bump API minor number.

17 years ago * cygwin.din: Export exp10, exp10f, pow10, pow10f, strcasestr,
Corinna Vinschen [Thu, 21 Jun 2007 07:22:16 +0000 (07:22 +0000)]
* cygwin.din: Export exp10, exp10f, pow10, pow10f, strcasestr,
funopen, fopencookie.
* include/cygwin/version.h: Bump API minor number.
* posix.sgml: Minor improvements.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 21:54:47 +0000 (21:54 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/perror.c: Pass errno as the second argument to
        the assist call.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 21:53:01 +0000 (21:53 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: Add JSRE_MKSTEMP and JSRE_MKTEMP values.
        * spu/mkstemp.c: New file to add mkstemp support via assist call.
        * spu/mktemp.c: New file to add mktemp support via assist call.
        * spu/Makefile.in: Add mkstemp.o and mktemp.o

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 21:50:53 +0000 (21:50 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: Add new JSRE opcodes.
        * spu/dup2.c: New file to add dup2 support via assist call.
        * spu/fdatasync.c: New file to add fdatasync support via assist call.
        * spu/fsync.c: New file to add fsync support via assist call.
        * spu/lockf.c: New file to add lockf support via assist call.
        * spu/sync.c: New file to add sync support via assist call.
        * spu/truncate.c: New file to add truncate support via assist call.
        * spu/Makefile.in: Add new files.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 21:49:06 +0000 (21:49 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
        defines; expose ftruncate, truncate and sync prototypes.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 21:44:54 +0000 (21:44 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: JSRE_LINK, JSRE_SYMLINK and JSRE_READLINK.
        * spu/link.c: New file to add link support via an assist call.
        * spu/readlink.c: New file to add readlink support via an assist call.
        * spu/symlink.c: New file to add symlink support via an assist call.
        * spu/Makefile.in: Add new files.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 21:41:33 +0000 (21:41 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: Add JSRE_LSTAT.
        * spu/lstat.c: New file add lstat support via an assist call.
        * spu/conv_stat.c: New file, add common stat conversion code.
        * spu/fstat.c: Use __conv_stat.
        * spu/stat.c: Use __conv_stat.
        * spu/Makefile.in: Add conv_stat.o and lstat.o.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 21:38:55 +0000 (21:38 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: Add JSRE_GETCWD.
        * spu/getcwd.c: New file, implement getcwd with help from an
        assist call.
        * spu/Makefile.in: Add getcwd.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 17:30:58 +0000 (17:30 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
        * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
        visible.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 17:28:09 +0000 (17:28 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: Add defines for new assist calls.
        * spu/chdir.c: New file, support chdir via assist call.
        * spu/chmod.c: New file, support chmod via assist call.
        * spu/chown.c: New file, support chown via assist call.
        * spu/fchdir.c: New file, support fchdir via assist call.
        * spu/fchmod.c: New file, support fchmod via assist call.
        * spu/fchown.c: New file, support fchown via assist call.
        * spu/lchown.c: New file, support lchown via assist call.
        * spu/mkdir.c: New file, support mkdir via assist call.
        * spu/mknod.c: New file, support mknod via assist call.
        * spu/rmdir.c: New file, support rmdir via assist call.
        * spu/Makefile.in: Add new files.

17 years ago2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 20 Jun 2007 17:24:05 +0000 (17:24 +0000)]
2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/getpagesize.c: New file add getpagesize via an assist call.
        * spu/jsre.h: Add JSRE_GETPAGESIZE.
        * spu/Makefile.in: Add getpagesize.

17 years ago * include/cygwin/if.h (IFF_POINTOPOINT): Fix typo.
Corinna Vinschen [Wed, 20 Jun 2007 09:28:47 +0000 (09:28 +0000)]
* include/cygwin/if.h (IFF_POINTOPOINT): Fix typo.

17 years ago * coffread.c (coff_sym_fns): Add default_symfile_segments.
Daniel Jacobowitz [Mon, 18 Jun 2007 15:46:33 +0000 (15:46 +0000)]
* coffread.c (coff_sym_fns): Add default_symfile_segments.
* dbxread.c (start_psymtab): Check HAVE_ELF.
(aout_sym_fns): Likewise.
* elfread.c (elf_symfile_segments): New.
(elf_sym_fns): Add elf_symfile_segments.
* mipsread.c (ecoff_sym_fns): Add default_symfile_segments.
* remote.c (get_offsets): Use symfile_map_offsets_to_segments.
Skip if there is no symfile_objfile.  Handle TextSeg and DataSeg.
* somread.c (som_sym_fns): Use default_symfile_segments.
* symfile.c (find_sym_fns): Take a BFD and return the sym_fns.
(init_objfile_sect_indices): Call symfile_find_segment_sections.
(default_symfile_segments): New function.
(syms_from_objfile): Update call to find_sym_fns.
(symfile_get_segment_data, free_symfile_segment_data): New.
(symfile_map_offsets_to_segments): New.
(symfile_find_segment_sections): New.
* symfile.h (struct symfile_segment_data): New.
(struct sym_fns): Add sym_segments.
(default_symfile_segments, symfile_get_segment_data)
(free_symfile_segment_data): New prototypes.
(symfile_map_offsets_to_segments): Likewise.
* xcoffread.c (xcoff_sym_fns): Add default_symfile_segments.
* Makefile.in (COMMON_OBS): Remove elfread.o.
(elf_internal_h): New.
(elfread.o): Update.
* configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was
compiled.
* config.in, configure: Regenerated.
* NEWS: Mention qOffsets changes.

* gdb.texinfo (General Query Packets): Document qOffsets changes.

* Makefile.def: Add dependency from configure-gdb to all-bfd.
* Makefile.in: Regenerated.

17 years ago * include/stdio.h (vsnprintf): Remove inline definition.
Danny Smith [Mon, 18 Jun 2007 09:50:01 +0000 (09:50 +0000)]
* include/stdio.h (vsnprintf): Remove inline definition.
Add prototype.

17 years ago * CRTfmode.c: Nit-pick comment fix.
Danny Smith [Sun, 17 Jun 2007 02:12:47 +0000 (02:12 +0000)]
* CRTfmode.c: Nit-pick comment fix.

17 years ago* CRTfmode.c: Fix nested comment.
Christopher Faylor [Sun, 17 Jun 2007 00:41:13 +0000 (00:41 +0000)]
* CRTfmode.c: Fix nested comment.

17 years ago* include/string.h (strcasecmp): Fix typo in declaration prototype.
Christopher Faylor [Sun, 17 Jun 2007 00:37:00 +0000 (00:37 +0000)]
* include/string.h (strcasecmp): Fix typo in declaration prototype.

17 years ago* include/search.h: Reinstate node_t definition.
Christopher Faylor [Sun, 17 Jun 2007 00:31:27 +0000 (00:31 +0000)]
* include/search.h: Reinstate node_t definition.
* include/sys/cdefs.h: Remove in favor of newlib version.

17 years ago2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 15 Jun 2007 16:00:46 +0000 (16:00 +0000)]
2007-06-15  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
        from a dropped patch.
        * libc/machine/spu/Makefile.in: Regenerate.

17 years ago * autoload.cc (GetIpForwardTable): Define.
Corinna Vinschen [Thu, 14 Jun 2007 16:02:32 +0000 (16:02 +0000)]
* autoload.cc (GetIpForwardTable): Define.
* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFDSTADDR.
* net.cc (get_routedst): New static function to get destination
address of point-to-point interfaces.
(get_xp_ifconf): Handle SIOCGIFDSTADDR.
(get_2k_ifconf): Ditto.
(get_nt_ifconf): Ditto.
(get_ifconf): Ditto.
* include/asm/socket.h (SIOCGIFDSTADDR): Define.
* include/cygwin/if.h (struct ifreq): Add ifru_dstaddr member.
(ifr_dstaddr): Define.
* include/cygwin/in.h: Cast ipv4 addresses correctly to in_addr_t in
definitions.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 08:52:42 +0000 (08:52 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
        (distclean-stage[+id+]): Possibly delete stage_last.
        * Makefile.in: Regenerate.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 08:16:37 +0000 (08:16 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.

17 years ago * include/io.h (lseek64) : Add prototype.
Danny Smith [Thu, 14 Jun 2007 03:05:08 +0000 (03:05 +0000)]
* include/io.h (lseek64) : Add prototype.

17 years ago * include/string.h (strcasecmp): Add prototype.
Danny Smith [Thu, 14 Jun 2007 03:01:33 +0000 (03:01 +0000)]
* include/string.h (strcasecmp): Add prototype.
(strncasecmp): Add prototype.

17 years ago2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 13 Jun 2007 17:55:28 +0000 (17:55 +0000)]
2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
        it just calls open with appropriate arguments.
        * libc/machine/spu/Makefile.am: Add creat.c.
        * libc/machine/spu/Makefile.in: Regenerate.

17 years ago2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 13 Jun 2007 17:50:13 +0000 (17:50 +0000)]
2007-06-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
        I accidentally dropped.
        * libc/machine/spu/Makefile.in: Regenerated.

17 years ago2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 13 Jun 2007 17:44:24 +0000 (17:44 +0000)]
2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
        * libc/include/sys/unistd.h: Change usleep prototype to Posix
        form and move outside of OS flag checks.
        * libc/machine/spu/Makefile.am: Add sleep and usleep.
        * libc/machine/spu/Makefile.in: Regenerate.
        * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
        * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.

17 years ago2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 13 Jun 2007 17:40:27 +0000 (17:40 +0000)]
2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/Makefile.in: Add nanosleep.c.
        * spu/jsre.h: Add JSRE_NANOSLEEP.
        * spu/nanosleep.c: New file, supply nanosleep via an assist call.

17 years ago * Makefile.in (CRT0S): Revert last change.
Danny Smith [Wed, 13 Jun 2007 08:26:13 +0000 (08:26 +0000)]
* Makefile.in (CRT0S): Revert last change.
* CRTfmode.c. Correct comment.

17 years ago * Makefile.in (CRT0S): Add back CRTfmode.o.
Danny Smith [Wed, 13 Jun 2007 07:50:18 +0000 (07:50 +0000)]
* Makefile.in (CRT0S): Add back CRTfmode.o.

17 years ago * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
Danny Smith [Wed, 13 Jun 2007 07:43:58 +0000 (07:43 +0000)]
* include/stdlib.h: Don't include stdint.h.  Conditionally define intptr_t.
* include/io.h: Likewise.

17 years ago* signal.cc (usleep): Use useconds_t for the type as per POSIX.
Christopher Faylor [Tue, 12 Jun 2007 20:49:48 +0000 (20:49 +0000)]
* signal.cc (usleep): Use useconds_t for the type as per POSIX.

17 years ago * Makefile.in (DLL_OFILES): Add xsique.o.
Corinna Vinschen [Tue, 12 Jun 2007 15:24:46 +0000 (15:24 +0000)]
* Makefile.in (DLL_OFILES): Add xsique.o.
* cygwin.din (confstr): Make NOSIGFE.
(insque): Export.
(remque): Export.
* lsearch.cc: Remove superfluous _SEARCH_PRIVATE define.
* posix.sgml: Move insque to defined SUSv3 interfaces.  Remove
comment for remque.
* include/search.h: Remove _SEARCH_PRIVATE guarded definitions.
Add struct qelem definition.  Add insque and remque declarations.
* include/cygwin/version.h: Bump API minor number.
* include/sys/queue.h: Remove insque/remque definitions so as not
to collide with SUSv3 compatible declaration in search.h.
* libc/xsique.cc: New file implementing insque and remque.

17 years ago * fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
Corinna Vinschen [Tue, 12 Jun 2007 08:28:44 +0000 (08:28 +0000)]
* fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
correctly.

17 years ago * cygwin.din (confstr): Export.
Corinna Vinschen [Mon, 11 Jun 2007 17:38:27 +0000 (17:38 +0000)]
* cygwin.din (confstr): Export.
* posix.sgml (confstr): Move to list of implemented SUSv3 functions.
* sysconf.cc (confstr): Implement.
* include/cygwin/version.h: Bump API minor number.

17 years ago * libc/include/sys/unistd.h: Declare confstr for Cygwin.
Corinna Vinschen [Mon, 11 Jun 2007 17:33:43 +0000 (17:33 +0000)]
* libc/include/sys/unistd.h: Declare confstr for Cygwin.
Define confstr constants for Cygwin.  Add comment.

17 years agobfd/
Bob Wilson [Mon, 11 Jun 2007 16:53:08 +0000 (16:53 +0000)]
bfd/
        * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
        (extend_ebb_bounds_backward, compute_text_actions): Likewise.
        (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise.
        (xtensa_get_property_predef_flags): Likewise.
        (compute_removed_literals): Pass new arguments to is_removable_literal.
        (is_removable_literal): Add sec, prop_table and ptblsize arguments.
        Do not remove literal if the NO_TRANSFORM property flag is set.
gas/
        * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
        (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
        (xtensa_mark_frags_for_org): New.
        (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
        (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
        (get_frag_property_flags): Adjust reference to is_no_transform flag.
        (xtensa_frag_flags_combinable): Likewise.
        (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
        * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
include/elf/
        * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
ld/
        * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.

17 years ago * crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.
Danny Smith [Mon, 11 Jun 2007 08:38:16 +0000 (08:38 +0000)]
* crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.

17 years ago * libc/sys/mmixware/access.c (access): Do not try to use a magic
Hans-Peter Nilsson [Sun, 10 Jun 2007 12:54:35 +0000 (12:54 +0000)]
* libc/sys/mmixware/access.c (access): Do not try to use a magic
file-handle and a direct syscall, just use _open.
* libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
file-handle.

* libc/sys/mmixware/_exit.c (_exit): Update comment about
passing on the exit value.

17 years ago2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 8 Jun 2007 18:38:51 +0000 (18:38 +0000)]
2007-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strcasestr.c: New file.
        * libc/include/string.h: Add strcasestr.
        * libc/string/strings.tex: Add strcasestr.
        * libc/string/Makefile.am: Ditto.
        * libc/string/Makefile.in: Regenerated.

17 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 6 Jun 2007 23:23:36 +0000 (23:23 +0000)]
* config.sub, config.guess: Update from upstream sources.

17 years ago * Makefile.tpl: Fix spelling error.
Ben Elliston [Wed, 6 Jun 2007 23:12:21 +0000 (23:12 +0000)]
* Makefile.tpl: Fix spelling error.
* Makefile.in: Regenerate.

17 years ago2007-06-06 Christian Groessler <chris@groessler.org>
Jeff Johnston [Wed, 6 Jun 2007 19:24:28 +0000 (19:24 +0000)]
2007-06-06  Christian Groessler  <chris@groessler.org>

        * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
        rnd is done after the last local variable declaration.

2007-06-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.

17 years agoFix entry to refer to function instead of variable.
Jeff Johnston [Tue, 5 Jun 2007 21:42:17 +0000 (21:42 +0000)]
Fix entry to refer to function instead of variable.

17 years ago2007-06-05 Christian Groessler <chris@groessler.org>
Jeff Johnston [Tue, 5 Jun 2007 21:40:48 +0000 (21:40 +0000)]
2007-06-05  Christian Groessler  <chris@groessler.org>

        * libc/argz/argz_insert.c (delta): Move variable declaration
        to top of function in keeping with C89 standard.

17 years ago2007-06-05 Patrick Mansfield <patman@us.ibm.com>
Jeff Johnston [Tue, 5 Jun 2007 19:01:30 +0000 (19:01 +0000)]
2007-06-05  Patrick Mansfield  <patman@us.ibm.com>

        * spu/jsre.h: Remove the assist call structs and defines that are
        specific to one assist call from here.
        * spu/access.c: Move struct syscall_access_t to here.
        * spu/fstat.c: Move struct syscall_fstat_t to here.
        * spu/ftruncate.c: Move struct syscall_ftruncate_t to here.
        * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here.
        * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to
        here.
        * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here.
        * spu/read.c: Move struct syscall_read_t to here, and actually use
        it (it is the same as syscall_write_t).
        * spu/stat.c: Move struct syscall_stat_t to here.
        * spu/write.c: Move struct syscall_write_t to here.
        * spu/close.c: Pass the address of the first and only argument to
        __send_to_ppe rather than using an automatic variable and a
        special struct.
        * spu/dup.c: Ditto.
        * spu/unlink.c: Ditto.

17 years ago * cygwin-api.in.sgml: Accommodate new "Compatibility" section layout.
Corinna Vinschen [Tue, 5 Jun 2007 10:11:55 +0000 (10:11 +0000)]
* cygwin-api.in.sgml: Accommodate new "Compatibility" section layout.

17 years ago * ansi.sgml: Delete.
Corinna Vinschen [Tue, 5 Jun 2007 10:10:16 +0000 (10:10 +0000)]
* ansi.sgml: Delete.
* misc-std.sgml: Delete.
* posix.sgml: Rework entirely.

17 years agoImplement funopen, fopencookie.
Eric Blake [Mon, 4 Jun 2007 18:10:17 +0000 (18:10 +0000)]
Implement funopen, fopencookie.
* libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
Switch to reentrant callbacks.
* libc/include/stdio.h (funopen): Fix declaration.
(fopencookie): Declare.
* libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
(__sseek64, __swrite64): Fix prototypes.
[__SCLE]: Pull in setmode declaration.
* libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
reentrancy.
* libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
(__sseek64, __swrite64): Fix reentrancy.
* libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
reentrancy.
* libc/stdio/ftell.c (_ftell_r): Likewise.
* libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
* libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/siscanf.c (eofread): Likewise.
* libc/stdio/sscanf.c (eofread): Likewise.
* libc/stdio/vsiscanf.c (eofread1): Likewise.
* libc/stdio/vsscanf.c (eofread1): Likewise.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio/fflush.c (fflush): Improve reentrancy, although more
could be fixed.
* libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
* libc/stdio/funopen.c (_funopen_r, funopen): New file.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
new files.
* libc/stdio/Makefile.in: Regenerate.

17 years ago2007-06-04 Olivier Hainque <hainque@adacore.com>
Paolo Bonzini [Mon, 4 Jun 2007 09:33:35 +0000 (09:33 +0000)]
2007-06-04  Olivier Hainque  <hainque@adacore.com>

* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.

17 years ago2007-06-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 4 Jun 2007 08:32:52 +0000 (08:32 +0000)]
2007-06-04  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2007-05-30  Jakub Jelinek  <jakub@redhat.com>

        PR bootstrap/29382
        * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
        * configure: Rebuilt.

17 years ago* cygcheck.cc (pathlike): New class.
Christopher Faylor [Mon, 4 Jun 2007 01:57:16 +0000 (01:57 +0000)]
* cygcheck.cc (pathlike): New class.
(paths): Redefine as type pathlike.
(display_error): Declare a few different ways to allow more flexible usage
throughout.
(display_error_fmt): New function for those cases where C++ just isn't enough.
(add_path): Rewrite to allocate pathlike paths.  Always tack on a trailing
slash since that's what everyone who uses it wants.  NULL terminate the path
list.  Register "it's a system path" field.
(init_path): Call add_path with info regarding whether path is a system path or
not.
(pathlike::check_existence): Move into pathlike class.  Accept file and
extension arguments to build up path on the fly.  Modify other arguments.
(find_on_path): Constify return value and appropriate arguments.  Eliminate
short-circuit for fully-qualified paths.  Simplify loop which iterates over
path.
(already_did): Constify argument.
(track_down): Ditto.  Regularize some error messages.
(find_app_on_path): Ditto.
(cygcheck): Constify argument.  Use 20th century string handling functions.
(dump_sysinfo): Remove odd inclusion of '\\bin' "Just in case".  Accommodate
change of paths to pathlike.
* path.cc (isslash): Rename from SLASH_P and use throughout.
(rel_vconcat): Front-end to vconcat which prepends cwd to path before passing
along for conversion to native windows.
(cygpath): Remove "./" test.  Call rel_vconcat if filename appears to be
relative.

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