]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
24 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".

24 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".

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 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'.

24 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 years ago* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.
Christopher Faylor [Thu, 24 Aug 2000 19:05:38 +0000 (19:05 +0000)]
* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.

24 years ago* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
Christopher Faylor [Thu, 24 Aug 2000 19:03:12 +0000 (19:03 +0000)]
* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
* dumper.cc: New file.
* dumper.h: New file.
* module_info.cc: New file.
* parse_pe.cc: New file.

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

        * libc/stdlib/abort.c: changed description: uses "raise" instead of
        "getpid" and "kill"; added: uses "write" and "_exit".
        Also included unistd.h for "_exit" prototype.
        * libc/stdlib/system.c: included unistd.h for "execve" prototype,
        reent.h for "_fork_r" and "_wait_r" prototypes.
        (do_system): changed  extern char *environ[] to POSIX-friendly
        extern char **environ.
        * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
        prototypes.
        * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
        * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
        * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
        * libc/reent/openr.c: included fcntl.h for "open" prototype.
        * libc/reent/signalr.c: included signal.h for "kill" prototype,
        unistd.h for "getpid" prototype.
        * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
        * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
        * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
        prototype.  Also included stdlib.h for "abort", string.h for
        "strdup" and "strncmp" prototypes.
        * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
        "strncpy", unistd.h for "read" and "close" prototypes.
        * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
        "strcat" prototypes.

24 years ago* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
Christopher Faylor [Thu, 24 Aug 2000 18:39:27 +0000 (18:39 +0000)]
* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
core files.
* include/sys/procfs.h: New file, needed to autoconfigure cygwin core dumps
support in bfd.

24 years ago* environ.cc (parse_thing): nobinmode should force O_TEXT.
Christopher Faylor [Thu, 24 Aug 2000 17:54:43 +0000 (17:54 +0000)]
* environ.cc (parse_thing): nobinmode should force O_TEXT.
(regopt): Use correct path to find LOCAL_MACHINE registry options.
* fhandler.cc (fhandler_base::open): Set binary mode only when binmode ==
O_BINARY.
* pipe.cc (pipe): Pipe handling should rely on binmode not _fmode now that the
two are different.

24 years ago* include/sys/cygwin.h (strace_printf_wrap): Force printing when
Christopher Faylor [Thu, 24 Aug 2000 17:23:35 +0000 (17:23 +0000)]
* include/sys/cygwin.h (strace_printf_wrap): Force printing when
_STRACE_SYSTEM.
(strace_printf_wrap1): Ditto.

24 years ago* debug.h: Allow some debug defines for use in header files.
Christopher Faylor [Thu, 24 Aug 2000 16:33:03 +0000 (16:33 +0000)]
* debug.h: Allow some debug defines for use in header files.

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

        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
        used later (ifdef __SCLE)
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
        used later (ifdef MB_CAPABLE)
        * libc/string/memset.c (memset): removed unused variables "count"
        and "unaligned_addr"
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
        and "gid"

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

        * libc/stdlib/envlock.c: changed documented "__env_lock" and
        "__env_unlock" prototype from "void *" or "char *" to
        "struct _reent *" to match real function.  Also added include
        of envlock.h.
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
        "__malloc_unlock" prototype from "void *" or "char *" to
        "struct _reent *" to match real function.
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
        prototypes (for getenv_r.c and setenv_r.c).

24 years ago* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
Christopher Faylor [Thu, 24 Aug 2000 04:07:50 +0000 (04:07 +0000)]
* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
the process.  Use new second argument to set_myself.
(cygwin_dll_init): Initialize exception list and constructor stuff here.
(_dll_crt0): And here.  Also, deal with inherited pinfo shared memory region
from parent.
* pinfo.cc (set_myself): Accept a second argument signifying the a shared
memory region, passed from an execing parent.
(pinfo_init): Ditto.
* pinfo.h: Ditto.
* shared.h (child_info): Add a handle field to pass to child.
* spawn.cc (spawn_guts): Create a shared handle to pass to an execed child.
* winsup.h: Remove extraneous declaration.

24 years agoRevert previous erroneous checkin.
Christopher Faylor [Wed, 23 Aug 2000 14:56:28 +0000 (14:56 +0000)]
Revert previous erroneous checkin.

24 years ago* include/sys/cygwin.h: Protect class definitions.
Christopher Faylor [Wed, 23 Aug 2000 14:53:25 +0000 (14:53 +0000)]
* include/sys/cygwin.h: Protect class definitions.

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