OSDN Git Service
gdbadmin [Sun, 15 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
nickc [Sat, 14 Jul 2007 16:19:17 +0000 (16:19 +0000)]
* config/tc-arm.c (create_register_alias): Return a boolean rather than an integer.
Check the return value of insert_reg_alias and do not continue to create aliases once an insertion has failed.
(s_unreq): Delete the all-upper-case and all-lower-case alternatives as well.
* testsuite/gas/arm/arm.s: Add tests for re-aliasing a previously removed alias.
* testsuite/gas/arm/arm.l: Add new expected warning message.
cgf [Sat, 14 Jul 2007 15:58:31 +0000 (15:58 +0000)]
* init.cc (in_dllentry): Delete.
(dll_entry): Remove assignment to deleted variable.
* winsup.h (in_dllentry): Delete declaration.
* exceptions.cc (inside_kernel): Use another method to see if we are in
dll_entry phase.
cgf [Sat, 14 Jul 2007 02:27:11 +0000 (02:27 +0000)]
* init.cc (in_dllentry): Make NO_COPY to avoid spurious false positives.
kevinb [Sat, 14 Jul 2007 00:15:50 +0000 (00:15 +0000)]
* mep-tdep.c (mep_analyze_prologue): Update comment for BRA
instruction case.
amodra [Sat, 14 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 14 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ericb [Fri, 13 Jul 2007 20:37:53 +0000 (20:37 +0000)]
Fix fflush issues.
* libc/stdio/fflush.c (_fflush_r): New function.
(fflush): Fix reentrancy and large offset behavior.
* libc/include/stdio.h (_fflush_r): Add prototype.
* libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/fseek.c (_fseek_r): Likewise.
* libc/stdio/ftell.c (_ftell_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/setvbuf.c (setvbuf): Likewise.
* libc/stdio/ungetc.c (_ungetc_r): Likewise.
* libc/stdio/vfprintf.c (__sbprintf): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
32-bit version if not large file.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
dj [Fri, 13 Jul 2007 18:23:23 +0000 (18:23 +0000)]
merge from gcc
kevinb [Fri, 13 Jul 2007 17:32:21 +0000 (17:32 +0000)]
* mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ld
(.gcc_except_table): Add pattern for .gcc_except_table.*.
ericb [Fri, 13 Jul 2007 17:07:27 +0000 (17:07 +0000)]
Documentation updates.
* libc/stdio/ungetc.c: Document ungetc.
* libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
of files with documentation.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/stdio.tex: Sort and update stdio documentation index.
roland [Fri, 13 Jul 2007 10:44:44 +0000 (10:44 +0000)]
.
roland [Fri, 13 Jul 2007 10:44:28 +0000 (10:44 +0000)]
2007-07-13 Roland McGrath <roland@redhat.com>
* sha1.h: New file (from gnulib).
* sha1.c: New file (from gnulib).
* Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
(sha1.o): New target.
* Makefile.in: Regenerated.
roland [Fri, 13 Jul 2007 10:44:26 +0000 (10:44 +0000)]
2007-07-13 Roland McGrath <roland@redhat.com>
* emultempl/elf32.em (struct build_id_info): New type.
(gld${EMULATION_NAME}_id_note_section_size): New function.
(gld${EMULATION_NAME}_write_build_id_section): New function.
(gld${EMULATION_NAME}_after_open): Use them.
(DEFAULT_BUILD_ID_STYLE): Change to "sha1".
* ld.texinfo (Options): Mention --build-id=sha1.
roland [Fri, 13 Jul 2007 10:44:12 +0000 (10:44 +0000)]
2007-07-13 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Revert last change.
Add after_write_object_contents, after_write_object_contents_info.
* elf.c (_bfd_elf_write_object_contents): Revert last change.
Instead, call after_write_object_contents if set.
nathan [Fri, 13 Jul 2007 09:09:25 +0000 (09:09 +0000)]
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
amodra [Fri, 13 Jul 2007 07:34:25 +0000 (07:34 +0000)]
* ldlang.c (strip_excluded_output_sections): Don't ignore sections
with update_dot_tree.
gdbadmin [Fri, 13 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
kevinb [Fri, 13 Jul 2007 00:00:12 +0000 (00:00 +0000)]
* mep-tdep.c (IS_BRA, BRA_DISP): New macros.
(mep_analyze_prologue): Add case for BRA instruction.
amodra [Fri, 13 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update
uweigand [Thu, 12 Jul 2007 20:15:23 +0000 (20:15 +0000)]
* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
drow [Thu, 12 Jul 2007 19:59:00 +0000 (19:59 +0000)]
* configure.srv: Set srv_linux_regsets for sh*-*-linux*.
* linux-sh-low.c (sh_fill_gregset, target_regsets): New.
hp [Thu, 12 Jul 2007 13:30:24 +0000 (13:30 +0000)]
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype.
nathan [Thu, 12 Jul 2007 12:57:00 +0000 (12:57 +0000)]
* scripttempl/pe.sc: Don't include .gcc_except_table and
.eh_frame on partial links.
* scripttempl/pep.sc: Likewise.
bernds [Thu, 12 Jul 2007 11:51:39 +0000 (11:51 +0000)]
* configure.ac: Fix my previous change to really match GCC.
* configure: Regenerate.
ironhead [Thu, 12 Jul 2007 11:22:31 +0000 (11:22 +0000)]
2007-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winuser.h (FE_FONTSMOOTHINGSTANDARD, FE_FONTSMOOTHINGCLEARTYPE):
Define.
dannysmith [Thu, 12 Jul 2007 09:42:31 +0000 (09:42 +0000)]
Changelog typo
dannysmith [Thu, 12 Jul 2007 09:38:17 +0000 (09:38 +0000)]
* incude/wchar.h (_wsystem) Declare.
(_wputenv) Declare.
(_wgetenv): Declare.
(_wsearchenv): Declare.
(_wmakepath): Declare.
(_wsplitpath): Declare.
(_wfullpath): Declare.
* incude/stdlib.h (_wsystem) Declare.
(_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath, _wfullpath):
Move into _WSTDLIB_DEFINED guard.
* include/tchar.h (_tsystem): New UNICODE mapping define.
nickrob [Thu, 12 Jul 2007 07:58:38 +0000 (07:58 +0000)]
*** empty log message ***
nickrob [Thu, 12 Jul 2007 07:57:57 +0000 (07:57 +0000)]
(Server Prefix): New node. Adapt from existing node
in annotate.texinfo.
(Command History): Link to new node.
dannysmith [Thu, 12 Jul 2007 07:54:50 +0000 (07:54 +0000)]
* include/winuser.h: (PBT_APMQUERYSUSPEND, PBT_APMQUERYSTANDBY,
PBT_APMQUERYSUSPENDFAILED, PBT_APMQUERYSTANDBYFAILED,
PBT_APMSUSPEND, PBT_APMSTANDBY, PBT_APMRESUMECRITICAL,
PBT_APMRESUMESUSPEND, PBT_APMRESUMESTANDBY, PBT_APMBATTERYLOW,
PBT_APMPOWERSTATUSCHANGE, PBT_APMOEMEVENT, PBT_APMRESUMEAUTOMATIC):
Sync with include/pbt.h.
nickc [Thu, 12 Jul 2007 07:28:27 +0000 (07:28 +0000)]
Updated Vietnamese and Dutch translations
nickc [Thu, 12 Jul 2007 07:16:39 +0000 (07:16 +0000)]
Add support for building on a 64-bit Windows host.
dannysmith [Thu, 12 Jul 2007 05:49:17 +0000 (05:49 +0000)]
[mingw-Bugs-
1751518]
* include/mshtml.h (IHTMLDocument2): Correct spelling of put_URL, get_URL.
[mingw-Bugs-
1751565]
* include/basetyps.h (IID); Guard with __IID_DEFINED__
[mingw-Bugs-
1751595]
* include/exdisp.h (DWebBrowserEvents2): Remove undocumented STDDISP
methods.
dj [Thu, 12 Jul 2007 03:10:11 +0000 (03:10 +0000)]
merge from gcc
aoliva [Thu, 12 Jul 2007 02:24:41 +0000 (02:24 +0000)]
* maint-tool (deps): Output stamp-h instead of config.h.
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
amodra [Thu, 12 Jul 2007 01:40:25 +0000 (01:40 +0000)]
PR 4782
* ldlang.c (lang_size_sections_1 <output_section_statement>): Only
use expld.result when valid.
amodra [Thu, 12 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 12 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 11 Jul 2007 22:58:08 +0000 (22:58 +0000)]
* emultempl/spuelf.em (embedded_spu_file): Test for NULL path
before calling base_name, not after.
dj [Wed, 11 Jul 2007 19:12:27 +0000 (19:12 +0000)]
Merge from gcc:
2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Rewrite 'configure --help' strings to look nicer.
* configure: Regenerate.
2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Add some missing m4 quotation.
* configure: Regenerate.
hjl [Wed, 11 Jul 2007 19:09:22 +0000 (19:09 +0000)]
2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
* tls.m4 (GCC_CHECK_CC_TLS): New.
2007-07-05 Sebastian Pop <sebpop@gmail.com>
PR bootstrap/32622
* mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
don't reset its value.
jjohnstn [Wed, 11 Jul 2007 18:09:08 +0000 (18:09 +0000)]
2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h: Fix so C99 functions/macros are accessible
when -std=c99 is used when compiling and not when using C89.
drow [Wed, 11 Jul 2007 15:11:15 +0000 (15:11 +0000)]
* config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
HAVE_64BIT_SYMBOLS.
amodra [Wed, 11 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 11 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
nickrob [Tue, 10 Jul 2007 22:59:42 +0000 (22:59 +0000)]
Include "top.h".
(breakpoint_1): Don't set convenience variable $_ if server prefix
is used.
(_initialize_breakpoint): Describe this behaviour in command help.
nickrob [Tue, 10 Jul 2007 22:58:42 +0000 (22:58 +0000)]
*** empty log message ***
hjl [Tue, 10 Jul 2007 15:03:03 +0000 (15:03 +0000)]
2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Regenerated.
hjl [Tue, 10 Jul 2007 14:51:55 +0000 (14:51 +0000)]
2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp: Add tests for --defsym.
* ld-elfvers/vers32.map: Likewise.
* ld-elfvers/vers32a.c: Likewise.
* ld-elfvers/vers32a.dsym: Likewise.
* ld-elfvers/vers32a.ver: Likewise.
* ld-elfvers/vers32b.c: Likewise.
* ld-elfvers/vers32b.dsym: Likewise.
* ld-elfvers/vers32b.ver: Likewise.
* ld-elfvers/vers32c.dsym: Likewise.
* ld-elfvers/vers32c.ver: Likewise.
* ld-elfvers/vers32d.ver: Likewise.
amodra [Tue, 10 Jul 2007 13:52:39 +0000 (13:52 +0000)]
* objdump.c (dump_dwarf): Correct setting of is_relocatable.
hjl [Tue, 10 Jul 2007 13:49:03 +0000 (13:49 +0000)]
2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4756
* simple.c (bfd_simple_get_relocated_section_content): Don't
apply relocation on executable and shared library.
dannysmith [Tue, 10 Jul 2007 08:05:59 +0000 (08:05 +0000)]
[mingw-Bugs-
1750898]
* include/mmsystem.h (MIXERCONTROL): Correct UNICODE mapping.
Thanks to Yuji Kuwabara <yujikuwabara at sf dot net>
nathan [Tue, 10 Jul 2007 07:42:30 +0000 (07:42 +0000)]
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate
copy relocs on vxworks.
amodra [Tue, 10 Jul 2007 04:53:12 +0000 (04:53 +0000)]
* scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
.gnu.debuglink.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/mep.sc: Likewise.
amodra [Tue, 10 Jul 2007 04:08:11 +0000 (04:08 +0000)]
* elf32-arm.c (elf32_arm_size_info): Init checksum_contents field.
* elf64-alpha.c (alpha_elf_size_info): Likewise.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-mips.c (mips_elf64_size_info): Likewise.
* elf64-s390.c (s390_elf64_size_info): Likewise.
* elf64-sparc.c (elf64_sparc_size_info): Likewise.
hjl [Tue, 10 Jul 2007 02:40:31 +0000 (02:40 +0000)]
2007-07-09 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (bfd_elf_record_link_assignment): Handle indirect
symbol.
(_bfd_elf_merge_symbol): Properly update normal symbol when
overriding the versioned symbol from a dynamic library.
cgf [Tue, 10 Jul 2007 01:21:03 +0000 (01:21 +0000)]
* 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.
cgf [Tue, 10 Jul 2007 00:57:30 +0000 (00:57 +0000)]
* strace.cc (usage): Add missing description for -q.
cgf [Tue, 10 Jul 2007 00:12:54 +0000 (00:12 +0000)]
* 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.
* utils/Makefile.in (kill.exe): Remove reliance on libiberty.
* utils/kill.cc (strsigno): New function patterned after libiberty but using
newly exported cygwin array.
amodra [Tue, 10 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 10 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
roland [Mon, 9 Jul 2007 21:25:39 +0000 (21:25 +0000)]
.
roland [Mon, 9 Jul 2007 21:25:33 +0000 (21:25 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
(gld${EMULATION_NAME}_handle_option): Handle --build-id.
(gld${EMULATION_NAME}_list_options): List --build-id.
(gld${EMULATION_NAME}_after_open): If --build-id was given,
synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
* ld.texinfo (Options): Describe --build-id.
* NEWS: Mention --build-id.
roland [Mon, 9 Jul 2007 21:23:51 +0000 (21:23 +0000)]
.
roland [Mon, 9 Jul 2007 21:23:43 +0000 (21:23 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.
roland [Mon, 9 Jul 2007 21:23:39 +0000 (21:23 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.
* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.
roland [Mon, 9 Jul 2007 21:23:37 +0000 (21:23 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.
roland [Mon, 9 Jul 2007 21:21:50 +0000 (21:21 +0000)]
.
roland [Mon, 9 Jul 2007 21:21:42 +0000 (21:21 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id.
roland [Mon, 9 Jul 2007 21:19:55 +0000 (21:19 +0000)]
.
roland [Mon, 9 Jul 2007 21:19:51 +0000 (21:19 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* readelf.c (get_gnu_elf_note_type): New function.
(process_note): Use it for "GNU" name.
roland [Mon, 9 Jul 2007 21:17:45 +0000 (21:17 +0000)]
.
roland [Mon, 9 Jul 2007 21:17:42 +0000 (21:17 +0000)]
2007-07-09 Roland McGrath <roland@redhat.com>
* common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
corinna [Mon, 9 Jul 2007 17:02:37 +0000 (17:02 +0000)]
* 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.
nickc [Mon, 9 Jul 2007 09:16:04 +0000 (09:16 +0000)]
Import patch from FSF gcc sources to add support for building windmc tool.
dannysmith [Mon, 9 Jul 2007 08:56:22 +0000 (08:56 +0000)]
[mingw-Bugs-
1749305]
* lib/kernel32.def (GetConsoleProcessList@8): Add export.
amodra [Mon, 9 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 9 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
palves [Sun, 8 Jul 2007 19:37:46 +0000 (19:37 +0000)]
* win32-low.c (handle_output_debug_string): Ignore event if not
waiting.
palves [Sun, 8 Jul 2007 19:31:10 +0000 (19:31 +0000)]
* solib-target.c (library_list_start_segment): Cast address to
CORE_ADDR.
cgf [Sun, 8 Jul 2007 15:04:33 +0000 (15:04 +0000)]
* 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.
cgf [Sun, 8 Jul 2007 14:59:47 +0000 (14:59 +0000)]
Add initial FreeBSD version of random.c
schwab [Sun, 8 Jul 2007 14:31:20 +0000 (14:31 +0000)]
* Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
(CFILES): Add unwind-ia64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
schwab [Sun, 8 Jul 2007 12:57:07 +0000 (12:57 +0000)]
* Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
(CFILES): Add unwind-ia64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
palves [Sun, 8 Jul 2007 00:25:30 +0000 (00:25 +0000)]
* win32-arm-low.c (arm_wince_breakpoint): Fix typo.
gdbadmin [Sun, 8 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 8 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Sat, 7 Jul 2007 17:29:20 +0000 (17:29 +0000)]
update copyright
cgf [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.
cgf [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.
cgf [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.
cgf [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.
cgf [Sat, 7 Jul 2007 16:43:03 +0000 (16:43 +0000)]
* fork.cc: White space.
* net.cc: Ditto.
* posix_ipc.cc: Ditto.
gdbadmin [Sat, 7 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 7 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update
corinna [Fri, 6 Jul 2007 20:09:23 +0000 (20:09 +0000)]
* times.cc (gettimeofday): Align definition to POSIX.
corinna [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.
corinna [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.
corinna [Fri, 6 Jul 2007 19:55:43 +0000 (19:55 +0000)]
* CYGWIN_LICENSE: Fix URL to world-wide offices.