]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.
Christopher Faylor [Fri, 23 Sep 2005 19:23:26 +0000 (19:23 +0000)]
* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.

19 years ago * enable.m4: New file.
Tom Tromey [Fri, 23 Sep 2005 17:28:31 +0000 (17:28 +0000)]
* enable.m4: New file.
* tls.m4: New file.

19 years ago2005-09-23 James E Wilson <wilson@specifix.com>
Jeff Johnston [Fri, 23 Sep 2005 15:51:10 +0000 (15:51 +0000)]
2005-09-23  James E Wilson  <wilson@specifix.com>

        * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
        mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
        mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
        mips/pmon.ld: Change x* to x.* in existing linkonce lines.  Add
        support for .gnu.linkonce.b.*.

19 years ago* cygtls.h (struct _cygtls::thread_handle): Remove/revert.
Christopher Faylor [Fri, 23 Sep 2005 15:18:22 +0000 (15:18 +0000)]
* cygtls.h (struct _cygtls::thread_handle): Remove/revert.
* sigproc.h (struct sipacket::thread_handle): Put thread_handle here.
* sigproc.cc (sigproc_terminate): Move setting of thread_handle...
(sig_send): ...to here.  Put it in packet being sent.  Only close pack.wakeup
when we're waiting for completion.
(wait_sig): Use thread_handle directly from received packet.

19 years ago2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 23 Sep 2005 10:50:15 +0000 (10:50 +0000)]
2005-09-23      Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * lib/shell32.def (SHILCreateFromPath): Add stub.
        Thanks to: Michael Jung <mjung at iss dot tu-darmstadt dot de>

19 years ago* tlsoffsets.h: Regenerate.
Christopher Faylor [Fri, 23 Sep 2005 03:40:57 +0000 (03:40 +0000)]
* tlsoffsets.h: Regenerate.

19 years ago* cygheap.cc (cygheap_fixup_in_child): It's not just for exec.
Christopher Faylor [Fri, 23 Sep 2005 03:35:41 +0000 (03:35 +0000)]
* cygheap.cc (cygheap_fixup_in_child): It's not just for exec.
* cygtls.h (struct _cygtls::thread_handle): New field.
* dcrt0.cc (exit_lock): Remove declaration.
* winsup.h (exit_lock): Add declaration.
* exceptions.cc (sigpacket::process): Properly return after signal_exit.
* pinfo.cc (pinfo::exit): Only exit the process if _my_tls.thread_handle has
not been filled out -- which should be an impossible event.
* sigproc.cc (sigproc_terminate): Fillout _my_tls.thread_handle to provide
something for wait_sig to wait for.  Use the siginfo_t version of sig_send and
fill out the tls argument with _my_tls.
(wait_sig): Wait for the thread specified in pack.tls or (for now) complain
bitterly if it doesn't exit.

19 years ago* pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.
Christopher Faylor [Thu, 22 Sep 2005 21:10:07 +0000 (21:10 +0000)]
* pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.
(pinfo::init): Sleep and issue debugging output before looping when a
PID_EXITED is found.

19 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
Corinna Vinschen [Thu, 22 Sep 2005 17:53:38 +0000 (17:53 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
bug.

19 years ago* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.
Christopher Faylor [Thu, 22 Sep 2005 17:06:48 +0000 (17:06 +0000)]
* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.

19 years ago* include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
Christopher Faylor [Thu, 22 Sep 2005 16:41:36 +0000 (16:41 +0000)]
* include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
(_STRACE_OFF): Remove semicolon from definition.

19 years ago * fhandler.h (fhandler_base::fstat_helper): Declare with additional
Corinna Vinschen [Thu, 22 Sep 2005 15:52:02 +0000 (15:52 +0000)]
* fhandler.h (fhandler_base::fstat_helper): Declare with additional
file attributes argument.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use
file attributes evaluated from NtQueryFileInformation or
FileInformationByHandle in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_by_name): Use file attributes evaluated from
FindFileFirst or default attribute in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_helper): Use file attributes given as argument,
not file attributes stored in this fhandler, since this information
is potentially wrong.  Add comment to explain this.
* path.h (has_attribute): New global inline function.
(path_conv::set_attributes): New method to change fileattr.

19 years ago Fix typo.
Corinna Vinschen [Wed, 21 Sep 2005 22:27:38 +0000 (22:27 +0000)]
Fix typo.

19 years ago Align error message handling to mkpasswd's error messages throughout.
Corinna Vinschen [Wed, 21 Sep 2005 22:26:08 +0000 (22:26 +0000)]
Align error message handling to mkpasswd's error messages throughout.
* mkgroup.c (print_win_error): Create macro calling ...
(_print_win_error): ... this function created from former
print_win_error.  Move up in source.
(PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it.
* mkpasswd.c (PDOMAIN_CONTROLLER_INFOW): Define return type of
DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it.  Rename local variable
domain_name_specified to domain_specified as in mkgroup.c.

19 years ago* cygthread.cc (cygthread::operator new): Just use getenv() to look for
Christopher Faylor [Wed, 21 Sep 2005 19:29:50 +0000 (19:29 +0000)]
* cygthread.cc (cygthread::operator new): Just use getenv() to look for
CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated by
being previously execed.

19 years ago2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 21 Sep 2005 19:20:46 +0000 (19:20 +0000)]
2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/winbase.h (RegisterWaitForSingleObject,
RegisterWaitForSingleObjectEx): Define.
* lib/kernel32.def (RegisterWaitForSingleObjectEx@20): Define.
(RegisterWaitForSingleObject@16): Changed to
RegisterWaitForSingleObject@24.
Thanks to: Brandon Sneed <nivenh at users dot sourceforge dot net>

19 years ago2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Sep 2005 22:36:07 +0000 (22:36 +0000)]
2005-09-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/stdint.h: Update to match functionality
        of generic newlib stdint.h.

19 years ago2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Sep 2005 21:21:51 +0000 (21:21 +0000)]
2005-09-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
        and do not #undef the macro after it is used.  Fix typos.
        Also change 64-bit constants to use the __have_long64 and
        __have_longlong64 flags to determine if long or long long
        constants should be used.
        * libc/include/inttypes.h: Include stddef.h to get wchar_t
        type defined.

19 years ago2005-09-20 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Tue, 20 Sep 2005 19:33:58 +0000 (19:33 +0000)]
2005-09-20  Shaun Jackman  <sjackman@gmail.com>

        * libc/include/stdint.h: Fix typo in names of
        LEAST macros.

19 years ago2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Sep 2005 19:25:57 +0000 (19:25 +0000)]
2005-09-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/rtems/include/inttypes.h: Moved to...
        * libc/include/inttypes.h: ...here.

19 years ago* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd
Christopher Faylor [Tue, 20 Sep 2005 18:32:23 +0000 (18:32 +0000)]
* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd
extension.

19 years ago2005-09-19 David Edelsohn <edelsohn@gnu.org>
David Edelsohn [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19  David Edelsohn  <edelsohn@gnu.org>

        * configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.

2005-09-14  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

        * configure.in: Recognize f95 in the --enable-languages option,
        and substitute it for fortran, issuing a warning.
        * configure: Regenerate.

19 years ago* dcrt0.cc (do_exit): Only call sigproc_terminate from one location --
Christopher Faylor [Tue, 20 Sep 2005 02:06:57 +0000 (02:06 +0000)]
* dcrt0.cc (do_exit): Only call sigproc_terminate from one location --
pinfo::exit.
* pinfo.cc (pinfo::exit): Move sigproc_terminate later so that signals can be
processed while waiting for hExeced child.
(pinfo::maybe_set_exit_code_from_windows): Set exit code from sigExeced if it
is non-zero.  Set exit_state to ES_EXEC_EXIT prior to waiting for captive
process exit code.
* exceptions.cc (sigExeced): New global variable.
(signal_exit): Remove noreturn attribute from declaration.
(signal_exit): Just terminate captive process and return if hExeced on the
theory that the exit will be subsequently handled in the main thread.
* sigproc.cc (sigproc_terminate): Eliminate test for ES_SIGPROCTERMINATE and
use ES_FINAL instead.
(sig_send): Use no_signals_available instead of duplicate test.
* winsup.h (ES_EXEC_EXIT): New enum.
(ES_SIGPROCTERMINATE): Delete.

19 years ago2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 19 Sep 2005 22:02:23 +0000 (22:02 +0000)]
2005-09-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/rtems/include/stdint.h: Moved to...
        * libc/include/stdint.h: ...here.

19 years agowhite space changes to force new snapshot
Christopher Faylor [Mon, 19 Sep 2005 15:50:56 +0000 (15:50 +0000)]
white space changes to force new snapshot

19 years ago* sigproc.cc (talktome): Take siginfo_t argument. Don't scan all pids trying
Christopher Faylor [Mon, 19 Sep 2005 14:15:06 +0000 (14:15 +0000)]
* sigproc.cc (talktome): Take siginfo_t argument.  Don't scan all pids trying
to find one that's talking to me.  Just use the pid from siginfo_t.
(wait_pid): Pass siginfo_t argument to talktome.

19 years ago * include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define.
Danny Smith [Mon, 19 Sep 2005 10:32:51 +0000 (10:32 +0000)]
* include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define.
Thanks to Gisle Vanem  <giva at bgnett dot no>

19 years ago * include/stdlib.h (strtof): Add prototype. Uglify
Danny Smith [Mon, 19 Sep 2005 09:48:08 +0000 (09:48 +0000)]
* include/stdlib.h (strtof): Add prototype.  Uglify
parameter names in inline definition.
(wcstof): Likewise.
(_Exit): Uglify parameter names in inline definition.
(llabs): Add prototype.
(_set_error_mode): Add prototype and input defines.

19 years ago* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
Christopher Faylor [Sat, 17 Sep 2005 20:36:34 +0000 (20:36 +0000)]
* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
allocated by cmalloc.

19 years ago * net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
Corinna Vinschen [Sat, 17 Sep 2005 08:55:30 +0000 (08:55 +0000)]
* net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
follow SUSv3.
* include/arpa/inet.h (inet_ntop): Ditto.
* include/cygwin/in.h: Include cygwin/socket.h to get socklen_t.

19 years ago* environ.cc (build_env): Use "kilo"bytes not "mega"bytes. Return immediately
Christopher Faylor [Fri, 16 Sep 2005 20:12:12 +0000 (20:12 +0000)]
* environ.cc (build_env): Use "kilo"bytes not "mega"bytes.  Return immediately
on error.
* spawn.cc (spawn_guts): Set return value to -1 on error from build_env.

19 years ago* environ.cc (build_env): Clear envblock and return NULL on attempt to use env
Christopher Faylor [Fri, 16 Sep 2005 19:58:12 +0000 (19:58 +0000)]
* environ.cc (build_env): Clear envblock and return NULL on attempt to use env
var > 32K.
* spawn.cc (spawn_guts): Set E2BIG if build_env detects an error.

19 years ago* environ.cc (environ_init): Protect with a 'myfault' in case
Christopher Faylor [Fri, 16 Sep 2005 15:56:06 +0000 (15:56 +0000)]
* environ.cc (environ_init): Protect with a 'myfault' in case
GetEnvironmentStrings misbehaves.
* environ.cc (environ_init): Add debugging output with value returned from
GetEnvironmentStrings.

19 years ago* environ.cc (environ_init): Issue an error if GetEnvironmentStrings fails and
Christopher Faylor [Fri, 16 Sep 2005 14:52:32 +0000 (14:52 +0000)]
* environ.cc (environ_init): Issue an error if GetEnvironmentStrings fails and
return.

19 years ago* pinfo.h (EXITCODE_SET): Move out of range of Windows error.
Christopher Faylor [Fri, 16 Sep 2005 03:16:17 +0000 (03:16 +0000)]
* pinfo.h (EXITCODE_SET): Move out of range of Windows error.
(EXITCODE_NOSET): Ditto.
* sigproc.cc (no_signals_available): Remove check for hwait_sig.  Just rely on
my_sendsig.  Pass in an argument controlling when it is appropriate to test
EXITCODE_SET.
(proc_can_be_signalled): Remove checks for myself since this function is never
called in that context.
(sigproc_init): Pre-initialize my_sendsig to non-zero so that
proc_can_be_signalled will know that we expect to be signalable soon.
(sig_send): Change debugging output.

19 years ago* sigproc.cc (no_signals_available): Return true if sending to self from the
Christopher Faylor [Fri, 16 Sep 2005 01:47:09 +0000 (01:47 +0000)]
* sigproc.cc (no_signals_available): Return true if sending to self from the
signal thread.
(wait_sig): Correct so that WaitForSingleObject is called when hMainThread is
!= 0, rather than the reverse.
* cygheap.cc (cygheap_fixup_in_child): Clarify potential error message.
* fork.cc (fork_copy): Cosmetic change.

19 years ago* sigproc.cc (wait_sig): Reorganize exit case so that ExitProcess is always
Christopher Faylor [Thu, 15 Sep 2005 16:06:18 +0000 (16:06 +0000)]
* sigproc.cc (wait_sig): Reorganize exit case so that ExitProcess is always
called, since that is the intent of sending a __SIGEXIT.  Wait forever for main
thread to go away since, presumably, the main thread told us it was going away.

19 years ago * cygwinenv.sgml (ntea): Add some wording to scare people away
Corinna Vinschen [Thu, 15 Sep 2005 08:24:46 +0000 (08:24 +0000)]
* cygwinenv.sgml (ntea): Add some wording to scare people away
from using this option.

19 years ago* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".
Christopher Faylor [Thu, 15 Sep 2005 00:31:42 +0000 (00:31 +0000)]
* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".

19 years ago* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
Christopher Faylor [Thu, 15 Sep 2005 00:02:57 +0000 (00:02 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
* spawn.cc (av::fixup): Guard against problems reading an executable which does
not match Microsoft's documentation about PE format.

19 years ago* spawn.cc (av::error): Eliminate.
Christopher Faylor [Wed, 14 Sep 2005 23:03:44 +0000 (23:03 +0000)]
* spawn.cc (av::error): Eliminate.
(av::av): Remove reference to error.
(av::replace0_maybe): Ditto.
(av::dup_maybe): Ditto.
(av::dup_all): Ditto.
(av::unshift): Ditto.
(spawn_guts): On a fault, return E2BIG only if ENOMEM has been set.  Otherwise
return EFAULT.

19 years ago* cygtls.h (san): New structure.
Christopher Faylor [Wed, 14 Sep 2005 21:26:15 +0000 (21:26 +0000)]
* cygtls.h (san): New structure.
(cygtls::andreas): New element.  Replaces _myfault and _myfault_errno.
(cygtls::fault_guarded): Use andreas.
(cygtls::return_from_fault): Ditto.
(cygtls::setup_fault): Add a parameter denoting where to store old fault
handler, if any and use it to "stack" faults.
(cygtls::reset_fault): Restore fault from parameter.
(myfault::sebastian): New variable.
(myfault::~myfault): Pass sebastian to reset_fault.
(myfault::myfault): Store old fault values in sebastian.

19 years ago* heap.cc (heap_init): Revert 2005-09-11 patch as it seems to inexplicably
Christopher Faylor [Wed, 14 Sep 2005 18:30:21 +0000 (18:30 +0000)]
* heap.cc (heap_init): Revert 2005-09-11 patch as it seems to inexplicably
cause problems with emacs.

19 years agoRemove some more unneeded 'return;'s throughout.
Christopher Faylor [Wed, 14 Sep 2005 14:27:56 +0000 (14:27 +0000)]
Remove some more unneeded 'return;'s throughout.

19 years ago* sigproc.h: Protect declaration so that it only happens when
Christopher Faylor [Wed, 14 Sep 2005 14:08:00 +0000 (14:08 +0000)]
* sigproc.h: Protect declaration so that it only happens when
__INSIDE_CYGWIN__.

19 years ago.
Christopher Faylor [Wed, 14 Sep 2005 14:02:17 +0000 (14:02 +0000)]
.

19 years ago* exceptions.cc (sigtid): Remove declaration.
Christopher Faylor [Wed, 14 Sep 2005 14:00:07 +0000 (14:00 +0000)]
* exceptions.cc (sigtid): Remove declaration.
(handle_exceptions): Use _sig_tls rather than sigtid to determine if this is
the signal thread.
(set_signal_mask): Ditto for conditionalized CGF code.
* pinfo.cc (pinfo::exit): Exit the thread if we forcefully terminated the main
thread
* sigproc.cc (sigtid): Delete.
(_sig_tls): Define.
(sig_clear): Use _sig_tls rather than sigtid to determine if this is the signal
thread.
(sig_dispatch_pending): Ditto.
(wait_sig): Set _sig_tls here.
* dcrt0.cc (do_exit): Move sigproc_terminate call later since signal handling
was still needed for subsequent stuff.  Call sigproc_terminate with new
exit_state value.
* pinfo.cc (pinfo::exit): Call sigproc_terminate with new exit_state value.
* sigproc.cc (proc_terminate): Remove unnecessary (void) parameter.
(sigproc_terminate): Ditto.  Add new argument to accept exit state to be set.
(wait_sig): Reorganize __SIGEXIT handling.  Add more debugging output.
* winsup.h (sigproc_terminate): Declare with new exit_state argument.
(exit_states): Reorganize to reflect new exit ordering of sigproc_terminate.

19 years ago* dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state
Christopher Faylor [Tue, 13 Sep 2005 17:08:54 +0000 (17:08 +0000)]
* dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state
appropriately.
* pinfo.cc (pinfo::exit): Always call sigproc_terminate here.  Rely on
sigproc_terminate to signal signal thread to handle eventual process exit.
* sigproc.cc (no_signals_available): Change criteria for determining if this
process can handle signals to itself.
(my_sendsig): New variable.  Copy of my sendsig handle.
(proc_can_be_signalled): Don't send signals if exit code is set.
(sigproc_terminate): Use and set exit_state appropriately to determine when to
do anything.  Send __SIGEXIT to self to control process exit.
(sig_send): Use my_sendsig for sending signals.  Don't call
proc_can_be_signalled for myself since the criteria is now different for
sending signals to myself.
(wait_sig): Copy myself->sendsig to my_sendsig for future use.  Exit signal
loop when __SIGEXIT is received.  Wait for main thread to exit and use its exit
status to actually exit process.
* sigproc.h (__SIGEXIT): New enum.
* dcrt0.cc (alloc_stack): Eliminate superfluous "return;".
* debug.cc (add_handle): Ditto.
* devices.in (device::parse): Ditto.
* dtable.cc (dtable::vfork_parent_restore): Ditto.
(dtable::vfork_child_fixup): Ditto.
* environ.cc (parse_options): Ditto.
* errno.cc (seterrno_from_win_error): Ditto.
* exceptions.cc (sig_handle_tty_stop): Ditto.
(set_signal_mask): Ditto.
* fhandler.cc (fhandler_base::read): Ditto.
(fhandler_base::operator delete): Ditto.
(fhandler_base::seekdir): Ditto.
(fhandler_base::rewinddir): Ditto.
* fhandler_console.cc (fhandler_console::read): Ditto.
(fhandler_console::fixup_after_exec): Ditto.
* sigproc.cc (sigproc_init): Ditto.
(sigproc_terminate): Ditto.

* devices.cc: Regenerate.

19 years ago* sigproc.cc (wait_sig): Be more defensive about detecting when we're exiting.
Christopher Faylor [Tue, 13 Sep 2005 15:05:53 +0000 (15:05 +0000)]
* sigproc.cc (wait_sig): Be more defensive about detecting when we're exiting.

19 years ago* cygthread.cc (cygthread::cygthread): Add more info to fatal error.
Christopher Faylor [Mon, 12 Sep 2005 21:19:07 +0000 (21:19 +0000)]
* cygthread.cc (cygthread::cygthread): Add more info to fatal error.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Temporarily remove
insertion of /dev into root directory.
* path.cc (path_conv::check): Ditto.

19 years ago* heap.cc (heap_init): Allocate heap from top down as a hedge against
Christopher Faylor [Mon, 12 Sep 2005 03:55:16 +0000 (03:55 +0000)]
* heap.cc (heap_init): Allocate heap from top down as a hedge against
subsequent ERROR_INVALID_ADDRESS in forked processes when CTRL-C is pressed.

19 years ago.
Christopher Faylor [Sat, 10 Sep 2005 05:51:26 +0000 (05:51 +0000)]
.

19 years ago* heap.cc (heap_init): Be slightly more aggressive when trying to allocate
Christopher Faylor [Sat, 10 Sep 2005 01:37:20 +0000 (01:37 +0000)]
* heap.cc (heap_init): Be slightly more aggressive when trying to allocate
heap.  Change fatal error to avoid confusion with cygheap.
* spawn.cc (linebuf::finish): New function.
(linebuf::add): Cosmetic change.
(spawn_guts): Only avoid building windows command line if the program being
executed was actually mounted with -X.  Don't return E2BIG if we hit the 32K
size and we're executing a detected cygwin program.  Just silently truncate the
windows command line, instead.

19 years ago * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
Richard Earnshaw [Fri, 9 Sep 2005 13:06:21 +0000 (13:06 +0000)]
* arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.

19 years ago* fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here
Christopher Faylor [Fri, 9 Sep 2005 03:00:34 +0000 (03:00 +0000)]
* fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here
rather than clearing CBAUD after the fact.

19 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Always return 0 for window size.
Christopher Faylor [Fri, 9 Sep 2005 02:53:40 +0000 (02:53 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Always return 0 for window size.
* termios.cc (tcgetattr): Clear out baud part of c_cflag since it is always
ignored.

19 years ago2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Sep 2005 22:45:53 +0000 (22:45 +0000)]
2005-09-08  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add include files under bits sub-directory.
        * Makefile.in: Regenerated.
        * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
        actual value of 1 to be compatible with newer glibc headers.
        * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
        glibc headers.
        * libc/sys/linux/sys/dirent.h: Ditto.
        * libc/sys/linux/argp/argp-xinl.c: Ditto.
        * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
        profile_fixup routines are marked used so they won't be
        optimized away.
        * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
        to mark functions as weak.
        * libc/sys/linux/dl/dl-open.c: Ditto.
        * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
        rules about lvalues.
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
        weak_extern macro to mark functions as weak.  Instead always
        use #pragma weak.
        * iconvdata/jis0208.h: Fix to work with gcc4.
        * libc/sys/linux/dl/dl-load.c: Ditto.
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
        * libc/sys/linux/dl/do-rel.h: Ditto.
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
        * libc/sys/linux/include/ltdl.h: Ditto.
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
        * libc/sys/linux/bits/initspin.h: New file.
        * libc/sys/linux/bits/libc-lock.h: Ditto.
        * libc/sys/linux/bits/pthreadtypes.h: Ditto.
        * libc/sys/linux/bits/typesizes.h: Ditto.

19 years ago2005-09-08 Eric Blake <ebb9@byu.net>
Jeff Johnston [Thu, 8 Sep 2005 21:07:43 +0000 (21:07 +0000)]
2005-09-08  Eric Blake  <ebb9@byu.net>

* libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
before is NULL.

19 years ago2005-09-08 Brian Dessent <brian@dessent.net>
Jeff Johnston [Thu, 8 Sep 2005 21:03:54 +0000 (21:03 +0000)]
2005-09-08  Brian Dessent  <brian@dessent.net>

        * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
        mantissa.
        * s_lrint.c: Ditto.

19 years ago * exceptions.cc (ctrl_c_handler): Disable any special CTRL_LOGOFF_EVENT
Corinna Vinschen [Thu, 8 Sep 2005 14:58:15 +0000 (14:58 +0000)]
* exceptions.cc (ctrl_c_handler): Disable any special CTRL_LOGOFF_EVENT
handling and add longish comment about the reasons.

19 years ago * include/reason.h [_WIN32_WINNT >= 0x0501]
Dimitri Papadopoulos [Thu, 8 Sep 2005 13:55:46 +0000 (13:55 +0000)]
* include/reason.h  [_WIN32_WINNT >= 0x0501]
(SHTDN_REASON_*): New file.
* include/objbase.h: Avoid double header guard.

19 years agoRemove extraneous line.
Andreas Schwab [Thu, 8 Sep 2005 10:08:34 +0000 (10:08 +0000)]
Remove extraneous line.

19 years ago * regtool.cc: Extend copyright-years.
Corinna Vinschen [Thu, 8 Sep 2005 09:24:41 +0000 (09:24 +0000)]
* regtool.cc: Extend copyright-years.
(print_version): Ditto.
(cmd_list): Don't depend on terminating '\0' being present on
string-values.
(cmd_get): Don't attempt to read more than present, but keep
extra space for terminating '\0'. Really output REG_BINARY.
Don't leak memory.
(cmd_set): Include trailing '\0' in string's length.

19 years ago* hookapi.cc (rvadelta): Change argument to DWORD to eliminate a compiler
Christopher Faylor [Thu, 8 Sep 2005 00:57:12 +0000 (00:57 +0000)]
* hookapi.cc (rvadelta): Change argument to DWORD to eliminate a compiler
warning.
* path.h (path_conv::set_cygexec): New function.
* spawn.cc (av::iscygwin): Eliminate.
(av::av): Don't initialize iscygwin.
(spawn_guts): Just use real_path.iscygexec for all tests.
(av::fixup): Short circuit test if .exe extension and known cygexec.  Set
cygexec flag appropriately if we find that program uses cygwin1.dll.

19 years agoadd missing ChangeLog entry.
Christopher Faylor [Wed, 7 Sep 2005 16:01:06 +0000 (16:01 +0000)]
add missing ChangeLog entry.

19 years ago* dcrt0.cc (initial_env): Don't attempt stracing if dynamically loaded.
Christopher Faylor [Wed, 7 Sep 2005 03:10:17 +0000 (03:10 +0000)]
* dcrt0.cc (initial_env): Don't attempt stracing if dynamically loaded.
(dll_crt0_0): Move console initialization earlier.
* init.cc (dll_entry): Move console initialization here.
* exceptions.cc (init_console_handler): Fully remove any old console handler.
* spawn.cc (spawn_guts): Don't fill out windows argv if we've deduced that this
is a cygwin-using program.
(av::fixup): Always check executables to see if they are using cygwin1.dll.
Don't consider .com files to be scripts.
* hookapi.cc (rvadelta): New function.
(PEHeaderFromHModule): Simplify slightly.
(hook_or_detect_cygwin): Use passed in name argument for "HMODULE" rather than
incorrectly reading current program.  Calculate delta needed to read image data
and file names if this isn't a real "HMODULE".

19 years ago Import from Autoconf sources:
Ben Elliston [Wed, 7 Sep 2005 00:42:19 +0000 (00:42 +0000)]
Import from Autoconf sources:

2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
* move-if-change: Don't output "$2 is unchanged"; suggested by Ben
Elliston.  Handle weird characters correctly.

19 years ago * thread.h: Revert patch from 2005-09-05.
Corinna Vinschen [Tue, 6 Sep 2005 19:22:54 +0000 (19:22 +0000)]
* thread.h: Revert patch from 2005-09-05.
* thread.cc (pthread_mutex::can_be_unlocked): Return true also if
mutex is owned by MUTEX_OWNER_ANONYMOUS.

19 years ago* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
Chao-ying Fu [Tue, 6 Sep 2005 18:42:58 +0000 (18:42 +0000)]
* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
define.
Document !, $, *, &, g, +t, +T operand formats for MT instructions.
(INSN_ASE_MASK): Update to include INSN_MT.
(INSN_MT): New define for MT ASE.

19 years ago* cygheap.cc (cygheap_init): Eliminate debugging #if.
Christopher Faylor [Mon, 5 Sep 2005 17:30:04 +0000 (17:30 +0000)]
* cygheap.cc (cygheap_init): Eliminate debugging #if.
* fork.cc (fork_parent): Don't issue errors if "somebody" has set the
PID_EXITED flag on a child.  Don't close process handle if it has potentially
already been closed.
* pinfo.cc (winpids::add): Eliminate PID_ALLPIDS handling which was obsoleted
by previous changes.
* spawn.cc (av::fixup): Do win16 detection for .com files.  Make sure that
buffer has been unmapped in all cases.

19 years ago * thread.h (pthread_mutex::get_pthread_self): Remove.
Corinna Vinschen [Mon, 5 Sep 2005 15:17:03 +0000 (15:17 +0000)]
* thread.h (pthread_mutex::get_pthread_self): Remove.
(pthread_mutex::lock): Use ::pthread_self as self parameter.
(pthread_mutex::trylock): Ditto.
(pthread_mutex::unlock): Ditto.
(pthread_mutex::destroy): Ditto.

19 years agoGrr. REVERT erroneous checkin. AGAIN.
Christopher Faylor [Fri, 2 Sep 2005 17:35:22 +0000 (17:35 +0000)]
Grr.  REVERT erroneous checkin.  AGAIN.

19 years ago* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
Christopher Faylor [Fri, 2 Sep 2005 17:12:37 +0000 (17:12 +0000)]
* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
dependencies when invoked from top-level make.

19 years ago2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Sep 2005 15:39:29 +0000 (15:39 +0000)]
2005-09-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: Add prototype for viprintf.

19 years agorevert inexplicable previous checkin
Christopher Faylor [Fri, 2 Sep 2005 04:51:09 +0000 (04:51 +0000)]
revert inexplicable previous checkin

19 years agobad_addresses
Christopher Faylor [Fri, 2 Sep 2005 04:46:51 +0000 (04:46 +0000)]
bad_addresses

19 years ago2005-08-30 Phil Edwards <phil@codesourcery.com>
DJ Delorie [Thu, 1 Sep 2005 21:03:00 +0000 (21:03 +0000)]
2005-08-30  Phil Edwards  <phil@codesourcery.com>

* configure.in (*-*-vxworks*):  Add target-libstdc++-v3 to noconfigdirs.
* configure:  Regenerated.

19 years ago2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 1 Sep 2005 17:53:02 +0000 (17:53 +0000)]
2005-09-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
        any positive power results in 0.
        * libm/mathfp/sf_pow.c (powf): Ditto.

19 years ago2005-08-31 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Wed, 31 Aug 2005 20:39:43 +0000 (20:39 +0000)]
2005-08-31  Paul Brook  <paul@codesourcery.com>

        * configure.host: Set have_crt0 to no for Arm targts when not
        providing syscalls.  Set sys_dir=arm unconditionally.
        Default have_crt0 based on sys_dir.
        * configure.in: Use have_crt0.
        * libc/configure.in: Ditto.
        * libc/sys/configure.in: Ditto.
        * configure: Regenerate.
        * libc/configure: Regenerate.
        * libc/sys/configure: Regenerate.
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
        Only build other files when providing syscalls.
        * libc/sys/arm/Makefile.in: Regenerate.
        * libc/sys/arm/aeabi_atexit.c: New file.

19 years ago2005-08-30 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 30 Aug 2005 16:11:27 +0000 (16:11 +0000)]
2005-08-30  Jeff Johnston  <jjohnstn@redhat.com>

        * rs6000/Makefile.in (VPATH): Use colon as separator.

19 years agoFix date stamp.
Jeff Johnston [Tue, 30 Aug 2005 16:05:47 +0000 (16:05 +0000)]
Fix date stamp.

19 years ago* exceptions.cc (set_process_mask_delta): Conditionalize debugging output.
Christopher Faylor [Mon, 29 Aug 2005 03:12:39 +0000 (03:12 +0000)]
* exceptions.cc (set_process_mask_delta): Conditionalize debugging output.
* sigproc.cc (proc_subproc): Make strace output a little more verbose.

19 years agotypo
Christopher Faylor [Sun, 28 Aug 2005 23:52:01 +0000 (23:52 +0000)]
typo

19 years ago* cygtls.h (__ljfault): Declare.
Christopher Faylor [Sun, 28 Aug 2005 23:26:23 +0000 (23:26 +0000)]
* cygtls.h (__ljfault): Declare.
(_cygtls::return_from_fault): Use __ljfault.
* exceptions.cc (set_signal_mask): Revert previous checkin.
* gendef (__sjfault): Split out into a separate function which doesn't bother
with any special signal locking.  routines.
(_ljfault): Return from a __sjfault without bothering with signals.

19 years agoAdd missing ChangeLog for previous checkin.
Christopher Faylor [Sun, 28 Aug 2005 17:34:25 +0000 (17:34 +0000)]
Add missing ChangeLog for previous checkin.
Revert erroneous include/cygwin/version.h checkin.

19 years ago* cygwin.din: Correct readdir_r typo.
Christopher Faylor [Sun, 28 Aug 2005 17:30:34 +0000 (17:30 +0000)]
* cygwin.din: Correct readdir_r typo.

19 years agoFix typo.
Christopher Faylor [Sun, 28 Aug 2005 16:51:55 +0000 (16:51 +0000)]
Fix typo.

19 years agoFix improper formatting.
Christopher Faylor [Sun, 28 Aug 2005 16:51:13 +0000 (16:51 +0000)]
Fix improper formatting.

19 years ago*dir.cc (readdir_r): Invert sense on error-test.
Christopher Faylor [Sun, 28 Aug 2005 16:30:48 +0000 (16:30 +0000)]
*dir.cc (readdir_r): Invert sense on error-test.

19 years ago2005-08-26 Brian Dessent <brian@dessent.net>
Joshua Daniel Franklin [Sat, 27 Aug 2005 04:53:15 +0000 (04:53 +0000)]
2005-08-26  Brian Dessent  <brian@dessent.net>

        * faq-using.xml: Add 'net use' hint to network shares FAQ.

19 years ago2005-08-26 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Sat, 27 Aug 2005 01:32:36 +0000 (01:32 +0000)]
2005-08-26  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* Makefile.in: Remove extra anchor to make NN4 happy.
* faq.xml: Link to cygwin.com/license.html
* faq-resources.xml: Link instead of duplicating info.
* faq-using.xml: Split out services and network shares FAQ.
* faq-what.xml: Link to cygwin.com/license.html

19 years ago * path.cc (normalize_posix_path): Keep two leading slashes
Corinna Vinschen [Fri, 26 Aug 2005 15:11:06 +0000 (15:11 +0000)]
* path.cc (normalize_posix_path): Keep two leading slashes
intact throughout.
(normalize_win32_path): Revert to only checking for slash.
(realpath): Convert drive letters to cygdrive paths before
doing anything else.
* shared_info.h (mount_info::cygdrive_posix_path): Make public.

19 years ago* libc/include/string.h: Revert previous change.
Christopher Faylor [Fri, 26 Aug 2005 04:33:02 +0000 (04:33 +0000)]
* libc/include/string.h: Revert previous change.

19 years ago* libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
Christopher Faylor [Thu, 25 Aug 2005 23:02:24 +0000 (23:02 +0000)]
* libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.

19 years ago * ms1/access.c: Change copyright notice.
Aldy Hernandez [Thu, 25 Aug 2005 22:36:48 +0000 (22:36 +0000)]
    * ms1/access.c: Change copyright notice.

19 years ago * path.cc (realpath): Drop call to mount_info::conv_to_posix_path
Corinna Vinschen [Thu, 25 Aug 2005 21:18:26 +0000 (21:18 +0000)]
* path.cc (realpath): Drop call to mount_info::conv_to_posix_path
in favor of calling path_conv with PC_POSIX flag.  Align error
handling closer to POSIX.  As on Linux, return user space allocated
memory if second parameter is NULL.

19 years ago * path.cc (normalize_win32_path): Honor network paths. Fold more
Corinna Vinschen [Thu, 25 Aug 2005 20:35:25 +0000 (20:35 +0000)]
* path.cc (normalize_win32_path): Honor network paths.  Fold more
than two leading dir separators into one.  Check for dir separator
instead of just slashes to handle incoming Win32 paths correctly.

19 years ago* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
Chao-ying Fu [Thu, 25 Aug 2005 18:09:24 +0000 (18:09 +0000)]
* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7,
OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4,
OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP,
OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define.
Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP
instructions.
(INSN_DSP): New define for DSP ASE.

19 years ago* errno.cc (errmap): Translate ERROR_NO_MORE_ITEMS to ENMFILE.
Christopher Faylor [Thu, 25 Aug 2005 15:27:10 +0000 (15:27 +0000)]
* errno.cc (errmap): Translate ERROR_NO_MORE_ITEMS to ENMFILE.

19 years ago * mingwex/fe*.c: Revert previous changes.
Danny Smith [Thu, 25 Aug 2005 08:39:54 +0000 (08:39 +0000)]
* mingwex/fe*.c: Revert previous changes.
* include/fenv.h: Revert previous changes.

Add Changelog entry for the reverted change.

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