c4ccbcce6c2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-07-11 18:09:08 +0000
7223b8cd03[mingw-Bugs-1750898] * include/mmsystem.h (MIXERCONTROL): Correct UNICODE mapping. Thanks to Yuji Kuwabara <yujikuwabara at sf dot net>
Danny Smith
2007-07-10 08:06:00 +0000
be1cabba23* debug.cc (close_handle): Change debug output format slightly. * dlfcn.cc (dlclose): Don't close handle returned from GetModuleHandle(NULL). * fhandler.h (fhandler_pipe::create): Remove obsolete argument. (fhandler_pipe::create): Ditto. * fhandler.cc (fhandler_pipe::create): Ditto. (fhandler_pipe::create): Ditto.
Christopher Faylor
2007-07-10 01:21:03 +0000
99b0856099* strace.cc (usage): Add missing description for -q.
Christopher Faylor
2007-07-10 00:57:30 +0000
5c8891e962* cygwin/strsig.cc (__signals): New macro. (sys_sigabbrev): New array of signal strings, patterned after linux. (siglist): Use __signals. * cygwin/include/cygwin/signal.h (sys_sigabbrev): Define. * cygwin/include/cygwin/version.h: Bump API minor version to 177.
Christopher Faylor
2007-07-10 00:12:54 +0000
0c1207099c.
Roland McGrath
2007-07-09 21:21:50 +0000
83205b51882007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath
2007-07-09 21:21:42 +0000
2dbc91dfc72007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath
2007-07-09 21:17:42 +0000
281bd334ac* dir.cc (closedir): Revert change from 2007-06-29. * fhandler.h (dirent_valid_fd): Drop. * fhandler_disk_file.cc (fhandler_disk_file::opendir): If opening a real dir, use the underlying fhandler to keep track of the directory handle. In fdopendir case use original io_handle from fhandler. Use fhandler's io_handle in subsequent directory functions throughout. Create handle non-inheritable and set close-on-exec flag. (readdir_get_ino): Drop dirent_isroot case. (fhandler_disk_file::readdir): Handle dirent_isroot case here. (fhandler_disk_file::rewinddir): Revert change from 2007-07-05. Use NtClose instead of CloseHandle. * fhandler_virtual.cc (fhandler_virtual::opendir): Drop adding dirent_valid_fd flag. Set close-on-exec flag.
Corinna Vinschen
2007-07-09 17:02:37 +0000
bffcbe34beImport patch from FSF gcc sources to add support for building windmc tool.
Nick Clifton
2007-07-09 09:16:05 +0000
8d2008a317[mingw-Bugs-1749305] * lib/kernel32.def (GetConsoleProcessList@8): Add export.
Danny Smith
2007-07-09 08:56:22 +0000
b85bae86cd* Makefile.in (DLL_OFILES): Add newly-imported random.o. Eliminate reliance on libiberty. * random.cc: Import from FreeBSD. Modify for Cygwin environment. * include/cygwin/stdlib.h (random): Reflect change in return value to be more linux/freebsd-like. (srandom): Ditto.
Christopher Faylor
2007-07-08 15:04:34 +0000
f3c7a5c457Add initial FreeBSD version of random.c
Christopher Faylor
2007-07-08 14:59:47 +0000
e19e357043update copyright
Christopher Faylor
2007-07-07 17:29:20 +0000
d9c0e3ec35Preliminary 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.
Christopher Faylor
2007-07-07 17:00:33 +0000
c467d17e7c* times.cc: Define __timezonefunc__ before including time.h to protect definition of timezone function.
Corinna Vinschen
2007-07-04 10:43:29 +0000
0d9cddc377* include/cygwin/time.h: Switch to timezone variable by default. Add comment.
Corinna Vinschen
2007-07-04 09:56:15 +0000
9cb64a070d* include/oaidl.h: Include windows.h and ole2.h, unless COM_NO_WINDOWS_H.
Danny Smith
2007-07-02 02:52:56 +0000
2d28574cc2* include/ws2tcpip.h (s6_addr32): Correct definition, Thanks to Alfred E. Heggestad <aeh at db dot org>
Danny Smith
2007-07-01 10:09:12 +0000
a0f886b059bfd: * elf32-ppc.c (ppc_elf_merge_obj_attributes): New. (ppc_elf_merge_private_bfd_data): Call it.
Joseph Myers
2007-06-30 00:03:40 +0000
a66448fc8dbfd: * elfxx-mips.c (mips_elf_merge_obj_attributes): New. (_bfd_mips_elf_merge_private_bfd_data): Call it.
Joseph Myers
2007-06-29 16:41:32 +0000
40570a828e* 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.
Corinna Vinschen
2007-06-29 15:13:01 +0000
8931495a14New port: National Semiconductor's CR16
Nick Clifton
2007-06-29 14:09:34 +0000
a25361ff0f* configure.ac: Don't add target-libmudflap to noconfigdirs for uclinux and linux-uclibc targets. * configure: Regenerate.
Bernd Schmidt
2007-06-29 11:33:56 +0000
b363c819dd* mingwex/gdtoa/mingw_snprintf.c: New file. * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c. (GDTOA_OBJS): Add mingw_snprintf.O.
Danny Smith
2007-06-29 10:11:57 +0000
d802576ca1* cygwin-api.in.sgml: Remove authorgroup and revhistory. * cygwin-ug.in.sgml: Add Joshua Daniel Franklin to authorgroup. Remove revhistory. * legal.sgml: Update dates.
Corinna Vinschen
2007-06-29 07:36:54 +0000
64fdc12ed5* include/cygwin/version.h: Fix comment typo.
Brian Dessent
2007-06-28 22:45:49 +0000
2ece921728* configure.ac (arm*-*-linux-gnueabi): Don't build libgloss if we're not building newlib. * configure: Regenerated.
DJ Delorie
2007-06-28 19:31:44 +0000
3e96da0b53* 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.
Corinna Vinschen
2007-06-28 17:55:01 +0000
5d8b97a694* 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.
Corinna Vinschen
2007-06-28 17:07:23 +0000
a4b5a24055* 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.
Danny Smith
2007-06-28 07:13:04 +0000
41391cb2bb* 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.
Corinna Vinschen
2007-06-27 17:08:19 +0000
048e00e01d* assert.cc (__assert_func): New function, to match newlib header change. * cygwin.din: Export __assert_func. * include/cygwin/version.h: Bump API minor number.
Eric Blake
2007-06-27 12:46:35 +0000
3473e6bd7bSupport __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.
Eric Blake
2007-06-27 12:44:41 +0000
155911241c* src-release (DEVO_SUPPORT): Correct typos.
Daniel Jacobowitz
2007-06-22 15:48:08 +0000
8820b5ec12* mingwex/Makefile.in (LIB_OBJS): Revert accidental removal. Good night all.
Danny Smith
2007-06-22 10:22:49 +0000
e54e4d47f1Add POSIX binary tree search API.
Danny Smith
2007-06-22 10:09:20 +0000
3d7e738f72* include/_mingw.h (__MINGW_NOTHROW): Define.
Danny Smith
2007-06-22 09:19:25 +0000
a71ecb55de* 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.
Corinna Vinschen
2007-06-21 15:57:54 +0000
d3c73d4999* cygwin.din: Export exp10, exp10f, pow10, pow10f, strcasestr, funopen, fopencookie. * include/cygwin/version.h: Bump API minor number. * posix.sgml: Minor improvements.
Corinna Vinschen
2007-06-21 07:22:16 +0000
be977229682007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 21:54:47 +0000
47484065df2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 21:53:01 +0000
d8988870fa2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 21:50:53 +0000
d360ef18652007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 21:49:06 +0000
7f8ec7f1632007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 21:44:54 +0000
72a14088c22007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 21:41:33 +0000
2751142e3c2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 21:38:55 +0000
f75c75183f2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 17:30:58 +0000
38ebd2a6c02007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 17:28:09 +0000
874e5ac68b2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-20 17:24:05 +0000
94b5321ed9* 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.
Daniel Jacobowitz
2007-06-18 15:46:33 +0000
bdcb3ba03c* include/stdio.h (vsnprintf): Remove inline definition. Add prototype.
Danny Smith
2007-06-18 09:50:01 +0000
bae2120761* CRTfmode.c: Nit-pick comment fix.
Danny Smith
2007-06-17 02:12:47 +0000
4818869bda* CRTfmode.c: Fix nested comment.
Christopher Faylor
2007-06-17 00:41:13 +0000
e10b44c2a6* include/string.h (strcasecmp): Fix typo in declaration prototype.
Christopher Faylor
2007-06-17 00:37:00 +0000
4a2c88cdc7* include/search.h: Reinstate node_t definition. * include/sys/cdefs.h: Remove in favor of newlib version.
Christopher Faylor
2007-06-17 00:31:27 +0000
438b07b09f2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-15 16:00:46 +0000
8e4a60b383* 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.
Corinna Vinschen
2007-06-14 16:02:32 +0000
28826d8fb12007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2007-06-14 08:52:42 +0000
e8b9fee01f2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2007-06-14 08:16:37 +0000
adb97e6242* include/io.h (lseek64) : Add prototype.
Danny Smith
2007-06-14 03:05:08 +0000
9958ad7217* include/string.h (strcasecmp): Add prototype. (strncasecmp): Add prototype.
Danny Smith
2007-06-14 03:01:33 +0000
c33ff7855e2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-13 17:55:28 +0000
ae473bdc482007-06-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-06-13 17:50:13 +0000
a8b08518c12007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-13 17:44:24 +0000
8905d0dcfd2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-06-13 17:40:27 +0000
b338158ee6* Makefile.in (CRT0S): Revert last change. * CRTfmode.c. Correct comment.
Danny Smith
2007-06-13 08:26:13 +0000
d25e2751e4* Makefile.in (CRT0S): Add back CRTfmode.o.
Danny Smith
2007-06-13 07:50:18 +0000
5930885278* include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t. * include/io.h: Likewise.
Danny Smith
2007-06-13 07:43:58 +0000
ecd5f070c8* signal.cc (usleep): Use useconds_t for the type as per POSIX.
Christopher Faylor
2007-06-12 20:49:48 +0000
ead5b131e0* 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.
Corinna Vinschen
2007-06-12 15:24:46 +0000
5ef61dd044* fhandler.cc (fhandler_base::fstat): Set pipe permission bits more correctly.
Corinna Vinschen
2007-06-12 08:28:44 +0000
1570432db3* 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.
Corinna Vinschen
2007-06-11 17:38:27 +0000
f4cd2a1d71* libc/include/sys/unistd.h: Declare confstr for Cygwin. Define confstr constants for Cygwin. Add comment.
Corinna Vinschen
2007-06-11 17:33:43 +0000
5218b0a765bfd/ * 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.
Bob Wilson
2007-06-11 16:53:08 +0000
657d7a4610* crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.
Danny Smith
2007-06-11 08:38:16 +0000