Corinna Vinschen
39f7ae0616
* times.cc (futimes): Redirect to utimes_worker if given file
...
descriptor is opened R/O.
2005-11-07 17:08:08 +00:00
John David Anglin
835cc311c3
* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
2005-11-07 00:08:35 +00:00
Christopher Faylor
2b91e0dac4
* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be used
...
by subsequent handle creation.
2005-11-06 14:02:33 +00:00
Christopher Faylor
72319550c1
* cygheap.h (init_cygheap::_gtod): New hires_ms element.
...
* hires.h (hires_ms::minperiod): Remove static designation.
(hires::began_period): New field.
* signal.cc: Include headers required for cygheap.h now that gtod lives in the
cygheap.
* timer.c: Ditto.
* times.cc (gtod): Delete variable.
(gtod::minperiod): Ditto.
(gtod::began_period): Define.
(hires_ms::prime): Add more debugging output. Call timeBeginPeriod only when
!began_period.
2005-11-04 20:45:56 +00:00
Christopher Faylor
f359a29fc8
* times.cc (hires_ms::prime): More debugging.
...
(hires_ms::usecs): Ditto.
2005-11-04 17:38:32 +00:00
Danny Smith
39dd399c50
2005-11-04 Michael Jung <mjung@iss.tu-darmstadt.de>
...
* lib/shell32.c (CLSID_ShellFSFolder): Add GUID.
2005-11-04 02:19:26 +00:00
Christopher Faylor
86548162b0
* times.cc (stupid_printf): Define and use throughout -- temporarily.
2005-11-04 02:01:45 +00:00
Jeff Johnston
15eaca1c3f
2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/unix/getcwd.c: Don't use non-reentrant syscall names.
* libc/unix/getlogin.c: Ditto.
* libc/unix/getpass.c: Ditto.
* libc/unix/getut.c: Ditto.
* libc/unix/ttyname.c: Ditto.
2005-11-03 20:47:50 +00:00
Jeff Johnston
d31a862312
2005-11-03 Shaun Jackman <sjackman@gmail.com>
...
* libc/include/sys/unistd.h (readlink, symlink): Provide these
prototypes by default.
* libc/sys/linux/include/unistd.h (readlink): Remove this
prototype.
* libc/sys/linux/sys/unistd.h (readlink, symlink): New
prototypes.
2005-11-03 16:52:15 +00:00
Christopher Faylor
314f743e1e
* times.cc (hires_ms::prime): Add lots of temporary debugging output.
2005-11-03 14:59:23 +00:00
Danny Smith
cdf5300155
* lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData,
...
CryptUnprotectData, CryptDecodeObjectEx, CryptEncodeObjectEx,
CryptRegisterOIDFunction, CryptUnregisterOIDFunction): Add stubs.
Thanks to: F Richter <res2002 at users dot sourceforge dot net>
Fix some ChangeLog whitespace.
2005-11-03 08:21:18 +00:00
Alan Modra
161a8490fb
* bfdlink.h (struct bfd_link_order): Tweak comment.
2005-11-03 02:52:51 +00:00
Christopher Faylor
369adcf72f
* times.cc (hires_ms::minperiod): Make copy-on-fork.
...
(gettimeofday): Remove temporary debugging.
(hires_us::prime): Add lots of temporary debugging output.
2005-11-03 02:41:51 +00:00
Christopher Faylor
1c2812f80e
* times.cc (gettimeofday): Add temporary debugging output.
2005-11-02 18:28:40 +00:00
Jeff Johnston
71ac53ee13
2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/include/stdint.h: Cleanup #if vs. #ifdef.
2005-11-01 22:26:21 +00:00
Christopher Faylor
b7bb9f5fde
* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.
...
* exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the
process is being debugged. A WIP.
2005-11-01 05:55:30 +00:00
Jeff Johnston
dc1b6289a6
2005-10-31 Darin Johnson <darin@usa.net>
...
* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
correct for constants.
2005-10-31 18:47:20 +00:00
DJ Delorie
00ee7d4e99
merge from gcc
2005-10-31 18:01:16 +00:00
Chris Sutcliffe
ecb476c165
2005-10-29 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/objbase.h: Fix typo.
* include/w32api.h: Increment version to 3.5.
* Makefile.in: Ditto.
2005-10-30 00:07:58 +00:00
Christopher Faylor
0dc249751d
* exceptions.cc (signal_exit): Eliminate setting of main thread priority since
...
process lock should make that unnecessary.
* fork.cc (stack_base): Eliminate.
(frok::parent): Subsume stack_base and just set stack stuff here. Report on
priority class in debugging output.
* spawn.cc (spawn_guts): Report on priority class in debugging output.
2005-10-29 20:33:59 +00:00
Christopher Faylor
f02b22dcee
* fork.cc (frok::child): Change order of cleanup prior to return.
...
(fork): Save more of the stack.
* gendef: Fix some comments.
* sigproc.cc (wait_sig): Clarify debug output.
2005-10-29 15:19:34 +00:00
Christopher Faylor
c85263884a
* child_info.h (CHILD_INFO_MAGIC): Reset.
2005-10-29 15:05:55 +00:00
Jeff Johnston
884c0ff016
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
* libc/stdio/siscanf.c: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/sscanf.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/vfscanf.c: Likewise.
* libc/stdio/viprintf.c: Likewise.
* libc/stdio/viscanf.c: Likewise.
2005-10-28 21:38:59 +00:00
Jeff Johnston
a9c15f6feb
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/sys.tex (Stubs): Format examples consistently. Change sbrk
example to use "_end" symbol instead of "end". Change write example
to use "outbyte" instead of "writechar".
2005-10-28 21:36:05 +00:00
Jeff Johnston
a306ebc97e
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
* libc/ctype/islower.c: Likewise.
* libc/ctype/isupper.c: Likewise.
* libc/ctype/iswalnum.c: Likewise.
* libc/ctype/iswalpha.c: Likewise.
* libc/ctype/iswblank.c: Likewise.
* libc/ctype/iswcntrl.c: Likewise.
* libc/ctype/iswdigit.c: Likewise.
* libc/ctype/iswgraph.c: Likewise.
* libc/ctype/iswlower.c: Likewise.
* libc/ctype/iswprint.c: Likewise.
* libc/ctype/iswpunct.c: Likewise.
* libc/ctype/iswspace.c: Likewise.
* libc/ctype/iswupper.c: Likewise.
* libc/ctype/iswxdigit.c: Likewise.
* libc/ctype/tolower.c: Likewise.
* libc/ctype/toupper.c: Likewise.
* libc/ctype/towctrans.c: Likewise.
* libc/ctype/towlower.c: Likewise.
* libc/ctype/towupper.c: Likewise.
* libc/string/strcasecmp.c: Likewise.
* libc/string/strcoll.c: Likewise.
* libc/string/strings.tex: Likewise.
* libc/string/strlwr.c: Likewise.
* libc/string/strncasecmp.c: Likewise.
* libc/string/strupr.c: Likewise.
* libc/string/wcscoll.c: Likewise.
* libc/string/wcslcat.c: Likewise.
* libc/string/wcslcpy.c: Likewise.
* libc/string/wcsnlen.c: Likewise.
* libc/string/wcsstr.c: Likewise.
* libc/string/wcstrings.tex: Likewise.
* libc/string/wmemchr.c: Likewise.
* libc/string/wmemcmp.c: Likewise.
* libc/string/wmemcpy.c: Likewise.
* libc/string/wmemmove.c: Likewise.
* libc/string/wmemset.c: Likewise.
2005-10-28 21:33:23 +00:00
Jeff Johnston
239c2bf93e
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/misc/unctrl.c: Replace FUNCTION description.
* libc/signal/signal.c: Remove documentation for raise and _raise_r.
* libc/stdio/getdelim.c: Fix spelling errors.
* libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
* libc/stdio/putw.c: Likewise.
* libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
documentation.
* libc/stdlib/assert.c: Do not capitalize FUNCTION description.
* libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
* libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
* libc/stdlib/mlock.c: Likewise.
* libc/stdlib/mstats.c: Likewise.
* libc/time/tzlock.c: Likewise.
* libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
* libc/stdlib/rand48.c: Remove extra space in FUNCTION description
and hyphenate "pseudo-random".
* libc/string/bcmp.c: Remove extra blank lines in documentation.
* libc/string/strncat.c: Likewise.
* libc/string/memchr.c: Remove extra ">" character in documentation.
* libc/string/strcspn.c: Use "characters" instead of "chars".
* libc/string/strpbrk.c: Likewise.
* libc/string/strerror_r.c: Capitalize "GNU".
* libc/string/strnlen.c: Likewise.
* libc/string/strtok.c: Fix formatting, spelling and punctuation in
documentation. Use "multi-threaded" and "thread-safe" in NOTES.
* libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
* libc/string/wcschr.c: Likewise.
* libc/string/wcscmp.c: Likewise.
* libc/string/wcscpy.c: Likewise.
* libc/string/wcscspn.c: Likewise.
* libc/string/wcslen.c: Likewise.
* libc/string/wcsncat.c: Likewise.
* libc/string/wcsncmp.c: Likewise.
* libc/string/wcsncpy.c: Likewise.
* libc/string/wcsnlen.c: Likewise.
* libc/string/wcspbrk.c: Likewise.
* libc/string/wcsrchr.c: Likewise.
* libc/string/wcsspn.c: Likewise.
* libc/string/wmemchr.c: Likewise.
* libc/string/wmemcmp.c: Likewise.
* libc/string/wmemcpy.c: Likewise.
* libc/string/wmemset.c: Likewise.
* libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
* libc/string/wcswidth.c: Formatting and punctuation in documentation.
* libc/string/wcwidth.c: Likewise.
* libm/common/s_modf.c: Remove extra period from documentation.
* libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
documentation.
* libm/mathfp/s_isnan.c: Likewise.
* libm/math/s_ldexp.c: Fix punctuation.
* libm/mathfp/s_ldexp.c: Likewise.
* libm/math/w_log.c: Likewise.
* libm/mathfp/s_logarithm.c: Likewise.
* libm/math/w_j0.c: Add spaces to FUNCTION description.
* libm/mathfp/w_jn.c: Likewise.
2005-10-28 21:21:08 +00:00
Dave Brolley
39e9e2b0c9
2005-10-28 Dave Brolley <brolley@redhat.com>
...
Contribute the following changes:
2003-09-29 Dave Brolley <brolley@redhat.com>
* dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
more exotic underlying types to be used.
2005-10-28 19:41:01 +00:00
Dave Brolley
2f8b2203e3
2005-10-28 Dave Brolley <brolley@redhat.com>
...
Contribute the following changes:
2005-02-16 Dave Brolley <brolley@redhat.com>
* cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
cgen_isa_mask_* to cgen_bitset_*.
* cgen.h: Likewise.
2005-10-28 19:38:59 +00:00
Chris Sutcliffe
cc2ac099b5
2005-10-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/w32api.h: Increment version to 3.4.
* Makefile.in: Ditto.
2005-10-27 23:28:21 +00:00
Chris Sutcliffe
8cc9ac230c
2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.9.
* Makefile.in: Ditto.
2005-10-27 21:21:58 +00:00
Jeff Johnston
2556eb8d41
2005-10-26 Shaun Jackman <sjackman@gmail.com>
...
* libc/posix/scandir.c (scandir): Update the function
prototype to match the header.
* libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
extraneous #endif.
* libc/sys/linux/sys/lock.h: Do not include
machine/weakalias.h, since it's not used by this file.
2005-10-26 22:16:34 +00:00
Jeff Johnston
c9d71a8d46
2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/Makefile.am: Reorder SUBLIBS so machine and sys
directories can override properly.
2005-10-26 22:10:51 +00:00
Nick Clifton
4aa1b05777
Add support for the Z80 processor family
2005-10-25 17:40:19 +00:00
Christopher Faylor
6573722005
* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.
2005-10-24 15:42:14 +00:00
Corinna Vinschen
6485bf0b33
* spawn.cc (spawn_guts): Don't leave the function with return inside
...
pthread cleanup brackets.
2005-10-24 15:17:54 +00:00
Christopher Faylor
16bbf0cc57
* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
...
(cygheap_fdenum::rewind): Ditto.
* pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating.
* times.cc (utimes_worker): Ditto.
2005-10-24 15:09:07 +00:00
Jan Beulich
95baaf8819
include/opcode/
...
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.
bfd/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.
gas/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.
gas/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.
opcodes/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64-asmtab.c: Regenerate.
2005-10-24 07:42:50 +00:00
Christopher Faylor
0f9a8fc652
add missing ChangeLog entry
2005-10-24 00:02:05 +00:00
Christopher Faylor
82c925af80
* cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or suffer
...
deadlocks.
(class locked_process): Move to another header.
* sync.h (lock_process): Define here.
* cygtls.cc (_cygtls::fixup_after_fork): Reset spinning state as well as
stacklock state.
* dcrt0.cc (lock_process::locker): Define.
(dtable::lock_cs): Delete.
* dtable.cc (dtable_init): Eliminate call to init_lock().
(dtable::fixup_after_fork): Ditto.
(dtable::init_lock): Delete definition.
* dtable.h (dtable::init_lock): Delete declaration.
(dtable::lock): Use process lock rather than dtable-specific lock.
(dtable::unlock): Ditto.
* sigproc.cc (sigproc_init): Minor change to debugging output.
* times.cc (utime_worker): Use build_fh_pc rather than reinterpreting the posix
path name again. Return any error from path_conv immediately.
2005-10-23 23:47:45 +00:00
Corinna Vinschen
c2c020d1fb
* fhandler_socket.cc (fhandler_socket::connect): Don't restrict
...
WSAEINVAL -> WSAEISCONN conversion to nonblocking sockets.
(fhandler_socket::accept): Use event driven technique to implement
interuptible accept.
(fhandler_socket::wait): Allow FD_ACCEPT handling.
* net.cc (cygwin_accept): Remove workaround for allowing blocking
accept. That's entirely in fhandler_socket::accept now.
2005-10-22 16:02:15 +00:00
Corinna Vinschen
152a9caf58
* fhandler.h (class fhandler_socket): Add timeout parameter to wait()
...
method.
* fhandler_socket.cc (fhandler_socket::connect): Use event driven
technique (prepare/wait/release) to implement interuptible connect.
(fhandler_socket::wait): Add timeout parameter. Allow FD_CONNECT
handling.
* net.cc (cygwin_connect): Remove braindead workaround for allowing
blocking connect. That's entirely in fhandler_socket::connect now.
2005-10-22 15:11:49 +00:00
Paolo Bonzini
ecebee4838
2005-10-22 Paolo Bonzini <bonzini@gnu.org>
...
PR bootstrap/24297
* Makefile.tpl (do-[+make-target+], do-check, install,
stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
are set before recursing.
* Makefile.in: Regenerate.
2005-10-22 10:37:55 +00:00
Corinna Vinschen
88d30f0b2f
* include/cygwin/version.h: Fix typo.
2005-10-22 10:28:02 +00:00
Mark Mitchell
f4f1045c8c
Fix typo
2005-10-21 23:31:33 +00:00
Mark Mitchell
6fd3ff4e70
* texi2pod.pl: Substitue for @value even when part of @include.
2005-10-21 23:29:22 +00:00
Bob Wilson
a6d19f4cd4
* texi2pod.pl: Import latest version from GCC.
2005-10-21 18:08:07 +00:00
Christopher Faylor
a591389de3
* dir.cc (rmdir): Eliminate nonsensical code.
...
* fork.cc (fork): Move exit debug_printf to last statement.
2005-10-21 14:08:19 +00:00
Jeff Johnston
09968b6d27
2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
gcc is 3.3 or greater, use special gcc builtins.
2005-10-20 21:42:33 +00:00
Jeff Johnston
34da20b26f
2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
...
* arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and
BUILD_CRT0_FALSE.
* arm/configure: Regenerate.
2005-10-20 20:17:50 +00:00
Corinna Vinschen
c70571bdbe
* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2005-10-20 14:38:57 +00:00