]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years ago* dtable.cc (dtable::build_fhandler): Accept an optional path_conv argument.
Christopher Faylor [Sat, 22 Sep 2001 21:44:07 +0000 (21:44 +0000)]
* dtable.cc (dtable::build_fhandler): Accept an optional path_conv argument.
If available, use this to calculate path name and device number.
* dtable.h (dtable): Reflect above change.
* fhandler.h (fhandler_base): Declare virtual method which accepts path_conv
rather than path string as first argument.
* fhandler.cc (fhandler_base::open): Define above new method.
* syscalls.cc (_open): Set aside a path_conv variable for use in build_fhandler
and subsequent call to open.

23 years agonew entry "How much disk space does Cygwin require?"
David Starks-Browning [Sat, 22 Sep 2001 19:47:17 +0000 (19:47 +0000)]
new entry "How much disk space does Cygwin require?"

23 years agoagain revise license terms
David Starks-Browning [Sat, 22 Sep 2001 19:32:47 +0000 (19:32 +0000)]
again revise license terms

23 years ago* exceptions.cc (setup_handler): Always relinquish lock after we've
Christopher Faylor [Sat, 22 Sep 2001 16:55:02 +0000 (16:55 +0000)]
* exceptions.cc (setup_handler): Always relinquish lock after we've
interrupted.
* fhandler.cc: Move pipe methods to pipe.cc.
* fhandler.h (fhandler_pipe): Add new methods.
* fork.cc (sync_with_parent): Make error messages more informative.
* pipe.cc (fhandler_pipe::fhandler_pipe): Move here from fhandler.cc.
(fhandler_pipe::lseek): Ditto.
(fhandler_pipe::set_close_on_exec): New method.
(fhandler_pipe::read): Ditto.
(fhandler_pipe::close): Ditto.
(fhandler_pipe::dup): Ditto.
(make_pipe): Create the guard mutex on the read side of the pipe.
* select.cc (peek_pipe): Use guard_mutex to discover if we have the right to
read on this pipe.
(fhandler_pipe::readh_for_read): Pass the read pipe guard mutex to peek_pipe.
* syscalls.cc (_read): Always detect signal catchers, for now.
* debug.cc (makethread): Eliminate hack to make thread inheritable.
* sigproc.cc (subproc_init): Don't use hack to make thread inheritable.

23 years agorevise license explanation
David Starks-Browning [Sat, 22 Sep 2001 08:45:27 +0000 (08:45 +0000)]
revise license explanation

23 years agoAdd recent developments.
Christopher Faylor [Sat, 22 Sep 2001 01:37:47 +0000 (01:37 +0000)]
Add recent developments.

23 years agotypo, words.
Christopher Faylor [Sat, 22 Sep 2001 01:29:07 +0000 (01:29 +0000)]
typo, words.

23 years ago* Makefile.in (mingw_getopt.o): Ensure that newlib include directories are not
Christopher Faylor [Sat, 22 Sep 2001 00:40:37 +0000 (00:40 +0000)]
* Makefile.in (mingw_getopt.o): Ensure that newlib include directories are not
searched.

23 years agofix error
David Starks-Browning [Fri, 21 Sep 2001 20:42:47 +0000 (20:42 +0000)]
fix error

23 years agoUpdate contents.
David Starks-Browning [Fri, 21 Sep 2001 20:40:50 +0000 (20:40 +0000)]
Update contents.
Expanded anti-virus information.
How to uninstall a package.

23 years agonew entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"
David Starks-Browning [Fri, 21 Sep 2001 18:20:21 +0000 (18:20 +0000)]
new entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"

23 years agoFix compile time warnings
Nick Clifton [Fri, 21 Sep 2001 14:25:09 +0000 (14:25 +0000)]
Fix compile time warnings

23 years agofix compile time warning messages
Nick Clifton [Fri, 21 Sep 2001 06:52:20 +0000 (06:52 +0000)]
fix compile time warning messages

23 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
Alexandre Oliva [Fri, 21 Sep 2001 05:14:32 +0000 (05:14 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to
avoid quotes nesting problems.
(NATIVE_CHECK_MODULES): Ditto, just for consistency.
(DO_X): Export only variables that are set.

23 years ago* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
Christopher Faylor [Fri, 21 Sep 2001 01:01:27 +0000 (01:01 +0000)]
* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.

23 years agoNew entry "Why doesn't //c (for C:) work anymore?"
David Starks-Browning [Thu, 20 Sep 2001 21:23:17 +0000 (21:23 +0000)]
New entry "Why doesn't //c (for C:) work anymore?"

23 years ago* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE
Christopher Faylor [Thu, 20 Sep 2001 20:58:29 +0000 (20:58 +0000)]
* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE
to change inheritance.  Eliminate all other logic dealing with closed handles.
* fhandler.h (fhandler_base::set_inheritance): Reflect above change.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.

23 years ago* libltp/lib/get_high_address.c (get_high_address): Get inaccessible
Egor Duda [Thu, 20 Sep 2001 15:44:41 +0000 (15:44 +0000)]
* libltp/lib/get_high_address.c (get_high_address): Get inaccessible
address more robustly.
* winsup.api/ltp/stat06.c (high_address_setup): Use generic function
from ltp library to obtain inaccessible address.

23 years ago * fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close
Corinna Vinschen [Thu, 20 Sep 2001 11:35:49 +0000 (11:35 +0000)]
    * fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close
        socket only when not using Winsock2.

23 years ago * fhandler.h (fhandler_socket::fixup_after_exec): Remove inline
Corinna Vinschen [Thu, 20 Sep 2001 11:29:48 +0000 (11:29 +0000)]
    * fhandler.h (fhandler_socket::fixup_after_exec): Remove inline
        implementation.
        (fhandler_dev_raw::fixup_after_exec): Ditto.
        * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Don't
        duplicate buffer on fork to avoid memory leak.
        (fhandler_dev_raw::fixup_after_exec): New implementation equal to
        former fixup_after_fork() implementation.
        * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Do
        nothing when not using Winsock2.
        (fhandler_socket::fixup_after_exec): New implementation.
        (fhandler_socket::set_close_on_exec): Never call set_inheritance().

23 years ago * fhandler.cc (fhandler_base::set_inheritance): If available,
Corinna Vinschen [Thu, 20 Sep 2001 08:02:01 +0000 (08:02 +0000)]
    * fhandler.cc (fhandler_base::set_inheritance): If available,
        use SetHandleInformation() to set inheritance.
        * wincap.cc: Set flag has_set_handle_information_on_console_handles
        appropriately.
        * wincap.h: Add flag has_set_handle_information_on_console_handles.

23 years ago2001-09-18 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Wed, 19 Sep 2001 23:56:12 +0000 (23:56 +0000)]
2001-09-18  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winnt.h (_[U]LARGE_INTEGER): Mark nameless structure
field as _ANONYMOUS_STRUCT.
* include/setupapi.h (SP_DEVINSTALL_PARAMS): Add missing typedef
for UNICODE.
* include/ipexport.h (icmp_echo_reply): Remove extra ';'.
* lib/makefile.in: Add -pedantic switch to TEST_OPTIONS for header
test.

2001-09-17  Mattia Barbon  <mbarbon@dsi.unive.it>

* include/commctrl.h: Add some ListView constants.

2001-09-17  Earnie Boyd  <earnie@sf.net>

* lib/Makefile.in (inst_includedir): Add FIXME and remove the usr/
portion of the directory from the install.
(inst_libdir): Ditto.
* Makefile.in (VERSION): Increment.
* include/w32api.h: Increment version.

23 years agoAdd -t option.
Christopher Faylor [Wed, 19 Sep 2001 22:06:33 +0000 (22:06 +0000)]
Add -t option.

23 years ago* lib/getopt.c (__progname): Don't declare if not compiling for cygwin.
Christopher Faylor [Wed, 19 Sep 2001 16:24:10 +0000 (16:24 +0000)]
* lib/getopt.c (__progname): Don't declare if not compiling for cygwin.

23 years ago* Makefile.in: Filter newlib includes from mingw compilation.
Christopher Faylor [Wed, 19 Sep 2001 16:22:47 +0000 (16:22 +0000)]
* Makefile.in: Filter newlib includes from mingw compilation.

23 years ago * lib/getopt.c (getopt_long): Avoid compiler warning.
Corinna Vinschen [Wed, 19 Sep 2001 16:08:33 +0000 (16:08 +0000)]
    * lib/getopt.c (getopt_long): Avoid compiler warning.

23 years ago* lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin.
Christopher Faylor [Wed, 19 Sep 2001 15:54:12 +0000 (15:54 +0000)]
* lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin.
* scandir.cc (scandir): Use correct default when compar == NULL.

23 years ago * fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert
Corinna Vinschen [Wed, 19 Sep 2001 15:50:54 +0000 (15:50 +0000)]
    * fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert
        memory allocation to use cmalloc again.

23 years ago2001-09-19 Earnie Boyd <earnie@SF.net>
Earnie Boyd [Wed, 19 Sep 2001 15:37:19 +0000 (15:37 +0000)]
2001-09-19  Earnie Boyd  <earnie@SF.net>

* Makefile.in: Remove the /usr from the install target.
(VERSION): Increment.
include/_mingw.h: Ditto.

23 years ago2001-09-19 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 19 Sep 2001 06:07:36 +0000 (06:07 +0000)]
2001-09-19  Ben Elliston  <bje@redhat.com>

* configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on
Solaris when testing for the /usr/ucb/cc compiler; it has incorrect
semantics.  Use the shell built-in "type" command instead.

23 years ago* cygwin.din (__argv): Export.
Christopher Faylor [Wed, 19 Sep 2001 01:07:11 +0000 (01:07 +0000)]
* cygwin.din (__argv): Export.
(__argc): Ditto.
(__progname): Ditto.
* include/getopt.h (getopt_long): constify arguments.
* lib/getopt.c: Import new file from NetBSD.

23 years agomerge from gcc
DJ Delorie [Tue, 18 Sep 2001 21:02:02 +0000 (21:02 +0000)]
merge from gcc

23 years ago * mmap.cc (mmap): Don't reuse anonymous memory in MAP_FIXED case.
Corinna Vinschen [Tue, 18 Sep 2001 17:10:09 +0000 (17:10 +0000)]
    * mmap.cc (mmap): Don't reuse anonymous memory in MAP_FIXED case.

23 years agooops omitted in previous delta
Nick Clifton [Tue, 18 Sep 2001 15:42:41 +0000 (15:42 +0000)]
oops omitted in previous delta

23 years ago * internal.h (elf_internal_rela): Make r_addend a bfd_vma.
Alan Modra [Tue, 18 Sep 2001 10:01:41 +0000 (10:01 +0000)]
* internal.h (elf_internal_rela): Make r_addend a bfd_vma.

23 years ago * external.h (GET_LINENO_LNNO): Use H_GET_32/16.
Alan Modra [Tue, 18 Sep 2001 10:01:08 +0000 (10:01 +0000)]
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
(PUT_LINENO_LNNO): Use H_PUT_32/16.
* m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC,
GET_SCN_NLINNO): Use H_GET_32.
(PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO):
Use H_PUT_32.
* ti.h: Formatting fixes.  Make use of H_GET_* and H_PUT_* throughout.
* xcoff.h: White space changes.

23 years ago * aout64.h: Formatting fixes.
Alan Modra [Tue, 18 Sep 2001 10:00:23 +0000 (10:00 +0000)]
* aout64.h: Formatting fixes.
(N_TXTADDR): Evaluate to a bfd_vma.
(N_DATADDR): Avoid negative unsigned warning.
* hp300hpux.h: Formatting fixes.
(N_DATADDR): As above.

23 years ago * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.
Alan Modra [Tue, 18 Sep 2001 09:59:28 +0000 (09:59 +0000)]
* objalloc.h (OBJALLOC_ALIGN): Define using offsetof.

23 years agomerge from gcc
DJ Delorie [Mon, 17 Sep 2001 23:10:37 +0000 (23:10 +0000)]
merge from gcc

23 years ago* libc/include/process.h: Add getpid() declaration.
Christopher Faylor [Mon, 17 Sep 2001 21:30:58 +0000 (21:30 +0000)]
* libc/include/process.h: Add getpid() declaration.

23 years ago* include/io.h: Add access declaration.
Christopher Faylor [Mon, 17 Sep 2001 21:29:19 +0000 (21:29 +0000)]
* include/io.h: Add access declaration.

23 years ago* syscalls.cc (rmdir): Set cwd to some other location if attempting to rmdir
Christopher Faylor [Mon, 17 Sep 2001 18:10:02 +0000 (18:10 +0000)]
* syscalls.cc (rmdir): Set cwd to some other location if attempting to rmdir
current working directory.

23 years ago2001-09-17 Earnie Boyd <earnie@sf.net>
Earnie Boyd [Mon, 17 Sep 2001 16:15:54 +0000 (16:15 +0000)]
2001-09-17  Earnie Boyd  <earnie@sf.net>

* lib/Makefile.in (inst_includedir): Add FIXME and remove the usr/
portion of the directory from the install.
(inst_libdir): Ditto.
* Makefile.in (VERSION): Increment.
* include/w32api.h: Increment version.

23 years ago * Makefile.in: Increment version.
Earnie Boyd [Mon, 17 Sep 2001 12:38:45 +0000 (12:38 +0000)]
* Makefile.in: Increment version.
* include/_mingw.h: Ditto.

23 years ago* dtable.h (not_open): Assure inline.
Christopher Faylor [Mon, 17 Sep 2001 03:05:05 +0000 (03:05 +0000)]
* dtable.h (not_open): Assure inline.
* fhandler.h (operator []): Make const.
* sync.cc (muto::~muto): Fix typo which stopped muto event handle from ever
being closed.

23 years ago* path.cc (symlink): Check arguments for validity.
Egor Duda [Sun, 16 Sep 2001 14:26:11 +0000 (14:26 +0000)]
* path.cc (symlink): Check arguments for validity.
(getcwd): Ditto.
* syscalls.cc (ftruncate): Ditto.
* times.cc (times): Ditto.
* uname.cc (uname): Ditto.

23 years ago* net.cc (dup_servent_ptr): Detect old Windows 95 misaligned structure and
Christopher Faylor [Sun, 16 Sep 2001 02:56:58 +0000 (02:56 +0000)]
* net.cc (dup_servent_ptr): Detect old Windows 95 misaligned structure and
realign appropriately.

23 years agominor typo fixes.
Christopher Faylor [Sun, 16 Sep 2001 02:56:48 +0000 (02:56 +0000)]
minor typo fixes.

23 years ago* winsup.api/ltp/sbrk01.c (main): Force output at startup to
Egor Duda [Sat, 15 Sep 2001 19:54:04 +0000 (19:54 +0000)]
* winsup.api/ltp/sbrk01.c (main): Force output at startup to
make sure that stdio file buffer get allocated.
* winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area
after sbrk(0) may be available, use 0xffff0000 as "high address".
* winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that
don't work on cygwin with '-1'. Close open files so that temporary
directory can be deleted on exit.
* winsup.api/ltp/vfork01.c: New test.

23 years agoFix typo.
Eric Christopher [Sat, 15 Sep 2001 07:47:52 +0000 (07:47 +0000)]
Fix typo.

23 years ago * config.sub: Reverted the earlier change, this version is not the
Thiemo Seufer [Sat, 15 Sep 2001 04:42:11 +0000 (04:42 +0000)]
* config.sub: Reverted the earlier change, this version is not the
master file.

23 years ago* Makefile.in: Generate libcygwin.a during the link pass rather than as a
Christopher Faylor [Sat, 15 Sep 2001 04:36:43 +0000 (04:36 +0000)]
* Makefile.in: Generate libcygwin.a during the link pass rather than as a
separate dlltool step.
* dcrt0.cc (_dll_crt0): pppid_handle could be NULL.  Don't close it if so.

23 years ago*** empty log message ***
Christopher Faylor [Sat, 15 Sep 2001 00:50:28 +0000 (00:50 +0000)]
*** empty log message ***

23 years ago* dcrt0.cc (dll_crt0_1): Create vfork main storage here so that it can be
Christopher Faylor [Sat, 15 Sep 2001 00:47:44 +0000 (00:47 +0000)]
* dcrt0.cc (dll_crt0_1): Create vfork main storage here so that it can be
queried in waitsig later.
* sigproc.cc (wait_sig): Don't deliver a signal if in a vfork.
* fork.cc (vfork): Deliver all signals on parent return from vfork.

23 years ago2001-09-14 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 14 Sep 2001 18:40:47 +0000 (18:40 +0000)]
2001-09-14  Eric Christopher  <echristo@redhat.com>

        * mips/configure.in: Add mipsisa32 support.
        * mips/configure: Regenerate.
        * mips/idt32.ld: New file.
        * mips/idt64.ld: New file.

23 years agoHints and tips on debugging cygwin
Egor Duda [Fri, 14 Sep 2001 17:43:17 +0000 (17:43 +0000)]
Hints and tips on debugging cygwin

23 years agoadd copyrights.
Christopher Faylor [Fri, 14 Sep 2001 16:57:32 +0000 (16:57 +0000)]
add copyrights.

23 years agomore words
Christopher Faylor [Fri, 14 Sep 2001 16:13:00 +0000 (16:13 +0000)]
more words

23 years ago* dumper.cc (dumper::dumper): Print error code in case of error.
Egor Duda [Fri, 14 Sep 2001 15:07:31 +0000 (15:07 +0000)]
* dumper.cc (dumper::dumper): Print error code in case of error.
(dumper::add_thread): Ditto.
(dumper::collect_memory_sections): Ditto.
(dumper::dump_memory_region): Ditto.
(dumper::collect_process_information): Ditto.
(print_section_name): Fix formatting.

23 years agooops - omitted from previous delta
Nick Clifton [Fri, 14 Sep 2001 11:43:41 +0000 (11:43 +0000)]
oops - omitted from previous delta

23 years ago * dcrt0.cc (_dll_crt0()): Don't call wincap.init() here.
Corinna Vinschen [Fri, 14 Sep 2001 08:23:46 +0000 (08:23 +0000)]
    * dcrt0.cc (_dll_crt0()): Don't call wincap.init() here.

23 years ago /bfd/ChangeLog
Thiemo Seufer [Fri, 14 Sep 2001 06:22:45 +0000 (06:22 +0000)]
/bfd/ChangeLog
* config.bfd: Change machine triplets from mips*el*-* to mips*el-*.
Add support for mips64.

/ChangeLog
* config.sub: Change machine triplets from mipsel*-* to mips*el-*.
Add support for mips64.

/gas/ChangeLog
* configure.in: Change machine triplets from mips-*-linux-gnu* to
mips*-*-linux*.

23 years ago*** empty log message ***
Christopher Faylor [Fri, 14 Sep 2001 04:39:56 +0000 (04:39 +0000)]
*** empty log message ***

23 years ago* fork.cc (vfork): Avoid recursive vforks.
Christopher Faylor [Fri, 14 Sep 2001 04:37:57 +0000 (04:37 +0000)]
* fork.cc (vfork): Avoid recursive vforks.

23 years ago* fhandler.h (fhandler_pipe::is_slow): Return true only if pipes are reliable
Christopher Faylor [Fri, 14 Sep 2001 04:22:05 +0000 (04:22 +0000)]
* fhandler.h (fhandler_pipe::is_slow): Return true only if pipes are reliable
(i.e., not Win9x).
* wincap.cc: Make statics NO_COPY to avoid fork overhead.

23 years ago* grp.cc (read_etc_group): Just reuse group_buf storage for subsequent reread
Christopher Faylor [Fri, 14 Sep 2001 03:01:47 +0000 (03:01 +0000)]
* grp.cc (read_etc_group): Just reuse group_buf storage for subsequent reread
of /etc/group.
* passwd.cc (read_etc_passwd): Just reuse passwd_buf storage for subsequent
reread of /etc/passwd.

23 years ago* cygheap.cc (dup_now): New function.
Christopher Faylor [Fri, 14 Sep 2001 00:49:00 +0000 (00:49 +0000)]
* cygheap.cc (dup_now): New function.
(cygheap_setup_for_child): Accept new argument controlling whether to delay
copying of cygheap to shared memory region.
(cygheap_setup_for_child_cleanup): Accept new arguments controlling whether to
copy cygheap at this point.
* cygheap.h: Reflect above changes.
* fork.cc (fork_parent): Break copying of cygheap into two parts when
fork_fixup is required so that the child can see the parent's changes.
(vfork): Do stack cleanup prior to forcing a fork error.
* spawn.cc (spawn_guts): Ditto.

23 years ago* cygheap.cc (ccalloc): Pass correct length to creturn so that cygheap_max is
Christopher Faylor [Thu, 13 Sep 2001 21:15:34 +0000 (21:15 +0000)]
* cygheap.cc (ccalloc): Pass correct length to creturn so that cygheap_max is
correctly calculated.

23 years ago2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 13 Sep 2001 21:12:33 +0000 (21:12 +0000)]
2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
        and strtoull_r.c.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/strtoll_r.c: New file.
        * libc/stdlib/strtoull_r.c: New file.
        * libc/stdio/local.h: Add prototypes for long long string
        conversion routines.
        * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
        tied to %L integer conversion specifier.

23 years ago* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.
Alexandre Oliva [Thu, 13 Sep 2001 21:02:21 +0000 (21:02 +0000)]
* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.

23 years agoThu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
Jeff Johnston [Thu, 13 Sep 2001 20:40:49 +0000 (20:40 +0000)]
Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>

        * strftime.c (strftime): Fix "%W" implementation to properly handle
        Mondays too.

23 years ago* winsup.api/winsup.exp: Run only selected test if environment
Egor Duda [Thu, 13 Sep 2001 19:00:48 +0000 (19:00 +0000)]
* winsup.api/winsup.exp: Run only selected test if environment
variable CYGWIN_TESTSUITE_TESTS is set. Use its value as regular
expression to filter test names.
* winsup.api/ltp/symlink01.c (creat_path_max): Provide explicit
buffer to getcwd to conform to standards and avoid memory leak.
(do_chdir): Ditto.

23 years ago2001-09-13 Earnie Boyd <earnie@SF.net>
Earnie Boyd [Thu, 13 Sep 2001 17:45:55 +0000 (17:45 +0000)]
2001-09-13  Earnie Boyd  <earnie@SF.net>

* lib/Makefile.in (inst_includedir): Change to always use w32api
subdirectory for target == cygwin.
(inst_libdir): Ditto.

23 years ago* libltp/lib/tst_sig.c: Pass SIGSEGV to application to consider
Egor Duda [Thu, 13 Sep 2001 17:30:23 +0000 (17:30 +0000)]
* libltp/lib/tst_sig.c: Pass SIGSEGV to application to consider
whether it's expected or not.
* winsup.api/known_bugs.tcl: lseek10 is known to fail because mknod
is not implemented.
* winsup.api/ltp/rename02.c: Fix formatting.
* libltp/lib/libtestsuite.c: New file.
* winsup.api/signal-into-win32-api.c: New test.
* winsup.api/ltp/access04.c: Ditto.
* winsup.api/ltp/access05.c: Ditto.
* winsup.api/ltp/alarm07.c: Ditto.
* winsup.api/ltp/chdir04.c: Ditto.
* winsup.api/ltp/chmod01.c: Ditto.
* winsup.api/ltp/close01.c: Ditto.
* winsup.api/ltp/close02.c: Ditto.
* winsup.api/ltp/creat01.c: Ditto.
* winsup.api/ltp/creat03.c: Ditto.
* winsup.api/ltp/exit01.c: Ditto.
* winsup.api/ltp/exit02.c: Ditto.
* winsup.api/ltp/fchdir01.c: Ditto.
* winsup.api/ltp/fchdir02.c: Ditto.
* winsup.api/ltp/fork02.c: Ditto.
* winsup.api/ltp/fork03.c: Ditto.
* winsup.api/ltp/fork06.c: Ditto.
* winsup.api/ltp/fork07.c: Ditto.
* winsup.api/ltp/fork09.c: Ditto.
* winsup.api/ltp/fork10.c: Ditto.
* winsup.api/ltp/fork11.c: Ditto.
* winsup.api/ltp/fstat02.c: Ditto.
* winsup.api/ltp/fstat03.c: Ditto.
* winsup.api/ltp/fstat04.c: Ditto.
* winsup.api/ltp/ftruncate01.c: Ditto.
* winsup.api/ltp/ftruncate02.c: Ditto.
* winsup.api/ltp/ftruncate03.c: Ditto.
* winsup.api/ltp/getgid02.c: Ditto.
* winsup.api/ltp/getgid03.c: Ditto.
* winsup.api/ltp/getpgid01.c: Ditto.
* winsup.api/ltp/getpgid02.c: Ditto.
* winsup.api/ltp/getpid02.c: Ditto.
* winsup.api/ltp/getppid02.c: Ditto.
* winsup.api/ltp/getuid02.c: Ditto.
* winsup.api/ltp/getuid03.c: Ditto.
* winsup.api/ltp/kill01.c: Ditto.
* winsup.api/ltp/kill02.c: Ditto.
* winsup.api/ltp/kill03.c: Ditto.
* winsup.api/ltp/kill04.c: Ditto.
* winsup.api/ltp/lseek06.c: Ditto.
* winsup.api/ltp/lseek07.c: Ditto.
* winsup.api/ltp/lseek08.c: Ditto.
* winsup.api/ltp/lseek09.c: Ditto.
* winsup.api/ltp/lseek10.c: Ditto.
* winsup.api/ltp/mmap02.c: Ditto.
* winsup.api/ltp/mmap03.c: Ditto.
* winsup.api/ltp/mmap04.c: Ditto.
* winsup.api/ltp/mmap05.c: Ditto.
* winsup.api/ltp/mmap06.c: Ditto.
* winsup.api/ltp/mmap07.c: Ditto.
* winsup.api/ltp/mmap08.c: Ditto.
* winsup.api/ltp/munmap01.c: Ditto.
* winsup.api/ltp/munmap02.c: Ditto.
* winsup.api/ltp/open02.c: Ditto.
* winsup.api/ltp/pipe01.c: Ditto.
* winsup.api/ltp/pipe08.c: Ditto.
* winsup.api/ltp/pipe09.c: Ditto.
* winsup.api/ltp/pipe10.c: Ditto.
* winsup.api/ltp/pipe11.c: Ditto.
* winsup.api/ltp/poll01.c: Ditto.
* winsup.api/ltp/read04.c: Ditto.
* winsup.api/ltp/readlink01.c: Ditto.
* winsup.api/ltp/readlink03.c: Ditto.
* winsup.api/ltp/rename01.c: Ditto.
* winsup.api/ltp/rename08.c: Ditto.
* winsup.api/ltp/rename10.c: Ditto.
* winsup.api/ltp/rmdir01.c: Ditto.
* winsup.api/ltp/stat01.c: Ditto.
* winsup.api/ltp/stat02.c: Ditto.
* winsup.api/ltp/stat03.c: Ditto.
* winsup.api/ltp/symlink03.c: Ditto.
* winsup.api/ltp/symlink04.c: Ditto.
* winsup.api/ltp/symlink05.c: Ditto.
* winsup.api/ltp/sync02.c: Ditto.
* winsup.api/ltp/time02.c: Ditto.
* winsup.api/ltp/times02.c: Ditto.
* winsup.api/ltp/times03.c: Ditto.
* winsup.api/ltp/truncate01.c: Ditto.
* winsup.api/ltp/truncate02.c: Ditto.
* winsup.api/ltp/umask02.c: Ditto.
* winsup.api/ltp/umask03.c: Ditto.
* winsup.api/ltp/wait401.c: Ditto.
* winsup.api/ltp/wait402.c: Ditto.
* winsup.api/ltp/write02.c: Ditto.
* winsup.api/ltp/write03.c: Ditto.

23 years ago* dumper.cc (main): Properly recognize negative pids (used by w9x).
Egor Duda [Thu, 13 Sep 2001 15:06:25 +0000 (15:06 +0000)]
* dumper.cc (main): Properly recognize negative pids (used by w9x).

23 years ago2001-09-13 Earnie Boyd <earnie@SF.net>
Earnie Boyd [Thu, 13 Sep 2001 12:06:28 +0000 (12:06 +0000)]
2001-09-13  Earnie Boyd  <earnie@SF.net>

* lib/Makefile.in (config_prefix): New variable.
(inst_includedir): Manipulate special value only if target == cygwin
and build == target and prefix != config_prefix.
(inst_libdir): Ditto.

23 years ago* sync.cc (muto::acquire): Fix while/if typo.
Christopher Faylor [Thu, 13 Sep 2001 01:07:25 +0000 (01:07 +0000)]
* sync.cc (muto::acquire): Fix while/if typo.

23 years ago* common.h (EM_AVR_OLD): Renamed from...
Alexandre Oliva [Wed, 12 Sep 2001 23:53:09 +0000 (23:53 +0000)]
* common.h (EM_AVR_OLD): Renamed from...
(EM_AVR): this, redefined as in the current ELF standard.
(EM_PJ_OLD): Renamed from...
(EM_PJ): this, redefined as in the current ELF standard.
(EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300,
EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in
the current ELF standard.
(EM_CYGNUS_ARC): Removed, unused for a long time.

23 years ago * wincap.cc (wincapc::init): Simplify W2K/XP case.
Corinna Vinschen [Wed, 12 Sep 2001 21:07:13 +0000 (21:07 +0000)]
    * wincap.cc (wincapc::init): Simplify W2K/XP case.

23 years ago * wincap.cc (wincapc::init): Set os name to "NT" on XP, too.
Corinna Vinschen [Wed, 12 Sep 2001 21:03:53 +0000 (21:03 +0000)]
    * wincap.cc (wincapc::init): Set os name to "NT" on XP, too.

23 years ago2001-09-12 Earnie Boyd <earnie@SF.net>
Earnie Boyd [Wed, 12 Sep 2001 20:24:06 +0000 (20:24 +0000)]
2001-09-12  Earnie Boyd  <earnie@SF.net>

* Makefile.in (TARFLAGS): New variable.
(TARFILEEXT): Ditto.

23 years ago * Makefile.in: Build wincap.o.
Corinna Vinschen [Wed, 12 Sep 2001 17:46:37 +0000 (17:46 +0000)]
    * Makefile.in: Build wincap.o.
        * wincap.cc: New file.
        * wincap.h: Ditto.
        * autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
        * dcrt0.cc (os_being_run): Eliminated.
        (osname): Ditto.
        (iswinnt): Ditto.
        (set_os_type): Ditto.
        (dll_crt0_1): Call wincap.init() instead of set_os_type().
        (_dll_crt0): Ditto.
        * environ.cc (set_chunksize): New function.
        (parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
        * fork.cc (chunksize): Eliminated. Moved to be member of wincap.
        * host_dependent.h: Removed.
        * syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
        * cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
        environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
        fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
        security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
        times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
        capability check throughout.
        * winsup.h: Include wincap.h. Eliminate extern declarations of
        `os_being_run' and `iswinnt'. Eliminate `os_type" definition.
        * include/cygwin/version.h: Bump version to 1.3.4.

23 years ago2001-09-12 Earnie Boyd <earnie@SF.net>
Earnie Boyd [Wed, 12 Sep 2001 14:48:07 +0000 (14:48 +0000)]
2001-09-12  Earnie Boyd  <earnie@SF.net>

* Makefile.in: Increment version.
* include/w32api.h: Ditto.
* lib/Makefile.in: Add usr/ to install directory special for cygwin.

23 years ago2001-09-11 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Wed, 12 Sep 2001 14:08:53 +0000 (14:08 +0000)]
2001-09-11  Danny Smith  <dannysmith@users.sourceforge.net>

  * include/winnt.h (_[U]LARGE_INTEGER): Protect nameless struct with
!defined(NONAMELESSUNION), rather than defined(_ANONYMOUS_STRUCT).
(_REPARSE_DATA_BUFFER): Name union field DUMMYUNIONNAME.

23 years ago* exceptions.cc (call_signal_handler_now): Add additional guard against
Christopher Faylor [Wed, 12 Sep 2001 05:09:24 +0000 (05:09 +0000)]
* exceptions.cc (call_signal_handler_now): Add additional guard against
inappropriately calling signal handler.
* syscalls.cc (_read): Reset errno if not exiting due to signal.

23 years agominor cleanups
Christopher Faylor [Wed, 12 Sep 2001 04:47:47 +0000 (04:47 +0000)]
minor cleanups

23 years agoWed Sep 12 13:03:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 12 Sep 2001 03:18:05 +0000 (03:18 +0000)]
Wed Sep 12 13:03:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * autoload.cc (LoadDLLfuncEx): Auto load TryEnterCriticalSection - its a
n NT only call.
        * thread.cc (pthread_cond::TimedWait): Use critical sections for NT.
        (pthread_cond::fixup_after_fork): Don't detect bad apps.
        (pthread_mutex::pthread_mutex): Use critical sections for NT.
        (pthread_mutex::~pthread_mutex): Ditto.
        (pthread_mutex::Lock): Ditto.
        (pthread_mutex::TryLock): Ditto.
        (pthread_mutex::UnLock): Ditto.
        (pthread_mutex::fixup_after_fork): Ditto. Also do not detect bad apps.
        (__pthread_mutex_trylock): Move WIN32 specific test into the class metho
d.
        (__pthread_mutex_destroy): Prevent dereferencing passed pointer without
valid address.
        * thread.h (pthread_mutex): Use critical sections for NT.

23 years ago* sigproc.h (sigframe::unregister): Return true/false whether this frame is
Christopher Faylor [Wed, 12 Sep 2001 01:56:32 +0000 (01:56 +0000)]
* sigproc.h (sigframe::unregister): Return true/false whether this frame is
capable of responding to signals.
* exceptions.cc (sigframe::call_signal_handler): Don't call signal handler if
it is not armed for this thread.

23 years agoUpdate copyrights.
Christopher Faylor [Tue, 11 Sep 2001 20:01:02 +0000 (20:01 +0000)]
Update copyrights.

23 years agofix some typos.
Christopher Faylor [Tue, 11 Sep 2001 19:40:14 +0000 (19:40 +0000)]
fix some typos.

23 years agochange copyright.
Christopher Faylor [Tue, 11 Sep 2001 17:02:23 +0000 (17:02 +0000)]
change copyright.

23 years ago* cygwin.din: Remove cygwin_getshared.
Christopher Faylor [Tue, 11 Sep 2001 15:25:08 +0000 (15:25 +0000)]
* cygwin.din: Remove cygwin_getshared.
* shared.cc: Ditto.
* include/cygwin/version.h: Bump API minor number.
* dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.

23 years agoIf -mfp32, do not enable 64-bit FPR registers on mips3
Michael Meissner [Tue, 11 Sep 2001 14:24:35 +0000 (14:24 +0000)]
If -mfp32, do not enable 64-bit FPR registers on mips3

23 years agoTue Sep 11 21:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 11 Sep 2001 11:23:41 +0000 (11:23 +0000)]
Tue Sep 11 21:22:00 2001  Robert Collins <rbtcollins@hotmail.com>

* thread.cc (pthread_cond::~pthread_cond): Bugfix: Incorrect use of InterlockExchangePointer.
(pthread_mutex::~pthread_mutex): Ditto.
(semaphore::~semaphore): Ditto.

23 years agoTue Sep 11 18:15:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 11 Sep 2001 08:15:39 +0000 (08:15 +0000)]
Tue Sep 11 18:15:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * dcrt0.cc (cygwin_finished_initializing): Copy _mtinterf on fork;
        * fork.cc (fork_child): fixup thread-related structures after fork;
        * thread.cc (MTinterface::Init): Initialise the new mutex, condition and semaphore lists.
        (MTinterface::fixup_after_fork): Iterate through each list and fixup the objects.
        (pthread_cond::pthread_cond): Add this to the condition list.
        (pthread_cond::~pthread_cond): Remove this from the condition list.
        (pthread_cond::fixup_after_fork): Recreate as best we can the pre-fork state.
        (pthread_mutex::pthread_mutex): Add this to the mutex list.
        (pthread_mutex::~pthread_mutex): Remove this from the mutex list.
        (pthread_mutex::fixup_after_fork): Recreate as best we can the pre-fork state.
        (semaphore::semaphore): Store the initial value, and add this to the semaphore list.
        (semaphore::~semaphore): Remove this from the semaphore list.
        (semaphore::Post): Increment the current semaphore value.
        (semaphore::TryWait): Decrement the current semaphore value.
        (semaphore::Wait): Ditto.
        (semaphote::fixup_after_fork): Recreate the pre-fork state as best we can.
        * thread.h (pthread_mutex): New members to allow fixup_after_fork.
        (pthread_cond): Ditto.
        (semaphore): Ditto.
        (MTinterface): New list heads for tracking conds and semaphores.

23 years agoAdd support for GDB monitor-style I/O.
Jim Blandy [Mon, 10 Sep 2001 23:47:42 +0000 (23:47 +0000)]
Add support for GDB monitor-style I/O.
* m68k/idp-outbyte.c (raw_outbyte): Renamed from outbyte; made
static.
(outbyte): Call raw_outbyte; if GDB_MONITOR_OUTPUT is #defined,
precede the byte with a ^O character.
* m68k/idpgdb.ld: New linker script.
* m68k/Makefile.in (IDPGDB_LDFLAGS, IDPGDB_BSP, IDPGDB_OBJS): New
variables.
(all): Add ${IDPGDB_BSP} to the list of things to build.
(${IDPGDB_BSP}, idp-gdb-outbyte.o, idpgdb-test.x,
idpgdb-test.srec, idpgdb-test.dis, idpgdb-test): New rules.
(install): Install the IDPGDB stuff, too.

23 years ago2001-09-05 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Mon, 10 Sep 2001 16:50:06 +0000 (16:50 +0000)]
2001-09-05  Danny Smith  <dannysmith@users.sourceforge.net>

* include/wininet.h (InternetAutodial): Add prototype.
(InternetAutodialHangup): Ditto.
(InternetDial): Ditto.
(InternetGetConnectedState): Ditto.
(InternetGoOnline): Ditto.
(InternetHangUp): Ditto.
(InternetSetDialState): Ditto.
Add associated INTERNET_* auto dial flags.
Guard typedefs and prototypes with #ifndef RC_INVOKED.

23 years ago2001-09-10 Earnie Boyd <earnie@SF.net>
Earnie Boyd [Mon, 10 Sep 2001 15:41:46 +0000 (15:41 +0000)]
2001-09-10  Earnie Boyd  <earnie@SF.net>

* dossh: Remove inadvertantly imported file.

2001-09-10  Danny Smith  <dannysmith@users.sourceforge.net>

* dirent.c (opendir): Use GetFileAttributes rather than stat
to determine if input arg is dir.

23 years ago* dtable.cc (dtable::fixup_after_fork): Use SetStdHandle appropriately on
Christopher Faylor [Mon, 10 Sep 2001 02:11:59 +0000 (02:11 +0000)]
* dtable.cc (dtable::fixup_after_fork): Use SetStdHandle appropriately on
inherited fds.

23 years ago* sigproc.cc (NZOMBIES): Reduce substantially to minimize memory use.
Christopher Faylor [Mon, 10 Sep 2001 00:19:06 +0000 (00:19 +0000)]
* sigproc.cc (NZOMBIES): Reduce substantially to minimize memory use.

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