]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 25 May 2004 20:52:21 +0000 (20:52 +0000)]
2004-05-25  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/include/check.h: Add include of <stdio.h>.

20 years ago* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
DJ Delorie [Tue, 25 May 2004 20:36:50 +0000 (20:36 +0000)]
* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS)
(NORMAL_TARGET_EXPORTS): New macros.  Use them in all the recursive
targets.
* Makefile.in: Regenerate.

20 years ago* winbase.h: Semi-revert previous patch as it caused strange behavior. Use
Christopher Faylor [Tue, 25 May 2004 20:00:19 +0000 (20:00 +0000)]
* winbase.h: Semi-revert previous patch as it caused strange behavior.  Use
syntax similar to that recommended in mingw-dvlpr.

20 years ago* include/cygwin/version.h: Bump DLL minor number to 11.
Christopher Faylor [Tue, 25 May 2004 16:01:49 +0000 (16:01 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 11.

20 years ago* winbase.h: Add proper attributions for memory operands throughout.
Christopher Faylor [Tue, 25 May 2004 04:00:49 +0000 (04:00 +0000)]
* winbase.h: Add proper attributions for memory operands throughout.

20 years ago* include/cygwin/version.h: Bump api minor version number.
Christopher Faylor [Tue, 25 May 2004 03:21:34 +0000 (03:21 +0000)]
* include/cygwin/version.h: Bump api minor version number.
* cygwin.din: Export atoll.

20 years agoReorganise m68k instruction decoding and improve handling of MAC/EMAC
Nick Clifton [Mon, 24 May 2004 14:33:21 +0000 (14:33 +0000)]
Reorganise m68k instruction decoding and improve handling of MAC/EMAC

20 years ago2005-05-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 11:08:48 +0000 (11:08 +0000)]
2005-05-24  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Test the ability to symlink directories.
* configure: Regenerate.

* Makefile.def (bootstrap-stage): New definitions.
* Makefile.tpl (configure-stage1-gcc,
configure-stage2-gcc, configure-stage3-gcc,
all-stage1-gcc, all-stage2-gcc, all-stage3-gcc,
new-bootstrap, new-cleanstrap, new-restage1, new-restage2,
new-restage3, compare): Autogenerate, see Makefile.in
entry for behavioral changes.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New autogenerated targets.
(objext, prebootstrap, BOOT_CFLAGS,
POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated
targets.

* Makefile.in: Regenerate.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New targets.
(all-stage1-gcc): Move prebootstrap dependency from here...
(configure-stage1-gcc): ...to here.
(new-bootstrap): Use bubble targets.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
Use per-stage distclean targets.
(configure-stage1-gcc, configure-stage2-gcc,
configure-stage3-gcc, all-stage1-gcc,
all-stage2-gcc, all-stage3-gcc, new-bootstrap):
Use new-stageN-start to prepare the tree.

20 years ago2004-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 10:45:14 +0000 (10:45 +0000)]
2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): add libcpp.
* Makefile.tpl: Add dependencies on and for libcpp.
* Makefile.in: Regenerate.
* configure.in: Add libcpp host module.
* configure: Regenerate.

config/ChangeLog:

2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
From gcc.

20 years ago2004-05-21 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 21 May 2004 19:08:54 +0000 (19:08 +0000)]
2004-05-21  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Whenever a recursive target is defined, wrap
it in a special @if/@endif block, and prepare its maybe
dependency in the @if/@endif block
* configure.in: Instead of writing maybe dependencies, remove
the @if/@endif statements, and remove the @if/@endif blocks
that remain.
* configure: Regenerate.
* Makefile.in: Regenerate.

20 years ago* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful return
Christopher Faylor [Thu, 20 May 2004 17:32:12 +0000 (17:32 +0000)]
* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful return
from !with_console
* fhandler_tty.cc (fhandler_pty_master::open): Release tty_mutex here after all
initialization is done.

20 years ago * Makefile.def, Makefile.tpl, configure.in: Remove all mention
Zack Weinberg [Tue, 18 May 2004 02:00:58 +0000 (02:00 +0000)]
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.

20 years ago * grp.cc (getgrgid_r): Replace struct group by struct __group32 in
Corinna Vinschen [Mon, 17 May 2004 16:14:01 +0000 (16:14 +0000)]
* grp.cc (getgrgid_r): Replace struct group by struct __group32 in
argument definition.
(getgrnam_r): Ditto.

20 years ago * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
Corinna Vinschen [Mon, 17 May 2004 16:06:14 +0000 (16:06 +0000)]
* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.

20 years ago * cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
Corinna Vinschen [Mon, 17 May 2004 16:06:02 +0000 (16:06 +0000)]
* cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
getgrgid_r, getgrnam_r and getlogin_r.
* grp.cc (getgrgid_r): New function.
(getgrnam_r): Ditto.
* syscalls.cc (flockfile): Ditto.
(ftrylockfile): Ditto.
(funlockfile): Ditto.
* sysconf.cc (sysconf): Return LOGIN_NAME_MAX in case of
_SC_LOGIN_NAME_MAX.
* thread.cc (__cygwin_lock_trylock): Define int.  Return value from
call to pthread_mutex_trylock.
* uinfo.cc (getlogin_r): New function.
* include/limits.h: Define LOGIN_NAME_MAX.
* include/cygwin/version.h: Bump API minor number.
* include/sys/lock.h: Add declarations for __cygwin_lock_xxx functions.
* include/sys/stdio.h: Add define for _ftrylockfile.

20 years ago* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
Christopher Faylor [Mon, 17 May 2004 15:55:42 +0000 (15:55 +0000)]
* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
compilation error.

20 years agoChange the name "title_mutex" to "tty_mutex" throughout.
Christopher Faylor [Mon, 17 May 2004 15:27:56 +0000 (15:27 +0000)]
Change the name "title_mutex" to "tty_mutex" throughout.
* tty.h (tty_list::allocate_tty): Turn argument into a boolean.
* tty.cc (tty_list::init): Protect entire allocation operation with tty_mutex
(formerly title_mutex) to protect against allocation races.

20 years agoadd missing file
Christopher Faylor [Sun, 16 May 2004 16:38:27 +0000 (16:38 +0000)]
add missing file

20 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
Corinna Vinschen [Sun, 16 May 2004 15:38:03 +0000 (15:38 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
value in each WSARecvFrom call.
(fhandler_socket::recvmsg): Ditto.  Reformat slightly.

20 years ago* cygthread.cc (cygthread::is): Eliminate.
Christopher Faylor [Sun, 16 May 2004 04:18:50 +0000 (04:18 +0000)]
* cygthread.cc (cygthread::is): Eliminate.
* cygthread.h (cygthread::is): Eliminate declaratin.
* fhandler_console.cc (fhandler_console::read): Only wait for signal_arrived in
the main thread.
* fhandler_socket.cc: Include new "wininfo.h".
(fhandler_socket::ioctl): Use 'winmsg' rather than 'gethwnd()'.
* sync.cc (muto::grab): Define new function.
(muto::acquire): Use tls pointer rather than tid.
(muto::acquired): Ditto.
(muto::reset): Delete.
(muto::release): Ditto.  Also implement "close on last release".
* sync.h (muto::tid): Delete.
(muto::tls): New field.
(muto::ismine): Delete.
(muto::owner): Delete.
(muto::unstable): Delete.
(muto::reset): Delete.
(muto::upforgrabs): New method.
(muto::grab): Ditto.
(new_muto_name): New define.
* wininfo.h: New file.
(wininfo): New class.
* window.cc: Rework throughout to use winfo class for controlling invisible
window operation.
(gethwnd): Delete definition.
* winsup.h (gethwnd): Delete declaration.

20 years agorevert previous not-ready-for-primetime checkin.
Christopher Faylor [Sat, 15 May 2004 16:10:41 +0000 (16:10 +0000)]
revert previous not-ready-for-primetime checkin.

20 years ago* cygheap.h: Remove some parameter names from declarations throughout.
Christopher Faylor [Sat, 15 May 2004 16:09:04 +0000 (16:09 +0000)]
* cygheap.h: Remove some parameter names from declarations throughout.
(cygheap::set): Reflect changes in declaration for arguments and return value
from previous checkin.

20 years ago* cygheap.h (cwdstuff::set): Modify return value and arguments.
Christopher Faylor [Sat, 15 May 2004 15:55:43 +0000 (15:55 +0000)]
* cygheap.h (cwdstuff::set): Modify return value and arguments.
* path.cc (chdir): Specify PC_POSIX.  Do not call SetCurrentDirectory.  Set
posix_cwd in a way that does not break find.exe.  Change call to cwd.set.
(cwdstuff::get_initial): Do not call GetCurrentDirectory here.
(cwdstuff::set): Call SetCurrentDirectory and GetCurrentDirectory as needed.

20 years ago2004-05-15 Filip Navara <xnavara@volny.cz>
Danny Smith [Sat, 15 May 2004 10:08:06 +0000 (10:08 +0000)]
2004-05-15  Filip Navara  <xnavara@volny.cz>

* include/ddk/kbdmou.h: New file.
* lib/ddk/videoprt.def (VideoPortMapBankedMemory,
VideoPortMapDmaMemory, VideoPortMapMemory): Correct suffix.
* lib/ddk/ntoskrnl.def (_snprintf, _snwprintf, _vsnprintf,
_vsnwprintf, sprintf, swprintf): Export.

20 years ago2004-05-15 Filip Navara <xnavara@volny.cz>
Danny Smith [Sat, 15 May 2004 09:47:02 +0000 (09:47 +0000)]
2004-05-15  Filip Navara  <xnavara@volny.cz>

* include/ddk/ntddk.h: Don't set 4-byte alignment on included
headers.

20 years agomerge from gcc
DJ Delorie [Thu, 13 May 2004 18:14:28 +0000 (18:14 +0000)]
merge from gcc

20 years agoremove keyword stuff
Christopher Faylor [Wed, 12 May 2004 16:21:18 +0000 (16:21 +0000)]
remove keyword stuff

20 years ago * path.cc (path_conv::check): Don't bail out with error if path is "//".
Corinna Vinschen [Wed, 12 May 2004 14:04:23 +0000 (14:04 +0000)]
* path.cc (path_conv::check): Don't bail out with error if path is "//".

20 years ago * cygheap.h (struct init_cygheap): Add mt_h member.
Corinna Vinschen [Wed, 12 May 2004 12:28:59 +0000 (12:28 +0000)]
* cygheap.h (struct init_cygheap): Add mt_h member.
* fhandler_tape.cc (mt_h): Drop in favor of cygheap based handle.
(mtinfo_init): Use cygheap->mt_h handle.  Protect it.

20 years ago2004-05-12 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Wed, 12 May 2004 01:44:11 +0000 (01:44 +0000)]
2004-05-12  Pierre Humblet <pierre.humblet@ieee.org>

* tty.h: Remove the %d or %x from all cygtty strings.
(tty::open_output_mutex): Only declare.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): New definition.
* fhandlet_tty.cc (fhandler_tty_slave::open): Declare buf with
size CYG_MAX_PATH and replace __small_printf calls by shared_name.
* tty.cc (tty::create_inuse): Ditto.
(tty::get_event): Ditto.
(tty::common_init): Ditto.
(tty::open_output_mutex): New method definition.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): New method.

20 years ago2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Tue, 11 May 2004 20:59:20 +0000 (20:59 +0000)]
2004-05-11  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
        of free.

20 years agobfd/
Jakub Jelinek [Tue, 11 May 2004 17:08:38 +0000 (17:08 +0000)]
bfd/
* elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
into .dynsym if elf_section_data (sec)->dynindx <= 0.
Adjust counting of last_local.
(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
created by the linker nor !SHF_ALLOC.

* elf32-i386.c (elf_i386_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.  Set sh_entsize for .got section in addition
to .got.plt.
(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.
(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.  Set sh_entsize for .got section
in addition to .got.plt.
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Likewise.
(assign_file_positions_for_segments): Likewise.
(get_program_header_size): Likewise.
* elflink.c (bfd_elf_size_dynamic_sections): Set
elf_tdata (output_bfd)->relro from info->relro.
* elf-bfd.h (struct elf_obj_tdata): Add relro field.
include/
* bfdlink.h (struct bfd_link_info): Add relro, relro_start and
relro_end fields.
* elf/common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
(PT_GNU_RELRO): Define.
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_RELRO.
ld/
* genscripts.sh: Generate -z combreloc -z now -z relro scripts
for binaries, -shared and -pie.
* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
(OTHER_RELRO_SECTIONS): ... this.
* ldlex.l (DATA_SEGMENT_RELRO_END): Add.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-z relro and -z norelro.
(gld${EMULATION_NAME}_list_options): Add it to usage.
(gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
-z relro scripts when appropriate.
* scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
Create separate .got.plt section if SEPARATE_GOTPLT.
Move sections which are only written during relocation handling
to the beginning of RW segment.  If NO_SMALL_DATA, move .got
before .data.  Add DATA_SEGMENT_RELRO_END directive.
Include OTHER_RELRO_SECTIONS.
* ldgram.y (DATA_SEGMENT_RELRO_END): Add.
* ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
(fold_unary): Likewise.
(fold_binary): Handle -z relro.
* ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
exp_dataseg_relro_adjust phases.  Add relro_end field.
* ldmain.c (main): Initialize link_info.relro to FALSE.
* ldlang.c (lang_size_sections): Handle -z relro.
ld/testsuite/
* ld-i386/tlspic.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.sd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsbinpic.s: Likewise.
* ld-i386/tlsbin.dd: Likewise.
* ld-i386/tlsbin.sd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic1.s: Likewise.
* ld-i386/combreloc.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-s390/tlspic1.s: Likewise.
* ld-s390/tlsbinpic.s: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic.dd: Likewise.
* ld-s390/tlsbin.dd: Likewise.
* ld-s390/tlsbin.sd: Likewise.
* ld-s390/tlsbin.td: Likewise.
* ld-s390/tlspic.sd: Likewise.
* ld-s390/tlspic.td: Likewise.
* ld-s390/tlspic1_64.s: Likewise.
* ld-s390/tlsbinpic_64.s: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.dd: Likewise.
* ld-s390/tlsbin_64.dd: Likewise.
* ld-s390/tlspic_64.sd: Likewise.
* ld-s390/tlspic_64.td: Likewise.
* ld-s390/tlsbin_64.td: Likewise.
* ld-s390/tlsbin_64.sd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.t: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x.
* ld-shared/shared.exp: Likewise.

20 years ago * fhandler.cc (fhandler_base::open): Set file attributes to correct
Corinna Vinschen [Tue, 11 May 2004 15:39:50 +0000 (15:39 +0000)]
* fhandler.cc (fhandler_base::open): Set file attributes to correct
value when creating files.
* path.h (class path_conv): Add write accessor for file_attributes.

20 years ago * fhandler.h (class fhandler_socket): Add "owner" status flag.
Corinna Vinschen [Mon, 10 May 2004 15:21:01 +0000 (15:21 +0000)]
* fhandler.h (class fhandler_socket): Add "owner" status flag.
* fhandler_socket.cc (wait): Take flag parameter to take FD_OOB into
account.  Don't wait infinitely.
(fhandler_socket::recvfrom): Also wait for FD_OOB if socket owner.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::fcntl): Set owner status flag if F_SETOWN with own
pid is called.

20 years ago2004-05-09 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sun, 9 May 2004 15:17:15 +0000 (15:17 +0000)]
2004-05-09  Pierre Humblet <pierre.humblet@ieee.org>

        * environ.cc (build_env): Only try to construct required-but-missing
        variables while issetuid.

20 years ago * libc/include/machine/endian.h: Add missing endif.
Aldy Hernandez [Sat, 8 May 2004 17:13:38 +0000 (17:13 +0000)]
* libc/include/machine/endian.h: Add missing endif.

20 years ago* syscalls.cc: Include environ.h.
Christopher Faylor [Sat, 8 May 2004 02:55:38 +0000 (02:55 +0000)]
* syscalls.cc: Include environ.h.
(chroot): Set errno in case of path error.  Call getwinenv.
* environ.cc: Remove the NO_COPY attribute of conv_envvars.

20 years ago * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Move
Corinna Vinschen [Fri, 7 May 2004 21:28:53 +0000 (21:28 +0000)]
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Move
initialization of "mem_size" from here...
(fhandler_dev_mem::open): ...to here.  Fix typo in FH_PORT case.

20 years ago2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 7 May 2004 21:00:41 +0000 (21:00 +0000)]
2004-05-07  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
        list for reentrant pointer.  Call _vfiprintf_r.
        * libc/stdio/siprintf.c (_siprintf_r): New function.
        * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
        pointer argument.  Change all callers.  Call _VFPRINTF_R.
        * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
        prototypes.

20 years ago2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 May 2004 20:39:57 +0000 (20:39 +0000)]
2004-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/param.h: Remove endian info and include
        <machine/endian.h> instead.
        * libc/include/machine/endian.h: New file.
        * libc/include/machine/param.h: Ditto.
        * libc/machine/arm/machine/endian.h: Ditto.
        * libc/machine/arm/machine/param.h: Ditto.
        * libc/sys/arm/sys/param.h: Removed.
        * libc/sys/sysvi386/sys/param.h: Ditto.
        * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.

20 years ago2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 May 2004 20:29:24 +0000 (20:29 +0000)]
2004-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/param.h: Remove endian info and include
        <machine/endian.h> instead.
        * libc/include/machine/endian.h: New file.
        * libc/machine/arm/machine/endian.h: Ditto.
        * libc/machine/arm/machine/param.h: Ditto.
        * libc/sys/arm/sys/param.h: Removed.
        * libc/sys/sysvi386/sys/param.h: Ditto.
        * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.

20 years ago * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete of
Corinna Vinschen [Fri, 7 May 2004 07:54:28 +0000 (07:54 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete of
bigwavebuffer_ so that it is always cleaned, also in child processes.
(fhandler_dev_dsp::Audio_in::stop): Ditto.
(fhandler_dev_dsp::close): Stop audio play immediately in case of
abnormal exit.

20 years ago Revert code reversion from 2004-04-03. So, revert to async I/O again.
Corinna Vinschen [Fri, 7 May 2004 07:51:31 +0000 (07:51 +0000)]
Revert code reversion from 2004-04-03.  So, revert to async I/O again.
* fhandler.h (status): Add "closed" flag.
(prepare): New method declaration.
(wait): Ditto.
(release): Ditto.
* fhandler_socket.cc: Don't include wsock_event.h.
(fhandler_socket::prepare): New method, moved from wsock_event.
(fhandler_socket::wait): Ditto.
(fhandler_socket::release): New method.
(fhandler_socket::recvfrom): Simplify loop.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc: Don't include wsock_event.h.
(wsock_event::prepare): Remove.
(wsock_event::wait): Ditto.
* wsock_event.h: Remove.

20 years agofix entry
Christopher Faylor [Fri, 7 May 2004 03:51:22 +0000 (03:51 +0000)]
fix entry

20 years ago* thread.cc (pthread::create): Move postcreate call to avoid a potential race.
Christopher Faylor [Fri, 7 May 2004 03:31:04 +0000 (03:31 +0000)]
* thread.cc (pthread::create): Move postcreate call to avoid a potential race.
(pthread::cancelable_wait): Don't allow signal interrupt unless main thread.

20 years agoChristopher Faylor <cgf@timesys.com>
Christopher Faylor [Fri, 7 May 2004 03:27:37 +0000 (03:27 +0000)]
Christopher Faylor <cgf@timesys.com>
* path.cc (mount_info::conv_to_posix_path): Add return.

20 years ago * include/wingdi.h: Correct non-unicode typedefs of
Danny Smith [Thu, 6 May 2004 21:04:26 +0000 (21:04 +0000)]
* include/wingdi.h: Correct non-unicode typedefs of
ENUMLOGFONTEXDV, PENUMLOGFONTEXDV, LPENUMLOGFONTEXDV.

20 years ago2004-05-07 Pascal Obry <obry@act-europe.fr>
Danny Smith [Thu, 6 May 2004 20:54:50 +0000 (20:54 +0000)]
2004-05-07  Pascal Obry  <obry@act-europe.fr>

* include/winsock.h (IN_CLASSA): Fix macro.
* include/winsock2.h (IN_CLASSA): Fix macro.

20 years ago2004-05-06 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Thu, 6 May 2004 16:26:10 +0000 (16:26 +0000)]
2004-05-06  Pierre Humblet <pierre.humblet@ieee.org>

        * path.cc (path_conv::check): Strip trailing dots and spaces and
        return error if the final component had only dots and spaces.
        (normalize_posix_path): Revert 2004-04-30.
        (chdir): Do not check for trailing spaces. Do not set native_dir
        to c:\ for virtual devices. Pass only native_dir to cwd.set.
        (cwdstuff::set): Assume posix_cwd is already normalized.

20 years agoAdd support for 521x,5249,547x,548x.
Nick Clifton [Wed, 5 May 2004 14:33:14 +0000 (14:33 +0000)]
Add support for 521x,5249,547x,548x.

20 years ago * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
Richard Sandiford [Wed, 5 May 2004 12:16:31 +0000 (12:16 +0000)]
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
* mips/dve.ld, mips/idt32.ld, mips/idt64.ld, mips/idt.ld
* mips/jmr3904app.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld
(.eh_frame_hdr, .eh_frame, .gcc_except_table, .jcr): New sections.

20 years agofix changelog dates
Christopher Faylor [Wed, 5 May 2004 03:55:48 +0000 (03:55 +0000)]
fix changelog dates

20 years agomerge from gcc
DJ Delorie [Tue, 4 May 2004 20:06:15 +0000 (20:06 +0000)]
merge from gcc

20 years ago* path.cc (normalize_win32_path): Detect components with only dots. Remove a
Christopher Faylor [Tue, 4 May 2004 15:14:48 +0000 (15:14 +0000)]
* path.cc (normalize_win32_path): Detect components with only dots.  Remove a
final .  if it follows '\\'.
(mount_info::conv_to_win32_path): Only backslashify the path when no mount is
found.
(chdir): Do not look for components with only dots.

20 years ago* path.cc (is_unc_share): Remove redundant tests.
Christopher Faylor [Tue, 4 May 2004 15:09:58 +0000 (15:09 +0000)]
* path.cc (is_unc_share): Remove redundant tests.

20 years ago * crt0.o (mainCRTStartup): 16 byte align stack for main function.
Corinna Vinschen [Tue, 4 May 2004 14:46:25 +0000 (14:46 +0000)]
* crt0.o (mainCRTStartup): 16 byte align stack for main function.

20 years ago * path.cc (check_sysfile): Don't scan string twice.
Corinna Vinschen [Tue, 4 May 2004 10:54:06 +0000 (10:54 +0000)]
* path.cc (check_sysfile): Don't scan string twice.

20 years ago2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Mon, 3 May 2004 20:17:59 +0000 (20:17 +0000)]
2004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
        multibyte functions return failure for %C, %S, %lc, and %ls
        format specifiers.

20 years ago2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Mon, 3 May 2004 17:31:22 +0000 (17:31 +0000)]
2004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * testsuite/include/check.h (CHECK): Add flush of stdout.

20 years ago2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Mon, 3 May 2004 17:27:56 +0000 (17:27 +0000)]
2004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * 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.

20 years ago * dir.cc (writable_directory): Remove.
Corinna Vinschen [Mon, 3 May 2004 11:53:07 +0000 (11:53 +0000)]
* dir.cc (writable_directory): Remove.
(mkdir): Remove call to writable_directory.
* syscalls.cc (unlink): Ditto.
(rename): Ditto.
* winsup.h (writable_directory): Remove declaration.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Sat, 1 May 2004 01:52:58 +0000 (01:52 +0000)]
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.

20 years ago * fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_path
Corinna Vinschen [Fri, 30 Apr 2004 17:36:36 +0000 (17:36 +0000)]
* fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_path
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.

20 years ago2004-04-29 Bart Oldeman <bartoldeman@users.sourceforge.net>
Luke Dunstan [Fri, 30 Apr 2004 17:06:21 +0000 (17:06 +0000)]
2004-04-29  Bart Oldeman  <bartoldeman@users.sourceforge.net>

* include/objbase.h (STGOPTIONS): Correct pwcsTemplateFile type.
* include/aclui.h: Remove '\r', throughout.
* include/msacm.h: Likewise.
* lib/aclui.def: Likewise.

20 years ago * fhandler.cc (fhandler_base::open): Fix NT native path evaluation
Corinna Vinschen [Fri, 30 Apr 2004 14:02:37 +0000 (14:02 +0000)]
* fhandler.cc (fhandler_base::open): Fix NT native path evaluation
to allow opening serial ports.

20 years ago * init.cc (threadfunc_fe): Hack to make thread stacks always 16
Corinna Vinschen [Fri, 30 Apr 2004 13:27:27 +0000 (13:27 +0000)]
* init.cc (threadfunc_fe): Hack to make thread stacks always 16
byte aligned.

20 years ago2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Wed, 28 Apr 2004 18:02:38 +0000 (18:02 +0000)]
2004-04-28  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * 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.

20 years ago2004-04-28 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Wed, 28 Apr 2004 14:18:13 +0000 (14:18 +0000)]
2004-04-28  Luke Dunstan  <infidel@users.sourceforge.net>

* 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.

20 years agomerge from gcc:
DJ Delorie [Tue, 27 Apr 2004 18:28:03 +0000 (18:28 +0000)]
merge from gcc:
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.

20 years agomerge from gcc:
DJ Delorie [Tue, 27 Apr 2004 18:25:01 +0000 (18:25 +0000)]
merge from gcc:
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.

20 years ago * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
Aldy Hernandez [Mon, 26 Apr 2004 22:43:34 +0000 (22:43 +0000)]
    * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
        CT_INT case.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Sat, 24 Apr 2004 22:07:14 +0000 (22:07 +0000)]
[ bfd/ChangeLog ]
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.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Sat, 24 Apr 2004 06:12:25 +0000 (06:12 +0000)]
[ bfd/ChangeLog ]
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.

20 years ago2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 23 Apr 2004 21:44:22 +0000 (21:44 +0000)]
2004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * 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

20 years ago2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Apr 2004 21:30:04 +0000 (21:30 +0000)]
2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

20 years ago2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Apr 2004 20:06:03 +0000 (20:06 +0000)]
2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.

20 years ago2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 23 Apr 2004 20:01:55 +0000 (20:01 +0000)]
2004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * 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.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Fri, 23 Apr 2004 18:24:03 +0000 (18:24 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* 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>

20 years ago2004-04-24 Justin Forest <vhex@users.sourceforge.net>
Luke Dunstan [Fri, 23 Apr 2004 18:01:08 +0000 (18:01 +0000)]
2004-04-24  Justin Forest  <vhex@users.sourceforge.net>

* 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.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Fri, 23 Apr 2004 17:31:32 +0000 (17:31 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/windns.h (DNSREC_QUESTION, DNSREC_ANSWER, DNSREC_AUTHORITY,
DNSREC_ADDITIONAL): Add defines.

20 years ago2004-04-23 Robert Wruck <wruck@tweerlei.de>
Luke Dunstan [Fri, 23 Apr 2004 17:17:14 +0000 (17:17 +0000)]
2004-04-23  Robert Wruck  <wruck@tweerlei.de>

* include/commctrl.h (LPNMLVDISPINFO): Add defines.

20 years ago2004-04-23 Robert Wruck <wruck@tweerlei.de>
Luke Dunstan [Fri, 23 Apr 2004 16:03:43 +0000 (16:03 +0000)]
2004-04-23  Robert Wruck  <wruck@tweerlei.de>

* include/aclui.h: New file.
* lib/aclui.def: New file.
* lib/test.c: Add aclui.h to includes.

20 years ago2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
Jeff Johnston [Thu, 22 Apr 2004 21:58:15 +0000 (21:58 +0000)]
2004-04-21  J"orn Rennecke <joern.rennecke@superh.com>

        * 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.

20 years agomerge from gcc
DJ Delorie [Thu, 22 Apr 2004 18:38:58 +0000 (18:38 +0000)]
merge from gcc

20 years ago * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
Earnie Boyd [Thu, 22 Apr 2004 16:34:31 +0000 (16:34 +0000)]
* strncasecmp.c: Reword copyright and disclaimer.  Move Contributors
section to CONTRIBUTORS file.  Remove RCS tags.

20 years ago CORRECTION:
Earnie Boyd [Thu, 22 Apr 2004 16:27:00 +0000 (16:27 +0000)]
CORRECTION:
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.

20 years ago * DISCLAIMER: Add words about "free to use".
Earnie Boyd [Thu, 22 Apr 2004 16:16:25 +0000 (16:16 +0000)]
* DISCLAIMER: Add words about "free to use".
* 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.

20 years agoAdd support for ColdFire MAC instructions and tidy up support for other m68k
Nick Clifton [Thu, 22 Apr 2004 10:33:16 +0000 (10:33 +0000)]
Add support for ColdFire MAC instructions and tidy up support for other m68k
variants.

20 years ago * mingwex/math/lround.c: Rewrite.
Danny Smith [Thu, 22 Apr 2004 04:38:24 +0000 (04:38 +0000)]
* mingwex/math/lround.c: Rewrite.
* 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.

20 years ago * syscalls.cc (lseek64): Fix debug_printf format string.
Corinna Vinschen [Wed, 21 Apr 2004 08:16:13 +0000 (08:16 +0000)]
* syscalls.cc (lseek64): Fix debug_printf format string.
(truncate64): Ditto.

* fhandler.cc (fhandler_base::lseek): Force res to -1 on error.

20 years ago * include/winuser.h (SPI_GETACTIVEWINDOWTRACKING,
Danny Smith [Wed, 21 Apr 2004 07:14:57 +0000 (07:14 +0000)]
* include/winuser.h (SPI_GETACTIVEWINDOWTRACKING,
SPI_GETACTIVEWNDTRKZORDER, SPI_SETACTIVEWINDOWTRACKING,
SPI_SETACTIVEWNDTRKZORDER): Remove duplicate defines.

20 years ago * CONTRIBUTORS: New file.
Earnie Boyd [Tue, 20 Apr 2004 22:49:32 +0000 (22:49 +0000)]
* CONTRIBUTORS: New file.
* 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.

20 years agofix comment
Christopher Faylor [Tue, 20 Apr 2004 18:46:15 +0000 (18:46 +0000)]
fix comment

20 years ago* path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.
Christopher Faylor [Tue, 20 Apr 2004 18:45:16 +0000 (18:45 +0000)]
* path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.
* 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.

20 years ago * fhandler_disk_file.cc (fhandler_base::open_fs): Change
Corinna Vinschen [Tue, 20 Apr 2004 15:51:24 +0000 (15:51 +0000)]
* fhandler_disk_file.cc (fhandler_base::open_fs): Change
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.

20 years ago* include/wingdi.h: Protect non-unicode case of below.
Christopher Faylor [Tue, 20 Apr 2004 15:17:36 +0000 (15:17 +0000)]
* include/wingdi.h: Protect non-unicode case of below.

20 years ago* include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,
Christopher Faylor [Tue, 20 Apr 2004 15:10:26 +0000 (15:10 +0000)]
* include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,
LPENUMLOGFONTEXDV with appropriate version check.

20 years agoAdd support for a .secrel32 x86 reloc to allow DWARF" debug information to used
Nick Clifton [Tue, 20 Apr 2004 12:17:16 +0000 (12:17 +0000)]
Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
with COFF based x86 ports.

20 years ago2004-04-18 Hans Leidekker <hans@it.vu.nl>
Luke Dunstan [Tue, 20 Apr 2004 12:08:47 +0000 (12:08 +0000)]
2004-04-18  Hans Leidekker  <hans@it.vu.nl>

* lib/directx/dxguid.c (CLSID_DirectSoundPrivate,
DSPROPSETID_DirectSoundDevice): Add defines.

20 years ago * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
Corinna Vinschen [Tue, 20 Apr 2004 11:14:02 +0000 (11:14 +0000)]
* libc/include/sys/unistd.h (ttyname_r): Add missing comma.

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