ca7ea5a6e7* exceptions.cc (interruptible): Return 0 if given an address in uncommitted memory.
Christopher Faylor
2000-09-18 02:20:42 +0000
a12b2260d0* signal.cc (sleep): If interrupted by signal, return the requested time minus the time actually slept.
Egor Duda
2000-09-16 13:19:52 +0000
f9f2ed0e2b* exceptions.cc (handle_exceptions): Just "core dump" if SIGSEGV in signal thread. * external.cc (fillout_pinfo): Fix compiler warning. * sigproc.h: Eliminate special asm naming for sig_dispatch_pending. * sigproc.cc (sig_send): Remove debugging statements.
Christopher Faylor
2000-09-16 02:36:11 +0000
cdfeaeb823Update entry "How can I find out which dlls are needed by an executable?" including information about cygcheck.
David Starks-Browning
2000-09-14 15:58:56 +0000
7f4b74741fNew entry "My Windows logon name has a space in it, will this cause problems?"
David Starks-Browning
2000-09-14 11:38:15 +0000
f199b0215cUpdate (& alphabetize) contents of 'latest'. Other minor cosmetic.
David Starks-Browning
2000-09-14 11:21:04 +0000
5425d0a04cminor cosmetic
David Starks-Browning
2000-09-14 11:06:44 +0000
b162f39709* 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): Change numbers to the range from 160 to 167. (R_SH_FIRST_INVALID_RELOC): Adjust. (R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2): New relocs to fill in the gap.
Alexandre Oliva
2000-09-14 04:56:55 +0000
67b0ce5ff0Add support for the MIPS32
Nick Clifton
2000-09-14 01:47:37 +0000
4f46dbc790Commit change mentioned in ChangeLog.
Christopher Faylor
2000-09-13 19:57:36 +0000
99d7d12af0* 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>.
Christopher Faylor
2000-09-13 19:57:00 +0000
7f18fcb4cb2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2000-09-13 16:15:41 +0000
242361df362000-09-13 Will Cohen <wcohen@redhat.com>
Jeff Johnston
2000-09-13 16:10:50 +0000
ce779ff629New entry "Can I link with both MSVCRT*.DLL and cygwin1.dll?"
David Starks-Browning
2000-09-13 15:27:20 +0000
26a744ad26Contents split into how-*.texinfo. (Had gotten too big.)
David Starks-Browning
2000-09-13 15:13:57 +0000
04360c5005New files, contents of how.texinfo has been split into these.
David Starks-Browning
2000-09-13 15:13:17 +0000
6b70b4633c* 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.
Christopher Faylor
2000-09-13 02:48:39 +0000
67826e2264* path.cc (normalize_posix_path): Fix more slashdot madness.
Christopher Faylor
2000-09-12 18:41:36 +0000
5c8663ed322000-09-12 Philip Blundell <philb@gnu.org>
Phil Blundell
2000-09-12 18:09:36 +0000
1d233ab53e* Makefile.in: Make clean target remove *.d.
Christopher Faylor
2000-09-12 16:31:01 +0000
80d65011aaNew entry "dllwrap is broken".
David Starks-Browning
2000-09-12 16:18:03 +0000
0b9ed04d51New entry "Ctrl-S hangs rxvt and xterm".
David Starks-Browning
2000-09-12 15:27:18 +0000
cfa9337c8aAdd some details about AV software.
David Starks-Browning
2000-09-12 15:18:29 +0000
2ba1dec34eUpdate "How do I rebuild the tools on my NT box?": add links to ancillary doc tools.
David Starks-Browning
2000-09-12 13:40:36 +0000
a7edd2fbceRemove obsolete B20.1 entries. Chapter now empty.
David Starks-Browning
2000-09-12 13:05:59 +0000
267ca95b4dNew 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.
David Starks-Browning
2000-09-12 13:00:10 +0000
a887d79dabMinor cosmetic change.
David Starks-Browning
2000-09-12 12:20:38 +0000
867df927a6* path.cc (normalize_posix_path): Correctly deal with a "." parameter.
Christopher Faylor
2000-09-11 17:21:13 +0000
9149d76e50* 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.
Christopher Faylor
2000-09-11 00:25:57 +0000
10e1fce6a1* Makefile.in: Refine dumper.exe message.
Christopher Faylor
2000-09-10 16:56:00 +0000
4f7ac76aae* 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.
Christopher Faylor
2000-09-10 16:43:47 +0000
4497c0df52* 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.
Christopher Faylor
2000-09-10 03:36:40 +0000
3b0d65eab9* 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.
Christopher Faylor
2000-09-08 03:12:13 +0000
f0338f545dBreak 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.
Christopher Faylor
2000-09-08 02:56:55 +0000
42b6d9648f* dyn-string.h: Adjust formatting. (dyn_string_insert_char): New macro. New declaration.
Christopher Faylor
2000-09-08 01:04:58 +0000
69924f1b62* md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX. * md5.h: New file.
Christopher Faylor
2000-09-08 01:03:08 +0000
29ac7f89e3Split 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.
Christopher Faylor
2000-09-07 16:23:51 +0000
c1644acb23* 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.
Christopher Faylor
2000-09-07 01:18:37 +0000
8dec7b0379* sigproc.cc: Add include file for proper definitions. * spawn.cc: Ditto. * winsup.h: Define cfree to avoid newlib pollution.
Christopher Faylor
2000-09-06 21:03:10 +0000
8a8c59b9c22000-09-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2000-09-06 20:55:46 +0000
a385ae7508* 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.
Christopher Faylor
2000-09-06 20:46:27 +0000
b8a0fafe80* path.cc (cwdstuff::get_initial): Keep caching alive. (mount_info::conv_to_win32_path): Fill out relative path in failing case.
Christopher Faylor
2000-09-06 06:42:08 +0000
f7925ed552Dummy file to accomodate programs which include it unconditionally.
Christopher Faylor
2000-09-06 02:21:44 +0000
3e0576957b* 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.
Christopher Faylor
2000-09-06 01:56:17 +0000
e321565bbc* path.cc (readlink): 'max' should be a 'min' or we'll suffer buffer overflow.
Christopher Faylor
2000-09-05 21:51:06 +0000
a36cd013b92000-08-31 Manfred Hollstein <manfredh@redhat.com>
Jeff Johnston
2000-09-05 18:39:58 +0000
f825dfda782000-09-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2000-09-05 18:29:53 +0000
f589a77e00* rs6000/simulator.S: Use conditional returns for documentation purposes. (access): Add new syscall.
Geoffrey Keating
2000-09-05 18:25:02 +0000
46fbc77ff5* Makefile.in (all-bootstrap): Added all-texinfo and all-zlib. (bootstrap*): Depend on all-bootstrap.
Alexandre Oliva
2000-09-05 16:10:03 +0000
5be3981a24doco addition.
Alan Modra
2000-09-05 05:22:24 +0000
7e24f1bf3a* 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.
Christopher Faylor
2000-09-05 03:16:28 +0000
108952ea1dAdd some reloc types.
Alan Modra
2000-09-05 02:14:38 +0000
f76325499a* path.cc (readlink): Check if buffer length is positive. Truncate output to buffer length. Don't terminate buffer with '\0'.
Christopher Faylor
2000-09-04 17:52:42 +0000
9c136d7ea6Add ARRAY_SIZE macro from egcs version
Nick Clifton
2000-09-03 17:35:07 +0000
260c1f9039Fix formatting, add copyright notice
Nick Clifton
2000-09-03 17:28:21 +0000
d8242040b8* environ.cc (environ_init): Don't free the new environment table after we've just copied stuff to it.
Christopher Faylor
2000-09-03 04:45:52 +0000
b0e82b74fb* 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.
Christopher Faylor
2000-09-03 04:16:35 +0000
39630fe3a1* Makefile.in: Add new goal "check" * configure.in: When doing native build do configure in testsuite subdirectory * configure: Regenerate.
Christopher Faylor
2000-09-03 04:06:38 +0000
644eb6fe96* Makefile.in: Remove "make check" support. It is now in winsup/Makefile.in.
Christopher Faylor
2000-09-03 04:01:56 +0000
f1930aec47Importing Egor's testsuite.
Christopher Faylor
2000-09-03 03:58:18 +0000
42f03f6757Importing Egor's testsuite.
Christopher Faylor
2000-09-03 03:52:30 +0000
312a668a22Remove everything
Christopher Faylor
2000-09-03 03:42:01 +0000
05a7c4f7a9Remove README
Christopher Faylor
2000-09-03 03:41:19 +0000
7c5ef07168remove everything and move it up a level.
Christopher Faylor
2000-09-03 03:40:29 +0000
bfa303a1b3* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian crosses, but add gcc/include to the header search path for them.
Alexandre Oliva
2000-09-02 07:24:51 +0000
0ef7862533* sigproc.cc (mychild): New function. (proc_subproc): Use mychild() to determine if a specific pid is valid for wait()ing.
Christopher Faylor
2000-09-02 01:19:58 +0000
837528aa51* sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid potential races. (init_child_info): Avoid unneeded test.
Christopher Faylor
2000-09-01 21:04:34 +0000
488c7683e3* 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.
Christopher Faylor
2000-09-01 20:54:22 +0000
b13be6f6fb* Makefile.in: More normalization.
Christopher Faylor
2000-09-01 14:20:30 +0000
dc941354a1* Makefile.in: Normalize 'pwd' based on location of winsup.
Christopher Faylor
2000-08-31 20:39:32 +0000
83a27d401a* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.
Christopher Faylor
2000-08-31 20:07:53 +0000
14cf3d1057* 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.
Alexandre Oliva
2000-08-31 09:25:11 +0000
e873a0c7f3* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a conversion (FACTOR): correct value (genf): set milliseconds to zero, DOW to 4.
DJ Delorie
2000-08-30 22:37:24 +0000
4ba9aab7792000-08-30 Kazu Hirata <kazu@hxi.com>
Jeff Johnston
2000-08-30 22:17:17 +0000
db7acc382f2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston
2000-08-30 18:34:53 +0000
a8382fa44cCorrect for missing patch
Geoffrey Keating
2000-08-30 18:31:59 +0000
44e36af42b* 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.
Geoffrey Keating
2000-08-30 18:30:16 +0000
4f2aac14aa* grp.cc (getgroups): fail with EINVAL if array is not large enough to hold all supplementary group IDs.
DJ Delorie
2000-08-29 18:59:26 +0000
00a2f168e72000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston
2000-08-29 18:09:15 +0000
d824bcf985* 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.
Christopher Faylor
2000-08-29 02:06:49 +0000
1b38471e5e* kill.c (main): Avoid skipping next argument when a signal number is specified. * Makefile.in: Always clean dumper.exe.
Christopher Faylor
2000-08-29 01:58:00 +0000
6beeb240162000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston
2000-08-28 20:06:54 +0000
ef44da427f2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston
2000-08-28 17:50:06 +0000
e0b0f635732000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston
2000-08-28 17:45:56 +0000
fde520bf6c* 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.
Christopher Faylor
2000-08-26 03:48:37 +0000
3c2c374555* 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.
Christopher Faylor
2000-08-26 01:36:20 +0000
14d3488d1f* libc/include/sys/unistd.h (environ): this one isn't from the DLL, no __IMPORT
DJ Delorie
2000-08-25 20:14:45 +0000
cd59f61488* exec.cc (_execve): Change definition according to declaration in newlib/libc/include/sys/unistd.h.
Corinna Vinschen
2000-08-25 19:52:04 +0000
c9ca4412d7* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environ when compiling under cygwin since it is already declared in unistd.h.
Christopher Faylor
2000-08-25 17:39:06 +0000
0715614b52* Makefile.in: Only build dumper.exe when all of its library and include dependencies are available.
Christopher Faylor
2000-08-25 16:50:08 +0000
77749b19ceAdd entry "How do I uninstall Cygwin?"
David Starks-Browning
2000-08-25 16:35:16 +0000