]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years ago * sec_auth.cc (lsaauth): Make returned token inheritable.
Corinna Vinschen [Tue, 10 Jun 2008 15:16:01 +0000 (15:16 +0000)]
* sec_auth.cc (lsaauth): Make returned token inheritable.

16 years ago * devices.cc: Regenerate.
Corinna Vinschen [Tue, 10 Jun 2008 14:48:24 +0000 (14:48 +0000)]
* devices.cc: Regenerate.

16 years ago2008-06-09 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Tue, 10 Jun 2008 02:13:22 +0000 (02:13 +0000)]
2008-06-09  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/Makefile.am: Add new files.
* libc/machine/spu/Makefile.in: Likewise.
* libc/machine/spu/include/spu_timer.h: New file to add timer support
        using interrupts.
* libc/machine/spu/spu_clock_stop.c: Likewise.
* libc/machine/spu/spu_clock_svcs.c: Likewise.
* libc/machine/spu/spu_timer_flih.S: Likewise.
* libc/machine/spu/spu_timer_free.c: Likewise.
* libc/machine/spu/spu_timer_internal.h: Likewise.
* libc/machine/spu/spu_timer_slih.c: Likewise.
* libc/machine/spu/spu_timer_slih_reg.c: Likewise.
* libc/machine/spu/spu_timer_stop.c: Likewise.
* libc/machine/spu/spu_timer_svcs.c: Likewise.

16 years ago * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.
Kaz Kojima [Mon, 9 Jun 2008 22:20:46 +0000 (22:20 +0000)]
* sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.

16 years ago2008-06-09 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 9 Jun 2008 17:26:30 +0000 (17:26 +0000)]
2008-06-09  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcat.c: Return value fixed.
        * libc/machine/spu/strncat.c: Likewise.

16 years ago * common.h: Change registry@caldera.com to registry@sco.com.
Joseph Myers [Mon, 9 Jun 2008 14:07:18 +0000 (14:07 +0000)]
* common.h: Change registry@caldera.com to registry@sco.com.

16 years ago* devices.in: Remove "Global" from tty device.
Christopher Faylor [Mon, 9 Jun 2008 14:01:40 +0000 (14:01 +0000)]
* devices.in: Remove "Global" from tty device.

16 years ago* signal.cc (abort): Only flush streams after signal handler.
Christopher Faylor [Mon, 9 Jun 2008 13:45:59 +0000 (13:45 +0000)]
* signal.cc (abort): Only flush streams after signal handler.

16 years ago * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
Joseph Myers [Sun, 8 Jun 2008 16:19:22 +0000 (16:19 +0000)]
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_BUILD_FLAGS): Define.
(all prefix="build-"): Pass them to build-system sub-makes.
* Makefile.in: Regenerate.

config:
* config/mh-mingw (LDFLAGS): Define.

16 years agoinclude/
Alan Modra [Fri, 6 Jun 2008 06:01:53 +0000 (06:01 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add "path_separator".
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Relax requirement that
file names be unique.  Specify archive:path in overlay script.
ld/
* ldlang.c (name_match): New function.
(unique_section_p, walk_wild_consider_section): Use it here.
(walk_wild_section_general): And here.
(archive_path): New function.
(walk_wild): Match archive:path filespecs.
(open_input_bfds): Don't load archive:path files.
* emultempl/spuelf.em (choose_target): Set path_separator.
* emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.

16 years ago PR driver/35916
Danny Smith [Fri, 6 Jun 2008 02:32:32 +0000 (02:32 +0000)]
PR driver/35916
* mh-mingw (CFLAGS): Add -D__USE_MINGW_ACCESS.

16 years agoAvoid precision errors in round(), lround() and llround() functions.
Keith Marshall [Tue, 3 Jun 2008 18:42:21 +0000 (18:42 +0000)]
Avoid precision errors in round(), lround() and llround() functions.

16 years ago* cygwin.sc: Remove unrequired and erroneous definition.
Christopher Faylor [Tue, 3 Jun 2008 02:22:36 +0000 (02:22 +0000)]
* cygwin.sc: Remove unrequired and erroneous definition.

16 years ago* select.cc (peek_pipe): Semi-reinstate pipe NT-special write detection.
Christopher Faylor [Fri, 30 May 2008 17:56:37 +0000 (17:56 +0000)]
* select.cc (peek_pipe): Semi-reinstate pipe NT-special write detection.

16 years agoadd missing entry
Christopher Faylor [Thu, 29 May 2008 17:09:10 +0000 (17:09 +0000)]
add missing entry

16 years ago* devices.in: Change mapping for /dev/ttyS* and /dev/com*.
Christopher Faylor [Thu, 29 May 2008 17:08:45 +0000 (17:08 +0000)]
* devices.in: Change mapping for /dev/ttyS* and /dev/com*.

16 years ago2008-05-28 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Thu, 29 May 2008 01:39:52 +0000 (01:39 +0000)]
2008-05-28  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/commctrl.h (NMLVODSTATECHANGE): Define.

        Thanks to Tim Kosse <botg at users dot sf dot net>.

16 years ago2008-05-28 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Thu, 29 May 2008 01:26:45 +0000 (01:26 +0000)]
2008-05-28  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/winnt.h (SUBLANG_TIBETAN_BHUTAN): Fix definition.

        Thanks to Nicola Di Nisio <nicoladinisio at users dot sf dot net>.

16 years agoFix bug in previous patch.
Eric Blake [Wed, 28 May 2008 14:00:39 +0000 (14:00 +0000)]
Fix bug in previous patch.

* libc/machine/i386/memset.S (memset): Mask second arg correctly.

16 years ago2008-05-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 27 May 2008 18:44:40 +0000 (18:44 +0000)]
2008-05-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/memset.c: Fix documented prototype to remove
        erroneous const attribute on first parameter.

16 years ago2008-05-26 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 26 May 2008 23:31:08 +0000 (23:31 +0000)]
2008-05-26  Eric Blake  <ebb9@byu.net>

        Optimize the generic and x86 memchr.
        * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
        Pre-align pointer so unaligned searches aren't penalized.
        * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
        operations are faster than repnz byte searches.

16 years ago2008-05-26 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 26 May 2008 23:23:15 +0000 (23:23 +0000)]
2008-05-26  Eric Blake  <ebb9@byu.net>

        Optimize the generic and x86 memset.
        * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
        Pre-align pointer so unaligned stores aren't penalized.
        * libc/machine/i386/memset.S (memset): [!__OPTIMIZE_SIZE__]:
        Pre-align pointer so unaligned stores aren't penalized.  Prefer
        8-byte over 4-byte alignment.  Reduce register pressure.

16 years ago2008-05-26 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 26 May 2008 22:56:14 +0000 (22:56 +0000)]
2008-05-26  Eric Blake  <ebb9@byu.net>

        Optimize the generic and x86 strlen.
        * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
        data so unaligned searches aren't penalized.
        * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
        Word operations are faster than repnz byte searches.

16 years ago* mount.cc (mount_info::from_fstab): Use proper buffer size.
Christopher Faylor [Sun, 25 May 2008 23:51:32 +0000 (23:51 +0000)]
* mount.cc (mount_info::from_fstab): Use proper buffer size.

16 years ago* mount.cc (mount_info::init): Revert previous change.
Christopher Faylor [Sat, 24 May 2008 15:59:01 +0000 (15:59 +0000)]
* mount.cc (mount_info::init): Revert previous change.
(mount_info::from_fstab): Change system_printf to debug_printf.  Just use a
local NT_MAX_PATH sized temporary buffer.

16 years ago * mount.cc (mount_info::init): Recreate path when trying to read the
Corinna Vinschen [Sat, 24 May 2008 10:07:49 +0000 (10:07 +0000)]
* mount.cc (mount_info::init): Recreate path when trying to read the
user fstab file.

16 years ago * path.cc (symlink_info::check): Reorder test for nfs symlinks.
Corinna Vinschen [Sat, 24 May 2008 09:54:32 +0000 (09:54 +0000)]
* path.cc (symlink_info::check): Reorder test for nfs symlinks.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Don't try to
Corinna Vinschen [Fri, 23 May 2008 17:22:18 +0000 (17:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Don't try to
use FileIdBothDirectoryInformation on NFS shares.  Fix comment to
explain why.
* path.cc (symlink_info::check): Reinstantiate no_ea.  Use in
erroneously changed condition.

16 years ago* mount.cc (find_root_from_cygwin_dll): New function factored from from_fstab.
Christopher Faylor [Fri, 23 May 2008 16:38:51 +0000 (16:38 +0000)]
* mount.cc (find_root_from_cygwin_dll): New function factored from from_fstab.
Avoid use of tls since it isn't necessarily initialized when cygwin1.dll is
dynamically loaded.
(mount_info::create_root_entry): Ditto.
(mount_info::init): Calculate cygwin root once.  Use create_root_entry to
record it.  Pass fstab location to from_fstab.
(mount_info::from_fstab): Move root calculation stuff elsewhere, as per above.
* shared_info.h (mount_info::from_fstab_line): Make private.
(mount_info::fstab): Ditto.  Accommodate new arguments.

16 years ago* mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to
Christopher Faylor [Fri, 23 May 2008 15:33:03 +0000 (15:33 +0000)]
* mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to
find handle based on cygwin1.dll.
* path.cc (symlink_info::check): Remove unused variable.

16 years ago * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
Corinna Vinschen [Fri, 23 May 2008 12:33:50 +0000 (12:33 +0000)]
* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.

16 years ago * shared.cc (open_shared): Fix comments. Fix a condition which has
Corinna Vinschen [Fri, 23 May 2008 11:59:37 +0000 (11:59 +0000)]
* shared.cc (open_shared): Fix comments.  Fix a condition which has
been overlooked to revert to its old state in change from 2008-04-18.

16 years ago * path.cc (symlink_info::check): Define eabuf and easize outside of
Corinna Vinschen [Fri, 23 May 2008 11:00:35 +0000 (11:00 +0000)]
* path.cc (symlink_info::check): Define eabuf and easize outside of
loop.  Set to NULL on first STATUS_EAS_NOT_SUPPORTED.  Align comments.
Fix formatting.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
Corinna Vinschen [Fri, 23 May 2008 10:01:34 +0000 (10:01 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
compiler warning.

16 years ago* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if it has
Christopher Faylor [Fri, 23 May 2008 07:13:47 +0000 (07:13 +0000)]
* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if it has
indicated that it isn't appropriate.
* ntdll.h (STATUS_EAS_NOT_SUPPORTED): Define.
* winsup.h: Remove __builtin* defines.

16 years ago2008-05-22 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 22 May 2008 21:30:28 +0000 (21:30 +0000)]
2008-05-22  Jeff Johnston  <jjohnstn@redhat.com>

* libc/include/sys/reent.h: Add _h_errno field.
* libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
now used in net directory.
* libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
* libc/sys/linux/include/hesiod.h: Add needed macros for new code
in net directory.
* libc/sys/linux/include/netdb.h: Ditto.
* libc/sys/linux/include/resolv.h: Ditto.
* libc/sys/linux/include/stdint.h: Ditto.
* libc/sys/linux/include/arpa/nameser.h: Ditto.
* libc/sys/linux/include/net/ethernet.h: Ditto.
* libc/sys/linux/include/net/if_ppp.h: Ditto.
* libc/sys/linux/include/netinet/if_ether.h: Ditto.
* libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
* libc/sys/linux/machine/i386/include/endian.h: Protect macros with
flags to avoid duplicate definition.
* libc/sys/linux/machine/i386/include/param.h: Ditto.
* libc/sys/linux/net/Makefile.am: Modified to account for removed and
added files.
* libc/sys/linux/net/Makefile.in: Regenerated.
* libc/sys/linux/net/base64.c: Replaced with glibc version of code.
* libc/sys/linux/net/getaddrinfo.c: Ditto.
* libc/sys/linux/net/getnameinfo.c: Ditto.
* libc/sys/linux/net/getproto.c: Ditto.
* libc/sys/linux/net/getservent.c: Ditto.
* libc/sys/linux/net/inet_netof.c: Ditto.
* libc/sys/linux/net/inet_lnaof.c: Ditto.
* libc/sys/linux/net/ns_name.c: Ditto.
* libc/sys/linux/net/ns_netint.c: Ditto.
* libc/sys/linux/net/inet_ntoa.c: Ditto.
* libc/sys/linux/net/ns_parse.c: Ditto.
* libc/sys/linux/net/ns_print.c: Ditto.
* libc/sys/linux/net/ns_ttl.c: Ditto.
* libc/sys/linux/net/nsap_addr.c: Ditto.
* libc/sys/linux/net/rcmd.c: Ditto.
* libc/sys/linux/net/res_comp.c: Ditto.
* libc/sys/linux/net/res_data.c: Ditto.
* libc/sys/linux/net/res_debug.c: Ditto.
* libc/sys/linux/net/res_init.c: Ditto.
* libc/sys/linux/net/res_mkquery.c: Ditto.
* libc/sys/linux/net/res_query.c: Ditto.
* libc/sys/linux/net/res_send.c: Ditto.
* libc/sys/linux/net/send.c: Ditto.
* libc/sys/linux/stdlib/collate.c: Ditto.
* libc/sys/linux/sys/ioctl.h: Ditto.
* libc/sys/linux/sys/socket.h: Ditto.
* libc/sys/linux/sys/unistd.h: Ditto.
* libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
used or because licensing includes advertising clause that cannot be
ignored.
* libc/sys/linux/iconv/strtab.c: Ditto.
* libc/sys/linux/include/libc_private.h: Ditto.
* libc/sys/linux/include/nsswitch.h: Ditto.
* libc/sys/linux/include/net/if_atm.h: Ditto.
* libc/sys/linux/include/net/if_media.h: Ditto.
* libc/sys/linux/include/net/if_pppvar.h: Ditto.
* libc/sys/linux/include/netinet/if_atm.h: Ditto.
* libc/sys/linux/include/netinet/ip_flow.h: Ditto.
* libc/sys/linux/intl/locale.alias: Ditto.
* libc/sys/linux/net/addr2ascii.3: Ditto.
* libc/sys/linux/net/bindresvport.c: Ditto.
* libc/sys/linux/net/byteorder.3: Ditto.
* libc/sys/linux/net/res_config.h: Ditto.
* libc/sys/linux/net/ether_addr.c: Ditto.
* libc/sys/linux/net/ethers.3: Ditto.
* libc/sys/linux/net/getaddrinfo.3: Ditto.
* libc/sys/linux/net/gethostbydns.c: Ditto.
* libc/sys/linux/net/gethostbyht.c: Ditto.
* libc/sys/linux/net/gethostbyname.3: Ditto.
* libc/sys/linux/net/gethostbynis.c: Ditto.
* libc/sys/linux/net/gethostnamadr.c: Ditto.
* libc/sys/linux/net/getifaddrs.3: Ditto.
* libc/sys/linux/net/getifaddrs.c: Ditto.
* libc/sys/linux/net/getipnodebyname.3: Ditto.
* libc/sys/linux/net/getnameinfo.3: Ditto.
* libc/sys/linux/net/getnetbydns.c: Ditto.
* libc/sys/linux/net/getnetbyht.c: Ditto.
* libc/sys/linux/net/getnetbynis.c: Ditto.
* libc/sys/linux/net/getnetent.3: Ditto.
* libc/sys/linux/net/getnetnamadr.c: Ditto.
* libc/sys/linux/net/getprotoent.3: Ditto.
* libc/sys/linux/net/getprotoent.c: Ditto.
* libc/sys/linux/net/getprotoname.c: Ditto.
* libc/sys/linux/net/getservbyname.c: Ditto.
* libc/sys/linux/net/getservbyport.c: Ditto.
* libc/sys/linux/net/getservent.3: Ditto.
* libc/sys/linux/net/herror.c: Ditto.
* libc/sys/linux/net/hesiod.3: Ditto.
* libc/sys/linux/net/hesiod.c: Ditto.
* libc/sys/linux/net/if_indextoname.3: Ditto.
* libc/sys/linux/net/inet.3: Ditto.
* libc/sys/linux/net/inet6_option_space.3: Ditto.
* libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
* libc/sys/linux/net/inet_makeaddr.c: Ditto.
* libc/sys/linux/net/inet_net.3: Ditto.
* libc/sys/linux/net/inet_network.c: Ditto.
* libc/sys/linux/net/innetgr-stub.c: Ditto.
* libc/sys/linux/net/ip6opt.c: Ditto.
* libc/sys/linux/net/iso_addr.3: Ditto.
* libc/sys/linux/net/iso_addr.c: Ditto.
* libc/sys/linux/net/linkaddr.3: Ditto.
* libc/sys/linux/net/linkaddr.c: Ditto.
* libc/sys/linux/net/map_v4v6.c: Ditto.
* libc/sys/linux/net/name6.c: Ditto.
* libc/sys/linux/net/namespace.h: Ditto.
* libc/sys/linux/net/ns.3: Ditto.
* libc/sys/linux/net/ns_addr.c: Ditto.
* libc/sys/linux/net/ns_ntoa.c: Ditto.
* libc/sys/linux/net/nsdispatch.3: Ditto.
* libc/sys/linux/net/nsdispatch.c: Ditto.
* libc/sys/linux/net/nslexer.c: Ditto.
* libc/sys/linux/net/nslexer.l: Ditto.
* libc/sys/linux/net/nsparser.c: Ditto.
* libc/sys/linux/net/nsparser.h: Ditto.
* libc/sys/linux/net/nsparser.y: Ditto.
* libc/sys/linux/net/rcmd.3: Ditto.
* libc/sys/linux/net/rcmdsh.3: Ditto.
* libc/sys/linux/net/res_mkupdate.c: Ditto.
* libc/sys/linux/net/res_update.c: Ditto.
* libc/sys/linux/net/resolver.3: Ditto.
* libc/sys/linux/net/rthdr.c: Ditto.
* libc/sys/linux/net/vars.c: Ditto.
* libc/sys/linux/shlib-compat.h: New file.
* libc/sys/linux/machine/i386/atomic.h: Ditto.
* libc/sys/linux/net/XXX-lookup.c: Ditto.
* libc/sys/linux/net/alias-lookup.c: Ditto.
* libc/sys/linux/net/res_libc.c: Ditto.
* libc/sys/linux/net/aliases.h: Ditto.
* libc/sys/linux/net/check_pf.c: Ditto.
* libc/sys/linux/net/databases.def: Ditto.
* libc/sys/linux/net/digits_dots.c: Ditto.
* libc/sys/linux/net/ether_aton.c: Ditto.
* libc/sys/linux/net/ether_aton_r.c: Ditto.
* libc/sys/linux/net/ether_hton.c: Ditto.
* libc/sys/linux/net/ether_line.c: Ditto.
* libc/sys/linux/net/ether_ntoa.c: Ditto.
* libc/sys/linux/net/ether_ntoa_r.c: Ditto.
* libc/sys/linux/net/ether_ntoh.c: Ditto.
* libc/sys/linux/net/etherent.h: Ditto.
* libc/sys/linux/net/ethers-lookup.c: Ditto.
* libc/sys/linux/net/function.def: Ditto.
* libc/sys/linux/net/getXXbyYY.c: Ditto.
* libc/sys/linux/net/getXXbyYY_r.c: Ditto.
* libc/sys/linux/net/getXXent.c: Ditto.
* libc/sys/linux/net/getXXent_r.c: Ditto.
* libc/sys/linux/net/getaliasent.c: Ditto.
* libc/sys/linux/net/getaliasent_r.c: Ditto.
* libc/sys/linux/net/getaliasname.c: Ditto.
* libc/sys/linux/net/getaliasname_r.c: Ditto.
* libc/sys/linux/net/gethstbyad.c: Ditto.
* libc/sys/linux/net/gethstbyad_r.c: Ditto.
* libc/sys/linux/net/gethstbynm.c: Ditto.
* libc/sys/linux/net/gethstbynm2.c: Ditto.
* libc/sys/linux/net/gethstbynm2_r.c: Ditto.
* libc/sys/linux/net/gethstbynm_r.c: Ditto.
* libc/sys/linux/net/gethstent.c: Ditto.
* libc/sys/linux/net/gethstent_r.c: Ditto.
* libc/sys/linux/net/getnetbyad.c: Ditto.
* libc/sys/linux/net/getnetbyad_r.c: Ditto.
* libc/sys/linux/net/getnetbynm.c: Ditto.
* libc/sys/linux/net/getnetbynm_r.c: Ditto.
* libc/sys/linux/net/getnetent.c: Ditto.
* libc/sys/linux/net/getnetent_r.c: Ditto.
* libc/sys/linux/net/getnetgrent.c: Ditto.
* libc/sys/linux/net/getnetgrent_r.c: Ditto.
* libc/sys/linux/net/getnssent.c: Ditto.
* libc/sys/linux/net/getnssent_r.c: Ditto.
* libc/sys/linux/net/getproto_r.c: Ditto.
* libc/sys/linux/net/getprtent.c: Ditto.
* libc/sys/linux/net/getprtent_r.c: Ditto.
* libc/sys/linux/net/getprtname.c: Ditto.
* libc/sys/linux/net/getprtname_r.c: Ditto.
* libc/sys/linux/net/getrpcbyname.c: Ditto.
* libc/sys/linux/net/getrpcbyname_r.c: Ditto.
* libc/sys/linux/net/getrpcbynumber.c: Ditto.
* libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
* libc/sys/linux/net/getrpcent.c: Ditto.
* libc/sys/linux/net/getrpcent_r.c: Ditto.
* libc/sys/linux/net/getservent_r.c: Ditto.
* libc/sys/linux/net/getsrvbynm.c: Ditto.
* libc/sys/linux/net/getsrvbynm_r.c: Ditto.
* libc/sys/linux/net/getsrvbypt.c: Ditto.
* libc/sys/linux/net/getsrvbypt_r.c: Ditto.
* libc/sys/linux/net/grp-lookup.c: Ditto.
* libc/sys/linux/net/herrno.c: Ditto.
* libc/sys/linux/net/hosts-lookup.c: Ditto.
* libc/sys/linux/net/ifaddrs.h: Ditto.
* libc/sys/linux/net/ifreq.c: Ditto.
* libc/sys/linux/net/ifreq.h: Ditto.
* libc/sys/linux/net/in6_addr.c: Ditto.
* libc/sys/linux/net/inet6_option.c: Ditto.
* libc/sys/linux/net/inet_mkadr.c: Ditto.
* libc/sys/linux/net/inet_net.c: Ditto.
* libc/sys/linux/net/key-lookup.c: Ditto.
* libc/sys/linux/net/local.h: Ditto.
* libc/sys/linux/net/netgroup.h: Ditto.
* libc/sys/linux/net/netgrp-lookup.c: Ditto.
* libc/sys/linux/net/network-lookup.c: Ditto.
* libc/sys/linux/net/not-cancel.h: Ditto.
* libc/sys/linux/net/ns_samedomain.c: Ditto.
* libc/sys/linux/net/nscd-types.h: Ditto.
* libc/sys/linux/net/nss.h: Ditto.
* libc/sys/linux/net/nsswitch.c: Ditto.
* libc/sys/linux/net/nsswitch.h: Ditto.
* libc/sys/linux/net/opensock.c: Ditto.
* libc/sys/linux/net/proto-lookup.c: Ditto.
* libc/sys/linux/net/pwd-lookup.c: Ditto.
* libc/sys/linux/net/res_debug.h: Ditto.
* libc/sys/linux/net/res_hconf.c: Ditto.
* libc/sys/linux/net/res_hconf.h: Ditto.
* libc/sys/linux/net/rexec.c: Ditto.
* libc/sys/linux/net/rpc-lookup.c: Ditto.
* libc/sys/linux/net/ruserpass.c: Ditto.
* libc/sys/linux/net/service-lookup.c: Ditto.
* libc/sys/linux/net/spwd-lookup.c: Ditto.
* libc/sys/linux/net/nscd/nscd-client.h: Ditto.
* libc/sys/linux/net/nscd/nscd_proto.h: Ditto.

16 years ago * grp.cc (internal_getgroups): Fix thinko. Only add enabled groups to
Corinna Vinschen [Thu, 22 May 2008 21:14:30 +0000 (21:14 +0000)]
* grp.cc (internal_getgroups): Fix thinko.  Only add enabled groups to
the group list.

16 years ago * grp.cc (internal_getgroups): Don't add deny-only groups to the group
Corinna Vinschen [Thu, 22 May 2008 21:03:54 +0000 (21:03 +0000)]
* grp.cc (internal_getgroups): Don't add deny-only groups to the group
list.

16 years ago * cygtls.h (struct san): Add two int values to store the current
Corinna Vinschen [Thu, 22 May 2008 20:32:15 +0000 (20:32 +0000)]
* cygtls.h (struct san): Add two int values to store the current
tls_pathbuf counters.
(return_from_fault): Restore tls_pathbuf counters.
(setup_fault): Save tls_pathbuf counters.
* tlsoffset.h: Regenerate.

16 years ago * setfacl.c (setfacl): Change from void to int. Return 2 in case of
Corinna Vinschen [Thu, 22 May 2008 18:56:26 +0000 (18:56 +0000)]
* setfacl.c (setfacl): Change from void to int.  Return 2 in case of
error.
(main): Return with error code from setfacl.

16 years ago * sec_acl.cc (setacl): Set errno to EINVAL if user or group don't exist.
Corinna Vinschen [Thu, 22 May 2008 12:43:18 +0000 (12:43 +0000)]
* sec_acl.cc (setacl): Set errno to EINVAL if user or group don't exist.

16 years ago * path.cc (cygwin_conv_path): Define tp before setting up faul handler.
Corinna Vinschen [Thu, 22 May 2008 11:18:46 +0000 (11:18 +0000)]
* path.cc (cygwin_conv_path): Define tp before setting up faul handler.
* syscalls.cc: Ditto, throughout.
(gen_full_path_at): Add bool parameter to allow NULL pathname.
(futimesat): Allow NULL pathname as GLIBC.

16 years agoOptimize the generic strchr.
Eric Blake [Thu, 22 May 2008 02:31:46 +0000 (02:31 +0000)]
Optimize the generic strchr.

* libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
data so unaligned searches aren't penalized.  Special-case
searching for 0.

16 years agoCommitted as obvious.
Danny Smith [Thu, 22 May 2008 02:09:06 +0000 (02:09 +0000)]
Committed as obvious.

2008-05-22  Danny Smith  <dannysmith@users.sourceforge.net>

[ mingw-Bugs-1961893 ]
* mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa mode to 2
for E format.

16 years ago* string.h (strchr): Eliminate.
Christopher Faylor [Thu, 22 May 2008 01:25:37 +0000 (01:25 +0000)]
* string.h (strchr): Eliminate.
* syscalls.cc (rename): Work around inexplicable C++ warning.

16 years agoOptimize strchr for x86.
Eric Blake [Wed, 21 May 2008 21:46:04 +0000 (21:46 +0000)]
Optimize strchr for x86.

* libc/machine/i386/strchr.S (strchr): Pre-align data so unaligned
searches aren't penalized.  Special-case searching for 0.

16 years ago * reloc-macros.h: Add a comment about the use of the
Nick Clifton [Wed, 21 May 2008 14:50:07 +0000 (14:50 +0000)]
    * reloc-macros.h: Add a comment about the use of the
        END_RELOC_NUMBERS symbol as a sentinel value.
        * arm.h (END_RELOC_NUMBERS): Provide a maximum value.

16 years ago * fhandler_disk_file.cc (get_ino_by_handle): Rename pfai to fai.
Corinna Vinschen [Wed, 21 May 2008 10:23:19 +0000 (10:23 +0000)]
* fhandler_disk_file.cc (get_ino_by_handle): Rename pfai to fai.
(fhandler_base::fstat_by_handle): Drop fai_size and pfai in favor of
static struct fai_buf.  Restructure.
(fhandler_base::fstat_by_name): Drop fvi_size and pfvi.  Drop fdi_size
and pfdi in favor of static struct fdi_buf.  Drop redundant test for
existance.  Use FileDirectoryInformation class instead of
FileBothDirectoryInformation.  Drop call to NtQueryVolumeInformationFile
in favor of using pc.fs_serial_number ().  Fix FileId information given
to fstat_helper.
(fhandler_disk_file::fstatvfs): Drop fvi_size, pfvi, fai_size and pfai.
Drop getting FileFsVolumeInformation and FileFsAttributeInformation in
favor of using the related path_conv info.
(fhandler_disk_file::opendir): Fix comment.
(fhandler_disk_file::readdir): Ditto.  Use FileDirectoryInformation
class instead of FileBothDirectoryInformation.
* path.cc (fs_info::update): Store MaximumComponentNameLength in new
member name_len.
* path.h (struct fs_info): Use ULONG rather than DWORD.  Add member
name_len to store MaximumComponentNameLength.  Add accessor methods.
(path_conv::fs_name_len): New method.

16 years ago * fhandler.h (dirent_states): Add dirent_nfs_d_ino state and add it to
Corinna Vinschen [Wed, 21 May 2008 09:02:42 +0000 (09:02 +0000)]
* fhandler.h (dirent_states): Add dirent_nfs_d_ino state and add it to
dirent_info_mask.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set
dirent_nfs_d_ino flag for NFS shares.  Explain why.
(fhandler_disk_file::readdir): Use FileNamesInformation instead of
FileBothDirectoryInformation info class on NFS clients not supporting
the FileIdBothDirectoryInformation info class.  Use local pointers to
accommodate different offsets.
* path.cc (symlink_info::check): Don't test directories for symlinks
on NFS shares.  Enhance comment.

16 years ago * syscalls.cc (FILTERED_MODE): Define valid chmod mode mask.
Corinna Vinschen [Wed, 21 May 2008 08:05:53 +0000 (08:05 +0000)]
* syscalls.cc (FILTERED_MODE): Define valid chmod mode mask.
(chmod): Call fh->fchmod with filtered mode.
(fchmod): Ditto.

16 years ago * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
Nick Clifton [Wed, 21 May 2008 07:44:32 +0000 (07:44 +0000)]
    * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
        * iq2000/crt0.S (__dso_handle): Define (weak).
        * frv/crt0.S (__dso_handle): Define (weak).
        * mn10300/crt0.S (___dso_handle): Define (weak).

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
Corinna Vinschen [Tue, 20 May 2008 21:08:39 +0000 (21:08 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
S_IFSOCK in mode bits.

16 years ago * path.cc (symlink_worker): Fix EA buffer size info given to
Corinna Vinschen [Tue, 20 May 2008 18:26:45 +0000 (18:26 +0000)]
* path.cc (symlink_worker): Fix EA buffer size info given to
NtCreateFile.
(symlink_info::check_nfs_symlink): Get 64K buffer for EA buffer.
Change EA buffer size info given to NtQueryEaFile accordingly.

16 years ago * path.cc (symlink_info::check_shortcut): Minimize requested file
Corinna Vinschen [Tue, 20 May 2008 18:19:32 +0000 (18:19 +0000)]
* path.cc (symlink_info::check_shortcut): Minimize requested file
access flags.
(symlink_info::check_sysfile): Ditto.  Add missing `else'.
(symlink_info::check): Only retry to open file if first try failed
with access denied.

16 years ago2008-05-20 DJ Delorie <dj@redhat.com>
Jeff Johnston [Tue, 20 May 2008 18:00:12 +0000 (18:00 +0000)]
2008-05-20  DJ Delorie  <dj@redhat.com>

* libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.

16 years ago * path.cc (fs_info::update): Re-add opening the unsplitted path
Corinna Vinschen [Tue, 20 May 2008 17:18:08 +0000 (17:18 +0000)]
* path.cc (fs_info::update): Re-add opening the unsplitted path
for fillout_mntent's sake.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directories
Corinna Vinschen [Tue, 20 May 2008 16:24:06 +0000 (16:24 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directories
on NFS shares with correct mode bits.

16 years ago * winsup.h (cygwin_inet_addr): Fix type of declaration.
Corinna Vinschen [Tue, 20 May 2008 15:39:26 +0000 (15:39 +0000)]
* winsup.h (cygwin_inet_addr): Fix type of declaration.

16 years ago * Makefile.in (DLL_OFILES): Add nfs.o.
Corinna Vinschen [Tue, 20 May 2008 15:11:23 +0000 (15:11 +0000)]
* Makefile.in (DLL_OFILES): Add nfs.o.
* fhandler.cc (fhandler_base::open): Open files on NFS shares with
correct access flags and EAs.
* fhandler.h (fhandler_base::fstat_by_nfs_ea): Declare.
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): New method.
(fhandler_base::fstat_by_handle): Call fstat_by_nfs_ea for files on
NFS shares.
(fhandler_disk_file::fchmod): Use NFS specific method to set mode for
files on NFS shares.  Don't overrule errno from call to
set_file_attribute with errno from NtSetInformationFile call.
(fhandler_disk_file::fchown): Add comment.
* mount.cc (fillout_mntent): Accommodate change in second parameter
to fs_info::update.
* nfs.cc: New file.
* nfs.h: New file.
* path.cc (fs_info::update): Take handle instead of bool as second
parameter.  Use that handle if it's not NULL.  Only close handle if
it has been opened here.  Use static defined buffers instead of
alloca'd buffers.
(path_conv::check): Call symlink_info::check with reference to fs.
Don't call fs.update here if file exists.
(conv_path_list): Prefer tmp_pathbuf buffer over using alloca.
(symlink_worker): Use NFS specific method to create symlinks on NFS
shares.  Prefer tmp_pathbuf buffer over using alloca.
(symlink_info::check_shortcut): Reopen file from incoming handle
with necessary FILE_GENERIC_READ flag.  Prefer tmp_pathbuf buffer over
using alloca.
(symlink_info::check_sysfile): Ditto.
(symlink_info::check_reparse_point): Use tmp_pathbuf buffer to
allocate REPARSE_DATA_BUFFER.
(symlink_info::check_nfs_symlink): New method.
(enum symlink_t): Remove.
(symlink_info::check): Don't use NtQueryAttributesFile.  Rather, open
file with necessary access flags and call NtQueryInformationFile.  Fix
error handling in case file can't be opened.  For existing files, call
fs_info::update here.  Restructure symlink checking to accommodate the
fact that the file is already open.  Add case for NFS symlinks.
* path.h (fs_info::update): Take handle instead of bool as second
parameter.

16 years ago * syscalls.cc (rename): Fix condition when to start a transaction.
Corinna Vinschen [Tue, 20 May 2008 10:24:25 +0000 (10:24 +0000)]
* syscalls.cc (rename): Fix condition when to start a transaction.

16 years ago * path.cc (path_conv::check): Free wide_path and normalized_path if
Corinna Vinschen [Tue, 20 May 2008 10:18:12 +0000 (10:18 +0000)]
* path.cc (path_conv::check): Free wide_path and normalized_path if
necessary.
* path.h (path_conv::path_conv): Set wide_path, normalized_path and
normalized_path_size to 0 in all constructors.

16 years ago * syscalls.cc (rename): Allocate temporary path buffers using
Corinna Vinschen [Mon, 19 May 2008 20:22:29 +0000 (20:22 +0000)]
* syscalls.cc (rename): Allocate temporary path buffers using
tmp_pathbuf.  Don't try to unset R/O attribute on dstpc if a
removepc exists.  dstpc is a non-existant file in that case.

16 years ago* include/stdint.h: Use int rather than long for {u,}int32_t.
Christopher Faylor [Sat, 17 May 2008 21:34:05 +0000 (21:34 +0000)]
* include/stdint.h: Use int rather than long for {u,}int32_t.

16 years ago * src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,
Daniel Jacobowitz [Fri, 16 May 2008 12:34:38 +0000 (12:34 +0000)]
* src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,
README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp,
mkdep, and compile.  Update comments.
(ETC_SUPPORT): Add ChangeLog and update comments.

16 years ago * Makefile.in (install-license): Install COPYING file as well.
Corinna Vinschen [Fri, 16 May 2008 10:37:27 +0000 (10:37 +0000)]
* Makefile.in (install-license): Install COPYING file as well.

16 years ago * CYGWIN_LICENSE: New text.
Corinna Vinschen [Fri, 16 May 2008 08:40:39 +0000 (08:40 +0000)]
* CYGWIN_LICENSE: New text.

16 years ago * CYGWIN_LICENSE: Remove duplicate file here.
Corinna Vinschen [Fri, 16 May 2008 08:40:07 +0000 (08:40 +0000)]
* CYGWIN_LICENSE: Remove duplicate file here.

16 years ago2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
Chris Sutcliffe [Thu, 15 May 2008 23:27:29 +0000 (23:27 +0000)]
2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>

        * include/stdlib.h: Fix strtod under C++.

16 years ago * syscalls.cc (rename): ONly start transaction if FS supports them.
Corinna Vinschen [Thu, 15 May 2008 17:23:29 +0000 (17:23 +0000)]
* syscalls.cc (rename): ONly start transaction if FS supports them.

16 years ago * include/winnt.h (FILE_SEQUENTIAL_WRITE_ONCE): Define.
Corinna Vinschen [Thu, 15 May 2008 17:14:35 +0000 (17:14 +0000)]
* include/winnt.h (FILE_SEQUENTIAL_WRITE_ONCE): Define.
(FILE_SUPPORTS_TRANSACTIONS): Define.

16 years ago * autoload.cc (LoadDLLfuncNt): Re-invent.
Corinna Vinschen [Thu, 15 May 2008 16:34:01 +0000 (16:34 +0000)]
* autoload.cc (LoadDLLfuncNt): Re-invent.
(NtCreateTransaction): Define.
(NtCommitTransaction): Define.
(NtRollbackTransaction): Define.
(RtlGetCurrentTransaction): Define.
(RtlSetCurrentTransaction): Define.
* ntdll.h (TRANSACTION_ALL_ACCESS): Define.
(NtCreateTransaction): Declare.
(NtCommitTransaction): Declare.
(NtRollbackTransaction): Declare.
(RtlGetCurrentTransaction): Declare.
(RtlSetCurrentTransaction): Declare.
* syscalls.cc (start_transaction): New static function to start TxF
transaction.
(stop_transaction): New static function to end TxF transaction.
(rename): Call start_transaction and stop_transaction where appropriate
on systems supporting transactions.
* wincap.h (wincaps::has_transactions): New element.
* wincap.cc: Implement above element throughout.

16 years ago * Makefile.in (CYGWIN_BINS): Remove ipcrm and ipcs.
Corinna Vinschen [Thu, 15 May 2008 11:01:31 +0000 (11:01 +0000)]
* Makefile.in (CYGWIN_BINS): Remove ipcrm and ipcs.
* ipcrm.c: Remove.
* ipcs.c: Remove.

16 years ago2008-05-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 14 May 2008 22:09:10 +0000 (22:09 +0000)]
2008-05-14  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h: Change _REENT_INIT... macros to
        access macro parameter with parentheses around it.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Drop
Corinna Vinschen [Wed, 14 May 2008 10:21:22 +0000 (10:21 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Drop
explicit transformation of special DOS chars.
* strfuncs.cc (sys_wcstombs): Always transform UNICODE private use area
back to ASCII.

16 years ago * include/cygwin/stdlib.h (initstate): Declare.
Corinna Vinschen [Tue, 13 May 2008 13:56:06 +0000 (13:56 +0000)]
* include/cygwin/stdlib.h (initstate): Declare.
(setstate): Declare.

16 years ago * path.cc (path_conv::set_normalized_path): Drop strip_tail argument.
Corinna Vinschen [Tue, 13 May 2008 13:44:04 +0000 (13:44 +0000)]
* path.cc (path_conv::set_normalized_path): Drop strip_tail argument.
Never strip trailing dots and spaces.
* (path_conv::check): Accomodate above change.
* path.h (path_conv::operator=): Ditto
* dtable.cc (build_fh_dev): Ditto.
* fhandler.h (fhandler_base::set_name): Ditto.

* path.cc (transform_chars): Disable converting trailing dots and
spaces.

* path.cc (path_conv::check): Remove two disabled code snippets.

16 years ago * random.cc (initstate): Align to POSIX definition.
Corinna Vinschen [Tue, 13 May 2008 11:40:45 +0000 (11:40 +0000)]
* random.cc (initstate): Align to POSIX definition.
(setstate): Ditto.

16 years ago2008-05-12 Samuel Tardieu <sam@rfc1149.net>
Paolo Bonzini [Mon, 12 May 2008 16:25:40 +0000 (16:25 +0000)]
2008-05-12  Samuel Tardieu  <sam@rfc1149.net>
    Paolo Bonzini  <bonzini@gnu.org>

PR ada/36001
* acx.m4: Add optional parameter to ACX_PROG_GNAT.

16 years ago * src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.
Ian Lance Taylor [Mon, 12 May 2008 04:12:15 +0000 (04:12 +0000)]
* src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.

16 years ago * Makefile.in (DLL_OFILES): Remove _def_time.o.
Corinna Vinschen [Sat, 10 May 2008 18:57:10 +0000 (18:57 +0000)]
* Makefile.in (DLL_OFILES): Remove _def_time.o.
* libc/_def_time.c: Remove.  Move definitions of _DefaultTimeLocale
and _CurrentTimeLocale ...
* libc/strptime.cc: ... here.

16 years ago * include/sys/localedef.h: Remove.
Corinna Vinschen [Thu, 8 May 2008 14:58:11 +0000 (14:58 +0000)]
* include/sys/localedef.h: Remove.
* libc/strptime.cc: Define _TimeLocale and declare _CurrentTimeLocale
as well as _DefaultTimeLocale locally for Cygwin.

16 years ago * Makefile.in (DLL_OFILES): Add _def_time.o. Remove timelocal.o.
Corinna Vinschen [Thu, 8 May 2008 14:41:47 +0000 (14:41 +0000)]
* Makefile.in (DLL_OFILES): Add _def_time.o.  Remove timelocal.o.
* include/sys/localedef.h: New file from NetBSD.
* libc/_def_time.c: Ditto.
* libc/getopt.c: Update to latest OpenBSD version 1.23.
* libc/strptime.cc: Replace FreeBSD version 1.35 with latest NetBSD
version 1.28.
* libc/timelocal.cc: Remove.
* libc/timelocal.h: Remove.

16 years ago2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
Chris Sutcliffe [Wed, 7 May 2008 02:35:16 +0000 (02:35 +0000)]
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>

        * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
        * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.

16 years agoFix typo and commit the write header
Chris Sutcliffe [Tue, 6 May 2008 01:25:05 +0000 (01:25 +0000)]
Fix typo and commit the write header

16 years ago2008-05-05 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 5 May 2008 22:43:47 +0000 (22:43 +0000)]
2008-05-05  Ken Werner  <ken.werner@de.ibm.com>

        * spu/readlink.c: Align readlink implementation to POSIX.

16 years ago2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
Chris Sutcliffe [Sun, 4 May 2008 12:18:52 +0000 (12:18 +0000)]
2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>

        * include/sys/time.h (useconds_t): typedef.
        * include/unistd.h (usleep): Add prototype.
        * mingwex/usleep.c: New file.
        * mingwex/makefile.in: Add usleep source and object.

16 years ago2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
Chris Sutcliffe [Sat, 3 May 2008 02:19:22 +0000 (02:19 +0000)]
2008-05-02  Ramiro Polla  <ramiro@lisha.ufsc.br>

        * include/vfw.h (WM_CAP_SET_CALLBACK_ERRORA, WM_CAP_SET_CALLBACK_ERRORW,
        WM_CAP_SET_CALLBACK_STATUS, WM_CAP_SET_CALLBACK_YIELD,
        WM_CAP_SET_CALLBACK_FRAMEA, WM_CAP_SET_CALLBACK_FRAMEW,
        WM_CAP_SET_CALLBACK_VIDEOSTREAM, WM_CAP_SET_CALLBACK_WAVESTREAM,
        WM_CAP_GET_USER_DATA, WM_CAP_SET_USER_DATA, WM_CAP_DRIVER_CONNECT,
        WM_CAP_DRIVER_DISCONNECT, WM_CAP_DRIVER_GET_NAMEA, WM_CAP_DRIVER_GET_NAMEW,
        WM_CAP_DRIVER_GET_VERSIONA, WM_CAP_DRIVER_GET_VERSIONW,
        WM_CAP_DRIVER_GET_CAPS, WM_CAP_FILE_SET_CAPTURE_FILEA,
        WM_CAP_FILE_SET_CAPTURE_FILEW, WM_CAP_FILE_GET_CAPTURE_FILEA,
        WM_CAP_FILE_GET_CAPTURE_FILEW, WM_CAP_FILE_ALLOCATE, WM_CAP_FILE_SAVEASA,
        WM_CAP_FILE_SAVEASW, WM_CAP_FILE_SET_INFOCHUNK, WM_CAP_FILE_SAVEDIBA,
        WM_CAP_FILE_SAVEDIBW, WM_CAP_EDIT_COPY, WM_CAP_SET_AUDIOFORMAT,
        WM_CAP_GET_AUDIOFORMAT, WM_CAP_DLG_VIDEOFORMAT, WM_CAP_DLG_VIDEOSOURCE,
        WM_CAP_DLG_VIDEODISPLAY, WM_CAP_GET_VIDEOFORMAT, WM_CAP_SET_VIDEOFORMAT,
        WM_CAP_DLG_VIDEOCOMPRESSION, WM_CAP_SET_PREVIEW, WM_CAP_SET_OVERLAY,
        WM_CAP_SET_PREVIEWRATE, WM_CAP_SET_SCALE, WM_CAP_GET_STATUS,
        WM_CAP_SET_SCROLL, WM_CAP_GRAB_FRAME, WM_CAP_GRAB_FRAME_NOSTOP,
        WM_CAP_SEQUENCE, WM_CAP_SEQUENCE_NOFILE, WM_CAP_SET_SEQUENCE_SETUP,
        WM_CAP_GET_SEQUENCE_SETUP, WM_CAP_SET_MCI_DEVICEA, WM_CAP_SET_MCI_DEVICEW,
        WM_CAP_GET_MCI_DEVICEA, WM_CAP_GET_MCI_DEVICEW, WM_CAP_STOP, WM_CAP_ABORT,
        WM_CAP_SINGLE_FRAME_OPEN, WM_CAP_SINGLE_FRAME_CLOSE, WM_CAP_SINGLE_FRAME,
        WM_CAP_PAL_OPENA, WM_CAP_PAL_OPENW, WM_CAP_PAL_SAVEA, WM_CAP_PAL_SAVEW,
        WM_CAP_PAL_PASTE, WM_CAP_PAL_AUTOCREATE, WM_CAP_PAL_MANUALCREATE,
        WM_CAP_SET_CALLBACK_CAPCONTROL, WM_CAP_SET_CALLBACK_ERROR,
        WM_CAP_SET_CALLBACK_FRAME, WM_CAP_DRIVER_GET_NAME,
        WM_CAP_DRIVER_GET_VERSION, WM_CAP_FILE_SET_CAPTURE_FILE,
        WM_CAP_FILE_GET_CAPTURE_FILE, WM_CAP_FILE_SAVEAS, WM_CAP_FILE_SAVEDIB,
        WM_CAP_SET_MCI_DEVICE, WM_CAP_GET_MCI_DEVICE, WM_CAP_PAL_OPEN,
        WM_CAP_PAL_SAVE, capSetCallbackOnError, capSetCallbackOnStatus,
        capSetCallbackOnYield, capSetCallbackOnFrame, capSetCallbackOnVideoStream,
        capSetCallbackOnWaveStream, capGetUserData, capSetUserData,
        capDriverConnect, capDriverDisconnect, capDriverGetName,
        capDriverGetVersion, capDriverGetCaps, capFileSetCaptureFile,
        capFileGetCaptureFile, capFileAlloc, capFileSaveAs, capFileSetInfoChunk,
        capFileSaveDIB, capEditCopy, capSetAudioFormat, capGetAudioFormat,
        capGetAudioFormatSize, capDlgVideoFormat, capDlgVideoSource,
        capDlgVideoDisplay, capGetVideoFormat, capGetVideoFormatSize,
        capSetVideoFormat, capDlgVideoCompression, capPreview, capOverlay,
        capPreviewRate, capPreviewScale, capGetStatus, capSetScrollPos,
        capGrabFrame, capGrabFrameNoStop, capCaptureSequence,
        capCaptureSequenceNoFile, capCaptureSetSetup, capCaptureGetSetup,
        capSetMCIDeviceName, capGetMCIDeviceName, capCaptureStop, capCaptureAbort,
        capCaptureSingleFrameOpen, capCaptureSingleFrameClose,
        capCaptureSingleFrame, capPaletteOpen, capPaletteSave, capPalettePaste,
        capPaletteAuto, capPaletteManual, capSetCallbackOnCapControl): Define.
        (CAPDRIVERCAPS, *LPCAPDRIVERCAPS, CAPINFOCHUNK, *LPCAPINFOCHUNK, CAPSTATUS,
        *LPCAPSTATUS, CAPTUREPARMS, *LPCAPTUREPARMS, VIDEOHDR, *LPVIDEOHDR): typedef.

16 years ago2008-04-02 Ramiro Polla <ramiro@lisha.ufsc.br>
Chris Sutcliffe [Sat, 3 May 2008 02:13:48 +0000 (02:13 +0000)]
2008-04-02 Ramiro Polla  <ramiro@lisha.ufsc.br>

        Make strtod() conform to C99.

        * include/stdlib.h (strtod): Declare this mingwex function, and...
        (_strtod): rename this MSVCRT counterpart.

        * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.

16 years ago2008-05-01 Bart Oldeman <bartoldeman@users.sf.net>
Chris Sutcliffe [Sat, 3 May 2008 02:05:46 +0000 (02:05 +0000)]
2008-05-01  Bart Oldeman  <bartoldeman@users.sf.net>

        * include/winuser.h (DEVICE_NOTIFY_WINDOW_HANDLE,
        DEVICE_NOTIFY_SERVICE_HANDLE): remove duplicate definition.

16 years ago * libc/include/stdint.h (SIZE_MIN): Remove.
Mark Mitchell [Fri, 2 May 2008 14:52:56 +0000 (14:52 +0000)]
* libc/include/stdint.h (SIZE_MIN): Remove.
(SIZE_MAX): Define.
* testsuite/newlib.stdlib/stdlib.exp: New.
* testsuite/newlib.stdlib/size_max.c: Likewise.

16 years ago * sysv_msg.cc: Add fix from upstream version 1.65.
Corinna Vinschen [Wed, 30 Apr 2008 19:09:40 +0000 (19:09 +0000)]
* sysv_msg.cc: Add fix from upstream version 1.65.
(msgsnd): Call msleep with timeout value.  Handle EWOULDBLOCK.  Make
sure it's clear from where msleep has been called in debug output.
(msgrcv): Make sure it's clear from where msleep has been called in
debug output.

16 years ago * dtable.cc (dtable::release): Drop fixup_before handling.
Corinna Vinschen [Wed, 30 Apr 2008 09:51:38 +0000 (09:51 +0000)]
* dtable.cc (dtable::release): Drop fixup_before handling.
(dtable::fixup_before_fork): Remove.
(dtable::fixup_before_exec): Remove.
* dtable.h (class dtable): Remove cnt_need_fixup_before member.
(dtable::dtable): Accommodate above change.
(dtable::dec_need_fixup_before): Remove.
(dtable::inc_need_fixup_before): Remove.
(dtable::need_fixup_before): Remove.
(dtable::fixup_before_exec): Remove declaration.
(dtable::fixup_before_fork): Ditto.
* fhandler.h (fhandler_base::fixup_before_fork_exec): Remove.
(fhandler_base::need_fixup_before): Remove.
* fork.cc (frok::parent): Drop fixup_before handling.
* spawn.cc (spawn_guts): Ditto.

16 years ago * mount.cc (is_unc_share): Allow \\?\ prefix as well. Enhance comment.
Corinna Vinschen [Wed, 30 Apr 2008 08:49:23 +0000 (08:49 +0000)]
* mount.cc (is_unc_share): Allow \\?\ prefix as well.  Enhance comment.
(mount_info::from_fstab): Remove patch from 2008-04-29.

* mount.cc (mount_info::conv_to_posix_path): Simplify test for native
UNC path.
* path.cc (normalize_win32_path): Ditto.
(symlink_worker): Ditto.
(symlink_info::posixify): Ditto.
(cygwin_conv_path): Ditto.

16 years agoFix 2008-04-14 regression in asprintf(ptr,"").
Eric Blake [Wed, 30 Apr 2008 02:47:14 +0000 (02:47 +0000)]
Fix 2008-04-14 regression in asprintf(ptr,"").

* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
baggage.
* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
* libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
* libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
* libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
* libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
an initial buffer for asprintf.

16 years ago * mount.cc (mount_info::from_fstab): Skip native path prefix in
Corinna Vinschen [Tue, 29 Apr 2008 20:48:09 +0000 (20:48 +0000)]
* mount.cc (mount_info::from_fstab): Skip native path prefix in
module path.

16 years ago * syscalls.cc (rename): Use volume serial numbers stored in path_conv
Corinna Vinschen [Tue, 29 Apr 2008 09:24:54 +0000 (09:24 +0000)]
* syscalls.cc (rename): Use volume serial numbers stored in path_conv
rather than fetching them here for the "same file" test.  Change
comment to reflect this.

16 years ago * mips.h (INSN_MACRO): Move it up to the the pinfo macros.
Adam Nemet [Mon, 28 Apr 2008 16:59:27 +0000 (16:59 +0000)]
* mips.h (INSN_MACRO): Move it up to the the pinfo macros.
(INSN2_M_FP_S, INSN2_M_FP_D): New pinfo2 macros.

16 years ago * path.cc (symlink_info::check): Avoid special handling for
Corinna Vinschen [Mon, 28 Apr 2008 16:01:54 +0000 (16:01 +0000)]
* path.cc (symlink_info::check): Avoid special handling for
STATUS_BUFFER_OVERFLOW when calling NtQueryDirectoryFile.
* strace.cc (strace::vprntf): Use bigger buffer.

16 years ago * kernel32.cc (CreateFileMappingW): Remove stray small_printf.
Corinna Vinschen [Mon, 28 Apr 2008 11:13:03 +0000 (11:13 +0000)]
* kernel32.cc (CreateFileMappingW): Remove stray small_printf.

16 years ago * autoload.cc (IsWow64Process): Remove.
Corinna Vinschen [Mon, 28 Apr 2008 08:47:06 +0000 (08:47 +0000)]
* autoload.cc (IsWow64Process): Remove.
(Wow64DisableWow64FsRedirection): Remove.
(Wow64RevertWow64FsRedirection): Remove.
* ntdll.h (enum _PROCESSINFOCLASS): Define ProcessWow64Information.
* init.cc (respawn_wow64_process): Use NtQueryInformationProcess to
get WOW64 state.
* wincap.cc (wincapc::init): Ditto.
* wincap.h (wincapc::wow64): Change type to ULONG.

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