]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
Eric Blake [Tue, 24 Apr 2007 20:09:50 +0000 (20:09 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
or NaN with %05f.

17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
Eric Blake [Tue, 24 Apr 2007 19:55:28 +0000 (19:55 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
_MB_CAPABLE.

17 years ago * libc/include/limits.h (NL_ARGMAX): Define a default value.
Eric Blake [Tue, 24 Apr 2007 16:01:15 +0000 (16:01 +0000)]
* libc/include/limits.h (NL_ARGMAX): Define a default value.
* libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
NL_ARGMAX, if present.

17 years ago2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
Jeff Johnston [Mon, 23 Apr 2007 22:52:37 +0000 (22:52 +0000)]
2007-04-23  Ralf Wildenhues  <Ralf.Wildenhues <at> gmx.de>

        * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
        file.  Override Autoconf-2.59's version of these macros with
        fixed handling of multiple adjacent whitespace in arguments.
        * aclocal.m4: Regenerated forcefully.
        * configure: Ditto.
        * Makefile.in: Ditto.
        * libc/*Makefile.in: Ditto.
        * libc/*aclocal.m4: Ditto.
        * libc/*configure: Ditto.
        * libm/*Makefile.in: Ditto.
        * libm/*aclocal.m4: Ditto.
        * libm/*configure: Ditto.

17 years ago2007-04-23 Brian Dessent <brian@dessent.net>
Jeff Johnston [Mon, 23 Apr 2007 21:55:31 +0000 (21:55 +0000)]
2007-04-23  Brian Dessent  <brian@dessent.net>

        * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
        has been specified with types 'f', 'F', 'g', or 'G', ensure the
        trailing decimal is printed.

17 years ago2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 23 Apr 2007 19:46:08 +0000 (19:46 +0000)]
2007-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
        * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
        and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
        * libc/sys/arc/Makefile.in: Regenerated.

17 years ago gas/testsuite/
Nathan Sidwell [Mon, 23 Apr 2007 07:51:30 +0000 (07:51 +0000)]
gas/testsuite/
* gas/m68k/br-isaa.s: New.
* gas/m68k/br-isaa.d: New.
* gas/m68k/br-isab.s: New.
* gas/m68k/br-isab.d: New.
* gas/m68k/br-isac.s: New.
* gas/m68k/br-isac.d: New.
* gas/m68k/all.exp: Adjust.

gas/
* config/tc-m68k.c (mcf54455_ctrl): New.
(HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
(m68k_archs): Add isac.
(m68k_cpus): Add 54455 family.
(m68k_ip): Split Bg into Bb, Bs, Bg.
(m68k_elf_final_processing): Add ISA_C.
* doc/c-m68k.texi (M680x0 Options): Add isac.

include/opcode/
* m68k.h (mcfisa_c): New.
(mcfusp, mcf_mask): Adjust.

bfd/
* archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac,
bfd_mach_mcf_isa_c_emac): New.
* elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry,
elf_isac_plt_entry, elf_isac_plt_info): New.
(elf32_m68k_object_p): Add ISA_C.
(elf32_m68k_print_private_bfd_data): Print ISA_C.
(elf32_m68k_get_plt_info): Detect ISA_C.
* cpu-m68k.c (arch_info): Add ISAC.
(m68k_arch_features): Likewise,
(bfd_m68k_compatible): ISAs B & C are not compatible.

opcodes/
* m68k-opc.c: Mark mcfisa_c instructions.

17 years ago2007-04-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 22 Apr 2007 11:25:07 +0000 (11:25 +0000)]
2007-04-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shellapi.h (NOTIFYICONDATAA, NOTIFYICONDATAW): Updated to support
        Vista.

17 years ago2007-04-20 Matthias Miller <matthiasmiller@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Apr 2007 22:54:24 +0000 (22:54 +0000)]
2007-04-20  Matthias Miller  <matthiasmiller@users.sourceforge.net>
  * include/wincrypt.h (CRYPTPROTECT_PROMPTSTRUCT, CRYPTPROTECT_UI_FORBIDDEN,
  CRYPTPROTECT_LOCAL_MACHINE): Define.

17 years agoinclude/opcode/
Alan Modra [Fri, 20 Apr 2007 12:25:12 +0000 (12:25 +0000)]
include/opcode/
* ppc.h (struct powerpc_operand): Replace "bits" with "bitm".
(num_powerpc_operands): Declare.
(PPC_OPERAND_SIGNED et al): Redefine as hex.
(PPC_OPERAND_PLUS1): Define.
opcodes/
* ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
change.
* ppc-opc.c (powerpc_operands): Replace bit count with bit mask
in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
references to following deleted functions.
(insert_bd, extract_bd, insert_dq, extract_dq): Delete.
(insert_ds, extract_ds, insert_de, extract_de): Delete.
(insert_des, extract_des, insert_li, extract_li): Delete.
(insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
(insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
(num_powerpc_operands): New constant.
(XSPRG_MASK): Remove entire SPRG field.
(powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
gas/
* messages.c (as_internal_value_out_of_range): Extend to report
errors for values with invalid low bits set.
* config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
fields.  Check that operands and opcode fields are disjoint.
(ppc_insert_operand): Check operands using mask rather than bit
count.   Check low bits too.  Handle PPC_OPERAND_PLUS1.  Adjust
insertion code.
(md_apply_fix): Adjust for struct powerpc_operand change.

17 years agoCorrect erroneous ChangeLog commit.
Mark Shinwell [Fri, 20 Apr 2007 12:15:41 +0000 (12:15 +0000)]
Correct erroneous ChangeLog commit.

17 years ago * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
Mark Shinwell [Fri, 20 Apr 2007 12:13:51 +0000 (12:13 +0000)]
* Makefile.in: Adjust dependencies of m68klinux-tdep.c.
* m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
(m68k_linux_sigcontext_reg_offset): Fix typo.
(target_is_uclinux): New.
(m68k_linux_inferior_created): New.
(m68k_linux_get_sigtramp_info):  Check for uClinux or
normal Linux.  Use m68k_uclinux_sigcontext_reg_offset for
uClinux.
(_initialize_m68k_linux_tdep): Register
m68k_linux_inferior_created.

17 years ago * cygwin.sc: Remove duplicated .debug_macinfo section.
Brian Dessent [Wed, 18 Apr 2007 13:11:35 +0000 (13:11 +0000)]
* cygwin.sc: Remove duplicated .debug_macinfo section.
* dllfixdbg: Also copy DWARF-2 sections into .dbg file.

17 years ago2007-04-17 Brian Dessent <brian@dessent.net>
Jeff Johnston [Tue, 17 Apr 2007 20:53:24 +0000 (20:53 +0000)]
2007-04-17  Brian Dessent  <brian@dessent.net>

        * libc/stdio/sscanf.c: Update documentation comments.
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.

17 years ago2007-04-15 Piotr Wyderski <piotr.wyderski@wp.pl>
Chris Sutcliffe [Sun, 15 Apr 2007 17:26:46 +0000 (17:26 +0000)]
2007-04-15  Piotr Wyderski  <piotr.wyderski@wp.pl>

        * include/winbase.h (SetInformationJobObject, QueryInformationJobObject):
        Define.

17 years ago * config-ml.in: Update from GCC.
Steve Ellcey [Sat, 14 Apr 2007 20:35:07 +0000 (20:35 +0000)]
    * config-ml.in: Update from GCC.

17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
Eric Blake [Fri, 13 Apr 2007 01:57:33 +0000 (01:57 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
(chclass): Recognize 'F', 'X', 'n', and not 'W'.
(get_arg): Handle %1$F, %1$n.

17 years agoconfig:
Paolo Bonzini [Thu, 12 Apr 2007 13:06:01 +0000 (13:06 +0000)]
config:
2007-04-11  Kai Tietz  <kai.tietz@onevision.com>

* stdint.m4: Make template compatible with older cygwin
types.h, wrapping each type in a __XXX_t_defined #ifdef.

17 years agobfd/
Richard Henderson [Tue, 10 Apr 2007 18:00:25 +0000 (18:00 +0000)]
bfd/
        * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip.
        (elf64_alpha_size_got_sections): Remove unused something_changed local.
        (elf64_alpha_size_plt_section): Return void.
        (elf64_alpha_size_rela_got_section): Likewise.
        (elf64_alpha_relax_section): Only regenerate got+plt if the
        relax_trip counter has changed.
include/
        * bfdlink.h (struct bfd_link_info): Add relax_trip.
ld/
        * ldlang.c (relax_sections): Initialize and increment
        link_info.relax_trip.

17 years ago * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
Eric Blake [Tue, 10 Apr 2007 12:49:18 +0000 (12:49 +0000)]
* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
CFLAGS=-O0.

17 years ago * libc/include/stdio.h: Add gcc format attributes to printf and
Eric Blake [Tue, 10 Apr 2007 12:47:13 +0000 (12:47 +0000)]
* libc/include/stdio.h: Add gcc format attributes to printf and
scanf families.

17 years ago2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Mon, 9 Apr 2007 16:03:26 +0000 (16:03 +0000)]
2007-04-09  Joel Schopp <jschopp@austin.ibm.com>

        * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
        even if the passed in length n is shorter than the source string.
        This matches both the non-spu specific and the glibc strxfrm
        behaviour.

17 years ago * src-release (do-proto-toplev): Process the support directories before
Daniel Jacobowitz [Mon, 9 Apr 2007 15:36:41 +0000 (15:36 +0000)]
* src-release (do-proto-toplev): Process the support directories before
the tool directory.

* Makefile.am (bfdver.h): Do not generate doc/bfdver.texi.
* doc/Makefile.am (DOCFILES): Add bfdver.texi.
(bfdver.texi): New rule.
* Makefile.in, doc/Makefile.in: Regenerated.

17 years ago2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 7 Apr 2007 10:16:52 +0000 (10:16 +0000)]
2007-04-07  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Removed mansuffix variable.  Changed mansection to support
        Cygwin man page location.

17 years ago * include/stdint.h (WINT_MIN): Fix sign.
Corinna Vinschen [Fri, 6 Apr 2007 08:25:28 +0000 (08:25 +0000)]
* include/stdint.h (WINT_MIN): Fix sign.

17 years ago2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 5 Apr 2007 20:44:29 +0000 (20:44 +0000)]
2007-04-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Added mansection and mansuffix variables.  Changed mandir
  to support Cygwin man page location.

17 years ago * testsuite/lib/flags.exp (newlib_include_flags): Drop
Kazu Hirata [Thu, 5 Apr 2007 16:53:17 +0000 (16:53 +0000)]
* testsuite/lib/flags.exp (newlib_include_flags): Drop
-I${newlib_dir}.

17 years ago * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
Kazu Hirata [Thu, 5 Apr 2007 16:47:38 +0000 (16:47 +0000)]
* libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
functions registering additional atexit functions.

17 years ago2007-04-04 Eric Christopher <echristo@apple.com>
Eric Christopher [Thu, 5 Apr 2007 05:55:51 +0000 (05:55 +0000)]
2007-04-04  Eric Christopher  <echristo@apple.com>

        Move from gcc:
        2007-04-04  Zack Weinberg  <zack@mrtock.ucsd.edu>

                * texi2pod.pl: Correct handling of @itemize with no argument.

        2007-02-16  Matthias Klose  <doko@debian.org>

                * texi2pod.pl: Handle @subsubsection, ignore @anchor.

        2007-02-06  Richard Sandiford  <richard@codesourcery.com>

                * texi2pod.pl: Handle @multitable.

17 years ago2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 4 Apr 2007 21:03:13 +0000 (21:03 +0000)]
2007-04-04  Patrick Mansfield <patmans@us.ibm.com>

* libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
prototype.
* libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
* libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
* libc/machine/spu/fclose.c: Ditto.
* libc/machine/spu/feof.c: Ditto.
* libc/machine/spu/ferror.c: Ditto.
* libc/machine/spu/fflush.c: Ditto.
* libc/machine/spu/fgetc.c: Ditto.
* libc/machine/spu/fgetpos.c: Ditto.
* libc/machine/spu/fgets.c: Ditto.
* libc/machine/spu/fileno.c: Ditto.
* libc/machine/spu/fopen.c: Ditto.
* libc/machine/spu/fprintf.c: Ditto.
* libc/machine/spu/fputc.c: Ditto.
* libc/machine/spu/fputs.c: Ditto.
* libc/machine/spu/fread.c: Ditto.
* libc/machine/spu/freopen.c: Ditto.
* libc/machine/spu/fscanf.c: Ditto.
* libc/machine/spu/fseek.c: Ditto.
* libc/machine/spu/fsetpos.c: Ditto.
* libc/machine/spu/ftell.c: Ditto.
* libc/machine/spu/fwrite.c: Ditto.
* libc/machine/spu/getc.c: Ditto.
* libc/machine/spu/getchar.c: Ditto.
* libc/machine/spu/gets.c: Ditto.
* libc/machine/spu/perror.c: Ditto.
* libc/machine/spu/printf.c: Ditto.
* libc/machine/spu/putc.c: Ditto.
* libc/machine/spu/putchar.c: Ditto.
* libc/machine/spu/puts.c: Ditto.
* libc/machine/spu/remove.c: Ditto.
* libc/machine/spu/rename.c: Ditto.
* libc/machine/spu/rewind.c: Ditto.
* libc/machine/spu/scanf.c: Ditto.
* libc/machine/spu/setbuf.c: Ditto.
* libc/machine/spu/setvbuf.c: Ditto.
* libc/machine/spu/snprintf.c: Ditto.
* libc/machine/spu/sprintf.c: Ditto.
* libc/machine/spu/sscanf.c: Ditto.
* libc/machine/spu/tmpfile.c: Ditto.
* libc/machine/spu/tmpnam.c: Ditto.
* libc/machine/spu/ungetc.c: Ditto.
* libc/machine/spu/vfprintf.c: Ditto.
* libc/machine/spu/vfscanf.c: Ditto.
* libc/machine/spu/vprintf.c: Ditto.
* libc/machine/spu/vscanf.c: Ditto.
* libc/machine/spu/vsnprintf.c: Ditto.
* libc/machine/spu/vsprintf.c: Ditto.
* libc/machine/spu/vsscanf.c: Ditto.

17 years ago2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 4 Apr 2007 20:59:38 +0000 (20:59 +0000)]
2007-04-04  Patrick Mansfield <patmans@us.ibm.com>

        * spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno
        on return from the offload call.
        * spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype.
        * spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and
        remove the setting of errno.
        * spu/close.c: Ditto.
        * spu/dup.c: Ditto.
        * spu/fstat.c: Ditto.
        * spu/ftruncate.c: Ditto.
        * spu/gettimeofday.c: Ditto.
        * spu/lseek.c: Ditto.
        * spu/open.c: Ditto.
        * spu/read.c: Ditto.
        * spu/stat.c: Ditto.
        * spu/unlink.c: Ditto.
        * spu/write.c: Ditto.

17 years ago2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 4 Apr 2007 20:49:07 +0000 (20:49 +0000)]
2007-04-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.

17 years ago2007-04-04 Eric Blake <ebb9@byu.net>
Jeff Johnston [Wed, 4 Apr 2007 18:32:49 +0000 (18:32 +0000)]
2007-04-04  Eric Blake  <ebb9@byu.net>

* libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
(asiprintf): Avoid overhead.
* libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
(asprintf): Avoid overhead.
* libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
* libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
* libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
(fiprintf): Avoid overhead.
* libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
(fprintf): Avoid overhead.
* libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
(iprintf): Avoid overhead.
* libc/stdio/printf.c (_printf_r): Use _DEFUN.
(printf): Avoid overhead.
* libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
* libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
* libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
* libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
* libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
* libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
* libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
* libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
* libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
vdiprintf.c.
* libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
(_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.

17 years ago * include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.
Corinna Vinschen [Wed, 4 Apr 2007 07:37:53 +0000 (07:37 +0000)]
* include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.

17 years ago2007-03-30 Brian Dessent <brian@dessent.net>
Chris Sutcliffe [Sun, 1 Apr 2007 12:44:04 +0000 (12:44 +0000)]
2007-03-30  Brian Dessent  <brian@dessent.net>

        * lib/kernel32.def (CreateMemoryResourceNotification@4): Define.

17 years ago* utils/cygpath.cc (get_long_path_name_w32impl): Close handles returned by
Christopher Faylor [Sat, 31 Mar 2007 00:03:25 +0000 (00:03 +0000)]
* utils/cygpath.cc (get_long_path_name_w32impl): Close handles returned by
FindFirstFile.

17 years ago* cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.
Christopher Faylor [Fri, 30 Mar 2007 13:36:06 +0000 (13:36 +0000)]
* cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.
* cygwin/include/sys/cygwin.h: Define CW_SET_DOS_FILE_WARNING.
* utils/mount.cc (main): Turn dos file warnings off since we know what we're
doing.

17 years ago2007-03-30 Dave Korn <dave.korn@artimi.com>
Dave Korn [Fri, 30 Mar 2007 00:49:56 +0000 (00:49 +0000)]
2007-03-30  Dave Korn  <dave.korn@artimi.com>

* libc/include/stdio.h (_ELIDABLE_INLINE):  New macro to conceal
conflicting inline semantics between C99 and GNU89.
(__sgetc_r):  Replace static inline with _ELIDABLE_INLINE to be
compatible with -fkeep-inline-functions usage.
(__sputc_r):  Likewise for consistency even though disabled.

17 years agomerge from gcc
DJ Delorie [Thu, 29 Mar 2007 21:03:43 +0000 (21:03 +0000)]
merge from gcc

17 years ago * cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
Corinna Vinschen [Thu, 29 Mar 2007 16:37:36 +0000 (16:37 +0000)]
* cygheap.cc (cygheap_init): Fix formatting.  Remove comment.  Set
shared_prefix depending only on terminal service capability.
* dcrt0.cc (dll_crt0_1): Don't call set_cygwin_privileges here.
* fhandler_fifo.cc (fhandler_fifo::open): Create the mutex as global
object.
* posix_ipc.cc (ipc_mutex_init): Use cygheap->shared_prefix.
(ipc_cond_init): Ditto.
* sec_helper.cc (privilege_name): Make static.  Use LookupPrivilegeName
directly to be independent of the state of cygheap.
(set_privilege): Take a LUID as parameter instead of an index value.
Only print debug output in case of failure.
(set_cygwin_privileges): Add comment.  Use LookupPrivilegeValue to
get privilege LUIDs.
(init_global_security): Call set_cygwin_privileges here.
* security.h (privilege_name): Drop declaration.
(set_privilege): Declare according to above change.
(set_process_privilege): Call privilege_luid to get LUID.
(_push_thread_privilege): Ditto.
* shared.cc (open_shared): Add comment.  On systems supporting the
SeCreateGlobalPrivilege, try to create/open global shared memory first.
Fall back to local shared memory if that fails.
* thread.cc (semaphore::semaphore): Use cygheap->shared_prefix.
* wincap.h (wincapc::has_create_global_privilege): New element.
* wincap.cc: Implement above element throughout.

17 years ago Reflect changes made to generic vfprintf.c:
Nick Clifton [Thu, 29 Mar 2007 06:25:44 +0000 (06:25 +0000)]
  Reflect changes made to generic vfprintf.c:
* libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r and add a "struct reent *" argument.
  (__sbprintf): Rename to __sbprintf_r, add a "struct reent *" argument and call _VFPRINTF_R instead of VFPRINTF.
  (_VFPRINTF_R): Add data pointer to call to cantwrite().  Fix uses of __sprint() and __sbprintf.

17 years ago* spawn.cc (spawn_guts): Start pure-windows processes in a suspended state to
Christopher Faylor [Wed, 28 Mar 2007 14:34:24 +0000 (14:34 +0000)]
* spawn.cc (spawn_guts): Start pure-windows processes in a suspended state to
avoid potential DuplicateHandle problems.

17 years agoFix year.
H.J. Lu [Tue, 27 Mar 2007 22:45:19 +0000 (22:45 +0000)]
Fix year.

17 years agoAdd "make pdf" and "make install-pdf", from Brooks Moses
Daniel Jacobowitz [Tue, 27 Mar 2007 18:09:32 +0000 (18:09 +0000)]
Add "make pdf" and "make install-pdf", from Brooks Moses
<brooks.moses@codesourcery.com>.

17 years ago2007-03-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 26 Mar 2007 15:38:25 +0000 (15:38 +0000)]
2007-03-26  H.J. Lu  <hongjiu.lu@intel.com>

* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first
when setting REPORT_BUGS_TEXI.

17 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Mon, 26 Mar 2007 02:11:07 +0000 (02:11 +0000)]
2007-03-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Include/_mingw.h: Increment version to 3.12.

17 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Mon, 26 Mar 2007 01:35:24 +0000 (01:35 +0000)]
2007-03-25  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.9.
        * Makefile.in: Ditto.

17 years ago2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 Mar 2007 17:11:54 +0000 (17:11 +0000)]
2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
REPORT_BUGS_TEXI.

17 years ago * include/psapi.h (GetMappedFileName): Fix messed up checkin.
Corinna Vinschen [Fri, 23 Mar 2007 12:42:50 +0000 (12:42 +0000)]
* include/psapi.h (GetMappedFileName): Fix messed up checkin.

17 years ago * include/psapi.h (GetMappedFileName): Rename from GetMappedFilenameEx.
Corinna Vinschen [Fri, 23 Mar 2007 09:17:26 +0000 (09:17 +0000)]
* include/psapi.h (GetMappedFileName): Rename from GetMappedFilenameEx.

17 years agobfd:
Joseph Myers [Fri, 23 Mar 2007 02:51:30 +0000 (02:51 +0000)]
bfd:
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
* configure: Regenerate.

config:
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.

17 years agoMove gdb ChangeLog entry to gdb/ChangeLog.
H.J. Lu [Thu, 22 Mar 2007 16:02:55 +0000 (16:02 +0000)]
Move gdb ChangeLog entry to gdb/ChangeLog.

17 years ago* remote-mips.c (mips_xfer_memory): Update prototype.
Maciej W. Rozycki [Thu, 22 Mar 2007 14:21:02 +0000 (14:21 +0000)]
* remote-mips.c (mips_xfer_memory): Update prototype.

17 years ago 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
Danny Smith [Thu, 22 Mar 2007 09:43:48 +0000 (09:43 +0000)]
2007-03-22   Brian Ripley  <ripleybd@users.sourceforge.net>
* include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__

17 years agogas/
H.J. Lu [Wed, 21 Mar 2007 21:23:43 +0000 (21:23 +0000)]
gas/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.

include/opcode/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (REX_MODE64): Renamed to ...
(REX_W): This.
(REX_EXTX): Renamed to ...
(REX_R): This.
(REX_EXTY): Renamed to ...
(REX_X): This.
(REX_EXTZ): Renamed to ...
(REX_B): This.

opcodes/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (REX_MODE64): Remove definition.
(REX_EXTX): Likewise.
(REX_EXTY): Likewise.
(REX_EXTZ): Likewise.
(USED_REX): Use REX_OPCODE instead of 0x40.
Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
REX_R, REX_X and REX_B respectively.

17 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
Richard Sandiford [Wed, 21 Mar 2007 20:11:06 +0000 (20:11 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
of glob.  Quote arguments with single quotes too.
* configure: Regenerate.

17 years ago2003-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 21 Mar 2007 00:24:25 +0000 (00:24 +0000)]
2003-03-20  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Tweak srcdist to fix build issue.

17 years agoAdd --enable-mingw-manpage-transform configure option.
Keith Marshall [Tue, 20 Mar 2007 23:19:34 +0000 (23:19 +0000)]
Add --enable-mingw-manpage-transform configure option.

17 years ago*** empty log message ***
H.J. Lu [Mon, 19 Mar 2007 23:06:06 +0000 (23:06 +0000)]
*** empty log message ***

17 years ago * include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.
Danny Smith [Sun, 18 Mar 2007 00:23:44 +0000 (00:23 +0000)]
* include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.

17 years ago2007-03-16 Charles Wilson <cygwin@...>
Jeff Johnston [Fri, 16 Mar 2007 21:16:09 +0000 (21:16 +0000)]
2007-03-16  Charles Wilson  <cygwin@...>

        * libc/argz/argz_insert.c: "before" pointer is
        invalid after *argz realloc.  Compute offset
        between "before" and *argz, and use it after
        reallocation instead.

17 years ago2007-03-16 Eric Blake <ebb9@byu.net>
Jeff Johnston [Fri, 16 Mar 2007 20:05:10 +0000 (20:05 +0000)]
2007-03-16  Eric Blake  <ebb9@byu.net>

        * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.

17 years ago2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 15 Mar 2007 21:32:13 +0000 (21:32 +0000)]
2007-03-15  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Add new --enable-newlib-reent-small option.
        * configure: Regenerated.
        * acconfig.h: Add _WANT_REENT_SMALL.
        * newlib.hin: Regenerated minus PACKAGE macros to add
        _WANT_REENT_SMALL macro.
        * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
        if not already set.
        * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
        there is no buffer.
        * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
        use reentrant pointer passed in when resetting the file
        pointer to one of the std streams.

17 years ago2007-03-15 Eric Blake <ebb9@byu.net>
Jeff Johnston [Thu, 15 Mar 2007 18:40:48 +0000 (18:40 +0000)]
2007-03-15  Eric Blake  <ebb9@byu.net>

* libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
(__smakebuf): Rename...
(__smakebuf_r): to this.
* libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
* libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
allocation, then rename...
(__smakebuf_r): ...to this and fix reentrancy.
* libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
allocation, then rename...
(__swsetup_r): ...to this and fix reentrancy.
* libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/fclose.c (_fclose_r): Likewise.
* libc/stdio/fread.c (_fread_r): Likewise.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
failed asprintf allocation, and fix reentrancy.
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
as required by POSIX.
* libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
* libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.

17 years agogas/
H.J. Lu [Thu, 15 Mar 2007 14:31:24 +0000 (14:31 +0000)]
gas/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

* config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
"opcode/i386.h".
(md_begin): Check reg_name != NULL for the last entry in
i386_regtab.

* config/tc-i386.h: Move many entries to opcode/i386.h and
opcodes/i386-opc.h.

* configure.in (need_opcodes): Set true for i386.
* configure: Regenerated.

include/opcode/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h: Add entries from config/tc-i386.h and move tables
to opcodes/i386-opc.h.

opcodes/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (CFILES): Add i386-opc.c.
(ALL_MACHINES): Add i386-opc.lo.
Run "make dep-am".
* Makefile.in: Regenerated.

* configure.in: Add i386-opc.lo for bfd_i386_arch.
* configure: Regenerated.

* i386-dis.c: Include "opcode/i386.h".
(MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
(FWAIT_OPCODE): Remove definition.
(UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
(MAX_OPERANDS): Remove definition.

* i386-opc.c: New file.
* i386-opc.h: Likewise.

17 years ago2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 14 Mar 2007 03:26:06 +0000 (03:26 +0000)]
2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (FloatDR): Removed.
(i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.

17 years ago Fix typo.
Corinna Vinschen [Tue, 13 Mar 2007 13:39:27 +0000 (13:39 +0000)]
Fix typo.

17 years ago * include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):
Corinna Vinschen [Tue, 13 Mar 2007 13:22:00 +0000 (13:22 +0000)]
* include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):
Avoid compiler warnings.

17 years ago2007-03-12 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 12 Mar 2007 20:30:08 +0000 (20:30 +0000)]
2007-03-12  Eric Blake  <ebb9@byu.net>

        * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
        allocation to caller.
        * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
        * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
        * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.

17 years ago2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
DJ Delorie [Mon, 12 Mar 2007 20:19:44 +0000 (20:19 +0000)]
2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate

17 years agoAdd manpages for dirname and basename functions.
Keith Marshall [Sun, 11 Mar 2007 00:15:00 +0000 (00:15 +0000)]
Add manpages for dirname and basename functions.

17 years agoMake basename and dirname functions work with path names
Keith Marshall [Thu, 8 Mar 2007 23:15:58 +0000 (23:15 +0000)]
Make basename and dirname functions work with path names
containing multibyte character strings.

17 years agoinclude/elf/
Alan Modra [Thu, 8 Mar 2007 11:28:35 +0000 (11:28 +0000)]
include/elf/
* v850.h (V850_OTHER_TDA_BYTE): Delete.
(V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
that don't clash with visibility bits.
bfd/
* elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out
V850_OTHER_* bits.

17 years ago2007-03-06 Brandon Sneed <brandon@oqo.com>
Chris Sutcliffe [Wed, 7 Mar 2007 23:18:35 +0000 (23:18 +0000)]
2007-03-06  Brandon Sneed <brandon@oqo.com>

        * include/setupapi.h: Added SetupConfigureWmiFromInfSectionA
        Added SetupConfigureWmiFromInfSectionW
        Added SetupConfigureWmiFromInfSection define to unicode and non-unicode sections

        * lib/setupapi.def: Added exports for SetupConfigureWmiFromInfSectionA and W

        * include/winuser.h: Added PBT_APMQUERYSUSPEND
        Added PBT_APMQUERYSTANDBY
        Added PBT_APMQUERYSUSPENDFAILED
        Added PBT_APMQUERYSTANDBYFAILED
        Added PBT_APMSUSPEND
        Added PBT_APMSTANDBY
        Added PBT_APMRESUMECRITICAL
        Added PBT_APMRESUMESUSPEND
        Added PBT_APMRESUMESTANDBY
        Added PBT_APMBATTERYLOW
        Added PBT_APMPOWERSTATUSCHANGE
        Added PBT_APMOEMEVENT
        Added PBT_APMRESUMEAUTOMATIC

        * include/wtsapi32.h: New file

        * include/wingdi.h: Added DM_DISPLAYORIENTATION define for use with DMDO_* defines

17 years ago* signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.
Christopher Faylor [Wed, 7 Mar 2007 21:51:27 +0000 (21:51 +0000)]
* signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.

17 years ago * fhandler_proc.cc: Fix formatting. Drop setting errno when creating
Corinna Vinschen [Wed, 7 Mar 2007 14:03:29 +0000 (14:03 +0000)]
* fhandler_proc.cc: Fix formatting.  Drop setting errno when creating
proc file content.
(format_proc_uptime): Simplify.
(format_proc_cpuinfo): Align more closely to output of Linux 2.6 kernel.
Evaluate more data, especially for AMD CPUs.

17 years ago * configure: Regenerate.
Andreas Schwab [Wed, 7 Mar 2007 14:02:20 +0000 (14:02 +0000)]
* configure: Regenerate.

config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.

17 years ago * common.h (ELF_ST_VISIBILITY): Comment typo fix.
Alan Modra [Wed, 7 Mar 2007 10:18:56 +0000 (10:18 +0000)]
* common.h (ELF_ST_VISIBILITY): Comment typo fix.

17 years agomerge from gcc
DJ Delorie [Tue, 6 Mar 2007 19:00:57 +0000 (19:00 +0000)]
merge from gcc

17 years ago Fix log entry.
Corinna Vinschen [Tue, 6 Mar 2007 16:35:45 +0000 (16:35 +0000)]
Fix log entry.

17 years ago Add accidentally missing checkins.
Corinna Vinschen [Tue, 6 Mar 2007 16:29:40 +0000 (16:29 +0000)]
Add accidentally missing checkins.

* fhandler.h (fhandler_base::fstat_helper): Add creation time parameter.
* glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.

17 years ago * include/cygwin/stat.h (S_TYPEISMQ): Define.
Corinna Vinschen [Tue, 6 Mar 2007 14:56:44 +0000 (14:56 +0000)]
* include/cygwin/stat.h (S_TYPEISMQ): Define.
(S_TYPEISSEM): Dttio.
(S_TYPEISSHM): Ditto.

17 years ago * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member
Corinna Vinschen [Tue, 6 Mar 2007 14:48:25 +0000 (14:48 +0000)]
* fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member
st_birthtim to useful value.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Take
additional parameter for creation time.  Fill st_birthtim with it.
Accomodate additional creation time parameter throughout.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Set new stat member
st_birthtim to useful value.
* fhandler.cc (fhandler_base::fstat): Ditto.
* fhandler_registry.cc (fhandler_registry::fstat): Ditto.
* include/cygwin/version.h: Bump API minor number.
* include/cygwin/stat.h (struct __stat64): Replace st_spare4 with
timestruc_t st_birthtim.
(struct stat): Ditto if __CYGWIN_USE_BIG_TYPES__ is defined.
(st_birthtime): Define if __CYGWIN_USE_BIG_TYPES__ is defined.

17 years ago2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
Martin Schwidefsky [Tue, 6 Mar 2007 13:19:07 +0000 (13:19 +0000)]
2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
instruction formats added.
(MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
masks added.
* opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
instructions added.
* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
(main): z9-ec cpu type option added.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.

2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/tc-s390.c (md_parse_option): z9-ec option added.

2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: New file.
* gas/s390/zarch-z9-ec.s: New file.
* gas/s390/s390.exp: Run the z9-ec testcases.

17 years ago2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>
Chris Sutcliffe [Tue, 6 Mar 2007 01:53:36 +0000 (01:53 +0000)]
2007-03-05  Jan Nijtmans  <nijtmans@users.sourceforge.net>

        * include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch
        argument to constant.

17 years agoMerge from gcc:
DJ Delorie [Mon, 5 Mar 2007 23:19:10 +0000 (23:19 +0000)]
Merge from gcc:

+2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
+
+ * configure.ac: Add "--with-pdfdir" configure option,
+ which defines pdfdir variable.
+ * Makefile.def (target=fixincludes): Add install-pdf to
+ missing targets.
+ (recursive_targets): Add install-pdf target.
+ (flags_to_pass): Add pdfdir.
+ * Makefile.tpl: Add pdfdir handling, add do-install-pdf
+ target.
+ * configure: Regenerate
+ * Makefile.in: Regenerate
+
+2007-02-28  Eric Christopher  <echristo@apple.com>
+
+ Revert:
+ 2006-12-07  Mike Stump  <mrs@apple.com>
+
+ * Makefile.def (dependencies): Add dependency for
+ install-target-libssp and install-target-libgomp on
+ install-gcc.
+ * Makefile.in: Regenerate.
+
+2007-02-27  Matt Kraai  <kraai@ftbfs.org>
+
+ * configure: Regenerate.
+ * configure.ac: Move statements after variable declarations.
+

17 years ago * include/io.h (__mingw_access): New static inline wrapper to restore
Danny Smith [Mon, 5 Mar 2007 08:25:32 +0000 (08:25 +0000)]
* include/io.h (__mingw_access): New static inline wrapper to restore
pre-Vista 'access (fname, X_OK)'  behaviour.
(__USE_MINGW_ACCESS): Use to map access() to __mingw_access().

17 years ago * mingwex/fesetround.c (fesetround): Use unsigned int as operand
Danny Smith [Mon, 5 Mar 2007 07:42:36 +0000 (07:42 +0000)]
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
to  stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>

17 years ago * ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
Corinna Vinschen [Fri, 2 Mar 2007 20:04:26 +0000 (20:04 +0000)]
* ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
* syscalls.cc (unlink_nt): Check shared directory for being empty
before trying to move and mark for deletion.

17 years ago * security.cc (get_file_attribute): Avoid compiler warning.
Corinna Vinschen [Fri, 2 Mar 2007 19:54:20 +0000 (19:54 +0000)]
* security.cc (get_file_attribute): Avoid compiler warning.

17 years ago * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
Ben Elliston [Thu, 1 Mar 2007 23:08:21 +0000 (23:08 +0000)]
* spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
that GCC runtime stack checking works.  Handle the backchain, too.

17 years ago* fork.cc (fork): Reset child to true after fork since it may have been reset
Christopher Faylor [Thu, 1 Mar 2007 18:43:38 +0000 (18:43 +0000)]
* fork.cc (fork): Reset child to true after fork since it may have been reset
by fork memory copies.

17 years ago* Makefile (DLL_OFILES): Remove ntea.o
Christopher Faylor [Thu, 1 Mar 2007 15:13:47 +0000 (15:13 +0000)]
* Makefile (DLL_OFILES): Remove ntea.o
* environ.cc (set_ntea): Delete.
(parse_thing): Delete "ntea" setting.
* fhandler.cc (fhandler_base::open): Remove allow_ntea considerations.
(check_posix_perm): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto.
(fhandler_base::open_fs): Ditto.
(fhandler_disk_file::mkdir): Ditto.
* path.cc (symlink_worker): Ditto.
* security.cc (get_file_attribute): Ditto.
(set_file_attribute): Ditto.
* security.h: Remove allow_ntea declaration.

17 years ago * spu-insns.h: Add soma double-float insns.
Alan Modra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.

17 years ago * path.cc (close_user_proc_parms_cwd_handle): Remove.
Corinna Vinschen [Tue, 27 Feb 2007 18:38:22 +0000 (18:38 +0000)]
* path.cc (close_user_proc_parms_cwd_handle): Remove.
(cwdstuff::init): Don't call close_user_proc_parms_cwd_handle.
Call set to set cwd with all-sharing handle.
(cwdstuff::set): Fix comment.  Don't close cwd handle.  Set in
user parameter block instead and close old cwd handle.
* syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or
DeleteFile to allow deleting shared files/directories.

17 years ago * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
Corinna Vinschen [Tue, 27 Feb 2007 12:58:56 +0000 (12:58 +0000)]
* fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
case of query_open flag set to query_read_control.  Add case for
new query_read_attributes flag.
(fhandler_base::fstatvfs): New method.
* fhandler.h (enum query_state): Add query_read_attributes flag.
(class fhandler_base): Declare new virtual fstatvfs method.
(class fhandler_socket): Ditto.
(class fhandler_pipe): Ditto.
(class fhandler_fifo): Ditto.
(class fhandler_disk_file): Ditto.
(class fhandler_virtual): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with
query_read_attributes instead of query_read_control.
(fhandler_disk_file::fstatvfs): New method.
(fhandler_disk_file::facl): Open with query_read_attributes instead of
query_read_control.
* fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method.
* fhandler_socket.cc (fhandler_socket::fstatvfs): New method.
(fhandler_socket::fchmod): Return with EBADF in the default case.
(fhandler_socket::fchown): Ditto.
(fhandler_socket::facl): Ditto.
* fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto.
* ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define.
(struct _FILE_FS_FULL_SIZE_INFORMATION): Define.
* pipe.cc (fhandler_pipe::fstatvfs): New method.
* syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs.
(statvfs): Ditto.
(fstatfs): Call fstatvfs.
(statfs): Drop EFAULT handling.

17 years ago * mt-spu (all-ld): Depend on all-binutils.
Alan Modra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

17 years ago2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
Danny Smith [Tue, 27 Feb 2007 07:40:12 +0000 (07:40 +0000)]
2007-02-27  Thorsten Dahlheimer  <tdahlheim@gmx.net>

* include/stdio.h (_unlink, unlink): Add prototypes.

17 years ago * fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
Corinna Vinschen [Mon, 26 Feb 2007 14:19:00 +0000 (14:19 +0000)]
* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
fixed value.

17 years ago * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
Corinna Vinschen [Mon, 26 Feb 2007 12:39:25 +0000 (12:39 +0000)]
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
(registry_keys): Drop HKEY_DYN_DATA.
* net.cc: Fix comment.
* syslog.cc: Ditto.

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