]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* heap.cc (heap_init): Allocate heap from top down as a hedge against
Christopher Faylor [Mon, 12 Sep 2005 03:55:16 +0000 (03:55 +0000)]
* heap.cc (heap_init): Allocate heap from top down as a hedge against
subsequent ERROR_INVALID_ADDRESS in forked processes when CTRL-C is pressed.

19 years ago.
Christopher Faylor [Sat, 10 Sep 2005 05:51:26 +0000 (05:51 +0000)]
.

19 years ago* heap.cc (heap_init): Be slightly more aggressive when trying to allocate
Christopher Faylor [Sat, 10 Sep 2005 01:37:20 +0000 (01:37 +0000)]
* heap.cc (heap_init): Be slightly more aggressive when trying to allocate
heap.  Change fatal error to avoid confusion with cygheap.
* spawn.cc (linebuf::finish): New function.
(linebuf::add): Cosmetic change.
(spawn_guts): Only avoid building windows command line if the program being
executed was actually mounted with -X.  Don't return E2BIG if we hit the 32K
size and we're executing a detected cygwin program.  Just silently truncate the
windows command line, instead.

19 years ago * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
Richard Earnshaw [Fri, 9 Sep 2005 13:06:21 +0000 (13:06 +0000)]
* arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.

19 years ago* fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here
Christopher Faylor [Fri, 9 Sep 2005 03:00:34 +0000 (03:00 +0000)]
* fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here
rather than clearing CBAUD after the fact.

19 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Always return 0 for window size.
Christopher Faylor [Fri, 9 Sep 2005 02:53:40 +0000 (02:53 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Always return 0 for window size.
* termios.cc (tcgetattr): Clear out baud part of c_cflag since it is always
ignored.

19 years ago2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Sep 2005 22:45:53 +0000 (22:45 +0000)]
2005-09-08  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add include files under bits sub-directory.
        * Makefile.in: Regenerated.
        * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
        actual value of 1 to be compatible with newer glibc headers.
        * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
        glibc headers.
        * libc/sys/linux/sys/dirent.h: Ditto.
        * libc/sys/linux/argp/argp-xinl.c: Ditto.
        * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
        profile_fixup routines are marked used so they won't be
        optimized away.
        * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
        to mark functions as weak.
        * libc/sys/linux/dl/dl-open.c: Ditto.
        * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
        rules about lvalues.
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
        weak_extern macro to mark functions as weak.  Instead always
        use #pragma weak.
        * iconvdata/jis0208.h: Fix to work with gcc4.
        * libc/sys/linux/dl/dl-load.c: Ditto.
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
        * libc/sys/linux/dl/do-rel.h: Ditto.
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
        * libc/sys/linux/include/ltdl.h: Ditto.
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
        * libc/sys/linux/bits/initspin.h: New file.
        * libc/sys/linux/bits/libc-lock.h: Ditto.
        * libc/sys/linux/bits/pthreadtypes.h: Ditto.
        * libc/sys/linux/bits/typesizes.h: Ditto.

19 years ago2005-09-08 Eric Blake <ebb9@byu.net>
Jeff Johnston [Thu, 8 Sep 2005 21:07:43 +0000 (21:07 +0000)]
2005-09-08  Eric Blake  <ebb9@byu.net>

* libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
before is NULL.

19 years ago2005-09-08 Brian Dessent <brian@dessent.net>
Jeff Johnston [Thu, 8 Sep 2005 21:03:54 +0000 (21:03 +0000)]
2005-09-08  Brian Dessent  <brian@dessent.net>

        * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
        mantissa.
        * s_lrint.c: Ditto.

19 years ago * exceptions.cc (ctrl_c_handler): Disable any special CTRL_LOGOFF_EVENT
Corinna Vinschen [Thu, 8 Sep 2005 14:58:15 +0000 (14:58 +0000)]
* exceptions.cc (ctrl_c_handler): Disable any special CTRL_LOGOFF_EVENT
handling and add longish comment about the reasons.

19 years ago * include/reason.h [_WIN32_WINNT >= 0x0501]
Dimitri Papadopoulos [Thu, 8 Sep 2005 13:55:46 +0000 (13:55 +0000)]
* include/reason.h  [_WIN32_WINNT >= 0x0501]
(SHTDN_REASON_*): New file.
* include/objbase.h: Avoid double header guard.

19 years agoRemove extraneous line.
Andreas Schwab [Thu, 8 Sep 2005 10:08:34 +0000 (10:08 +0000)]
Remove extraneous line.

19 years ago * regtool.cc: Extend copyright-years.
Corinna Vinschen [Thu, 8 Sep 2005 09:24:41 +0000 (09:24 +0000)]
* regtool.cc: Extend copyright-years.
(print_version): Ditto.
(cmd_list): Don't depend on terminating '\0' being present on
string-values.
(cmd_get): Don't attempt to read more than present, but keep
extra space for terminating '\0'. Really output REG_BINARY.
Don't leak memory.
(cmd_set): Include trailing '\0' in string's length.

19 years ago* hookapi.cc (rvadelta): Change argument to DWORD to eliminate a compiler
Christopher Faylor [Thu, 8 Sep 2005 00:57:12 +0000 (00:57 +0000)]
* hookapi.cc (rvadelta): Change argument to DWORD to eliminate a compiler
warning.
* path.h (path_conv::set_cygexec): New function.
* spawn.cc (av::iscygwin): Eliminate.
(av::av): Don't initialize iscygwin.
(spawn_guts): Just use real_path.iscygexec for all tests.
(av::fixup): Short circuit test if .exe extension and known cygexec.  Set
cygexec flag appropriately if we find that program uses cygwin1.dll.

19 years agoadd missing ChangeLog entry.
Christopher Faylor [Wed, 7 Sep 2005 16:01:06 +0000 (16:01 +0000)]
add missing ChangeLog entry.

19 years ago* dcrt0.cc (initial_env): Don't attempt stracing if dynamically loaded.
Christopher Faylor [Wed, 7 Sep 2005 03:10:17 +0000 (03:10 +0000)]
* dcrt0.cc (initial_env): Don't attempt stracing if dynamically loaded.
(dll_crt0_0): Move console initialization earlier.
* init.cc (dll_entry): Move console initialization here.
* exceptions.cc (init_console_handler): Fully remove any old console handler.
* spawn.cc (spawn_guts): Don't fill out windows argv if we've deduced that this
is a cygwin-using program.
(av::fixup): Always check executables to see if they are using cygwin1.dll.
Don't consider .com files to be scripts.
* hookapi.cc (rvadelta): New function.
(PEHeaderFromHModule): Simplify slightly.
(hook_or_detect_cygwin): Use passed in name argument for "HMODULE" rather than
incorrectly reading current program.  Calculate delta needed to read image data
and file names if this isn't a real "HMODULE".

19 years ago Import from Autoconf sources:
Ben Elliston [Wed, 7 Sep 2005 00:42:19 +0000 (00:42 +0000)]
Import from Autoconf sources:

2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
* move-if-change: Don't output "$2 is unchanged"; suggested by Ben
Elliston.  Handle weird characters correctly.

19 years ago * thread.h: Revert patch from 2005-09-05.
Corinna Vinschen [Tue, 6 Sep 2005 19:22:54 +0000 (19:22 +0000)]
* thread.h: Revert patch from 2005-09-05.
* thread.cc (pthread_mutex::can_be_unlocked): Return true also if
mutex is owned by MUTEX_OWNER_ANONYMOUS.

19 years ago* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
Chao-ying Fu [Tue, 6 Sep 2005 18:42:58 +0000 (18:42 +0000)]
* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
define.
Document !, $, *, &, g, +t, +T operand formats for MT instructions.
(INSN_ASE_MASK): Update to include INSN_MT.
(INSN_MT): New define for MT ASE.

19 years ago* cygheap.cc (cygheap_init): Eliminate debugging #if.
Christopher Faylor [Mon, 5 Sep 2005 17:30:04 +0000 (17:30 +0000)]
* cygheap.cc (cygheap_init): Eliminate debugging #if.
* fork.cc (fork_parent): Don't issue errors if "somebody" has set the
PID_EXITED flag on a child.  Don't close process handle if it has potentially
already been closed.
* pinfo.cc (winpids::add): Eliminate PID_ALLPIDS handling which was obsoleted
by previous changes.
* spawn.cc (av::fixup): Do win16 detection for .com files.  Make sure that
buffer has been unmapped in all cases.

19 years ago * thread.h (pthread_mutex::get_pthread_self): Remove.
Corinna Vinschen [Mon, 5 Sep 2005 15:17:03 +0000 (15:17 +0000)]
* thread.h (pthread_mutex::get_pthread_self): Remove.
(pthread_mutex::lock): Use ::pthread_self as self parameter.
(pthread_mutex::trylock): Ditto.
(pthread_mutex::unlock): Ditto.
(pthread_mutex::destroy): Ditto.

19 years agoGrr. REVERT erroneous checkin. AGAIN.
Christopher Faylor [Fri, 2 Sep 2005 17:35:22 +0000 (17:35 +0000)]
Grr.  REVERT erroneous checkin.  AGAIN.

19 years ago* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
Christopher Faylor [Fri, 2 Sep 2005 17:12:37 +0000 (17:12 +0000)]
* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
dependencies when invoked from top-level make.

19 years ago2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Sep 2005 15:39:29 +0000 (15:39 +0000)]
2005-09-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: Add prototype for viprintf.

19 years agorevert inexplicable previous checkin
Christopher Faylor [Fri, 2 Sep 2005 04:51:09 +0000 (04:51 +0000)]
revert inexplicable previous checkin

19 years agobad_addresses
Christopher Faylor [Fri, 2 Sep 2005 04:46:51 +0000 (04:46 +0000)]
bad_addresses

19 years ago2005-08-30 Phil Edwards <phil@codesourcery.com>
DJ Delorie [Thu, 1 Sep 2005 21:03:00 +0000 (21:03 +0000)]
2005-08-30  Phil Edwards  <phil@codesourcery.com>

* configure.in (*-*-vxworks*):  Add target-libstdc++-v3 to noconfigdirs.
* configure:  Regenerated.

19 years ago2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 1 Sep 2005 17:53:02 +0000 (17:53 +0000)]
2005-09-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
        any positive power results in 0.
        * libm/mathfp/sf_pow.c (powf): Ditto.

19 years ago2005-08-31 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Wed, 31 Aug 2005 20:39:43 +0000 (20:39 +0000)]
2005-08-31  Paul Brook  <paul@codesourcery.com>

        * configure.host: Set have_crt0 to no for Arm targts when not
        providing syscalls.  Set sys_dir=arm unconditionally.
        Default have_crt0 based on sys_dir.
        * configure.in: Use have_crt0.
        * libc/configure.in: Ditto.
        * libc/sys/configure.in: Ditto.
        * configure: Regenerate.
        * libc/configure: Regenerate.
        * libc/sys/configure: Regenerate.
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
        Only build other files when providing syscalls.
        * libc/sys/arm/Makefile.in: Regenerate.
        * libc/sys/arm/aeabi_atexit.c: New file.

19 years ago2005-08-30 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 30 Aug 2005 16:11:27 +0000 (16:11 +0000)]
2005-08-30  Jeff Johnston  <jjohnstn@redhat.com>

        * rs6000/Makefile.in (VPATH): Use colon as separator.

19 years agoFix date stamp.
Jeff Johnston [Tue, 30 Aug 2005 16:05:47 +0000 (16:05 +0000)]
Fix date stamp.

19 years ago* exceptions.cc (set_process_mask_delta): Conditionalize debugging output.
Christopher Faylor [Mon, 29 Aug 2005 03:12:39 +0000 (03:12 +0000)]
* exceptions.cc (set_process_mask_delta): Conditionalize debugging output.
* sigproc.cc (proc_subproc): Make strace output a little more verbose.

19 years agotypo
Christopher Faylor [Sun, 28 Aug 2005 23:52:01 +0000 (23:52 +0000)]
typo

19 years ago* cygtls.h (__ljfault): Declare.
Christopher Faylor [Sun, 28 Aug 2005 23:26:23 +0000 (23:26 +0000)]
* cygtls.h (__ljfault): Declare.
(_cygtls::return_from_fault): Use __ljfault.
* exceptions.cc (set_signal_mask): Revert previous checkin.
* gendef (__sjfault): Split out into a separate function which doesn't bother
with any special signal locking.  routines.
(_ljfault): Return from a __sjfault without bothering with signals.

19 years agoAdd missing ChangeLog for previous checkin.
Christopher Faylor [Sun, 28 Aug 2005 17:34:25 +0000 (17:34 +0000)]
Add missing ChangeLog for previous checkin.
Revert erroneous include/cygwin/version.h checkin.

19 years ago* cygwin.din: Correct readdir_r typo.
Christopher Faylor [Sun, 28 Aug 2005 17:30:34 +0000 (17:30 +0000)]
* cygwin.din: Correct readdir_r typo.

19 years agoFix typo.
Christopher Faylor [Sun, 28 Aug 2005 16:51:55 +0000 (16:51 +0000)]
Fix typo.

19 years agoFix improper formatting.
Christopher Faylor [Sun, 28 Aug 2005 16:51:13 +0000 (16:51 +0000)]
Fix improper formatting.

19 years ago*dir.cc (readdir_r): Invert sense on error-test.
Christopher Faylor [Sun, 28 Aug 2005 16:30:48 +0000 (16:30 +0000)]
*dir.cc (readdir_r): Invert sense on error-test.

19 years ago2005-08-26 Brian Dessent <brian@dessent.net>
Joshua Daniel Franklin [Sat, 27 Aug 2005 04:53:15 +0000 (04:53 +0000)]
2005-08-26  Brian Dessent  <brian@dessent.net>

        * faq-using.xml: Add 'net use' hint to network shares FAQ.

19 years ago2005-08-26 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Sat, 27 Aug 2005 01:32:36 +0000 (01:32 +0000)]
2005-08-26  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* Makefile.in: Remove extra anchor to make NN4 happy.
* faq.xml: Link to cygwin.com/license.html
* faq-resources.xml: Link instead of duplicating info.
* faq-using.xml: Split out services and network shares FAQ.
* faq-what.xml: Link to cygwin.com/license.html

19 years ago * path.cc (normalize_posix_path): Keep two leading slashes
Corinna Vinschen [Fri, 26 Aug 2005 15:11:06 +0000 (15:11 +0000)]
* path.cc (normalize_posix_path): Keep two leading slashes
intact throughout.
(normalize_win32_path): Revert to only checking for slash.
(realpath): Convert drive letters to cygdrive paths before
doing anything else.
* shared_info.h (mount_info::cygdrive_posix_path): Make public.

19 years ago* libc/include/string.h: Revert previous change.
Christopher Faylor [Fri, 26 Aug 2005 04:33:02 +0000 (04:33 +0000)]
* libc/include/string.h: Revert previous change.

19 years ago* libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
Christopher Faylor [Thu, 25 Aug 2005 23:02:24 +0000 (23:02 +0000)]
* libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.

19 years ago * ms1/access.c: Change copyright notice.
Aldy Hernandez [Thu, 25 Aug 2005 22:36:48 +0000 (22:36 +0000)]
    * ms1/access.c: Change copyright notice.

19 years ago * path.cc (realpath): Drop call to mount_info::conv_to_posix_path
Corinna Vinschen [Thu, 25 Aug 2005 21:18:26 +0000 (21:18 +0000)]
* path.cc (realpath): Drop call to mount_info::conv_to_posix_path
in favor of calling path_conv with PC_POSIX flag.  Align error
handling closer to POSIX.  As on Linux, return user space allocated
memory if second parameter is NULL.

19 years ago * path.cc (normalize_win32_path): Honor network paths. Fold more
Corinna Vinschen [Thu, 25 Aug 2005 20:35:25 +0000 (20:35 +0000)]
* path.cc (normalize_win32_path): Honor network paths.  Fold more
than two leading dir separators into one.  Check for dir separator
instead of just slashes to handle incoming Win32 paths correctly.

19 years ago* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
Chao-ying Fu [Thu, 25 Aug 2005 18:09:24 +0000 (18:09 +0000)]
* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7,
OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4,
OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP,
OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define.
Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP
instructions.
(INSN_DSP): New define for DSP ASE.

19 years ago* errno.cc (errmap): Translate ERROR_NO_MORE_ITEMS to ENMFILE.
Christopher Faylor [Thu, 25 Aug 2005 15:27:10 +0000 (15:27 +0000)]
* errno.cc (errmap): Translate ERROR_NO_MORE_ITEMS to ENMFILE.

19 years ago * mingwex/fe*.c: Revert previous changes.
Danny Smith [Thu, 25 Aug 2005 08:39:54 +0000 (08:39 +0000)]
* mingwex/fe*.c: Revert previous changes.
* include/fenv.h: Revert previous changes.

Add Changelog entry for the reverted change.

19 years ago* exceptions.cc (handle_sigsuspend): Just sleep forever if called from non-main
Christopher Faylor [Thu, 25 Aug 2005 03:12:48 +0000 (03:12 +0000)]
* exceptions.cc (handle_sigsuspend): Just sleep forever if called from non-main
thread.
(sigpacket:process): Simplify logic which determines when and how a signal is
masked.  Don't trigger sigwait if there is a signal handler.
* sigproc.cc (wait_sig): Update comment.  Try to process a signal which is in
the queue if it isn't queued for the target thread (this is still not right).

19 years ago * mingwex/feclearexcept.c (feclearexcept): Change declaration.
Danny Smith [Thu, 25 Aug 2005 02:35:34 +0000 (02:35 +0000)]
* mingwex/feclearexcept.c (feclearexcept): Change declaration.
Do not return a value.
* mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
* mingwex/feraiseexcept.c (feraiseexcept): Likewise.
* mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
* mingwex/fegetenv.c (fegetenv): Likewise.
* mingwex/fesetenv.c (fesetenv): Likewise.
* mingwex/feupdateenv.c (feupdateenv): Likewise.
* include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
prototypes.

19 years ago * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
Danny Smith [Thu, 25 Aug 2005 02:04:59 +0000 (02:04 +0000)]
* mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
getting filelength for SEEK_END.

19 years ago* spawn.cc (perhaps_suffix): Record errno-type error value in third argument.
Christopher Faylor [Wed, 24 Aug 2005 18:26:14 +0000 (18:26 +0000)]
* spawn.cc (perhaps_suffix): Record errno-type error value in third argument.
(find_exec): On error, set errno returned from perhaps_suffix.
(spawn_guts): Ditto.

19 years ago* fhandler_virtual.cc (fhandler_virtual::close): Don't free filebuf if it's
Christopher Faylor [Wed, 24 Aug 2005 17:45:11 +0000 (17:45 +0000)]
* fhandler_virtual.cc (fhandler_virtual::close): Don't free filebuf if it's
NULL.
* pinfo.cc (_pinfo::commune_send): Fix test for incorrect number of bytes read
from pipe.

19 years ago * syscalls.cc (endusershell): Reset shell_fp to NULL to allow
Corinna Vinschen [Wed, 24 Aug 2005 15:50:11 +0000 (15:50 +0000)]
* syscalls.cc (endusershell): Reset shell_fp to NULL to allow
subsequent getusershell calls.

19 years ago* path.cc (path_conv::check): Fill in fileattr for /dev, defaulting to
Christopher Faylor [Wed, 24 Aug 2005 14:17:56 +0000 (14:17 +0000)]
* path.cc (path_conv::check): Fill in fileattr for /dev, defaulting to
directory if /dev doesn't actually exist.
(win32_device_name): Don't consider FH_DEV to be a device since it's really a
directory which should go through mount processing.

19 years ago* cygheap.h (cygheap_types): Add HEAP_COMMUNE.
Christopher Faylor [Wed, 24 Aug 2005 04:38:39 +0000 (04:38 +0000)]
* cygheap.h (cygheap_types): Add HEAP_COMMUNE.
* fhandler_proc.cc: Use cygheap rather than user heap for allocation of filebuf
throughout.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* fhandler_process.cc: Ditto.
(get_mem_values): Use malloc/realloc/free rather than new.
* pinfo.cc (_pinfo::commune_send): Allocate on cygwin heap rather than user
heap.  Avoid calling ReadFile when correct number of characters have been read
or suffer buffer corruption.
(_pinfo::fd): Allocate on cygwin heap rather than user heap.
(_pinfo::fds): Ditto.
(_pinfo::root): Ditto.
(_pinfo::cwd): Ditto.
(_pinfo::cmdline): Ditto.
* devices.h (FH_DEV): New define.
* devices.in: Detect lone /dev.
* devices.cc: Regenerate.
* path.cc (path_conv::check): Treat FH_DEV as a special case.

19 years ago* sigproc.h (set_signal_mask): Remove default on second parameter and make pass
Christopher Faylor [Tue, 23 Aug 2005 22:22:52 +0000 (22:22 +0000)]
* sigproc.h (set_signal_mask): Remove default on second parameter and make pass
by reference.
* signal.cc (abort): Accommodate change to set_signal_mask.
* select.cc (pselect): Ditto.
* exceptions.cc (handle_sigsuspend): Ditto.
(ctrl_c_handler): Ditto.
(sighold): Ditto.
(sigrelse): Ditto.
(set_process_mask_delta): Ditto.
(_cygtls::call_signal_handler): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Return ENMFILE if
__handle is not set.  Set __handle to NULL when out of files.
(fhandler_disk_file::rewinddir): Don't close handle if it's NULL.
(fhandler_disk_file::closedir): Ditto.

19 years agoSync from gcc sources:
Richard Earnshaw [Tue, 23 Aug 2005 18:13:01 +0000 (18:13 +0000)]
Sync from gcc sources:
        * Makefile.def (libssp): Add to lang_env_dependencies.
        * Makefile.in: Regenerate.

19 years ago* dir.cc (readdir_worker): Make static. Only add '.' and '..' when readdir
Christopher Faylor [Tue, 23 Aug 2005 03:58:09 +0000 (03:58 +0000)]
* dir.cc (readdir_worker): Make static.  Only add '.' and '..' when readdir
fails due to ENMFILE.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Only close handle on
error != ENMFILE.

19 years ago2005-08-22 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Mon, 22 Aug 2005 21:13:35 +0000 (21:13 +0000)]
2005-08-22  Shaun Jackman  <sjackman@gmail.com>

        * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
        define _opendir as opendir, _readdir as readdir, and
        _closedir as closedir so that the implementations in
        libc/posix will be used.

19 years ago * mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.
Corinna Vinschen [Mon, 22 Aug 2005 16:12:01 +0000 (16:12 +0000)]
* mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.

19 years agoadd missing entry
Christopher Faylor [Sat, 20 Aug 2005 06:21:20 +0000 (06:21 +0000)]
add missing entry

19 years ago* cygerrno.h (geterrno_from_win_error): Change declaration to default to using
Christopher Faylor [Sat, 20 Aug 2005 06:19:55 +0000 (06:19 +0000)]
* cygerrno.h (geterrno_from_win_error): Change declaration to default to using
GetLastError and EACCESS.
* cygwin.din: Export readdir_r.
* include/cygwin/version.h: Bump API version number to 138.
* syscalls.cc (readdir_worker): New function, renamed from old readdir()
function.
(readdir): Use readdir_worker.
(readdir_r): New function.
* fhandler.h (fhandler_base::readdir): Accommodate second argument indicating
dirent buffer.
(fhandler_disk_file::readdir): Ditto.
(fhandler_cygdrive::readdir): Ditto.
(fhandler_proc::readdir): Ditto.
(fhandler_netdrive::readdir): Ditto.
(fhandler_registry::readdir): Ditto.
(fhandler_process::readdir): Ditto.
* fhandler.cc (fhandler_base::readdir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto.
* fhandler_cygdrive.cc (fhandler_cygdrive::readdir): Ditto.
* fhandler_proc.cc (fhandler_proc::readdir): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Ditto.
* fhandler_registry.cc (fhandler_registry::readdir): Ditto.
* fhandler_process.cc (fhandler_process::readdir): Ditto.

19 years ago* fhandler.h (dirent_states): Add dirent_saw_proc.
Christopher Faylor [Fri, 19 Aug 2005 16:29:43 +0000 (16:29 +0000)]
* fhandler.h (dirent_states): Add dirent_saw_proc.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fill in "proc" if it is
the root dir and it is missing.

19 years ago* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
Christopher Faylor [Fri, 19 Aug 2005 16:18:42 +0000 (16:18 +0000)]
* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
dirent_saw_dev.
* dir.cc (opendir): Don't zero __flags here.  Push that responsibility to
opendir methods.
(seekdir): Preserve dirent_isrrot in __flags.
(rewinddir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set dirent_isroot
appropriately.
(fhandler_disk_file::readdir): Fill in "cygdrive" and "dev" if it is the root
dir and they are missing.
* fhandler_process.cc (fhandler_process::opendir): Set __flags here.
* fhandler_virtual.cc (fhandler_virtual::opendir): Set __flags here.

19 years ago* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
DJ Delorie [Fri, 19 Aug 2005 16:18:04 +0000 (16:18 +0000)]
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
(*.o): Add dependencies.
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
recommendations.

19 years ago* winsup.h (create_pipe): Declare new function.
Christopher Faylor [Fri, 19 Aug 2005 14:56:48 +0000 (14:56 +0000)]
* winsup.h (create_pipe): Declare new function.
(CreatePipe): New define.
* miscfuncs.cc (create_pipe): Define new function.

19 years ago * passwd.c (longopts): Add --logonserver option.
Corinna Vinschen [Thu, 18 Aug 2005 20:25:43 +0000 (20:25 +0000)]
* passwd.c (longopts): Add --logonserver option.
(opts): Add -d option.
(GetPW): Add server parameter which is given to Net functions.
(ChangePW): Ditto.
(PrintPW): Ditto.
(SetModals): Ditto.
(usage): Add description for -d/--logonserver option.
(main): Add option handling for -d/--logonserver.  Use LOGONSERVER
environment variable content for server to contact, unless
-d/--logonserver option is given.  If both is missing, use NULL.

19 years ago* fhandler.h (fhandler_tty_common::lseek): Declare new method.
Christopher Faylor [Thu, 18 Aug 2005 20:17:10 +0000 (20:17 +0000)]
* fhandler.h (fhandler_tty_common::lseek): Declare new method.
(fhandler_tty_slave::lseek): Delete old method.
(fhandler_tty_master::lseek): Delete old method.
* fhandler_tty.cc (fhandler_tty_common::lseek): Define new method.

19 years ago* m32c/Makefile.in: Block out memory regions reserved for monitors
DJ Delorie [Thu, 18 Aug 2005 18:43:45 +0000 (18:43 +0000)]
* m32c/Makefile.in: Block out memory regions reserved for monitors
and simulators.  Add monitor link scripts.

19 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
Corinna Vinschen [Thu, 18 Aug 2005 13:14:15 +0000 (13:14 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
ret to 0.
(fhandler_socket::recvmsg): Ditto.

19 years ago * errno.cc (strerror): Check errnum for underflow.
Corinna Vinschen [Thu, 18 Aug 2005 08:35:19 +0000 (08:35 +0000)]
* errno.cc (strerror): Check errnum for underflow.

19 years agoRemove a29k files.
Alan Modra [Thu, 18 Aug 2005 03:59:23 +0000 (03:59 +0000)]
Remove a29k files.

19 years agoRemove a29k support.
Alan Modra [Thu, 18 Aug 2005 03:49:39 +0000 (03:49 +0000)]
Remove a29k support.

19 years ago* textbinary.sgml: Correct incorrect information about ability to specify text
Christopher Faylor [Wed, 17 Aug 2005 18:23:39 +0000 (18:23 +0000)]
* textbinary.sgml: Correct incorrect information about ability to specify text
mode in fopen().

19 years agomerge from gcc
DJ Delorie [Wed, 17 Aug 2005 18:03:25 +0000 (18:03 +0000)]
merge from gcc

19 years ago* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
Christopher Faylor [Wed, 17 Aug 2005 16:10:48 +0000 (16:10 +0000)]
* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
* fhandler_tty.cc (fhandler_tty_common::close): Rearrange the code so that the
master end of the input and output pipes is closed before signalling an EOF
event to the slave.
(fhandler_pty_master::close): Likewise.

19 years ago2005-08-17 Christian Groessler <chris@groessler.org>
Christian Groessler [Wed, 17 Aug 2005 15:52:29 +0000 (15:52 +0000)]
2005-08-17  Christian Groessler  <chris@groessler.org>

* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
* Makefile.in: Regenerate.

19 years ago2005-08-17 Michael Jung <mjung@iss.tu-darmstadt.de>
Danny Smith [Wed, 17 Aug 2005 10:57:17 +0000 (10:57 +0000)]
2005-08-17  Michael Jung  <mjung@iss.tu-darmstadt.de>

* lib/shell32.c (CLSID_RecycleBin, CLSID_ControlPanel,
CLSID_MyComputer,CLSID_Internet, CLSID_NetworkPlaces,
CLSID_MyDocuments, CLSID_FolderShortcut): Add GUIDs.

19 years ago2005-08-17 Martin Fuchs <martin-fuchs@gmx.net>
Danny Smith [Wed, 17 Aug 2005 08:29:08 +0000 (08:29 +0000)]
2005-08-17  Martin Fuchs <martin-fuchs@gmx.net>

* include/shlobj.h (IContextMenu3): Define.
* include/shlguid.h (IID_IContextMenu3): Declare.
* lib/shell32.c (IID_IContextMenu3): Define.

2005-08-17  Martin Fuchs <martin-fuchs@gmx.net>

* include/shlobj.h (SHFormatDrive): Declaration of function
and associated constants.

19 years ago * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.
Brian Dessent [Wed, 17 Aug 2005 00:52:43 +0000 (00:52 +0000)]
    * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.
        Avoid extraneous cygrunsrv invocation if 'verbose' is true.

19 years ago2005-08-16 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Tue, 16 Aug 2005 18:05:35 +0000 (18:05 +0000)]
2005-08-16  Shaun Jackman  <sjackman@gmail.com>

        * arm/syscalls.c (initialise_monitor_handles): Set
        monitor_stderr to the result of SWI_open(":tt", "a")
        instead of simply duplicating stdout.

19 years agogas/
Daniel Jacobowitz [Mon, 15 Aug 2005 15:37:15 +0000 (15:37 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Add -me300 support.
(md_show_usage): Likewise.
* doc/c-ppc.texi (PowerPC-Opts): Document it.
include/opcode/
* ppc.h (PPC_OPCODE_E300): Define.
opcodes/
* ppc-dis.c (powerpc_dialect): Handle e300.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPCE300): Define.
(powerpc_opcodes): Mark icbt as available for the e300.
binutils/
* doc/binutils.texi (objdump): Document -M e300.

19 years ago * init.cc (respawn_wow64_process): Make inline function. Remove
Corinna Vinschen [Sun, 14 Aug 2005 19:48:07 +0000 (19:48 +0000)]
* init.cc (respawn_wow64_process): Make inline function.  Remove
"noreturn" attribute.  Add additional check if parent process is
actually a 64 bit process.
(dll_entry): Only test WOW64 processes with a stack in the usual
"dangerous" process space area.

19 years ago * Include/_mingw.h: Increment version to 3.8.
Chris Sutcliffe [Sat, 13 Aug 2005 12:52:43 +0000 (12:52 +0000)]
    * Include/_mingw.h: Increment version to 3.8.
        * Makefile.in: Ditto.

19 years ago * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.
Martin Schwidefsky [Fri, 12 Aug 2005 18:02:38 +0000 (18:02 +0000)]
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.

19 years agotoplevel:
Paolo Bonzini [Fri, 12 Aug 2005 14:22:33 +0000 (14:22 +0000)]
toplevel:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Replace NCN_STRICT_CHECK_TOOL with
NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS.
Look for alternate names of the target cc and c++

config:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL,
NCN_STRICT_CHECK_TARGET_TOOL): Remove.
(NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,

19 years ago * include/ddk/hidsdi.h: New file.
Danny Smith [Fri, 12 Aug 2005 09:16:18 +0000 (09:16 +0000)]
* include/ddk/hidsdi.h:  New file.
* lib/ddk/hid.def: Uncomment symbols and add stdcall suffix for
functions declared in hidsdi.h.
Thanks to:  Alex J Lennon  <ajlennon at organixconsulting dot com>

19 years ago * lib/imm32.def (ImmDisableIME): Add stub.
Danny Smith [Fri, 12 Aug 2005 09:11:40 +0000 (09:11 +0000)]
* lib/imm32.def (ImmDisableIME): Add stub.
Thanks to: "kidmin"  <kidmin at users dot sourceforge dot net>

19 years agowhite space
Christopher Faylor [Fri, 12 Aug 2005 02:39:13 +0000 (02:39 +0000)]
white space

19 years agofix typo
Christopher Faylor [Thu, 11 Aug 2005 17:18:18 +0000 (17:18 +0000)]
fix typo

19 years ago* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rate
Christopher Faylor [Thu, 11 Aug 2005 17:03:18 +0000 (17:03 +0000)]
* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rate
regardless of current DTR state.

19 years ago* dcrt0.cc: Remove ld_preload declaration.
Christopher Faylor [Thu, 11 Aug 2005 16:30:48 +0000 (16:30 +0000)]
* dcrt0.cc: Remove ld_preload declaration.
* winsup.h: Move ld_preload declaration here.
* fork.cc (fork_child): Call ld_preload() before returning.

19 years ago* child_info. (CURR_CHILD_INFO_MAGIC): Refresh.
Christopher Faylor [Thu, 11 Aug 2005 16:13:30 +0000 (16:13 +0000)]
* child_info.  (CURR_CHILD_INFO_MAGIC): Refresh.
(child_info::child_info()): New constructor.
(child_info_spawn::child_info_spawn()): Ditto.
(child_info_spawn::operator new): New operator.
(child_info_spawn::set): New function.
* spawn.cc (av()): New constructor.
(av::operator new): New operator.
(av::set): New function.
(spawn_guts): Reorganize so that classes which allocates are defined early in
the function so that it can be properly cleaned up after an efault.  Set errno
to E2BIG in the event of a SEGV situation.

19 years agoAttempting to add include/objsafe.h again...
Dimitri Papadopoulos [Thu, 11 Aug 2005 09:04:13 +0000 (09:04 +0000)]
Attempting to add include/objsafe.h again...

19 years ago * include/w32api.h: Increment version to 3.3.
Chris Sutcliffe [Thu, 11 Aug 2005 02:13:36 +0000 (02:13 +0000)]
    * include/w32api.h: Increment version to 3.3.
        * Makefile.in: Ditto.

19 years ago* MAINTAINERS (CPU Ports): Add CPU port maintainer section.
DJ Delorie [Wed, 10 Aug 2005 21:16:14 +0000 (21:16 +0000)]
* MAINTAINERS (CPU Ports): Add CPU port maintainer section.

19 years ago2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
Jeff Johnston [Wed, 10 Aug 2005 21:02:28 +0000 (21:02 +0000)]
2005-08-10  Stephen Huw Clarke  <stephen.clarke@st.com>

        * libm/common/sf_fmax.c: Fix to properly handle NaNs.
        * libm/common/s_max.c: Ditto.
        * libm/common/sf_fmin.c: Ditto.
        * libm/common/s_min.c: Ditto.

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