]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years agoCommit change mentioned in ChangeLog.
Christopher Faylor [Wed, 13 Sep 2000 19:57:36 +0000 (19:57 +0000)]
Commit change mentioned in ChangeLog.

23 years ago* spawn.cc (av): Hide 'calloced' field and limit cstrduping to class methods
Christopher Faylor [Wed, 13 Sep 2000 19:57:00 +0000 (19:57 +0000)]
* spawn.cc (av): Hide 'calloced' field and limit cstrduping to class methods
only.
(spawn_guts): Use methods for manipulating most newargv stuff.
* child_info.h (child_info_spawn::~child_info_spawn): Avoid memory leaks in
cygheap.
* spawn.cc (spawn_guts): Ditto.
* dcrt0.cc (quoted): Return next character after a quoted string when not doing
special quote processing.  Also ensure that non-NULL is returned in all circumstances.
* spawn.cc (spawn_guts): Ensure that argv[0] is correctly set to the full path
when a script is detected.  Suggested by Kazuhiro Fujieda
<fujieda@jaist.ac.jp>.

23 years ago2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 13 Sep 2000 16:15:41 +0000 (16:15 +0000)]
2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/v850/setjmp.S: Fixed tab problems caused by
        clipping patch from e-mail reader.

23 years ago2000-09-13 Will Cohen <wcohen@redhat.com>
Jeff Johnston [Wed, 13 Sep 2000 16:10:50 +0000 (16:10 +0000)]
2000-09-13  Will Cohen  <wcohen@redhat.com>

        * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
        Added return value 0.
        (_longjmp): Allow longjmp to return value of second argument
        passed to it.

23 years agoNew entry "Can I link with both MSVCRT*.DLL and cygwin1.dll?"
David Starks-Browning [Wed, 13 Sep 2000 15:27:20 +0000 (15:27 +0000)]
New entry "Can I link with both MSVCRT*.DLL and cygwin1.dll?"

23 years agoContents split into how-*.texinfo. (Had gotten too big.)
David Starks-Browning [Wed, 13 Sep 2000 15:13:57 +0000 (15:13 +0000)]
Contents split into how-*.texinfo.  (Had gotten too big.)

23 years agoNew files, contents of how.texinfo has been split into these.
David Starks-Browning [Wed, 13 Sep 2000 15:13:17 +0000 (15:13 +0000)]
New files, contents of how.texinfo has been split into these.

23 years ago* kill.cc (main): Change behavior of -f so that it will force the killing of a
Christopher Faylor [Wed, 13 Sep 2000 02:48:39 +0000 (02:48 +0000)]
* kill.cc (main): Change behavior of -f so that it will force the killing of a
cygwin process after waiting 2 tenths of a second for it to terminate.
(forcekill): Add an extra argument determining whether to wait for the process
to exit.

23 years ago* external.cc (fillout_pinfo): Handle explicit pids correctly.
Christopher Faylor [Wed, 13 Sep 2000 02:35:05 +0000 (02:35 +0000)]
* external.cc (fillout_pinfo): Handle explicit pids correctly.

23 years ago* path.cc (normalize_posix_path): Fix more slashdot madness.
Christopher Faylor [Tue, 12 Sep 2000 18:41:36 +0000 (18:41 +0000)]
* path.cc (normalize_posix_path): Fix more slashdot madness.

23 years ago2000-09-12 Philip Blundell <philb@gnu.org>
Phil Blundell [Tue, 12 Sep 2000 18:09:36 +0000 (18:09 +0000)]
2000-09-12  Philip Blundell  <philb@gnu.org>

* config.sub, config.guess: Update from subversions.

23 years ago* Makefile.in: Make clean target remove *.d.
Christopher Faylor [Tue, 12 Sep 2000 16:31:01 +0000 (16:31 +0000)]
* Makefile.in: Make clean target remove *.d.

23 years agoNew entry "dllwrap is broken".
David Starks-Browning [Tue, 12 Sep 2000 16:18:03 +0000 (16:18 +0000)]
New entry "dllwrap is broken".

23 years agoNew entry "Ctrl-S hangs rxvt and xterm".
David Starks-Browning [Tue, 12 Sep 2000 15:27:18 +0000 (15:27 +0000)]
New entry "Ctrl-S hangs rxvt and xterm".

23 years agoAdd some details about AV software.
David Starks-Browning [Tue, 12 Sep 2000 15:18:29 +0000 (15:18 +0000)]
Add some details about AV software.

23 years agoUpdate "How do I rebuild the tools on my NT box?": add links to ancillary doc tools.
David Starks-Browning [Tue, 12 Sep 2000 13:40:36 +0000 (13:40 +0000)]
Update "How do I rebuild the tools on my NT box?": add links to ancillary doc tools.

23 years agoRemove obsolete B20.1 entries. Chapter now empty.
David Starks-Browning [Tue, 12 Sep 2000 13:05:59 +0000 (13:05 +0000)]
Remove obsolete B20.1 entries.  Chapter now empty.

23 years agoNew section "Recent history of the project: What version *is* this, anyway?".
David Starks-Browning [Tue, 12 Sep 2000 13:00:10 +0000 (13:00 +0000)]
New section "Recent history of the project: What version *is* this, anyway?".
Rename section "A brief history of the project" to "Ancient history" and remove
disclaimer about being out of date.

23 years agoMinor cosmetic change.
David Starks-Browning [Tue, 12 Sep 2000 12:20:38 +0000 (12:20 +0000)]
Minor cosmetic change.

23 years ago* path.cc (normalize_posix_path): Correctly deal with a "." parameter.
Christopher Faylor [Mon, 11 Sep 2000 17:21:13 +0000 (17:21 +0000)]
* path.cc (normalize_posix_path): Correctly deal with a "." parameter.

23 years ago* cygheap.cc (init_cheap): Just use any old address for the cygwin heap.
Christopher Faylor [Mon, 11 Sep 2000 00:25:57 +0000 (00:25 +0000)]
* cygheap.cc (init_cheap): Just use any old address for the cygwin heap.
* exceptions.cc (signal_exit): Don't terminate the main thread.  Just try to
exit in this thread really quickly.
* signal.cc (kill_pgrp): Fix typo which caused pinfo structure to be assigned
incorrectly.

23 years ago* Makefile.in: Refine dumper.exe message.
Christopher Faylor [Sun, 10 Sep 2000 16:56:00 +0000 (16:56 +0000)]
* Makefile.in: Refine dumper.exe message.

23 years ago* dcrt0.cc (dll_crt0_1): Initialize thread and debug stuff before handling
Christopher Faylor [Sun, 10 Sep 2000 16:43:47 +0000 (16:43 +0000)]
* dcrt0.cc (dll_crt0_1): Initialize thread and debug stuff before handling
exec/fork.
* dtable.cc (dtable::fixup_after_exec): Always clear out the read ahead buffer
whether closing or adjusting.
* path.cc (chdir): Avoid a compiler warning.

23 years ago* path.cc (chdir): Use the full path for cwd_win32. Consider attempts to chdir
Christopher Faylor [Sun, 10 Sep 2000 03:36:40 +0000 (03:36 +0000)]
* path.cc (chdir): Use the full path for cwd_win32.  Consider attempts to chdir
to strings of dots > 2 to be an error.  Pass 'dir' argument to cygcwd.set.
(cwdstuff::set): Need to treat arguments from chdir differently.
* path.h (cwdstuff): Add an argument to set.

23 years ago* lib/_cygwin_crt0_common.cc: Add missing header files.
Christopher Faylor [Fri, 8 Sep 2000 15:54:36 +0000 (15:54 +0000)]
* lib/_cygwin_crt0_common.cc: Add missing header files.

23 years ago* sigproc.h (sigframe::set): Eliminate second argument. Default bp to current
Christopher Faylor [Fri, 8 Sep 2000 03:12:13 +0000 (03:12 +0000)]
* sigproc.h (sigframe::set): Eliminate second argument.  Default bp to current
frame pointer rather than using this within the function, which is unstable
when this method is not inlined.
* net.cc: Eliminate use of second argument to sigframe.set throughout.
* select.cc (cygwin_select): Ditto.
* sigproc.cc (sig_send): Ditto.

23 years agoBreak out more header info into separate files. Use appropriate header files
Christopher Faylor [Fri, 8 Sep 2000 02:56:55 +0000 (02:56 +0000)]
Break out more header info into separate files.  Use appropriate header files
throughout.
* shared.h: Remove.
* cygwin_version.h: New file.
* delqueue.h: New file.
* environ.h: New file.
* host_dependent.h: New file.
* perprocess.h: New file.
* registry.h: New file.
* security.h: New file.

23 years ago* dyn-string.h: Adjust formatting.
Christopher Faylor [Fri, 8 Sep 2000 01:04:58 +0000 (01:04 +0000)]
* dyn-string.h: Adjust formatting.
(dyn_string_insert_char): New macro.  New declaration.

23 years ago* md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX.
Christopher Faylor [Fri, 8 Sep 2000 01:03:08 +0000 (01:03 +0000)]
* md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX.
* md5.h: New file.

23 years agoSplit out tty and shared_info stuff into their own headers and use throughout.
Christopher Faylor [Thu, 7 Sep 2000 16:23:51 +0000 (16:23 +0000)]
Split out tty and shared_info stuff into their own headers and use throughout.
Include sys/termios.h for files which need it.
* tty.h: New file.
* shared_info.h: New file.
* fhandler.h: Move inline methods that rely on tty stuff to
fhandler_console.cc.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set
output_done_event immediately after reading data to speed up tty output
processing.
(process_output): Set write_error to errno or zero.
(fhandler_tty_slave::write): Check previous write error prior to writing to
slave end of pipe.  This allows tty output to be slightly less synchronous.
* fhandler_console.cc (fhandler_console::tcsetpgrp): Moved here from
fhandler.h.
(fhandler_console::set_input_state): Ditto.

23 years ago* exceptions.cc (signal_exit): Reset all mutos owned by the main thread.
Christopher Faylor [Thu, 7 Sep 2000 01:18:37 +0000 (01:18 +0000)]
* exceptions.cc (signal_exit): Reset all mutos owned by the main thread.
* fhandler.h: Define *_output_mutex macros for serializing tty output.
(fhandler_termios): Remove restart_output_event.  Define dummy output mutex
methods.
(fhandler_pty_master): Remove unneeded fixup_after_fork method.
* fhandler_termios.cc (fhandler_termios::line_edit): Acquire output_mutex when
CTRL-S is hit.  Release it on CTRL-Q.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Remove
inappropriate OutputStopped test here.  Just use the output mutex.
(fhandler_pty_master::fhandler_pty_master): Remove obsolete reference to
restart_output_event.
(fhandler_tty_common::close): Ditto.
(fhandler_pty_master::set_close_on_exec): Ditto.
(fhandler_pty_master::fixup_after_fork): Delete.
* tty.cc (tty::common_init): Ditto.
* sync.cc (muto::reset): New method.
* sync.h: Declare above method.

23 years ago* sigproc.cc: Add include file for proper definitions.
Christopher Faylor [Wed, 6 Sep 2000 21:03:10 +0000 (21:03 +0000)]
* sigproc.cc: Add include file for proper definitions.
* spawn.cc: Ditto.
* winsup.h: Define cfree to avoid newlib pollution.

23 years ago2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 6 Sep 2000 20:55:46 +0000 (20:55 +0000)]
2000-09-06  Jeff Johnston <jjohnstn@redhat.com>

        * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
        inline code to prevent having to include another header file.

23 years ago* Makefile.am: Fix space vs. tab problem in install-data-local.
Christopher Faylor [Wed, 6 Sep 2000 20:46:27 +0000 (20:46 +0000)]
* Makefile.am: Fix space vs. tab problem in install-data-local.
* Makefile.in: Regenerate.
* libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
(_EXPARM): New macro for defining a function parameter.
* libc/include/stdlib.h: Use _EXPARM.
* libc/stdlib/mallocr.c: Don't build cfree for Cygwin.

23 years ago* Makefile.in (all-zlib): Added dummy target.
Alexandre Oliva [Wed, 6 Sep 2000 18:56:59 +0000 (18:56 +0000)]
* Makefile.in (all-zlib): Added dummy target.

23 years ago* Makefile.in (CFLAGS): Ensure that -MD is always added even when CFLAGS is
Christopher Faylor [Wed, 6 Sep 2000 18:13:38 +0000 (18:13 +0000)]
* Makefile.in (CFLAGS): Ensure that -MD is always added even when CFLAGS is
overwritten.

23 years agoAdd 'const' qualifiers where needed to avoid compiler warnings.
Egor Duda [Wed, 6 Sep 2000 14:21:53 +0000 (14:21 +0000)]
Add 'const' qualifiers where needed to avoid compiler warnings.
* libltp/lib/tst_sig.c (tst_sig): Don't attempt to cleanup on
fatal errors.
* libltp/lib/parse_opts.c (parse_opts): Initialize allocated
string to prevent heap corruption.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh: Updated from libtool
Alexandre Oliva [Wed, 6 Sep 2000 13:27:41 +0000 (13:27 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh: Updated from libtool
multi-language branch.

23 years ago* path.cc (cwdstuff::get_initial): Keep caching alive.
Christopher Faylor [Wed, 6 Sep 2000 06:42:08 +0000 (06:42 +0000)]
* path.cc (cwdstuff::get_initial): Keep caching alive.
(mount_info::conv_to_win32_path): Fill out relative path in failing case.

23 years agoDummy file to accomodate programs which include
Christopher Faylor [Wed, 6 Sep 2000 02:21:44 +0000 (02:21 +0000)]
Dummy file to accomodate programs which include
it unconditionally.

23 years ago* path.cc (normalize_posix_path): Deal with error return from cygcwd.get.
Christopher Faylor [Wed, 6 Sep 2000 01:56:17 +0000 (01:56 +0000)]
* path.cc (normalize_posix_path): Deal with error return from cygcwd.get.
(normalize_win32_path): Ditto.
(mount_info::conv_to_win32_path): Ditto.
(cwdstuff::get): Set buf to NULL on error.

23 years ago* path.cc (readlink): 'max' should be a 'min' or we'll suffer buffer overflow.
Christopher Faylor [Tue, 5 Sep 2000 21:51:06 +0000 (21:51 +0000)]
* path.cc (readlink): 'max' should be a 'min' or we'll suffer buffer overflow.

23 years ago2000-08-31 Manfred Hollstein <manfredh@redhat.com>
Jeff Johnston [Tue, 5 Sep 2000 18:39:58 +0000 (18:39 +0000)]
2000-08-31  Manfred Hollstein  <manfredh@redhat.com>

        * Makefile.am (install-data-local): Use optional $(DESTDIR) where
        required, as documented in the gnu coding standards.
        * Makefile.in: Regenerate.

23 years ago2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 5 Sep 2000 18:29:53 +0000 (18:29 +0000)]
2000-09-05  Jeff Johnston <jjohnstn@redhat.com>

        * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
        make O_NDELAY and O_NONBLOCK have the same value.

23 years ago* rs6000/simulator.S: Use conditional returns for documentation
Geoffrey Keating [Tue, 5 Sep 2000 18:25:02 +0000 (18:25 +0000)]
* rs6000/simulator.S: Use conditional returns for documentation
purposes.
(access): Add new syscall.

23 years ago* Makefile.in (all-bootstrap): Added all-texinfo and all-zlib.
Alexandre Oliva [Tue, 5 Sep 2000 16:10:03 +0000 (16:10 +0000)]
* Makefile.in (all-bootstrap): Added all-texinfo and all-zlib.
(bootstrap*): Depend on all-bootstrap.

23 years agodoco addition.
Alan Modra [Tue, 5 Sep 2000 05:22:24 +0000 (05:22 +0000)]
doco addition.

23 years ago* path.cc (cwd_win32): Eliminate.
Christopher Faylor [Tue, 5 Sep 2000 03:16:28 +0000 (03:16 +0000)]
* path.cc (cwd_win32): Eliminate.
(cwd_posix): Eliminate.
(cwd_hash): Eliminate.
(cwdstuff::init): Rename from cwd_init.
(cwdstuff::fixup_after_exec): Rename from cwd_fixup_after_exec.
(cwdstuff::get): Rename from get_cwd_inner.
(normalize_posix_path): Eliminate cwd argument.  Just calculate when necessary.
(normalize_win32_path): Ditto.
(mount_info::conv_to_win32_path): Eliminate cwd retrieval here.
(mount_info::conv_to_posix_path): Ditto.
(hash_path_name): Accomodate additional methods in cwdstuff.
(get_cwd_win32): Eliminate.
(getcwd): Use cwdstuff methods.  Properly handle case where buf == NULL and len
< 0.
(cwdstuff::get_hash): New method.
(cwdstuff::get_initial): New method.
(cwdstuff::set): New method.
(cwdstuff::get): New method.
(cwdstuff::copy): New method.
* path.h: Move cwdstuff struct here.  Add a bunch of stuff to cwdstuff.  Make
cygcwd an extern.
* spawn.cc (spawn_guts): Use copy method to get copies of cwd info to pass to
execed process.
* dcrt0.cc (dll_crt0_1): Use cygcwd methods for cwd initialization.

23 years agoAdd some reloc types.
Alan Modra [Tue, 5 Sep 2000 02:14:38 +0000 (02:14 +0000)]
Add some reloc types.

23 years agoPatch by Egor Duda <deo@logos-m.ru>:
Corinna Vinschen [Mon, 4 Sep 2000 19:04:53 +0000 (19:04 +0000)]
Patch by Egor Duda <deo@logos-m.ru>:
*  Makefile.in: Always add libltp headers directory to headers
search path.

23 years ago* path.cc (readlink): Check if buffer length is positive. Truncate output to
Christopher Faylor [Mon, 4 Sep 2000 17:52:42 +0000 (17:52 +0000)]
* path.cc (readlink): Check if buffer length is positive.  Truncate output to
buffer length.  Don't terminate buffer with '\0'.

23 years agoAdd ARRAY_SIZE macro from egcs version
Nick Clifton [Sun, 3 Sep 2000 17:35:07 +0000 (17:35 +0000)]
Add ARRAY_SIZE macro from egcs version

23 years agoFix formatting, add copyright notice
Nick Clifton [Sun, 3 Sep 2000 17:28:21 +0000 (17:28 +0000)]
Fix formatting, add copyright notice

23 years ago* environ.cc (environ_init): Don't free the new environment table after we've
Christopher Faylor [Sun, 3 Sep 2000 04:45:52 +0000 (04:45 +0000)]
* environ.cc (environ_init): Don't free the new environment table after we've
just copied stuff to it.

23 years ago* Makefile.in: Add cygheap.o.
Christopher Faylor [Sun, 3 Sep 2000 04:16:35 +0000 (04:16 +0000)]
* Makefile.in: Add cygheap.o.
* child_info.h: Add specific exec class.
* cygheap.h: New file.  Contains declarations for cygwin heap.
* cygheap.cc: New file.  Implements cygwin heap functions.
* dcrt0.cc (quoted): Simplify due to new method for passing arguments between
cygwin programs.
(alloc_stack_hard_way): Attempt to handle overlapped stack.
(dll_crt0_1): Move child_info processing here.  Accomodate new method for
passing arguments between cygwin programs.  Initialize cygwin heap.  Establish
__argc and __argv variables.
(_dll_crt0): Move most of child_info processing to dll_crt0_1.
(cygwin_dll_init): Remove duplication.
* dtable.cc (dtable::extend): Allocate dtable using cygwin heap.
(dtable::build_fhandler): Ditto for fhandler type being constructed.
(dtable::dup_worker): Free new fhandler from cygwin heap on error.
(dtable::select_*): Don't assume that this == fdtab.
(dtable::linearize_fd_array): Delete.
(dtable::delinearize_fd_array): Delete.
(dtable::fixup_after_exec): New file.
(dtable::vfork_child_dup): Use cygwin heap.
(dtable::vfork_parent_restore): Ditto.
* dtable.h: Remove obsolete methods.  Add new method.
* environ.cc (posify): Eliminate already_posix parameter and logic.
(envsize): New function.
(_addenv): Use envsize.
(environ_init): Accept an argument pointing to an existing environment list.
If supplied, allocate space for this in the the program's heap.
* fhandler.cc (fhandler_base::operator =): Move here from fhandler.h.  Use
cygwin heap to allocate filenames.
(fhandler_base::set_name): Allocate/free names from cygwin heap.
(fhandler_base::linearize): Delete.
(fhandler_base::de_linearize): Delete.
(fhandler_base::operator delete): Free from cygwin heap.
(fhandler_base::~fhandler_base): Ditto.
* fhandler.h: Accomodate elimination of *linearize and other changes above.
* fhandler_console.cc (fhandler_console::fixup_after_exec): Rename from
de_linearize.
* heap.h: New file.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Use cygwin heap for
name.  fhandler_tty::fixup_after_exec): Rename from de_linearize.
* fork.cc (fork): Call cygheap_fixup_in_child.
* heap.cc: Use declarations in heap.h.
* malloc.cc: Sprinkle assertions throughout to catch attempts to free/realloc
something from the cygwin heap.
* path.cc: Throughout, eliminate use of per-thread cache for cwd.  Use cwd_*
functions rather than cwd_* variables to access cwd_win32 and cwd_posix.
(cwd_win32): New function.
(cwd_posix): New function.
(cwd_hash): New function.
(cwd_fixup_after_exec): New function.
* path.h: Accomodate path.cc changes.
* pinfo.cc (pinfo_init): Accept a pointer to an environment table.  Pass this
to environ_init.  Eliminate old 'title' tests.
* pinfo.h: Accomodate above change in argument.
* spawn.cc (struct av): New method for building argv list.
(av::unshift): New method.
(spawn_guts): Allocate everything that the child process needs in the cygwin
heap and pass a pointer to this to the child.  Build argv list using new
method.  Eliminate delinearize stuff.
* thread.h: Eliminate _cwd_win32 and _cwd_posix buffers.
* winsup.h: Eliminate obsolete functions.  Add envsize() declaration.

23 years ago* Makefile.in: Add new goal "check"
Christopher Faylor [Sun, 3 Sep 2000 04:06:38 +0000 (04:06 +0000)]
* Makefile.in: Add new goal "check"
* configure.in: When doing native build do configure in testsuite subdirectory
* configure: Regenerate.

23 years ago* Makefile.in: Remove "make check" support. It is now in winsup/Makefile.in.
Christopher Faylor [Sun, 3 Sep 2000 04:01:56 +0000 (04:01 +0000)]
* Makefile.in: Remove "make check" support.  It is now in winsup/Makefile.in.

23 years agoImporting Egor's testsuite.
Christopher Faylor [Sun, 3 Sep 2000 03:58:18 +0000 (03:58 +0000)]
Importing Egor's testsuite.

23 years agoImporting Egor's testsuite.
Christopher Faylor [Sun, 3 Sep 2000 03:52:30 +0000 (03:52 +0000)]
Importing Egor's testsuite.

23 years agoRemove everything
Christopher Faylor [Sun, 3 Sep 2000 03:42:01 +0000 (03:42 +0000)]
Remove everything

23 years agoRemove README
Christopher Faylor [Sun, 3 Sep 2000 03:41:19 +0000 (03:41 +0000)]
Remove README

23 years agoremove everything and move it up a level.
Christopher Faylor [Sun, 3 Sep 2000 03:40:29 +0000 (03:40 +0000)]
remove everything and move it up a level.

23 years ago* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
Alexandre Oliva [Sat, 2 Sep 2000 07:24:51 +0000 (07:24 +0000)]
* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
crosses, but add gcc/include to the header search path for them.

23 years ago* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
Alexandre Oliva [Sat, 2 Sep 2000 02:24:02 +0000 (02:24 +0000)]
* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New relocs.
(R_SH_FIRST_INVALID_RELOC): Adjust.

23 years ago* sigproc.cc (mychild): New function.
Christopher Faylor [Sat, 2 Sep 2000 01:19:58 +0000 (01:19 +0000)]
* sigproc.cc (mychild): New function.
(proc_subproc): Use mychild() to determine if a specific pid is valid for
wait()ing.

23 years ago* sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid
Christopher Faylor [Fri, 1 Sep 2000 21:04:34 +0000 (21:04 +0000)]
* sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid
potential races.
(init_child_info): Avoid unneeded test.

23 years ago* sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists".
Christopher Faylor [Fri, 1 Sep 2000 20:54:22 +0000 (20:54 +0000)]
* sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists".
* shared.h: Split out "child_info" stuff into a new header file and use where
necessary.  Declare pid_exists.
* child_info.h: New file.

23 years ago* Makefile.in: More normalization.
Christopher Faylor [Fri, 1 Sep 2000 14:20:30 +0000 (14:20 +0000)]
* Makefile.in: More normalization.

23 years ago* Makefile.in: Normalize 'pwd' based on location of winsup.
Christopher Faylor [Thu, 31 Aug 2000 20:39:32 +0000 (20:39 +0000)]
* Makefile.in: Normalize 'pwd' based on location of winsup.

23 years ago* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.
Christopher Faylor [Thu, 31 Aug 2000 20:07:53 +0000 (20:07 +0000)]
* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.

23 years ago* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
Alexandre Oliva [Thu, 31 Aug 2000 09:25:11 +0000 (09:25 +0000)]
* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
* libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch.
* gettext.m4: New file, extracted from aclocal.m4.

23 years ago* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
DJ Delorie [Wed, 30 Aug 2000 22:37:24 +0000 (22:37 +0000)]
* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
conversion
(FACTOR): correct value
(genf): set milliseconds to zero, DOW to 4.

23 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
Jeff Johnston [Wed, 30 Aug 2000 22:17:17 +0000 (22:17 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.

23 years ago2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Wed, 30 Aug 2000 18:34:53 +0000 (18:34 +0000)]
2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
        everywhere else.

23 years agoCorrect for missing patch
Geoffrey Keating [Wed, 30 Aug 2000 18:31:59 +0000 (18:31 +0000)]
Correct for missing patch

23 years ago * libc/string/swab.c: Specify that it's defined in <unistd.h>.
Geoffrey Keating [Wed, 30 Aug 2000 18:30:16 +0000 (18:30 +0000)]
* libc/string/swab.c: Specify that it's defined in <unistd.h>.
* libc/include/string.h: Don't include <sys/types.h>,
as it causes really bad namespace pollution.  Don't declare
swab(), it is properly declared in unistd.h.

24 years ago* grp.cc (getgroups): fail with EINVAL if array is not large
DJ Delorie [Tue, 29 Aug 2000 18:59:26 +0000 (18:59 +0000)]
* grp.cc (getgroups): fail with EINVAL if array is not large
enough to hold all supplementary group IDs.

24 years ago2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Tue, 29 Aug 2000 18:09:15 +0000 (18:09 +0000)]
2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
        (broken) support for non-existent /etc/passwd field "comment".

24 years ago* signal.cc (_raise): New function.
Christopher Faylor [Tue, 29 Aug 2000 02:06:49 +0000 (02:06 +0000)]
* signal.cc (_raise): New function.
* exceptions.cc (unused_sig_wrapper): Remove _raise.
* sigproc.h (class sigframe): Default frames to skip to zero or suffer from
exuberant optimization.
* fhandler_tty.cc (fhandler_tty::write): Set appropriate errno when WriteFile
to pipe fails.

24 years ago* kill.c (main): Avoid skipping next argument when a signal number is
Christopher Faylor [Tue, 29 Aug 2000 01:58:00 +0000 (01:58 +0000)]
* kill.c (main): Avoid skipping next argument when a signal number is
specified.
* Makefile.in: Always clean dumper.exe.

24 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Mon, 28 Aug 2000 20:06:54 +0000 (20:06 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
        only if _DIRENT_HAVE_D_NAMLEN is defined.
        (alphasort): aligned prototype with
        libc/sys/cygwin/sys/dirent.h and simplified function body.
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
        long telldir (DIR *) as mentioned in annex B of POSIX.1

24 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Mon, 28 Aug 2000 17:50:06 +0000 (17:50 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
        Added __CLI and __STI macros (controlled via
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
        for all global entry points.
        * libc/machine/i386/setjmp.S: removed code replicated in
        libc/machine/i386/i386mach.h and included i386mach.h instead;
        Use __CLI and __STI instead of cli and sti.

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Mon, 28 Aug 2000 17:45:56 +0000 (17:45 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
        like  x << y-z  to the equivalent  x << (y-z).
        (d2b): changed if statements with assignment to perform the
        assignment prior to the if check.
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
        precedence.
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
        execve.c).
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
        precedence.
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
        clarify && and || precendence (and to remove pascalism).
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
        * libm/math/s_infconst.c: added another pair of braces to all
        initializers for __infinity (need three: for __infinity[1] array,
        for union __dmath, and for i[2]).

24 years ago* pinfo.h (pinfo): Un-inline release.
Christopher Faylor [Sat, 26 Aug 2000 03:48:37 +0000 (03:48 +0000)]
* pinfo.h (pinfo): Un-inline release.
* pinfo.cc (pinfo::release): Move here from pinfo.h.
* sigproc.cc (proc_terminate): Remove bogus 'pinfo child' which caused strange
destruction of random regions of memory when destructor was invoked.

24 years ago* dcrt0.cc (dll_crt0_1): Move set_os_type.
Christopher Faylor [Sat, 26 Aug 2000 01:36:20 +0000 (01:36 +0000)]
* dcrt0.cc (dll_crt0_1): Move set_os_type.
(_dll_crt0): To here.
(cygwin_dll_init): And here.
* external.cc (fillout_pinfo): Use more foolproof method for scanning for pids.
* pinfo.cc (set_myself): Eliminate myself_identity.init.
* sigproc.cc (wait_sig): Do it here instead to reduce the amount of time where
there could potentially be two processes with the same pid.
* spawn.cc (spawn_guts): Eliminate duplicate initialization.
* include/sys/cygwin.h: Mark unused PID_* elements.

24 years ago* libc/include/sys/unistd.h (environ): this one isn't from the
DJ Delorie [Fri, 25 Aug 2000 20:14:45 +0000 (20:14 +0000)]
* libc/include/sys/unistd.h (environ): this one isn't from the
DLL, no __IMPORT

24 years ago * exec.cc (_execve): Change definition according to declaration in
Corinna Vinschen [Fri, 25 Aug 2000 19:52:04 +0000 (19:52 +0000)]
    * exec.cc (_execve): Change definition according to declaration in
        newlib/libc/include/sys/unistd.h.

24 years ago* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environ
Christopher Faylor [Fri, 25 Aug 2000 17:39:06 +0000 (17:39 +0000)]
* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environ
when compiling under cygwin since it is already declared in unistd.h.

24 years ago* Makefile.in: Only build dumper.exe when all of its library and include
Christopher Faylor [Fri, 25 Aug 2000 16:50:08 +0000 (16:50 +0000)]
* Makefile.in: Only build dumper.exe when all of its library and include
dependencies are available.

24 years agoAdd entry "How do I uninstall Cygwin?"
David Starks-Browning [Fri, 25 Aug 2000 16:35:16 +0000 (16:35 +0000)]
Add entry "How do I uninstall Cygwin?"

24 years ago* Makefile.in: Make failure to build dumper.exe a non-error.
Christopher Faylor [Fri, 25 Aug 2000 15:45:42 +0000 (15:45 +0000)]
* Makefile.in: Make failure to build dumper.exe a non-error.

24 years agominor formatting fixes
David Starks-Browning [Fri, 25 Aug 2000 13:33:38 +0000 (13:33 +0000)]
minor formatting fixes

24 years agoMajor re-write of "Installation using the setup.exe program".
David Starks-Browning [Fri, 25 Aug 2000 13:15:10 +0000 (13:15 +0000)]
Major re-write of "Installation using the setup.exe program".

24 years agoMinor changes.
David Starks-Browning [Fri, 25 Aug 2000 12:57:19 +0000 (12:57 +0000)]
Minor changes.

24 years ago* external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin
Christopher Faylor [Fri, 25 Aug 2000 02:27:42 +0000 (02:27 +0000)]
* external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin
exception handling on threads not created by cygwin.
* sigproc.cc (proc_terminate): Don't release pinfo structs since we are
exiting.
* include/sys/cygwin.h: Add CW_INIT_EXCEPTIONS.

24 years ago* ps.cc (main): Always print a cygwin process using cygwin paths.
Christopher Faylor [Fri, 25 Aug 2000 02:25:52 +0000 (02:25 +0000)]
* ps.cc (main): Always print a cygwin process using cygwin paths.

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Thu, 24 Aug 2000 22:32:38 +0000 (22:32 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
        like  x << y-z  to the equivalent  x << (y-z).
        (d2b): changed if statements with assignment to perform the
        assignment prior to the if check.
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
        precedence.
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
        execve.c).
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
        precedence.
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
        clarify && and || precendence (and to remove pascalism).
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
        * libm/math/s_infconst.c: added another pair of braces to all
        initializers for __infinity (need three: for __infinity[1] array,
        for union __dmath, and for i[2]).

24 years ago* ps.cc (main): Always print a cygwin process using cygwin paths.
Christopher Faylor [Thu, 24 Aug 2000 22:04:29 +0000 (22:04 +0000)]
* ps.cc (main): Always print a cygwin process using cygwin paths.

24 years ago* select.cc (cygwin_select): Correct logic for "always_ready" fds or when there
Christopher Faylor [Thu, 24 Aug 2000 21:19:14 +0000 (21:19 +0000)]
* select.cc (cygwin_select): Correct logic for "always_ready" fds or when there
is no wait specified.
* syslog.cc (pass_handler::set_message): Zero the buffer prior to setting it.

24 years agoChange attribution.
Christopher Faylor [Thu, 24 Aug 2000 19:07:29 +0000 (19:07 +0000)]
Change attribution.

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