]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago * libc/sys/mmixware/*: Correct spacing in all source files.
Hans-Peter Nilsson [Tue, 13 Nov 2001 02:49:12 +0000 (02:49 +0000)]
* libc/sys/mmixware/*: Correct spacing in all source files.
* libc/sys/mmixware/syscall.h: Move misplaced file...
* libc/sys/mmixware/sys/syscall.h: ...here.

22 years ago * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
Alan Modra [Tue, 13 Nov 2001 01:03:55 +0000 (01:03 +0000)]
* i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
accept WordReg.
* i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
category instead of Ew.

22 years ago Fix ChangeLog entry.
Corinna Vinschen [Mon, 12 Nov 2001 21:56:31 +0000 (21:56 +0000)]
Fix ChangeLog entry.

22 years ago * cygcheck.cc (dump_sysinfo): Redefine output format slightly.
Corinna Vinschen [Mon, 12 Nov 2001 21:55:39 +0000 (21:55 +0000)]
    * cygcheck.cc (dump_sysinfo): Redefine output format slightly.

22 years ago* cygcheck.cc (main): Slight formatting tweak.
Christopher Faylor [Mon, 12 Nov 2001 21:28:32 +0000 (21:28 +0000)]
* cygcheck.cc (main): Slight formatting tweak.

22 years ago2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
Jeff Johnston [Mon, 12 Nov 2001 21:07:42 +0000 (21:07 +0000)]
2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>

        * COPYING.NEWLIB: Add BSD-style license/copyright blurb for my work.

22 years ago2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
Jeff Johnston [Mon, 12 Nov 2001 21:04:41 +0000 (21:04 +0000)]
2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>

        * libc/include/machine/ieeefp.h: Add support for mmix target.
        * libc/include/machine/setjmp.h: Ditto.
        * configure.host: Ditto.
        * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
        libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
        libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
        libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
        libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
        libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
        libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
        libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
        libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
        libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
        libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
        libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
        libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
        libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
        libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
        libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
        * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
        libc/sys/mmixware/aclocal.m4: Generate.

22 years ago * cygcheck.cc (dump_sysinfo): Add some more details.
Corinna Vinschen [Mon, 12 Nov 2001 20:21:43 +0000 (20:21 +0000)]
    * cygcheck.cc (dump_sysinfo): Add some more details.

22 years agoAdd missing ChangeLog entry.
Christopher Faylor [Mon, 12 Nov 2001 18:22:41 +0000 (18:22 +0000)]
Add missing ChangeLog entry.

22 years ago * cygcheck.cc (dump_sysinfo): Print more detailed OS information string
Corinna Vinschen [Mon, 12 Nov 2001 17:55:52 +0000 (17:55 +0000)]
* cygcheck.cc (dump_sysinfo): Print more detailed OS information string
using OSVERSIONINFOEX information.

22 years ago * include/winbase.h (OSVERSIONINFOEX): Add definition.
Corinna Vinschen [Mon, 12 Nov 2001 17:53:47 +0000 (17:53 +0000)]
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.

22 years ago* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to
Christopher Faylor [Mon, 12 Nov 2001 17:06:50 +0000 (17:06 +0000)]
* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to
only honor keydown events.

22 years ago* include/cygwin/version.h: Bump version to 1.3.6.
Christopher Faylor [Mon, 12 Nov 2001 00:40:29 +0000 (00:40 +0000)]
* include/cygwin/version.h: Bump version to 1.3.6.

22 years ago* path.h: New file.
Christopher Faylor [Mon, 12 Nov 2001 00:19:17 +0000 (00:19 +0000)]
* path.h: New file.

22 years ago* cygcheck.cc (scan_registry): Open registry with read-only access.
Christopher Faylor [Mon, 12 Nov 2001 00:14:27 +0000 (00:14 +0000)]
* cygcheck.cc (scan_registry): Open registry with read-only access.
(main): Reflect argument change for dump_setup.
* dump_setup.cc (dump_setup): Add preliminary extra argument for future use.
* path.cc (read_mounts): Open registry with read-only access.

22 years agoClarify length reference in comment
Tim Wall [Sun, 11 Nov 2001 15:45:34 +0000 (15:45 +0000)]
Clarify length reference in comment

22 years agofix typo.
Christopher Faylor [Sun, 11 Nov 2001 06:55:35 +0000 (06:55 +0000)]
fix typo.

22 years ago* cygcheck.cc (main): Display package info when '-s' is specified.
Christopher Faylor [Sun, 11 Nov 2001 06:16:18 +0000 (06:16 +0000)]
* cygcheck.cc (main): Display package info when '-s' is specified.
* dump_setup.cc (dump_setup): Change header.  Remove typo.  Always sort
packages output.

22 years ago* dump_setup.cc: New file.
Christopher Faylor [Sun, 11 Nov 2001 06:07:36 +0000 (06:07 +0000)]
* dump_setup.cc: New file.
* Makefile.in: Add info for dump_setup.o.
* cygcheck.cc (main): Recognize '-c' option for checking setup installed base.
* path.cc (cygpath): Read mount table if not loaded.

22 years ago* Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
Christopher Faylor [Sun, 11 Nov 2001 03:06:59 +0000 (03:06 +0000)]
* Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
* path.cc: New file.
* cygcheck.cc (init_paths): Use MS-DOS path syntax.
(cygwin_info): Properly display cygwin version numbers.  Prettify some output.
(dump_sysinfo): Calculate max names of posix and ms-dos paths for prettier
output.

22 years ago* dtable.cc (dtable::build_fhandler): Don't increment console fd count if new
Christopher Faylor [Sat, 10 Nov 2001 19:46:15 +0000 (19:46 +0000)]
* dtable.cc (dtable::build_fhandler): Don't increment console fd count if new
operation fails.  Increment fork_fixup field here.
(dtable::dup2): Don't increment fork_fixup field here.
(fdsock): Ditto.

22 years ago * avr.h: Update for new devices.
Denis Chertykov [Sat, 10 Nov 2001 09:40:53 +0000 (09:40 +0000)]
* avr.h: Update for new devices.

22 years ago * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
Corinna Vinschen [Fri, 9 Nov 2001 17:18:36 +0000 (17:18 +0000)]
* cygcheck.cc (dump_sysinfo): Print more detailed OS information string.

22 years ago2001-11-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 13:23:54 +0000 (13:23 +0000)]
2001-11-10  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h: Add Danny Smith's text comment about gcc compiler warnings
        with _AUTHORITY #defines.

22 years ago2001-11-09 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 11:34:26 +0000 (11:34 +0000)]
2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h (GetCurrentFiber): Create a prototype before the implementation;
        (GetFiberData): Ditto.

22 years ago2001-11-09 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 08:31:37 +0000 (08:31 +0000)]
2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h: Backout last change.

22 years ago* configure.in (--enable-languages): Be more permissive about
DJ Delorie [Fri, 9 Nov 2001 02:21:21 +0000 (02:21 +0000)]
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.

22 years ago * checksignal.c: New testcase.
Corinna Vinschen [Thu, 8 Nov 2001 21:04:05 +0000 (21:04 +0000)]
    * checksignal.c: New testcase.

22 years ago * select.cc: Set errno using set_sig_errno() throughout.
Corinna Vinschen [Thu, 8 Nov 2001 17:49:52 +0000 (17:49 +0000)]
* select.cc: Set errno using set_sig_errno() throughout.
* signal.cc (signal): Always set SA_RESTART flag.
* syscalls.cc (_read): Revert previous patch.

22 years ago * select.cc (fhandler_tty_slave::ready_for_read): Return 0 on EBADF.
Corinna Vinschen [Thu, 8 Nov 2001 15:01:44 +0000 (15:01 +0000)]
* select.cc (fhandler_tty_slave::ready_for_read):  Return 0 on EBADF.
* syscalls.cc (_read): If ready_for_read() failed, save errno from
being overwritten by signal handler call.

22 years ago2001-11-08 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 7 Nov 2001 14:11:41 +0000 (14:11 +0000)]
2001-11-08  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h: Define *_SID_AUTHORITY appropriately. (nested
        structures.)
        GetCurrentFiber: Create a prototype before the implementation;
        GetFiberData: Ditto.

22 years ago2001-11-08 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 7 Nov 2001 14:10:25 +0000 (14:10 +0000)]
2001-11-08  Robert Collins  <rbtcollins@hotmail.com>

        * include/errno.h: Fix "errno is not a prototype" warning.

22 years ago * lib/getopt.c (getopt_internal): Reset optind to 1 only if optreset
Corinna Vinschen [Wed, 7 Nov 2001 11:47:23 +0000 (11:47 +0000)]
* lib/getopt.c (getopt_internal): Reset optind to 1 only if optreset
is not set.

22 years ago* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
Christopher Faylor [Tue, 6 Nov 2001 18:02:56 +0000 (18:02 +0000)]
* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
test.

22 years ago * Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
Hans-Peter Nilsson [Tue, 6 Nov 2001 07:20:20 +0000 (07:20 +0000)]
* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.

22 years ago* include/cygwin/version.h: Bump version to 1.3.5.
Christopher Faylor [Mon, 5 Nov 2001 23:13:47 +0000 (23:13 +0000)]
* include/cygwin/version.h: Bump version to 1.3.5.

22 years ago * mmap.cc (mmap_record::find_empty): Add input parameter check.
Corinna Vinschen [Mon, 5 Nov 2001 20:58:22 +0000 (20:58 +0000)]
* mmap.cc (mmap_record::find_empty): Add input parameter check.

22 years ago * libc/include/sys/unistd.h: Add prototypes for endusershell(),
Corinna Vinschen [Mon, 5 Nov 2001 18:06:24 +0000 (18:06 +0000)]
* libc/include/sys/unistd.h: Add prototypes for endusershell(),
getusershell(), iruserok(), revoke(), ruserok() and setusershell()
when __CYGWIN__ is defined.
* libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
logwtmp().

22 years ago* Makefile.in: Delete unused executable after creating base-files.
Egor Duda [Mon, 5 Nov 2001 13:16:41 +0000 (13:16 +0000)]
* Makefile.in: Delete unused executable after creating base-files.

22 years agoEliminate excess whitespace.
Christopher Faylor [Mon, 5 Nov 2001 06:09:15 +0000 (06:09 +0000)]
Eliminate excess whitespace.

22 years agoAdd strace debugging section.
Christopher Faylor [Mon, 5 Nov 2001 03:16:58 +0000 (03:16 +0000)]
Add strace debugging section.

22 years ago2001-11-04 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 5 Nov 2001 03:07:26 +0000 (03:07 +0000)]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Remove extra space.

22 years ago* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
Christopher Faylor [Mon, 5 Nov 2001 02:45:42 +0000 (02:45 +0000)]
* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
incorrect parameter placement.

22 years ago* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
Christopher Faylor [Mon, 5 Nov 2001 01:52:20 +0000 (01:52 +0000)]
* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
(fhandler_pipe::set_eof): Reflect above change.
* pipe.cc (fhandler_pipe::fhandler_pipe): Ditto.
(fhandler_pipe::read): Ditto.
(fhandler_pipe::hiteof): Ditto.

22 years ago* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
Christopher Faylor [Mon, 5 Nov 2001 01:44:02 +0000 (01:44 +0000)]
* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
test.

22 years ago* select.cc: Add more comments throughout. Use bool 'true' where appropriate
Christopher Faylor [Mon, 5 Nov 2001 00:29:27 +0000 (00:29 +0000)]
* select.cc: Add more comments throughout.  Use bool 'true' where appropriate
throughout.
(fhandler_socket::select_read): Remove duplicate setting for *_ready which
inadvertently overrode previous, correct setting.
(fhandler_socket::select_write): Ditto.

22 years ago* lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in parallel
Christopher Faylor [Sun, 4 Nov 2001 20:38:00 +0000 (20:38 +0000)]
* lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in parallel
invocations.
* lib/scrnsave.c (WinMain): Trivial change to avoid a compiler warning.

22 years ago * getfacl.c (username): New function.
Corinna Vinschen [Sun, 4 Nov 2001 17:24:24 +0000 (17:24 +0000)]
* getfacl.c (username): New function.
(groupname): Ditto.
(usage): Ditto.  Add more user friendly help text.
(main): Add -n and --help option.  Print names instead of IDs
unless -n option is given.
* setfacl.c (getperm): Tolerate whitespace and comment chars in input.
(getaclentry): Fix several input string misdetections.
(getaclentries): Allow - as input file name to read from stdin.
Tolerate whitespace and comment chars in input.
(usage): Add more user friendly help text.
(main): Add --help option.

22 years ago* strace.cc (main): New option '-w'. Start traced process in separate
Egor Duda [Sun, 4 Nov 2001 12:57:55 +0000 (12:57 +0000)]
* strace.cc (main): New option '-w'. Start traced process in separate
window. New option '-S x'. Flush buffered output every x seconds.
(create_child): Start child process in new window, when requested.
When requested, periodically flush debugging output.

22 years ago* Makefile.in: Force configure in testsuite directory if config.status does not
Christopher Faylor [Sun, 4 Nov 2001 05:15:16 +0000 (05:15 +0000)]
* Makefile.in: Force configure in testsuite directory if config.status does not
exist.

22 years ago* Makefile.in: Oops. Revert previous change. Add Makefile/Makefile.in
Christopher Faylor [Sun, 4 Nov 2001 05:14:16 +0000 (05:14 +0000)]
* Makefile.in: Oops.  Revert previous change.  Add Makefile/Makefile.in
dependency.

22 years ago* Makefile.in: Add check target.
Christopher Faylor [Sun, 4 Nov 2001 05:06:23 +0000 (05:06 +0000)]
* Makefile.in: Add check target.

22 years ago* configure.in: Disable subauth directory test.
Christopher Faylor [Sun, 4 Nov 2001 03:48:36 +0000 (03:48 +0000)]
* configure.in: Disable subauth directory test.
* configure: Regenerate.
* Makefile.in: Use MAKE variable in directory builds.

22 years ago* Makefile.in: Add directory dependencies to ensure ordering when using 'make
Christopher Faylor [Sun, 4 Nov 2001 03:42:19 +0000 (03:42 +0000)]
* Makefile.in: Add directory dependencies to ensure ordering when using 'make
-jN'.

22 years ago* select.cc (verify_console): New function.
Christopher Faylor [Sun, 4 Nov 2001 03:29:15 +0000 (03:29 +0000)]
* select.cc (verify_console): New function.
(verify_windows): Ditto.
(fhandler_console::select_read): Really do need to verify that there is
something to read.
(fhandler_console::select_windows): Ditto.

22 years ago* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
Christopher Faylor [Sun, 4 Nov 2001 02:31:58 +0000 (02:31 +0000)]
* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
(select_record): Remove poll, initialize peek.
* select.cc: Remove all poll functions, throughout.  Change second argument of
peek_* functions to 'bool' throughout.  Specifically initialize *_ready
variables throughout.
(select_stuff::poll): Subsume previous poll functionality.
(peek_pipe): Don't grab guard mutex when in select loop.  select()/read() is
racy by design so there is no need to worry about a race in select().
(fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
* syscalls.cc (_read): Eliminate third argument in ready_for_read call.

22 years ago * security.cc (get_supplementary_group_sidlist): New function.
Corinna Vinschen [Sat, 3 Nov 2001 21:19:50 +0000 (21:19 +0000)]
* security.cc (get_supplementary_group_sidlist): New function.
(get_group_sidlist): Call get_supplementary_group_sidlist() to
retrieve list of supplementary groups SIDs from /etc/group and
add them to the user's group list.

22 years ago* Makefile.common: Remove preferred-stack-boundary setting since gcc 2.95.3
Christopher Faylor [Sat, 3 Nov 2001 19:56:52 +0000 (19:56 +0000)]
* Makefile.common: Remove preferred-stack-boundary setting since gcc 2.95.3
doesn't work well with it.

22 years ago* fhandler.cc (fhandler_base::read): Return just read ahead characters if slow
Christopher Faylor [Sat, 3 Nov 2001 05:42:21 +0000 (05:42 +0000)]
* fhandler.cc (fhandler_base::read): Return just read ahead characters if slow
device.
* fhandler.h (fhandler_base::set_eof): New virtual method.
(fhandler_pipe::set_eof): New method.
* pipe.cc (fhandler_pipe::fhandler_pipe): Clear saweof flag.
(fhandler_pipe::read): Return immediately if hit eof.
(fhandler_pipe::hit_eof): Return true if saweof flag is set.
* select.cc (peek_pipe): Don't call PeekNamedPipe if we couldn't grab the guard
mutex.

22 years ago* dll_init.h (class dll_list): Reorder functions to avoid compiler "can't
Christopher Faylor [Sat, 3 Nov 2001 03:32:27 +0000 (03:32 +0000)]
* dll_init.h (class dll_list): Reorder functions to avoid compiler "can't
inline" warnings.
* security.h (class cygsid): Ditto.
* sigproc.cc (get_proc_lock): Ditto.
* sigproc.h (class sigframe): Ditto.
* sync.h (class muto): Ditto.
* fhandler.h (fhandler_base::get_guard): Actually MAKE virtual as previously
indicated.
* pipe.cc (make_pipe): Remove extraneous set_errno.
* syscalls.cc (_open): Ditto.
* select.cc (peek_pipe): Need to check that there is still something to read
from the pipe after acquiring the mutex since another process/thread could have
eaten the input before we got to acquiring the lock.  (Thanks to Nick Duffek
for this inspiration.)

22 years ago* libltp/lib/forker.c: Include proper header to avoid compiler
Egor Duda [Fri, 2 Nov 2001 20:45:00 +0000 (20:45 +0000)]
* libltp/lib/forker.c: Include proper header to avoid compiler
warning.

22 years ago* Makefile.common: Add some stuff to common CFLAGS.
Christopher Faylor [Fri, 2 Nov 2001 04:44:42 +0000 (04:44 +0000)]
* Makefile.common: Add some stuff to common CFLAGS.

22 years ago* fhandler.h: Change Windows 'BOOL's to c++ 'bool's for all variables.
Christopher Faylor [Fri, 2 Nov 2001 04:44:06 +0000 (04:44 +0000)]
* fhandler.h: Change Windows 'BOOL's to c++ 'bool's for all variables.
* select.cc (fhandler_base::ready_for_read): Set read_ready to zero prior to
testing it or it will be uninitialized.
* Makefile.in (CFLAGS): Move setting to Makefile.common.

22 years ago* cygheap.h (cygheap_fdmanip::isopen): Set appropriate errno if fd not open.
Christopher Faylor [Thu, 1 Nov 2001 23:48:34 +0000 (23:48 +0000)]
* cygheap.h (cygheap_fdmanip::isopen): Set appropriate errno if fd not open.
* select.cc (fhandler_base::ready_for_read): Release an open guard mutex when
exiting with an error condition.
* syscalls.cc (_read): Check frequently for closed fd as a kludge until
something better is invented.

22 years ago* dtable.cc (dtable::build_fhandler): Issue internal error on unknown device.
Christopher Faylor [Thu, 1 Nov 2001 21:15:53 +0000 (21:15 +0000)]
* dtable.cc (dtable::build_fhandler): Issue internal error on unknown device.
* fhandler.cc (fhandler_base::close): Show both name and handle in debugging
output.
* fhandler.h (fhandler_base::get_guard): New virtual method.
(fhandler_pipe::get_guard): New method.
(fhandler_socket::ready_for_read): Delete declaration.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(struct select_record::peek): Declare new method.
* select.cc (MAKEready): Delete.
(peek_pipe): Use get_guard method to retrieve potential guard mutex handle.
(fhandler_base::ready_for_read): Rewrite as generic ready-for-read handler.
Should only be called for "slow" devices.
(fhandler_socket::ready_for_read): Delete definition.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(fhandler_pipe::select_read): Fill in new peek record in select_record
structure.
(fhandler_console::select_read): Ditto.
(fhandler_tty_common::select_read): Ditto.
(fhandler_serial::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_tty_slave::ready_for_read): Check for tty not open.  Set errnos
appropriately.
* syscalls.cc (_read): Allow ready_for_read to set errno.
* pinfo.cc (pinfo::init): Return spawn/NO_WAIT process as valid if it is
initializing.
* sigproc.cc (getsem): Adjust wait for process to initialize downward to avoid
huge waits.

22 years ago2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Thu, 1 Nov 2001 19:51:50 +0000 (19:51 +0000)]
2001-10-30  Danny Smith  <dannysmith@users.sourceforge.net>

* include/io.h (_commit): Add declaration.
Thanks to: "stefan" <stefan@lkcc.org>

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

* include/sys/stat.h: Make S_IS* macros safer.

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

* include/stdlib.h (EXIT_FAILURE): Change value to 1.

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

* include/stdlib.h (__p__environ, __p__wenviron): Use
__STDC__ prototypes.

22 years ago2001-11-01 Arati Dikey <aratidikey@hotmail.com>
Jeff Johnston [Thu, 1 Nov 2001 19:47:32 +0000 (19:47 +0000)]
2001-11-01  Arati Dikey  <aratidikey@hotmail.com>

        * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
        [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
        * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
        [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.

22 years ago2001-11-01 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Thu, 1 Nov 2001 19:42:57 +0000 (19:42 +0000)]
2001-11-01  Danny Smith  <dannysmith@users.sourceforge.net>

* include/basetyps.h (DECLARE_INTERFACE): Don't add
__attribute__((com_interface)) for __GNUC__ >= 3.

2001-11-01  Danny Smith  <dannysmith@users.sourceforge.net>

* include/commdlg.h (PRINTPAGERANGE): Add structure
definition.
(PRINTDLGEX[AW]): Likewise.
(PrintDlgEx[AW]): Add function declaration.
* lib/comdlg32.def (PrintDlgEx[AW]): Add function stubs.
* ChangeLog: Fix typo in last entry.

2001-11-01  TAMURA Kent  <tkent@users.sourceforge.net>

* include/objbase.h (CoGetClassObject): Change third parameter
to COSERVERINFO*.

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

* include/winuser.h (MOUSEEVENTF_WHEEL): Define.
Thanks to: Kim Saunders.
* include/oleauto.h: Define VARIANT* flags for VariantChangeType.
Thanks to: Pat Thoyts.
* include/winnt.h: Change C++ style comment to C style.
  * include/shlobj.h: Ditto.
* include/objbase.h (enum tagCOINIT): Remove comma at end of
list.
* include/oledlg.h (enum tagOLEUIPASTEFLAG): Ditto.
* include/oleidl.h (enum tagDROPEFFECT): Mark as __extension__
(enum not limited to range of int).
* include/oaidl.h (struct tagVARIANT): Mark as __extension__
(struct with no named members), ifndef NONAMELESSUNION.

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

* include/winuser.h (CREATESTRUCT): UNICODE it.
(CBT_CREATEWND): Likewise.

2001-10-20  Corinna Vinschen  <corinna@vinschen.de>

* include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
(WNetGetResourceInformationW): Ditto.
(WNetGetResourceInformation): Add define.

2001-10-12  Pedro A Aranda  <paaguti@hotmail.com>

* include/winuser.h (POINTSTOPOINT): Use explicit casts
before extracting words.

22 years ago2001-10-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 31 Oct 2001 19:26:13 +0000 (19:26 +0000)]
2001-10-31  Jeff Johnston  <jjohnstn@redhat.com>

        * m32r/Makefile.in: Use gdb stub set by configure.
        * m32r/configure.in: Add a special macro for testing
        c compiler without building executable.  Add setting of
        GDBSTUB.
        * m32r/configure: Regenerated.

22 years ago2001-10-31 David Howells <dhowells@redhat.com>
Jeff Johnston [Wed, 31 Oct 2001 19:19:08 +0000 (19:19 +0000)]
2001-10-31  David Howells  <dhowells@redhat.com>

        * syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
        * mn10300/times.c: Renamed "times" to "_times" so that it can be
        referenced by newlib.
        * mn10300/cygmon.c: New file.
        * mn10300/crt0_redboot.S: Ditto.
        * mn10300/crt0_cygmon.S: Ditto.
        * mn10300/Makefile.in: Added RedBoot and Cygmon support.
        * mn10300/configure.in: Changed to allow for future
        evaluation boards to be added.
        * mn10300/configure: Regenerated.

22 years ago* environ.cc: Set reset_com to false to mimic linux behavior more closely.
Christopher Faylor [Wed, 31 Oct 2001 16:30:46 +0000 (16:30 +0000)]
* environ.cc: Set reset_com to false to mimic linux behavior more closely.

22 years ago * dtable.cc (dtable::vfork_child_dup): Revert impersonation
Corinna Vinschen [Wed, 31 Oct 2001 12:03:45 +0000 (12:03 +0000)]
* dtable.cc (dtable::vfork_child_dup): Revert impersonation
before duplicating fhandler.

22 years agoremove garbage ChangeLog entry.
Christopher Faylor [Wed, 31 Oct 2001 05:35:28 +0000 (05:35 +0000)]
remove garbage ChangeLog entry.

22 years ago* sigproc.cc (sigproc_terminate): Don't signal main thread when exiting.
Christopher Faylor [Wed, 31 Oct 2001 02:58:38 +0000 (02:58 +0000)]
* sigproc.cc (sigproc_terminate): Don't signal main thread when exiting.
* sigproc.h (sigframe): Decorate some methods with `inline'.
(new_muto): Coerce pointer to new to void *.

22 years ago* fhandler.cc (fhandler_base::fork_fixup): Pass old handle to setclexec_pid.
Christopher Faylor [Wed, 31 Oct 2001 02:03:00 +0000 (02:03 +0000)]
* fhandler.cc (fhandler_base::fork_fixup): Pass old handle to setclexec_pid.

22 years ago* cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh.
Christopher Faylor [Wed, 31 Oct 2001 00:55:32 +0000 (00:55 +0000)]
* cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh.
(cygheap_fdmanip::isopen): New method.
* syscalls.cc (_read): Avoid accessing closed fd.
* path.h (fe_types): New enum.
(path_conv::set_path): New method.
(find_exec): Change null_if_not_found argument to something more generic.
* spawn.cc (find_exec): Default to returning the POSIX path rather than the
windows path, unless instructed otherwise.
(spawn_guts): Force call to find_exec to use native paths.
* dlfcn.cc (check_path_access): Accommodate new find_exec arguments.
* environ.h (win_env::get_posix): New method.

22 years agoAdd MMIX support
Nick Clifton [Tue, 30 Oct 2001 15:20:10 +0000 (15:20 +0000)]
Add MMIX support

22 years ago * fhandler_socket.cc (fhandler_socket::close): Add error handling.
Corinna Vinschen [Tue, 30 Oct 2001 11:48:36 +0000 (11:48 +0000)]
* fhandler_socket.cc (fhandler_socket::close): Add error handling.

Fixed ChangeLog entries.

22 years ago * (fhandler_socket::dup): Revert previous change.
Corinna Vinschen [Tue, 30 Oct 2001 10:07:39 +0000 (10:07 +0000)]
    * (fhandler_socket::dup): Revert previous change.

22 years ago* dtable.cc (dtable::dup2): Add some debugging. Use methods from passed in
Christopher Faylor [Tue, 30 Oct 2001 07:43:46 +0000 (07:43 +0000)]
* dtable.cc (dtable::dup2): Add some debugging.  Use methods from passed in
class rather than cygheap->fdtab.
* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add more
debugging output.
(fhandler_socket::dup): Allocate new space for prot_info_ptr for duplicated
entry.
* syscalls.cc (stat_worker): Always delete fh if it has been created.

22 years ago * security.cc (is_group_member): Call NetLocalGroupGetMembers() for
Corinna Vinschen [Tue, 30 Oct 2001 00:02:36 +0000 (00:02 +0000)]
* security.cc (is_group_member): Call NetLocalGroupGetMembers() for
local machine only.
(get_user_local_groups): Ditto for NetLocalGroupEnum().

22 years ago* Makefile.in: Propagate 'clean' to subdirs properly.
Christopher Faylor [Mon, 29 Oct 2001 20:32:27 +0000 (20:32 +0000)]
* Makefile.in: Propagate 'clean' to subdirs properly.

22 years ago* fhandler.cc (fhandler_base::set_name): Set namehash here to catch name
Christopher Faylor [Mon, 29 Oct 2001 20:30:47 +0000 (20:30 +0000)]
* fhandler.cc (fhandler_base::set_name): Set namehash here to catch name
changes.
(fhandler_base::open): Remove namehash setting.
(fhandler_base::fstat): Subtract 1 from arbitrary time setting to avoid strange
ls -l granularity problem.
* shared_info.h (MOUNT_VE

22 years ago* winsup.api/ltp/stat03.c: Supress compiler warning.
Egor Duda [Mon, 29 Oct 2001 20:03:06 +0000 (20:03 +0000)]
* winsup.api/ltp/stat03.c: Supress compiler warning.

22 years ago* winsup.api/signal-into-win32-api.c: Supress compiler warning.
Egor Duda [Mon, 29 Oct 2001 19:45:43 +0000 (19:45 +0000)]
* winsup.api/signal-into-win32-api.c: Supress compiler warning.

22 years ago* select.cc (MAKEready): Remove extraneous select_read.
Christopher Faylor [Mon, 29 Oct 2001 16:12:47 +0000 (16:12 +0000)]
* select.cc (MAKEready): Remove extraneous select_read.

22 years ago * uinfo.cc (internal_getlogin): Set environment variable $HOME
Corinna Vinschen [Mon, 29 Oct 2001 11:53:52 +0000 (11:53 +0000)]
* uinfo.cc (internal_getlogin): Set environment variable $HOME
from either /etc/passwd or $HOMEDRIVE/$HOMEPATH if necessary.

22 years ago* fhandler.h (fhandler_serial::fhandler_serial): Change to only accept unit
Christopher Faylor [Mon, 29 Oct 2001 05:28:24 +0000 (05:28 +0000)]
* fhandler.h (fhandler_serial::fhandler_serial): Change to only accept unit
argument.
* fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto.
(fhandler_serial::open): Avoid else when previous clause is a return().
* path.cc (get_devn): Alias /dev/ttyS0 -> /dev/com1, etc.
(get_device_number): Reallow standalone "com1" as a valid name for /dev/com1.

22 years agofix spelling errors
Christopher Faylor [Sun, 28 Oct 2001 23:05:49 +0000 (23:05 +0000)]
fix spelling errors

22 years agofix consistent spelling errors.
Christopher Faylor [Sun, 28 Oct 2001 18:10:44 +0000 (18:10 +0000)]
fix consistent spelling errors.

22 years ago * configure: Regenerate, removing erroneous SUBDIRS substitution.
Corinna Vinschen [Fri, 26 Oct 2001 15:01:08 +0000 (15:01 +0000)]
* configure: Regenerate, removing erroneous SUBDIRS substitution.

22 years agoFix usage of H_GET_32/16. Likewise with H_PUT_32/16.
Nick Clifton [Fri, 26 Oct 2001 10:57:04 +0000 (10:57 +0000)]
Fix usage of H_GET_32/16. Likewise with H_PUT_32/16.

22 years ago* select.cc (MAKEready): Check for read_ready in loop since select_read could
Christopher Faylor [Fri, 26 Oct 2001 04:06:27 +0000 (04:06 +0000)]
* select.cc (MAKEready): Check for read_ready in loop since select_read could
set it.
(peek_socket): Check ready/write/except specifically since they could have been
set even prior to peek_socket call.

22 years agoClarify checkin comment slightly.
Christopher Faylor [Wed, 24 Oct 2001 23:56:45 +0000 (23:56 +0000)]
Clarify checkin comment slightly.

22 years ago* shared_info.h (MOUNT_VERSION): Change to a smaller, still arbitrary number.
Christopher Faylor [Wed, 24 Oct 2001 22:10:06 +0000 (22:10 +0000)]
* shared_info.h (MOUNT_VERSION): Change to a smaller, still arbitrary number.
* shared.cc (open_shared): Accept a number to denote the shared memory region.
(memory_init): Use shared memory version as part of the object name of the
shared region.  Ditto for the mount table.
* path.cc (CYGWIN_REGNAME): New define used in place of
CYGWIN_INFO_CYGWIN_REGISTRY_NAME throughout.
* external.cc (cygwin_internal): Implement CW_[GS]ET_CYGWIN_REGISTRY_NAME.
* cygheap.h (init_cygheap::cygwin_regname): New element.

22 years ago* Makefile.in: Remove EXEEXT consideration. We always need EXEEXT.
Christopher Faylor [Wed, 24 Oct 2001 22:09:37 +0000 (22:09 +0000)]
* Makefile.in: Remove EXEEXT consideration.  We always need EXEEXT.

22 years ago* Makefile.in: Only build testsuite directory on first 'make check'.
Christopher Faylor [Wed, 24 Oct 2001 21:56:54 +0000 (21:56 +0000)]
* Makefile.in: Only build testsuite directory on first 'make check'.
* configure.in: Remove testsuite from SUBDIRS.
* configure: Regenerate.

22 years agomerge from gcc
DJ Delorie [Wed, 24 Oct 2001 20:32:09 +0000 (20:32 +0000)]
merge from gcc

22 years ago2001-10-24 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 24 Oct 2001 20:02:25 +0000 (20:02 +0000)]
2001-10-24  Jeff Holcomb  <jeffh@redhat.com>

Makefile.in (all-bison): Don't depend on texinfo.

22 years ago2001-10-24 Christopher Faylor <cgf@redhat.com>
Jeff Johnston [Wed, 24 Oct 2001 18:10:30 +0000 (18:10 +0000)]
2001-10-24  Christopher Faylor  <cgf@redhat.com>

        * libc/stdio/fseek.c: Reset pointer to buffer base
        when forced to seek outside of current buffer contents.
        This prevents the code from erroneously thinking there is
        anything in the current buffer.

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