summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-05-032-0/+5
| | | | * testsuite/include/check.h (CHECK): Add flush of stdout.
* 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-05-033-6/+28
| | | | | | | * libc/include/stdio.h (_ungetc_r): New prototype. * libc/stdio/ungetc.c (_ungetc_r): New reentrant function. (__submore): Add reentrant struct pointer argument. (ungetc): Change to call _ungetc_r.
* * dir.cc (writable_directory): Remove.Corinna Vinschen2004-05-034-51/+8
| | | | | | | (mkdir): Remove call to writable_directory. * syscalls.cc (unlink): Ditto. (rename): Ditto. * winsup.h (writable_directory): Remove declaration.
* 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-05-012-0/+2
| | | | | | | * include/winbase.h (EXECUTION_STATE): Add typedef. (SetThreadExecutionState): Declare. * include/wingdi.h (_WINGDI_): Define. * include/objbase.h (_OBJBASE_H_): Define.
* * fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_pathCorinna Vinschen2004-04-304-20/+40
| | | | | | | for evaluating NT path. * path.cc (normalize_posix_path): Remove trailing dots and spaces. (path_conv::get_nt_native_path): New function. * path.h (class path_conv): Declare get_nt_native_path method.
* 2004-04-29 Bart Oldeman <bartoldeman@users.sourceforge.net>Luke Dunstan2004-04-305-328/+335
| | | | | | | * include/objbase.h (STGOPTIONS): Correct pwcsTemplateFile type. * include/aclui.h: Remove '\r', throughout. * include/msacm.h: Likewise. * lib/aclui.def: Likewise.
* * fhandler.cc (fhandler_base::open): Fix NT native path evaluationCorinna Vinschen2004-04-302-10/+20
| | | | to allow opening serial ports.
* * init.cc (threadfunc_fe): Hack to make thread stacks always 16Corinna Vinschen2004-04-302-0/+7
| | | | byte aligned.
* 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-04-283-5/+13
| | | | | | | | * libc/stdio/local.h (_fwalk_reent): Specify prototype of function pointer argument. * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes to specify function pointer arguments. (__fwalk, __fwalk_reent): Ditto.
* 2004-04-28 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-04-283-0/+19
| | | | | | | | | | | | * lib/comctl32.def (SetWindowSubclass): Add stub. Thanks to Eugene <egladysh@users.sourceforge.net>. 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net> * include/winbase.h (EXECUTION_STATE): Add typedef. (SetThreadExecutionState): Declare. * include/wingdi.h (_WINGDI_): Define. * include/objbase.h (_OBJBASE_H_): Define.
* merge from gcc:DJ Delorie2004-04-271-0/+6
| | | | | | | 2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for Ada compilation. Fix acx_cv_cc_gcc_supports_ada spelling.
* merge from gcc:DJ Delorie2004-04-277-82/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-27 Paolo Bonzini <bonzini@gnu.org> Revert: 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends. * Makefile.tpl (all-bootstrap): Use it. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. 2004-04-23 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc): Always relocate gcc and prev-gcc to the original names, even if the build fails. (new-cleanstrap, new-restage1, new-restage2, new-restage3): New targets.
* * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo inAldy Hernandez2004-04-262-0/+7
| | | | CT_INT case.
* [ bfd/ChangeLog ]Chris Demetriou2004-04-242-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-24 Chris Demetriou <cgd@broadcom.com> * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. (bfd_elf32_bfd_reloc_type_lookup): Remove cases for BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, and BFD_RELOC_32_PCREL. (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. (mips_elf_next_relocation): Move comment about matching HI/LO relocations to... (_bfd_mips_elf_relocate_section): Here. Remove handling for R_MIPS_GNU_REL_HI16. [ include/elf/ChangeLog ] 2004-04-24 Chris Demetriou <cgd@broadcom.com> * mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16) (R_MIPS_GNU_REL_HI16): Remove. (R_MIPS_GNU_REL16_S2): Update comment. [ ld/testsuite/ChangeLog ] 2004-04-24 Chris Demetriou <cgd@broadcom.com> * ld-elf/merge.d: XFAIL on all MIPS targets.
* [ bfd/ChangeLog ]Chris Demetriou2004-04-243-55/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-23 Chris Demetriou <cgd@broadcom.com> * coff-mips.c (mips_relhi_reloc, mips_rello_reloc) (mips_switch_reloc, mips_read_relocs, mips_relax_section) (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, and update comments to reflect current usage. (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, and MIPS_R_SWITCH, as well as several empty entries. Update comment for MIPS_R_PCREL16. (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation type number to be MIPS_R_PCREL16. (mips_relocate_section): Remove support for link-time relaxation of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. * ecoff.c (ecoff_indirect_link_order): Remove support for link-time relaxation of branches used by embedded-PIC. * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC related members, update comment. * pe-mips.c: Remove disabled (commented-out and #if 0'd) code related to embedded-PIC. * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove initialization of now-removed 'adjust' member of 'struct ecoff_debug_info'. [ include/coff/ChangeLog ] 2004-04-23 Chris Demetriou <cgd@broadcom.com> * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove (MIPS_R_PCREL16): Update comment. * ecoff.h (struct ecoff_value_adjust): Remove structure. (struct ecoff_debug_info): Remove 'adjust' member.
* 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-04-2336-99/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Define _MB_CAPABLE if mb supported. * configure: Regenerated. * configure.host: Remove manual setting of MB_CAPABLE compiler flag. * newlib.hin: Add _MB_CAPABLE flag. * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h> and check for _MB_CAPABLE flag instead of MB_CAPABLE. * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto. * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto. * libc/ctype/jp2uc.c: Ditto. * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto. * libc/locale/locale.c: Ditto * libc/machine/powerpc/vfscanf.c: Ditto * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto * libc/stdlib/mblen.c: Ditto * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto * libc/sys/linux/intl/explodename.c: Ditto * libc/sys/linux/intl/finddomain.c: Ditto * libc/sys/linux/intl/l10nflist.c: Ditto * libc/sys/linux/intl/loadmsgcat.c: Ditto * libc/sys/linux/intl/localealias.c: Ditto
* 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-04-232-30/+58
| | | | | | | | | * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define. (__svfscanf_r): In integer conversions, leave out leading zeroes which are not part of a base prefix. Keep track of width truncation to fit into buf, not counting left-out zeroes against width till the truncation has been compensated for. This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
* 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-04-232-0/+6
| | | | * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
* 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-04-2379-1090/+1435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/asprintf.c libc/stdio/clearerr.c, libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c, libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c, libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c, libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c, libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c, libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c, libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c, libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c, libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c, libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c, libc/stdio/getchar.c libc/stdio/getchar_u.c, libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c, libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h, libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c, libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c, libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c, libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c, libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c, libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c, libc/stdio/setlinebuf.c libc/stdio/setvbuf.c, libc/stdio/siprintf.c libc/stdio/snprintf.c, libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c, libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c, libc/stdio/vasprintf.c libc/stdio/vfieeefp.h, libc/stdio/vfprintf.c libc/stdio/vfscanf.c, libc/stdio/vprintf.c libc/stdio/vscanf.c, libc/stdio/vsnprintf.c libc/stdio/vsprintf.c, libc/stdio/vsscanf.c libc/stdio/wbuf.c, libc/stdio/wsetup.c: Perform minor formatting changes. Move copyright notices to top of file, ensure that <_ansi.h> is included, be consistent with open parentheses, use _DEFUN macro, include "local.h" where needed, and remove various compiler warnings.
* 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-04-233-2/+19
| | | | | | | | | | * include/winuser.h (SM_IMMENABLED, SM_CXFOCUSBORDER, SM_CYFOCUSBORDER, SM_TABLETPC, SM_MEDIACENTER): Add defines. (SM_CMETRICS): Adjust value. * include/winnt.h (PROCESSOR_ARCHITECTURE_MSIL): Correct define. (PROCESSOR_ARCHITECTURE_AMD64, PROCESSOR_ARCHITECTURE_IA32_ON_WIN64): Add defines. Thanks to Benoit Blanchon <benoit.blanchon@free.fr>
* 2004-04-24 Justin Forest <vhex@users.sourceforge.net>Luke Dunstan2004-04-232-0/+26
| | | | | | | | | * include/winsock2.h (LUP_DEEP, LUP_CONTAINERS, LUP_NOCONTAINERS, LUP_NEAREST, LUP_RETURN_NAME, LUP_RETURN_TYPE, LUP_RETURN_VERSION, LUP_RETURN_COMMENT, LUP_RETURN_ADDR, LUP_RETURN_BLOB, LUP_RETURN_ALIASES, LUP_RETURN_QUERY_STRING, LUP_RETURN_ALL, LUP_RES_SERVICE, LUP_FLUSHCACHE, LUP_FLUSHPREVIOUS): Add defines.
* 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-04-232-0/+9
| | | | | * include/windns.h (DNSREC_QUESTION, DNSREC_ANSWER, DNSREC_AUTHORITY, DNSREC_ADDITIONAL): Add defines.
* 2004-04-23 Robert Wruck <wruck@tweerlei.de>Luke Dunstan2004-04-232-0/+6
| | | | * include/commctrl.h (LPNMLVDISPINFO): Add defines.
* 2004-04-23 Robert Wruck <wruck@tweerlei.de>Luke Dunstan2004-04-234-0/+148
| | | | | | * include/aclui.h: New file. * lib/aclui.def: New file. * lib/test.c: Add aclui.h to includes.
* 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>Jeff Johnston2004-04-222-17/+46
| | | | | | | | * libc/stdio/vfscanf.c (NNZDIGITS): New define. (__svfscanf_r): In integer conversions, leave out leading zeroes which are not part of a base prefix. Keep track of width truncation to fit into buf, not counting left-out zeroes against width till the truncation has been compensated for.
* merge from gccDJ Delorie2004-04-222-4/+12
|
* * strncasecmp.c: Reword copyright and disclaimer. Move ContributorsEarnie Boyd2004-04-222-18/+6
| | | | section to CONTRIBUTORS file. Remove RCS tags.
* CORRECTION:Earnie Boyd2004-04-222-3/+4
| | | | * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
* * DISCLAIMER: Add words about "free to use".Earnie Boyd2004-04-224-2/+26
| | | | | | | | | | * README: Modify "Win32 runtime" to "Microsoft C Runtime". * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and README. (inst_docdir): New variable. (INSTDOCS): Ditto. (FLAGS_TO_PASS): Include inst_docdir. (install-dirs): Add inst_docdir. (install): Add loop for INSTDOCS.
* Add support for ColdFire MAC instructions and tidy up support for other m68kNick Clifton2004-04-222-6/+28
| | | | variants.
* * mingwex/math/lround.c: Rewrite.Danny Smith2004-04-227-116/+101
| | | | | | | | * mingwex/math/lroundf.c: Rewrite. * mingwex/math/lroundl.c: Rewrite. * mingwex/math/llround.c: Rewrite. * mingwex/math/llroundf.c: Rewrite. * mingwex/math/llroundl.c: Rewrite.
* * syscalls.cc (lseek64): Fix debug_printf format string.Corinna Vinschen2004-04-213-2/+12
| | | | | | (truncate64): Ditto. * fhandler.cc (fhandler_base::lseek): Force res to -1 on error.
* * include/winuser.h (SPI_GETACTIVEWINDOWTRACKING,Danny Smith2004-04-212-5/+7
| | | | | SPI_GETACTIVEWNDTRKZORDER, SPI_SETACTIVEWINDOWTRACKING, SPI_SETACTIVEWNDTRKZORDER): Remove duplicate defines.
* * CONTRIBUTORS: New file.Earnie Boyd2004-04-2053-868/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto. * include/sys/locking.h: Ditto. * include/sys/param.h: Ditto. * include/sys/stat.h: Ditto. * include/sys/timeb.h: Ditto. * include/sys/types.h: Ditto. * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto.
* fix commentChristopher Faylor2004-04-201-1/+1
|
* * path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.Christopher Faylor2004-04-202-40/+37
| | | | | | | | * path.cc (normalize_posix_path): Process all Posix paths and map three or more initial slashes to a single one. Simplify processing following two initial slashes. (normalize_win32_path): Make last argument non-optional and do not check for NULL value.
* * fhandler_disk_file.cc (fhandler_base::open_fs): ChangeCorinna Vinschen2004-04-205-46/+66
| | | | | | | | | | | | | | | | set_file_attribute call to indicate that NT security isn't used. (fhandler_disk_file::fchmod): Rearrange to isolate 9x related statements. Do not set FILE_ATTRIBUTE_SYSTEM. (fhandler_disk_file::fchown): Check noop case first. * fhandler.cc (fhandler_base::open9x): Remove ntsec related statements. (fhandler_base::set_name): Do not set namehash. * fhandler.h (fhandler_base::get_namehash): Compute and set namehash if needed. * syscalls.cc (access): Verify that fh is not NULL. Do not set PC_FULL. (chmod): Ditto. (chown_worker): Ditto. (stat_worker): Ditto. Verify if the path exists.
* * include/wingdi.h: Protect non-unicode case of below.Christopher Faylor2004-04-202-3/+9
|
* * include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,Christopher Faylor2004-04-202-0/+7
| | | | LPENUMLOGFONTEXDV with appropriate version check.
* Add support for a .secrel32 x86 reloc to allow DWARF" debug information to usedNick Clifton2004-04-202-0/+4
| | | | with COFF based x86 ports.
* 2004-04-18 Hans Leidekker <hans@it.vu.nl>Luke Dunstan2004-04-202-0/+7
| | | | | * lib/directx/dxguid.c (CLSID_DirectSoundPrivate, DSPROPSETID_DirectSoundDevice): Add defines.
* * libc/include/sys/unistd.h (ttyname_r): Add missing comma.Corinna Vinschen2004-04-202-1/+5
|
* * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.Corinna Vinschen2004-04-202-0/+7
|
* * fhandler.cc (fhandler_base::open): Remove special DEV_FLOPPY_MAJORCorinna Vinschen2004-04-204-9/+13
| | | | | | | treatment. * fhandler_raw.cc (fhandler_dev_raw::open): Simplify write-only case. * fhandler_tape.cc (fhandler_dev_tape::raw_write): Add accidentally dropped condition.
* * fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES whenCorinna Vinschen2004-04-202-1/+6
| | | | only GENERIC_WRITE access is requested.
* 2004-04-20 Adrian Sandor <aditsu@users.sourceforge.net>Luke Dunstan2004-04-202-0/+190
| | | | * include/msacm.h: New file.
* * include/cygwin/mtio.h (GMT_ASYNC): New define.Corinna Vinschen2004-04-192-1/+7
| | | | (MT_ST_ASYNC_WRITES): Remove "Not supported" comment.
* * errno.cc (errmap): Handle ERROR_IO_PENDING.Corinna Vinschen2004-04-197-23/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.cc (fhandler_base::open): Make tape I/O asynchronous. * fhandler.h (class fhandler_dev_tape): Add mt_evt member. * fhandler_tape.cc (mtinfo_drive::initialize): Initialize async_writes. (mtinfo_drive::close): Handle async writes. (mtinfo_drive::read): Add mt_evt parameter. Use overlapped I/O. (mtinfo_drive::async_wait): New function. (mtinfo_drive::write): Add mt_evt parameter. Use overlapped I/O. Handle async writes. (mtinfo_drive::_set_pos): Handle async writes. (mtinfo_drive::set_partition): Ditto. (mtinfo_drive::prepare): Ditto. (mtinfo_drive::get_status): Drop useless "else". Handle async_writes flag. (mtinfo_drive::set_options): Handle async_writes flags. (fhandler_dev_tape::close): Close mt_evt handle. (fhandler_dev_tape::raw_read): Create mt_evt handle and use in call to mtinfo_drive::read. (fhandler_dev_tape::raw_write): Create mt_evt handle and use in call to mtinfo_drive::write. * mtinfo.h (MTINFO_VERSION): Bump. (enum dirty_state): Add async_write_pending state. (class mtinfo_drive): Add OVERLAPPED struct "ov". Add async_writes flag. (mtinfo_drive::async_wait): Add declaration. (mtinfo_drive::read): Add mt_evt parameter. (mtinfo_drive::write): Ditto. * registry.cc (load_registry_hive): Call enable_restore_privilege instead of set_process_privilege.
* * include/_mingw.h: Revert to primary release 3 and increment minorEarnie Boyd2004-04-192-1/+2
| | | | | release to 3. * Makefile.in (VERSION): Ditto.
* * include/_mingw.h: Revert to primary release 3 and increment minorEarnie Boyd2004-04-192-3/+8
| | | | release to 3.