]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago* winsup.api/pthread/: New directory. Ports of pthread functionality
Egor Duda [Thu, 15 Nov 2001 11:19:48 +0000 (11:19 +0000)]
* winsup.api/pthread/: New directory. Ports of pthread functionality
tests ported from pthreads-win32 project.
* winsup.api/pthread/test.h: Commmon declaraions for pthread tests.
* winsup.api/pthread/cleanup2.c: New test.
* winsup.api/pthread/cleanup3.c: Ditto.
* winsup.api/pthread/condvar1.c: Ditto.
* winsup.api/pthread/condvar2.c: Ditto.
* winsup.api/pthread/condvar2_1.c: Ditto.
* winsup.api/pthread/condvar3.c: Ditto.
* winsup.api/pthread/condvar3_1.c: Ditto.
* winsup.api/pthread/condvar3_2.c: Ditto.
* winsup.api/pthread/condvar3_3.c: Ditto.
* winsup.api/pthread/condvar4.c: Ditto.
* winsup.api/pthread/condvar5.c: Ditto.
* winsup.api/pthread/condvar6.c: Ditto.
* winsup.api/pthread/condvar8.c: Ditto.
* winsup.api/pthread/count1.c: Ditto.
* winsup.api/pthread/create1.c: Ditto.
* winsup.api/pthread/create2.c: Ditto.
* winsup.api/pthread/equal1.c: Ditto.
* winsup.api/pthread/exit1.c: Ditto.
* winsup.api/pthread/exit2.c: Ditto.
* winsup.api/pthread/exit3.c: Ditto.
* winsup.api/pthread/inherit1.c: Ditto.
* winsup.api/pthread/join0.c: Ditto.
* winsup.api/pthread/join1.c: Ditto.
* winsup.api/pthread/join2.c: Ditto.
* winsup.api/pthread/mutex1.c: Ditto.
* winsup.api/pthread/mutex1r.c: Ditto.
* winsup.api/pthread/mutex2.c: Ditto.
* winsup.api/pthread/mutex3.c: Ditto.
* winsup.api/pthread/mutex6r.c: Ditto.
* winsup.api/pthread/once1.c: Ditto.
* winsup.api/pthread/priority1.c: Ditto.
* winsup.api/pthread/priority2.c: Ditto.
* winsup.api/pthread/self1.c: Ditto.
* winsup.api/pthread/self2.c: Ditto.
* winsup.api/pthread/tsd1.c: Ditto.

22 years ago* include/pthread.h (PTHREAD_COND_INITIALIZER): Define.
Egor Duda [Thu, 15 Nov 2001 11:10:38 +0000 (11:10 +0000)]
* include/pthread.h (PTHREAD_COND_INITIALIZER): Define.
* thread.cc (__pthread_cond_destroy): Add support for
PTHREAD_COND_INITIALIZER.
(__pthread_cond_init): Ditto.
(__pthread_cond_broadcast): Ditto.
(__pthread_cond_signal): Ditto.
(__pthread_cond_dowait): Ditto.
(__pthread_mutex_init): Handle PTHREAD_MUTEX_INITIALIZER correctly,
don't return error when it's passed as parameter.
* winsup.h (check_null_invalid_struct): Call correct function.

22 years ago* exceptions.cc: Add stdlib.h include for alloca declaration.
Christopher Faylor [Thu, 15 Nov 2001 03:25:52 +0000 (03:25 +0000)]
* exceptions.cc: Add stdlib.h include for alloca declaration.
* poll.cc: Ditto.
* termios.cc: Ditto.
* syscalls.cc (_write): Only allow zero length when fd is valid.

22 years agobinutils/ChangeLog
Alan Modra [Thu, 15 Nov 2001 01:08:52 +0000 (01:08 +0000)]
binutils/ChangeLog
* doc/binutils.texi (objdump): Document ppc -M options.
gas/ChangeLog
* config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
to operand->insert.
(md_assemble): Likewise.
gas/testsuite/ChangeLog
* gas/ppc/booke.d: Modify reloc and target matches for powerpc64.
include/opcode/ChangeLog
* ppc.h (struct powerpc_operand <insert, extract>): Add dialect param.
opcodes/ChangeLog
* ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC.
(insert_bat, extract_bat, insert_bba, extract_bba,
insert_bd, extract_bd, insert_bdm, extract_bdm,
insert_bdp, extract_bdp, valid_bo,
insert_bo, extract_bo, insert_boe, extract_boe,
insert_ds, extract_ds, insert_de, extract_de,
insert_des, extract_des, insert_li, extract_li,
insert_mbe, extract_mbe, insert_mb6, extract_mb6,
insert_nb, extract_nb, insert_nsi, extract_nsi,
insert_ral, insert_ram, insert_ras,
insert_rbs, extract_rbs, insert_sh6, extract_sh6,
insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param.
(extract_bd, extract_bdm, extract_bdp,
extract_ds, extract_des,
extract_li, extract_nsi): Implement sign extension without conditional.
(insert_bdm, extract_bdm,
insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints.
(extract_bdm, extract_bdp): Correct 32 bit validation.
(AT1_MASK, AT2_MASK): Define.
(BBOAT_MASK): Define.
(BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define.
(BOFM64, BOFP64, BOTM64, BOTP64): Define.
(BODNZM64, BODNZP64, BODZM64, BODZP64): Define.
(PPCCOM32, PPCCOM64): Define.
(powerpc_opcodes): Modify existing 32 bit insns with branch hints
and add new patterns to implement 64 bit branches with hints.  Move
booke instructions so they match before ppc64.
* ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for
64 bit default targets, and parse "32" and "64" in options.
Formatting fixes.
(print_insn_powerpc): Pass dialect to operand->extract.

22 years ago * fhandler.cc (fhandler_disk_file::fstat): Add setting access time
Corinna Vinschen [Wed, 14 Nov 2001 21:47:41 +0000 (21:47 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Add setting access time
and creation time to last modification time for files on filesystems
not supporting multiple timestamps.
(fhandler_disk_file::fstat_helper): Set access time and creation
time in incoming Windows structure instead of in stat buf to avoid
incorrectly overwriting Epoch timestamp.

22 years ago * winsup.h: Remove alloca definition since it's now defined through
Corinna Vinschen [Wed, 14 Nov 2001 10:47:54 +0000 (10:47 +0000)]
* winsup.h: Remove alloca definition since it's now defined through
inclusion of stdlib.h.
* lib/cygwin_crt0.c: Ditto.

22 years ago * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
Corinna Vinschen [Wed, 14 Nov 2001 10:25:35 +0000 (10:25 +0000)]
* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
to here.  Rearrange for general inclusion by stdlib.h.
* libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
isn't defined.
* libc/sys/linux/include/alloca.h: Move to libc/include.

22 years ago2001-11-13 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 14 Nov 2001 06:24:41 +0000 (06:24 +0000)]
2001-11-13  Jeff Holcomb  <jeffh@redhat.com>

Merged from net gcc:
2001-07-30  Jeff Sturm  <jsturm@one-pont.com>
* ltcf-c.sh: Use $objext, not $ac_objext.
2001-07-27  Mark Kettenis  <kettenis@gnu.org>
* ltcf-cxx.sh: Add support for GNU.
2001-07-22  Timothy Wall  <twall@redhat.com>
* ltcf-c.sh: Don't disable shared libraries for AIX5/IA64.  Preserve
default settings if using GNU tools with that configuration.
* ltcf-cxx.sh: Ditto.
* ltcf-gcj.sh: Ditto.
2001-07-21  Michael Chastain  <chastain@redhat.com>
* ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some
HPUX 11.0 systems have trouble with 1MB.  Mark as gcc-local.
* ltmain.sh: Mark as gcc-local.

22 years ago2001-11-13 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 14 Nov 2001 05:49:24 +0000 (05:49 +0000)]
2001-11-13  Jeff Holcomb  <jeffh@redhat.com>

* Makefile.in (all-bison): Revert 2001-10-24.
Don't depend on texinfo.

22 years ago* syscalls.cc (_write): Allow zero length as per SUSv2.
Christopher Faylor [Wed, 14 Nov 2001 04:12:11 +0000 (04:12 +0000)]
* syscalls.cc (_write): Allow zero length as per SUSv2.

22 years agobinutils/ChangeLog
Alan Modra [Wed, 14 Nov 2001 03:15:28 +0000 (03:15 +0000)]
binutils/ChangeLog
* doc/binutils.texi (objdump): Document x86 -M options.
include/ChangeLog
  * dis-asm.h (print_insn_i386): Declare.
opcodes/ChangeLog
* disassemble.c (disassembler): Call print_insn_i386.
* i386-dis.c (SUFFIX_ALWAYS): Define.
(struct dis_private): Add orig_sizeflag.
(print_insn_i386): Make it a wrapper, calling..
(print_insn): ..The old body of print_insn_i386.  Avoid longjmp
warning without using volatile by moving orig_sizeflag to priv,
and removing inbuf.  Parse disassembler_options.
(print_insn_i386_att, print_insn_i386_intel): Move initialisation
code to print_insn.
(putop): Remove #ifdef SUFFIX_ALWAYS.

22 years ago * dir.cc (mkdir): Add HIDDEN file attribute if file has leading dot
Corinna Vinschen [Tue, 13 Nov 2001 21:49:06 +0000 (21:49 +0000)]
* dir.cc (mkdir): Add HIDDEN file attribute if file has leading dot
and HIDDEN_DOT_FILES is defined.
* fhandler.cc (fhandler_base::open): Ditto.
* path.cc (symlink): Ditto.
* syscalls.cc (_rename): Ditto and remove HIDDEN file attribute if
new filename does not begin with a dot.

22 years agoIndex: bfd/ChangeLog
Geoffrey Keating [Tue, 13 Nov 2001 20:13:30 +0000 (20:13 +0000)]
Index: bfd/ChangeLog
2001-11-11  Geoffrey Keating  <geoffk@redhat.com>

* dwarf2.c (decode_line_info): Properly deal with unknown standard
opcodes.

Index: binutils/ChangeLog
2001-11-11  Geoffrey Keating  <geoffk@redhat.com>

* readelf.c (display_debug_lines): Deal with unknown standard
opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
DW_LNS_set_isa.

Index: include/elf/ChangeLog
2001-11-11  Geoffrey Keating  <geoffk@redhat.com>

* dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.

22 years agoFix tic54x testsuite failures and Lmem disassembly bugs.
Tim Wall [Tue, 13 Nov 2001 14:22:52 +0000 (14:22 +0000)]
Fix tic54x testsuite failures and Lmem disassembly bugs.

22 years agoAdd __stack_base__
Anthony Green [Tue, 13 Nov 2001 03:31:14 +0000 (03:31 +0000)]
Add __stack_base__

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

23 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().

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

23 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.)

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

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

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

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

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

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

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

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

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

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

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

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

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

23 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 *.

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

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

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

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

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

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

23 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().

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

23 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

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

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

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