]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago* path.cc (path_conv::check): Use 'strchr' rather than 'strrchr' to find end of
Christopher Faylor [Fri, 26 Mar 2004 20:02:01 +0000 (20:02 +0000)]
* path.cc (path_conv::check): Use 'strchr' rather than 'strrchr' to find end of
string, for efficiency.
* include/cygwin/_types.h: New file.
* include/sys/lock.h: Ditto.
* include/sys/stdio.h: Ditto.
* thread.cc: Include sys/lock.h
(__cygwin_lock_init): New function.
(__cygwin_lock_init_recursive): Ditto.
(__cygwin_lock_fini): Ditto.
(__cygwin_lock_lock): Ditto.
(__cygwin_lock_trylock): Ditto.
(__cygwin_lock_unlock): Ditto.
(pthread::atforkprepare): Lock file pointer before fork.
(pthread::atforkparent): Unlock file pointer after fork.
(pthread::atforkchild): Ditto.

20 years ago * sem.cc (semget): Fix debug string.
Corinna Vinschen [Fri, 26 Mar 2004 16:24:24 +0000 (16:24 +0000)]
* sem.cc (semget): Fix debug string.
(semop): Ditto.
* shm.cc (fixup_shms_after_fork): Ditto.
(shmat): Ditto.
(shmdt): Ditto.
(shmget): Ditto.

20 years ago* sigproc.cc (wait_sig): Make sure that SIGCHLD is handled regardless of
Christopher Faylor [Fri, 26 Mar 2004 16:15:23 +0000 (16:15 +0000)]
* sigproc.cc (wait_sig): Make sure that SIGCHLD is handled regardless of
whether a signal is queued.

20 years ago Add prototypes for new msvcrt.dll versions
Danny Smith [Fri, 26 Mar 2004 11:30:24 +0000 (11:30 +0000)]
Add prototypes for new msvcrt.dll versions

* include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.

* include/time.h (__time64_t): Add typedef.
(_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_ctime64): Likewise.
(_wctime64): Likewise.
(_gmtime64): Likewise.
(_localtime64): Likewise.
(wcsftime): Move into _WTIME_DEFINED block.
Regroup non-ANSI prototypes.

* include/io.h: Include <stdint.h>.
(__finddata64_t): Add struct definition.
(__wfinddata64_t): Likewise.
(_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_findnext64): Likewise.
(_wfindfirst64): Likewise.
(_wfindnext64): Likewise.

* include/sys/timeb.h (__timeb64): Add struct definition.
(_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.

* include/sys/utime.h (__utimbuf64): Add struct definition.
(_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_futime64): Likewise.
(_wutime64): Likewise.

* include/sys/stat.h (__stat64):  Add struct definition.
(_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_stat64): Likewise.
(_wstat64): Likwise.

* include/sys/types.h (__time64_t):  Add typedef.

* include/wchar.h (__wfinddata64_t): Add structure definition.
(__stat64): Likewise.
(_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_wfindfirst64): Likewise.
(_wfindnext64): Likewise.
(_wutime64): Likewise.
(_wstat64): Likwise.

* include/malloc.h (_aligned_free): Add prototype for
__MSVCRT_VERSION__ >= 0x0700.
(_aligned_malloc): Likewise.
(_aligned_offset_malloc): Likewise.
(_aligned_offset_realloc): Likewise.
(_aligned_realloc): Likewise.

* include/string.h (_wcserror): Add prototype for
__MSVCRT_VERSION__ >= 0x0700.
(__wcserror): Likewise.

* include/math.h (_set_SSE2_enable): Add prototype for
__MSVCRT_VERSION__ >= 0x0701.

20 years ago* sigproc.cc (wait_sig): Report if not trying to send signal due to queued
Christopher Faylor [Fri, 26 Mar 2004 05:43:11 +0000 (05:43 +0000)]
* sigproc.cc (wait_sig): Report if not trying to send signal due to queued
signal.

20 years ago2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
Jeff Johnston [Thu, 25 Mar 2004 22:29:18 +0000 (22:29 +0000)]
2004-03-25  Thomas Pfaff  <tpfaff@gmx.net>

        * libc/stdio/fclose.c (fclose): Protect file pointer list when
        releasing a file.
         * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
        fwalk.
        * libc/stdio/fdopen.c (_fdopen_r): Add calls to
        _flockfile/_funlockfile.
        * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
        to recursive.
        Change __lock_acquire/__lock_release calls for __sfp_lock to
        __sfp_lock_acquire/__sfp_lock_release throughout.
        (std): Make sure that file lock is only initialized once.
        (__sfp): Move _file initialization. Initialize file lock.
        (__sfp_lock_acquire): New function.
        (__sfp_lock_release): Ditto.
        (__fp_lock_all): Remove __sfp_lock_acquire call.
        (__fp_unlock_all): Remove __sfp_lock_release call.
        * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
        Add calls to _flockfile/_funlockfile. Remove
        __lock_init_recursive call.
        * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
        * libc/stdio/fwalk.c (__fwalk): New static function.
        (_fwalk): Protect file pointer list. Use __fwalk to walk through
        file pointers.
        * libc/stdio/local.h: Add defines for
        __sfp_lock_acquire/__sfp_lock_release when
        single threaded. Add function prototypes otherwise.
        * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
        _flockfile/_funlockfile.
        * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
        Add calls to _flockfile/_funlockfile. Remove
         __lock_init_recursive call.
        * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
        list.

20 years ago * mpw/: Remove subdirectory and everything in it.
Stan Shebs [Thu, 25 Mar 2004 22:22:59 +0000 (22:22 +0000)]
    * mpw/: Remove subdirectory and everything in it.

20 years ago2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 25 Mar 2004 22:20:36 +0000 (22:20 +0000)]
2004-03-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
        defined.  Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
        * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
        to be __LOCK_INIT_RECURSIVE.

20 years agoRemove MPW sys include files
Stan Shebs [Thu, 25 Mar 2004 22:12:07 +0000 (22:12 +0000)]
Remove MPW sys include files

20 years ago * include/stdio.h (_fsopen): Add prototype.
Danny Smith [Thu, 25 Mar 2004 20:30:19 +0000 (20:30 +0000)]
* include/stdio.h (_fsopen): Add prototype.
* include/tchar.h (_tfsopen): Add defines.
Thanks to "Gerik" <gerikr at users dot sourceforge dot net>

20 years ago Remove MPW support, no longer used.
Stan Shebs [Thu, 25 Mar 2004 17:51:10 +0000 (17:51 +0000)]
    Remove MPW support, no longer used.
        * mpw-README, mpw-build.in, mpw-config.in, mpw-configure,
        mpw-install: Remove files.
        * src-release (DEVO_SUPPORT): Remove names of removed files.
        * MAINTAINERS: Likewise.

20 years ago* path.cc (normalize_posix_path): Reorganize to short circuit to DOS path
Christopher Faylor [Thu, 25 Mar 2004 15:15:27 +0000 (15:15 +0000)]
* path.cc (normalize_posix_path): Reorganize to short circuit to DOS path
handling whenever a '\' is detected.
* signal.cc (sigaction): Make strace output more informative.
* sigproc.cc (pending_signals::add): Just index directly into signal array
rather than treating the array as a heap.
(pending_signals::del): Ditto.
(wait_sig): Don't send signal if we already have a similar signal queued.
* sigproc.h (call_signal_handler_now): Remove obsolete declaration.

20 years ago2004-03-25 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
Dimitri Papadopoulos [Thu, 25 Mar 2004 10:17:29 +0000 (10:17 +0000)]
2004-03-25  Dimitri Papadopoulos  <papadopo@users.sourceforge.net>

* include/GL/glu.h (GLU_AUTO_LOAD_MATRIX, GLU_CULLING,
GLU_SAMPLING_TOLERANCE, GLU_DISPLAY_MODE, GLU_PARAMETRIC_TOLERANCE,
GLU_SAMPLING_METHOD, GLU_U_STEP, GLU_V_STEP): Define.

20 years agoTypo.
Dimitri Papadopoulos [Thu, 25 Mar 2004 10:02:05 +0000 (10:02 +0000)]
Typo.

20 years ago * Makefile.tpl (top level bootstrap support): Remove now-unneeded
Nathanael Nerode [Thu, 25 Mar 2004 01:38:31 +0000 (01:38 +0000)]
* Makefile.tpl (top level bootstrap support): Remove now-unneeded
STRICT_WARN, WARN_CFLAGS flags passed down to make.
* Makefile.in: Regenerate.

20 years ago * configure.in (top level bootstrap support): Rework --enable-werror
Nathanael Nerode [Wed, 24 Mar 2004 22:34:31 +0000 (22:34 +0000)]
* configure.in (top level bootstrap support): Rework --enable-werror
to set @stage2_werror_flag@.
* configure: Regenerate.
* Makefile.tpl (top level bootstrap support): Pass
@stage2_werror_flag@ down to configure in stages 2 and 3.
* Makefile.in: Regenerate.

20 years agoupdate copyright. Minor reformatting.
Christopher Faylor [Wed, 24 Mar 2004 21:46:09 +0000 (21:46 +0000)]
update copyright.  Minor reformatting.

20 years ago2004-03-24 Filip Navara <xnavara@volny.cz>
Danny Smith [Wed, 24 Mar 2004 10:37:01 +0000 (10:37 +0000)]
2004-03-24  Filip Navara  <xnavara@volny.cz>

* include/commctrl.h (TB_GETSTRING[AW]): Add defines.
(RBBS_HIDETITLE, RBBS_TOPALIGN): Ditto.

20 years ago2004-03-24 Filip Navara <xnavara@volny.cz>
Danny Smith [Wed, 24 Mar 2004 10:33:36 +0000 (10:33 +0000)]
2004-03-24  Filip Navara  <xnavara@volny.cz>

* include/ddk/srb.h (_PORT_CONFIGURATION_INFORMATION): Rename
TaggedQueueing to TaggedQueuing.
(_HW_INITIALIZATION_DATA): Likewise.

20 years ago * winsup.api/devdsp.c: New file, testing fhandler_dev_dsp code.
Corinna Vinschen [Wed, 24 Mar 2004 10:20:14 +0000 (10:20 +0000)]
* winsup.api/devdsp.c: New file, testing fhandler_dev_dsp code.
* winsup.api/devdsp_okay.h: Ditto.

20 years ago * fhandler_dsp.cc (fhandler_dev_dsp::write): Remove type
Corinna Vinschen [Wed, 24 Mar 2004 08:57:17 +0000 (08:57 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::write): Remove type
cast from argument to audio_out_->parsewav() to make reference
work properly. Now .wav file headers are properly discarded.

20 years ago2004-03-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 24 Mar 2004 04:31:23 +0000 (04:31 +0000)]
2004-03-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl (new-bootstrap): Set CC and CC_FOR_BUILD in configure
for stages 2 and 3 as well as in make.  As a consequence, remove
OUTPUT_OPTION (now detected by configure) from the flags passed down
to make.
* Makefile.in: Regenerate.

* Makefile.tpl (new-bootstrap): Fix typo.
* Makefile.in: Regenerate.

20 years ago2004-03-23 Eric Christopher <echristo@redhat.com>
Eric Christopher [Wed, 24 Mar 2004 01:11:24 +0000 (01:11 +0000)]
2004-03-23  Eric Christopher  <echristo@redhat.com>

* mips/configure.in: Add mipsisa64-*-* to target support.
* mips/configure: Regenerate.
* frv/crt0.S: Fix comment.

20 years ago * bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
Paul Brook [Tue, 23 Mar 2004 23:05:52 +0000 (23:05 +0000)]
* bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
* binutils/readelf.c (decode_ARM_machine_flags): Add EABI v3.
* gas/config/tc-arm.c (meabi_flags): New variable.
(arm_parse_eabi): New function.
(md_begin): Set flags for EABI v3.
(arm_eabis): Add.
(arm_long_opts): Add meabi.
* include/elf/arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add.
* doc/as.texinf <ARM>: Document -meabi.
* doc/c-arm.texi: Ditto.

20 years agowhite space fixup
Christopher Faylor [Tue, 23 Mar 2004 18:52:39 +0000 (18:52 +0000)]
white space fixup

20 years ago * fhandler_disk_file.cc (fhandler_base::fstat_fs): Use created
Corinna Vinschen [Tue, 23 Mar 2004 11:26:54 +0000 (11:26 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Use created
handle regardless of nohandle state.  Clean up afterwards.

20 years ago * autoload.cc: Load eight more functions for waveIn support.
Corinna Vinschen [Tue, 23 Mar 2004 11:05:56 +0000 (11:05 +0000)]
* autoload.cc: Load eight more functions for waveIn support.
* fhandler.h (class fhandler_dev_dsp): Add class Audio, class Audio_in
and class Audio_out members and audio_in_, audio_out_ pointers so
that future changes are restricted to file fhandler_dsp.cc.
* fhandler_dsp.cc (fhandler_dev_dsp::Audio): Add this class to treat
things common to audio recording and playback.
Add more format conversions.
(fhandler_dev_dsp::Audio::queue): New queues for buffer management
to fix incomplete cleanup of buffers passed to the wave device.
(fhandler_dev_dsp::Audio_in): New, added class to implement audio
recording.
(fhandler_dev_dsp::Audio_out): Rework to use functionality provided
by fhandler_dev_dsp::Audio.  Allocate memory audio buffers late,
just before write.
(fhandler_dev_dsp::Audio_out::start): Size of wave buffer allocated
here depends on audio rate/bits/channels.
(fhandler_dev_dsp::Audio_in::start): Ditto.
(fhandler_dev_dsp::setupwav): Replaced by following function.
(fhandler_dev_dsp::Audio_out::parsewav): Does not setup wave device
any more. Discard wave header properly.
(fhandler_dev_dsp::open): Add O_RDONLY and_RDWR as legal modes.
Protect against re-open. Activate fork_fixup.
(fhandler_dev_dsp::ioctl): Protect against actions when audio is
active.  SNDCTL_DSP_GETFMTS only returns formats supported by
mmsystem wave API, not all supported formats.  SNDCTL_DSP_GETBLKSIZE
result now depends on current audio format.
(fhandler_dev_dsp::fixup_after_fork): Call fork_fixup for the Audio
classes to let them duplicate the CRITICAL_SECTION.

20 years agoinclude/
Alan Modra [Mon, 22 Mar 2004 22:58:01 +0000 (22:58 +0000)]
include/
PR 51.
* bfdlink.h (struct bfd_link_info): Add wrap_char.

bfd/
PR 51.
* linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char.

ld/
PR 51.
* emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
link_info.wrap_char.

20 years agoChristopher Faylor <cgf@redhat.com>
Christopher Faylor [Mon, 22 Mar 2004 18:30:38 +0000 (18:30 +0000)]
Christopher Faylor <cgf@redhat.com>
* init.cc (munge_threadfunc): Handle all instances of search_for.
(prime_threads): Test threadfunc_ix[0].

20 years ago * Makefile.tpl: Rearrange by moving recursive_targets rules
Nathanael Nerode [Mon, 22 Mar 2004 11:59:20 +0000 (11:59 +0000)]
* Makefile.tpl: Rearrange by moving recursive_targets rules
into their proper sections.
* Makefile.tpl (top level bootstrap support): Move disabling
of coverage flags from 'make' to 'configure'; improve comments.
* Makefile.in: Regenerate.

* Makefile.tpl (experimental top level bootstrap) Move stage1
language setting from all- target to configure- target; disable
intermodule optimization in stage 1; prevent gratuitous rebuilds
of stage 1.
* Makefile.in: Regenerate.
* configure.in: Comma-separate stage 1 language list for top
level bootstrap.
* configure: Regenerate.

* Makefile.tpl: Clean up experimental top level bootstrap support:
note known problems; set CONFIG_SHELL; don't set BUILD_CC; relocate
prev-gcc in configure- targets as well as all- targets.
* Makefile.in: Regenerate.

20 years ago* cygheap.cc (init_cheap): Set initial_sz to something or suffer spurious
Christopher Faylor [Sun, 21 Mar 2004 22:24:06 +0000 (22:24 +0000)]
* cygheap.cc (init_cheap): Set initial_sz to something or suffer spurious
output.
(cygheap_fixup_in_child): Set alloc_sz to passed in size to ensure that
children will have the right size heap.
(_csbrk): Make output conditional on DEBUGGING.

20 years ago* cygheap.cc (init_cheap): Conditionalize debugging code.
Christopher Faylor [Sun, 21 Mar 2004 21:51:26 +0000 (21:51 +0000)]
* cygheap.cc (init_cheap): Conditionalize debugging code.

20 years ago* cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
Christopher Faylor [Sun, 21 Mar 2004 17:58:14 +0000 (17:58 +0000)]
* cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.

20 years ago* cygheap.cc (init_cheap): Add ability to specify minimal cygwin heap size when
Christopher Faylor [Sun, 21 Mar 2004 17:41:40 +0000 (17:41 +0000)]
* cygheap.cc (init_cheap): Add ability to specify minimal cygwin heap size when
debugging.
(_csbrk): Report error in allocation to stderr.
(ccalloc): Ditto.
* dtable.cc (dtable::find_fifo): Remove use of atoms.
* dtable.h (dtable::find_fifo): Ditto.
* fhandler.h (fhandler_fifo): Ditto.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Ditto.
(fhandler_fifo::set_use): Ditto.
(fhandler_fifo::open_not_mine): Ditto.
(fhandler_fifo::open): Ditto.
* pinfo.cc (_pinfo::commune_recv): Ditto.
(_pinfo::commune_send): Ditto.

20 years agoReorder it.
H.J. Lu [Sat, 20 Mar 2004 23:44:18 +0000 (23:44 +0000)]
Reorder it.

20 years agoCorrect the ChangeLog entry.
H.J. Lu [Sat, 20 Mar 2004 23:36:18 +0000 (23:36 +0000)]
Correct the ChangeLog entry.

20 years agobfd/
H.J. Lu [Sat, 20 Mar 2004 23:16:43 +0000 (23:16 +0000)]
bfd/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if
unresolved symbols in objects aren't allowed.

* elf-hppa.h (elf_hppa_relocate_section): Properly handle
unresolved symbols.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
(elf_hppa_unmark_useless_dynamic_symbols):
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
(elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

* elf-m10200.c (mn10200_elf_relocate_section): Use
RELOC_FOR_GLOBAL_SYMBOL.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_get_relocation_value): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.

include/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Correct comments for the
unresolved_syms_in_objects field.

ld/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (parse_args): Don't set unresolved_syms_in_objects
or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.

20 years ago2004-03-19 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sat, 20 Mar 2004 00:03:32 +0000 (00:03 +0000)]
2004-03-19  Pierre Humblet <pierre.humblet@ieee.org>

        * dir.cc (rmdir): Reorganize error handling to reduce indentation.

20 years ago* include/cygwin/version.h: Bump DLL minor number to 10.
Christopher Faylor [Fri, 19 Mar 2004 18:00:08 +0000 (18:00 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 10.

20 years ago * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
Danny Smith [Fri, 19 Mar 2004 09:26:13 +0000 (09:26 +0000)]
* msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
msvcr70.dll, and msvcr71.dll.
* Makefile.in (msvcr*.def): Define preprocessor  __msvcr*__ constant
using basename of output def file.

20 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Reset to new value.
Christopher Faylor [Thu, 18 Mar 2004 19:30:51 +0000 (19:30 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset to new value.
(child_info::cygheap_alloc_sz): New field.
* cygheap.cc (init_cheap): Reduce size of cygwin stack until minimal hit when
attempting initial allocation.
(cygheap_setup_for_child): Use alloc_sz to create secondary memory mapped
entry.  Store alloc_sz in cygheap_alloc_sz.
(cygheap_fixup_in_child): Use cygheap_alloc_sz to map parent's cygheap.
* cygheap.h (_CYGHEAPSIZE_SLOP): New define.
(CYGHEAPSIZE): Use _CYGHEAPSIZE_SLOP.

20 years ago * fhandler_proc.cc (format_proc_meminfo): On NT, try to figure out
Corinna Vinschen [Thu, 18 Mar 2004 12:28:47 +0000 (12:28 +0000)]
* fhandler_proc.cc (format_proc_meminfo): On NT, try to figure out
real swap file usage by requesting SystemPagefileInformation.  Use
GlobalMemoryStatus as fallback.
* ntdll.h (_SYSTEM_INFORMATION_CLASS): Add SystemPagefileInformation.
(struct _SYSTEM_PAGEFILE_INFORMATION): Define.

20 years ago2004-03-17 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode [Wed, 17 Mar 2004 19:26:07 +0000 (19:26 +0000)]
2004-03-17  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Remove symbolic link section.
* configure: Regenerate.
* Makefile.tpl (links): Remove.
* Makefile.in: Regenerate.

20 years agoAdd FAQ about old packages. Remove B20 references.
Joshua Daniel Franklin [Wed, 17 Mar 2004 17:39:44 +0000 (17:39 +0000)]
Add FAQ about old packages. Remove B20 references.

20 years agoadd missing changelog entry
Christopher Faylor [Wed, 17 Mar 2004 16:39:35 +0000 (16:39 +0000)]
add missing changelog entry

20 years ago* include/cygwin/version.h: Bump DLL minor number to 9.
Christopher Faylor [Wed, 17 Mar 2004 16:38:48 +0000 (16:38 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 9.

20 years ago2004-03-15 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode [Tue, 16 Mar 2004 22:21:55 +0000 (22:21 +0000)]
2004-03-15  Paolo Bonzini  <bonzini@gnu.org>
            Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in (DEFAULT_YACC, DEFAULT_M4, DEFAULT_LEX):
        Set with AC_CHECK_PROGS.
* configure.in: Fix comment typo from last patch.
* configure: Regenerate.

20 years ago * include/docobj.h (IOleDocumentView::GetDocument): Correct
Danny Smith [Tue, 16 Mar 2004 09:51:19 +0000 (09:51 +0000)]
* include/docobj.h (IOleDocumentView::GetDocument): Correct
prototype.
Thanks to Buster Copley  <consequent@users.sourceforge.net>

20 years ago * lib/ddk/ntoskrnl.def (MmAllocatePagesForMdl): Correct suffix.
Danny Smith [Tue, 16 Mar 2004 09:26:25 +0000 (09:26 +0000)]
* lib/ddk/ntoskrnl.def (MmAllocatePagesForMdl): Correct suffix.
(MmMapIoSpace): Likewise.
Thanks to Dan Aloni  <da-x@colinux.org>

20 years ago2004-03-16 Martin Fuchs <martin-fuchs@gmx.net>
Danny Smith [Tue, 16 Mar 2004 09:13:08 +0000 (09:13 +0000)]
2004-03-16  Martin Fuchs <martin-fuchs@gmx.net>

* include/shellapi.h (NIM_* NIS_*): Define constants for
notification icons with _WIN32_IE >= 0x0500.
(NOTIFYICONDATA): Add new structure members for notification
icons with _WIN32_IE >= 0x0500.

20 years ago* sigproc.cc (proc_terminate): Release sync_proc_subproc when done terminating
Christopher Faylor [Tue, 16 Mar 2004 05:05:22 +0000 (05:05 +0000)]
* sigproc.cc (proc_terminate): Release sync_proc_subproc when done terminating
or suffer potential hangs.
(get_proc_lock): Reorganize debugging output slightly.

20 years ago* cygtls.cc (_cygtls::fixup_after_fork): Just manipulate the signal stack if a
Christopher Faylor [Tue, 16 Mar 2004 04:39:38 +0000 (04:39 +0000)]
* cygtls.cc (_cygtls::fixup_after_fork): Just manipulate the signal stack if a
signal occurred during the parent's fork.  Otherwise leave it alone.

20 years agoopcodes/
Alan Modra [Tue, 16 Mar 2004 00:58:42 +0000 (00:58 +0000)]
opcodes/
* ppc-dis.c (print_insn_powerpc): Don't print tabs.  Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO.  Update all uses.
(powerpc_opcodes): Use RA0 as appropriate.  Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.

include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define.  Bump other operand defines.

gas/testsuite/
Update gas/ppc/.

ld/testsuite/
Update ld-powerpc/.

20 years ago2004-03-15 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 16 Mar 2004 00:04:59 +0000 (00:04 +0000)]
2004-03-15  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Introduce experimental top level bootstrap support.
* Makefile.in: Regenerate.
* configure.in: Introduce support for top level bootstrap.
* configure: Regenerate.

20 years ago* cygpath.cc (usage): Don't issue helpful message if -i is used.
Christopher Faylor [Mon, 15 Mar 2004 21:34:12 +0000 (21:34 +0000)]
* cygpath.cc (usage): Don't issue helpful message if -i is used.
(from Igor Pechtchanski)

20 years ago* exceptions.cc (try_to_debug): Report on tid of caller.
Christopher Faylor [Mon, 15 Mar 2004 15:50:20 +0000 (15:50 +0000)]
* exceptions.cc (try_to_debug): Report on tid of caller.
* sync.cc (muto::acquire): Fix some races.
* sync.h (muto): Expose some fields for easier debugging.

20 years ago Fix ChangeLog dates.
Corinna Vinschen [Mon, 15 Mar 2004 11:37:37 +0000 (11:37 +0000)]
Fix ChangeLog dates.

* fhandler.h (fhandler_dev_tape::tape_get_pos): Declare with extra
parameter for partition number.
(fhandler_dev_tape::_tape_set_pos): Ditto.
(fhandler_dev_tape::tape_partition): New method.
(fhandler_dev_tape::tape_set_partition): New method.
* fhandler_tape.cc (fhandler_dev_tape::open): Call private methods
directly instead of ioctl.
(fhandler_dev_tape::ioctl): Use long erase on MTERASE by default.
Don't use absolute positioning on MTSEEK.  Call tape_set_partition
on MTSETPART, tape_partition on MTMKPART.
(fhandler_dev_tape::tape_get_pos): Add partition number parameter.
Prefer logical position information over absolute position information.
Return partition number.
(fhandler_dev_tape::_tape_set_pos): Add partition number parameter.
Use in SetTapePosition.
(fhandler_dev_tape::tape_set_pos): Remove special TAPE_ABSOLUTE_BLOCK
handling.
(fhandler_dev_tape::tape_erase): Rewind before erasing.
(fhandler_dev_tape::tape_status): Rearrange slightly. Try to get a
MediaType even if no tape is loaded. Store active partition in
mt_resid as on Linux.
(fhandler_dev_tape::tape_partition): New method.
(fhandler_dev_tape::tape_set_partition): New method.
* include/cygwin/mtio.h: Fix copyright. Add comment to explain
mt_resid content.
* include/cygwin/version.h: Bump API minor number.

20 years ago* cygtls.cc (_cygtls::remove): Call remove_wq even when we can't necessarily
Christopher Faylor [Mon, 15 Mar 2004 02:47:35 +0000 (02:47 +0000)]
* cygtls.cc (_cygtls::remove): Call remove_wq even when we can't necessarily
get the cygtls table lock.
* cygtls.h (_cygtls::remove_wq): Add wait argument.
* sigproc.cc (_cygtls::remove_wq): Honor wait argument when acquiring lock.
(proc_terminate): Don't NULL sync_proc_subproc since other threads may still
try to access it.

20 years ago * errno.cc (errmap): Map ERROR_BEGINNING_OF_MEDIA and
Corinna Vinschen [Sun, 14 Mar 2004 18:01:45 +0000 (18:01 +0000)]
* errno.cc (errmap): Map ERROR_BEGINNING_OF_MEDIA and
ERROR_SETMARK_DETECTED to EIO instead of ESPIPE.
Handle ERROR_FILEMARK_DETECTED.
* fhandler_tape.cc (TAPE_FUNC): Add comment that ERROR_BUS_RESET
has still to be handled correctly.
(fhandler_dev_tape::open): Accomodate fact that get.mt_dsreg
also contains density code.
(fhandler_dev_tape::ioctl): Rearrange slightly.  Reset devbuf also on
MTNOP, MTWSM, MTSETBLK, MTSETDRVBUFFER, MTSETPART and MTMKPART.
(fhandler_dev_tape::tape_set_pos): Rearrange.  Match behaviour to
the Linux tape driver.
(fhandler_dev_tape::tape_status): Call IOCTL_STORAGE_GET_MEDIA_TYPES_EX
if available.  Return device type and density code in appropriate
mtget members.
* wincap.h (wincaps::has_ioctl_storage_get_media_types_ex): New element.
* wincap.cc: Implement above element throughout.
* include/cygwin/mtio.h: Add tape device types as returned by
IOCTL_STORAGE_GET_MEDIA_TYPES_EX.
(MT_TAPE_INFO): Use above type codes.
(struct mtget): Change mt_dsreg comment.

20 years ago2004-03-14 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sun, 14 Mar 2004 16:16:45 +0000 (16:16 +0000)]
2004-03-14  Pierre Humblet <pierre.humblet@ieee.org>

        * dir.cc (rmdir): Construct real_dir with flag PC_FULL.
        Use a loop instead of recursion to handle the current directory.

20 years ago* cygtls.cc (_cygtls::remove): Call remove_wq to ensure that wait stuff is
Christopher Faylor [Sun, 14 Mar 2004 06:34:05 +0000 (06:34 +0000)]
* cygtls.cc (_cygtls::remove): Call remove_wq to ensure that wait stuff is
removed from proc_subproc linked list.
* cygtls.h (_cygtls::remove_wq): Declare.
* sigproc.cc (_cygtls::remove_wq): Define.
(proc_subproc): Label event handle appropriately.
* spawn.cc (spawn_guts): Return -1 when wait() fails for spawn types that
require waiting.

20 years agominor cleanup
Christopher Faylor [Sun, 14 Mar 2004 05:35:19 +0000 (05:35 +0000)]
minor cleanup

20 years agoFix typo.
Christopher Faylor [Sun, 14 Mar 2004 04:47:11 +0000 (04:47 +0000)]
Fix typo.

20 years ago * errno.cc (errmap): Handle ERROR_BUS_RESET.
Corinna Vinschen [Sat, 13 Mar 2004 18:15:06 +0000 (18:15 +0000)]
* errno.cc (errmap): Handle ERROR_BUS_RESET.
* fhandler.h (fhandler_dev_raw::write_file): New method, created
from former static function.
(fhandler_dev_raw::read_file): Ditto.
(reset_devbuf): New inline method.
(class fhandler_dev_tape): Add TAPE_GET_DRIVE_PARAMETERS
member `dp'.
(fhandler_dev_tape::write_file): New method.
(fhandler_dev_tape::read_file): Ditto.
(fhandler_dev_tape::tape_get_feature): Convert to inline method.
(fhandler_dev_tape::tape_error): New method, created from former
static function.
(fhandler_dev_tape::tape_get_blocksize): Remove declaration.
* fhandler_raw.cc (fhandler_dev_raw::write_file): New method, created
from former static function.
(fhandler_dev_raw::read_file): Ditto.
(fhandler_dev_raw::writebuf): Accomodate the fact that no devbuf
exists under variable block size condition.
(fhandler_dev_raw::raw_read): Ditto. Add local p pointer to simplify
pointer arithmetic.
(fhandler_dev_raw::raw_write): Always set devbufend to 0 when starting
with writing. Accomodate the fact that no devbuf exists under
variable block size condition.
* fhandler_tape.cc: Various formatting changes.
(TAPE_FUNC): New macro. Use throughout as tape function loop.
(get_ll): Convert into macro.
(IS_EOM): New macro.
(IS_EOF): New macro.
(fhandler_dev_tape::is_eom): Use IS_EOM macro.
(fhandler_dev_tape::is_eof): Use IS_EOF macro.
(fhandler_dev_tape::write_file): New method.
(fhandler_dev_tape::read_file): New method.
(fhandler_dev_tape::open): Get drive information block here once.
(fhandler_dev_tape::lseek): Remove unneeded duplicate code.
(fhandler_dev_tape::dup): Duplicate drive information block.
(fhandler_dev_tape::ioctl): Remove drvbuf in variable block size mode.
Return ERROR_INVALID_BLOCK_LENGTH instead of ERROR_MORE_DATA if
buffer contains data which would get lost on buffer size changing.
Use absolute tape positioning also if drive only supports logical
block positioning.
(fhandler_dev_tape::tape_error): New method, created from former
static function.
(fhandler_dev_tape::tape_get_pos): Allow logical block reporting.
Workaround tape driver bug.
(fhandler_dev_tape::_tape_set_pos): Reset device buffer and flags
after successful repositioning.
(fhandler_dev_tape::tape_set_pos): Allow logical block positioning.
Workaround tape driver bug.
(fhandler_dev_tape::tape_erase): Use dp instead of calling
GetTapeParameters.
(fhandler_dev_tape::tape_prepare): Ditto.
(fhandler_dev_tape::tape_get_blocksize): Remove.
(fhandler_dev_tape::tape_set_blocksize): Don't call tape_get_blocksize.
Error handling already done in fhandler_dev_tape::ioctl.
(fhandler_dev_tape::tape_status): Remove local `dp' variable.
Accomodate logical tape reporting.  Call tape_get_feature instead
of accessing feature words directly.
(fhandler_dev_tape::tape_compression): Use dp instead of calling
GetTapeParameters.  Fix resetting datcompression.

20 years ago * kill.cc (get_debug_priv): New function.
Corinna Vinschen [Sat, 13 Mar 2004 18:11:13 +0000 (18:11 +0000)]
* kill.cc (get_debug_priv): New function.
(forcekill): Call get_debug_priv before trying to kill process.

20 years ago2004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org>
Nathanael Nerode [Sat, 13 Mar 2004 05:54:47 +0000 (05:54 +0000)]
2004-03-12  Eric Botcazou  <ebotcazou@gcc.gnu.org>
            Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/14522
* configure.in: Cope with shells that do not support unquoted ^
* configure: Regenerate.

20 years ago *include/wininet.h (CACHEGROUP_SEARCH_ALL, CACHEGROUP_SEARCH_BYURL):
Danny Smith [Sat, 13 Mar 2004 01:59:12 +0000 (01:59 +0000)]
*include/wininet.h (CACHEGROUP_SEARCH_ALL, CACHEGROUP_SEARCH_BYURL):
Add defines.
(INTERNET_CACHE_GROUP_ADD, INTERNET_CACHE_GROUP_REMOVE): Add defines.
(GROUPID) Add typedef.
(INTERNET_CACHE_GROUP_INFO[AW]): Define structures.
(CreateUrlCacheGroup): Add prototype.
(DeleteUrlCacheGroup): Add prototype.
(FindFirstUrlCacheGroup): Add prototype.
(FindNextUrlCacheGroup): Add prototype.
(GetUrlCacheGroupAttribute[AW]): Add prototypes.
(SetUrlCacheGroupAttribute[AW]): Add prototypes.

20 years ago * include/malloc.h: Remove __STRICT_ANSI__ guard.
Danny Smith [Sat, 13 Mar 2004 01:03:31 +0000 (01:03 +0000)]
* include/malloc.h: Remove __STRICT_ANSI__ guard.

20 years ago* wait.cc (wait4): Initialize pointer on entry. Avoid calling
Christopher Faylor [Fri, 12 Mar 2004 22:03:33 +0000 (22:03 +0000)]
* wait.cc (wait4): Initialize pointer on entry.  Avoid calling
call_signal_handler twice since that guarantees exiting with errno set to
EINTR.

20 years ago* include/process.h: Remove the #endif associated with removal of
Christopher Faylor [Fri, 12 Mar 2004 16:39:37 +0000 (16:39 +0000)]
* include/process.h: Remove the #endif associated with removal of
__STRICT_ANSI__ guard from non-ANSI header.

20 years ago2004-03-12 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 12 Mar 2004 13:38:46 +0000 (13:38 +0000)]
2004-03-12  Michal Ludvig  <mludvig@suse.cz>

* i386.h (i386_optab): Added xstore as an alias for xstorerng.

20 years ago * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.
Jakub Jelinek [Fri, 12 Mar 2004 10:47:49 +0000 (10:47 +0000)]
* i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.
(INVLPG_Fixup): New function.
(PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag.

* opcode/i386.h (i386_optab): Remove CpuNo64 from sysenter and
sysexit.

20 years ago2004-03-12 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 12 Mar 2004 10:14:29 +0000 (10:14 +0000)]
2004-03-12  Michal Ludvig  <mludvig@suse.cz>

* gas/config/tc-i386.c (output_insn): Handle PadLock instructions.
* gas/config/tc-i386.h (CpuPadLock): New define.
(CpuUnknownFlags): Added CpuPadLock.
* include/opcode/i386.h (i386_optab): Added xstore/xcrypt insns.
* opcodes/i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines.
(dis386_twobyte): Opcode 0xa7 is PADLOCK_0.
(padlock_table): New struct with PadLock instructions.
(print_insn): Handle PADLOCK_SPECIAL.

20 years ago * exceptions.cc (sigpacket::process): Simplify code slightly.
Corinna Vinschen [Fri, 12 Mar 2004 08:22:22 +0000 (08:22 +0000)]
* exceptions.cc (sigpacket::process): Simplify code slightly.

20 years ago* cygtls.h (waitq): Declare structure here.
Christopher Faylor [Fri, 12 Mar 2004 03:09:28 +0000 (03:09 +0000)]
* cygtls.h (waitq): Declare structure here.
(_cygtls::wq): Declare.
* cygtls.cc (_cygtls::fixup_after_fork): Clear wq.thread_ev to avoid using an
invalid event handle in forked process.
* dcrt0.cc (waitq_storage): Delete.
(threadstuff): Remove waitq_storage.
* perthread.h (per_thread_waitq): Delete.
(waitq_storage): Delete declaration.
* sigproc.cc (sigproc_init): Remove perthread waitq consideration.
* sigproc.h (waitq): Delete declaration.
* wait.cc (wait4): Use _my_tls waitq structure rather than per_thread.
* cygtls.h (_cygtls::newmask): Delete member.
(_cygtls::deltamask): New member.
* gendef (_sigdelayed): Replace the call to set_process_mask by a call to
set_process_mask_delta.
* exceptions.cc (handle_sigsuspend): Do not filter tempmask.  Or
SIG_NONMASKABLE in deltamask as a flag.
(_cygtls::interrupt_setup): Set deltamask only.
(set_process_mask_delta): New function.
(_cygtls::call_signal_handler): Replace the first call to set_process_mask by a
call to set_process_mask_delta.
* tlsoffsets.h: Regenerate.

20 years ago* cygtls.cc (_cygtls::fixup_after_fork): Remove unneeded setting of oldmask.
Christopher Faylor [Fri, 12 Mar 2004 02:07:39 +0000 (02:07 +0000)]
* cygtls.cc (_cygtls::fixup_after_fork): Remove unneeded setting of oldmask.
* exceptions.cc: Remove some __I386__ conditionals.
(handle_exceptions): Move ppid test to outside of a loop for efficiency.
(setup_handler): Make debugging output more wordy.
(_cygtls::call_signal_handler): To avoid a race, use lock/unlock to synchronize
with signal thread and ensure that signal_arrived event has actually been set.
* gendef (_sigfe): Use ebx for all sigstack manipulations to ensure that the
register is saved.  Move setting of incyg to within stack lock to avoid
setup_handler confusion.
(_sigbe): Use ebx for all sigstack manipulations to ensure that the register is
saved.
(_cygtls::pop): Ditto.
(_cygtls::lock): Ditto.
(stabilize_sig_stack): Ditto.
(setjmp): Ditto.
(longjmp): Ditto.

20 years ago2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
Jeff Johnston [Thu, 11 Mar 2004 21:18:31 +0000 (21:18 +0000)]
2004-03-11  Kazu Hirata  <kazu@cs.umass.edu>

        * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
        _exit.c with _exit.S.
        * libc/sys/h8300hms/Makefile.in: Regenerate.
        * libc/sys/h8300hms/_exit.c: Remove.
        * libc/sys/h8300hms/_exit.S: New.

20 years ago2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org>
DJ Delorie [Thu, 11 Mar 2004 18:30:52 +0000 (18:30 +0000)]
2004-03-11  Eric Botcazou  <ebotcazou@gcc.gnu.org>
            Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/14522
* configure.in: Cope with shell that do not support nesting
quotes inside quoted backquote substitutions.
* configure: Regenerate.

2004-03-10  Andrew Pinski  <pinskia@physics.uc.edu>

PR bootstrap/14522
* configure.in: Fix escaping of $.
* configure: Regenerate.

20 years ago * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
Danny Smith [Thu, 11 Mar 2004 09:41:08 +0000 (09:41 +0000)]
* include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
* include/direct.h:  Ditto.
* include/dirent.h:  Ditto.
* include/dos.h:  Ditto.
* include/excpt.h:  Ditto.
* inlude/fcntl,h
* include/io.h:  Ditto.
* inlude/mem.h:  Ditto.
* include/memory.h:  Ditto.
* include/process.h:  Ditto.
* inlude/search.h:  Ditto.
* include/share.h:  Ditto.
* include/unistd.h:  Ditto.
* include/sys/fcntl.h:  Ditto.
* include/file.h:  Ditto.
* include/sys/locking.h:  Ditto.
* include/sys/param.h:  Ditto.
* include/sys/stat,h
* include/sys/time.h:  Ditto.
* include/sys/timeb.h:  Ditto.
* include/sys/types.h:  Ditto.
* include/sys/unistd.h:  Ditto.
* include/sys/utime.h:  Ditto.

20 years ago(top level)
Nathanael Nerode [Thu, 11 Mar 2004 05:15:36 +0000 (05:15 +0000)]
(top level)
2004-03-11  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Regenerate.

2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

PR ada/14131
Move language detection to the top level.
* configure.in: Find default values for the tools as
soon as possible.  Disable ada if GNAT is not found.
Emit error message about missing languages.  Expand
--enable-languages=all for the gcc subdirectory.

(config)
2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

PR ada/14131
Move language detection to the top level.
* acx.m4 (ACX_PROG_GNAT): New macro, moved here
from the gcc subdirectory.

2004-03-09  Hans-Peter Nilsson  <hp@axis.com>

* accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with
"-c".  Properly quote parameter for AC_MSG_ERROR.

20 years ago2004-03-10 Al Slater <al.slater@scluk.com>
Danny Smith [Wed, 10 Mar 2004 20:00:20 +0000 (20:00 +0000)]
2004-03-10  Al Slater  <al.slater@scluk.com>

* include/winsock2.h: Add missing LPFN_ typdefs for
function pointers.
Clean up whitespace.

20 years ago2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
Jeff Johnston [Tue, 9 Mar 2004 21:27:37 +0000 (21:27 +0000)]
2004-03-09  Thomas Pfaff  <tpfaff@gmx.net>

        * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
        Change __sfp_lock to static global.
        (__fp_lock): New static function.
        (__fp_unlock): Ditto.
        (__fp_lock_all): New function.
        (__fp_unlock_all): Ditto.

20 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Implement TIOCSBRK and TIOCCBRK.
Christopher Faylor [Tue, 9 Mar 2004 02:51:26 +0000 (02:51 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Implement TIOCSBRK and TIOCCBRK.
* include/sys/termios.h: Define TIOCSBRK and TIOCCBRK.

20 years ago.
Christopher Faylor [Tue, 9 Mar 2004 01:29:39 +0000 (01:29 +0000)]
.

20 years ago* exceptions.cc (setup_handler): Avoid suspending a thread if it in a cygwin
Christopher Faylor [Tue, 9 Mar 2004 01:24:08 +0000 (01:24 +0000)]
* exceptions.cc (setup_handler): Avoid suspending a thread if it in a cygwin
function, in an exception, spinning, or locked.
* gendef (_sigfe): Move incyg setting earlier.
(sigreturn): Set incyg flag to avoid interrupting called cygwin functions.
(sigdelayed): Ditto.
(stabilize_sig_stack): Ditto.
* sigproc.cc (proc_subproc): Don't restore process lock early in exec case.
* cygtls.h: Reorganize fields in _cygtls slightly.
* tlsoffsets.h: Regenerate.

20 years agoadd missing entry
Christopher Faylor [Sun, 7 Mar 2004 04:58:35 +0000 (04:58 +0000)]
add missing entry

20 years ago* fork.cc (fork_parent): Save parent pid in a temporary variable since child
Christopher Faylor [Sun, 7 Mar 2004 04:57:47 +0000 (04:57 +0000)]
* fork.cc (fork_parent): Save parent pid in a temporary variable since child
could conceivably exit before function returns, rendering the child's shared
memory area invalid.
* cygtls.h (_cygtls::incyg): Declare new field.
(_cygtls::in_exception): Define new function.
* exceptions.cc (setup_handler): Remove locked flag.  Use 'incyg' flag and
in_exception function to determine when we're in a cygwin function.
(_cygtls::call_signal_handler): Decrement incyg flag prior to calling a
handler.  Increment it on return.
* gendef (_sigfe): Increment incyg flag.  Use testl for zero testing rather
than orl, for consistency.
(_sigbe): Decrement incyg flag.  Use testl for zero testing rather than orl,
for consistency.
(_cygtls::pop): Use testl for zero testing rather than orl, for consistency.
(stabilize_sig_stack): Ditto.

20 years ago* winsup.api/known_bugs.tcl: Remove mknod01 since mknod now works.
Christopher Faylor [Sun, 7 Mar 2004 04:51:29 +0000 (04:51 +0000)]
* winsup.api/known_bugs.tcl: Remove mknod01 since mknod now works.
* winsup.api/ltp/mknod01.c: Remove root check when running on cygwin.

20 years agoupdate some documentation
Christopher Faylor [Sat, 6 Mar 2004 21:43:57 +0000 (21:43 +0000)]
update some documentation

20 years ago* gendef (sigdelayed): Handle return here rather than going through sigbe to
Christopher Faylor [Fri, 5 Mar 2004 19:09:04 +0000 (19:09 +0000)]
* gendef (sigdelayed): Handle return here rather than going through sigbe to
ensure that flags are properly restored.

20 years ago2004-03-05 Filip Navara <xnavara@volny.cz>
Danny Smith [Fri, 5 Mar 2004 09:01:04 +0000 (09:01 +0000)]
2004-03-05  Filip Navara  <xnavara@volny.cz>

* include/ddk/scsi.h: Replace assert with ASSERT.
* include/ddk/video.h: Ditto.
* include/ddk/winddk.h: Ditto. Remove the assert macro.
* include/ddk/tdi.h: Correct packing.

20 years ago* winsup.api/pthread/mutex8e.c: New testcase.
Thomas Pfaff [Thu, 4 Mar 2004 21:08:22 +0000 (21:08 +0000)]
* winsup.api/pthread/mutex8e.c: New testcase.
* winsup.api/pthread/mutex8n.c: Ditto.
* winsup.api/pthread/mutex8r.c: Ditto.

20 years ago* include/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP):
Thomas Pfaff [Thu, 4 Mar 2004 21:04:14 +0000 (21:04 +0000)]
* include/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP):
New define.
(PTHREAD_NORMAL_MUTEX_INITIALIZER_NP): Ditto.
(PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Ditto.
* thread.cc (pthread_mutex::is_good_initializer):
Check for all posssible initializers
(pthread_mutex::is_good_initializer_or_object): Ditto.
(pthread_mutex::is_good_initializer_or_bad_object): Ditto.
(verifyable_object_isvalid): Support up to three static
initializers.
(verifyable_object_isvalid (void const *,long)): Remove.
(pthread_cond::is_good_initializer_or_bad_object): Remove
unneeded objectState var.
(pthread_cond::init): Condition remains unchanged when creation
has failed.
(pthread_rwlock::is_good_initializer_or_bad_object): Remove
unneeded objectState var.
(pthread_rwlock::init): Rwlock remains unchanged when creation
has failed.
(pthread_mutex::init): Remove obsolete comment.
Mutex remains unchanged when creation has failed. Add support
for new initializers.
(pthread_mutex_getprioceiling): Do not create mutex,
just return ENOSYS.
(pthread_mutex_lock): Simplify.
(pthread_mutex_trylock): Remove unneeded local themutex.
(pthread_mutex_unlock): Just return EPERM if mutex is not
initialized.
(pthread_mutex_setprioceiling): Do not create mutex,
just return ENOSYS.
* thread.h (verifyable_object_isvalid): Support up to three
static initializers.
(verifyable_object_isvalid (void const *,long)): Remove
prototype.
(pthread_mutex::init): Add optional initializer to parameter
list.

20 years ago* gendef (sigreturn): Call stabilize_sig_stack to ensure that there are no
Christopher Faylor [Thu, 4 Mar 2004 05:31:14 +0000 (05:31 +0000)]
* gendef (sigreturn): Call stabilize_sig_stack to ensure that there are no
pending signals.  Restore edx later.
(sigdelayed): Save edx earlier.
* malloc_wrapper.cc (malloc_init): Add some more debugging output.

20 years ago2004-03-03 Stephane Carrez <stcarrez@nerim.fr>
Jeff Johnston [Thu, 4 Mar 2004 00:35:03 +0000 (00:35 +0000)]
2004-03-03  Stephane Carrez  <stcarrez@nerim.fr>

        * m68hc11/sci-inout.S: Supports -mlong-calls.
        * m68hc11/sim-valid-m68hc11.ld (.tramp): New section for trampolines.
        (.text): Mark the .installN and .finiN section with KEEP.
        (.vectors): Likewise for .vectors.
        (.gcc_except_table): New section.
        * m68hc11/sim-valid-m68hc12.ld (.tramp): New section for trampolines.
        (.text): Mark the .installN and .finiN section with KEEP.
        (.vectors): Likewise for .vectors.
        (.gcc_except_table): New section.

20 years ago * include/wtypes.h (DECIMAL_SETZERO): Add definition for
Danny Smith [Wed, 3 Mar 2004 20:24:08 +0000 (20:24 +0000)]
* include/wtypes.h (DECIMAL_SETZERO): Add definition for
NONAMELESSUNION case.

20 years ago22004-03-03 Martin Fuchs <martin-fuchs@gmx.net>
Danny Smith [Wed, 3 Mar 2004 19:19:36 +0000 (19:19 +0000)]
22004-03-03  Martin Fuchs  <martin-fuchs@gmx.net>

* include/oleauto.h (V_UNION, V_VT, V_DECIMAL): Use
__VARIANT_NAME_ constants.

20 years ago2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Wed, 3 Mar 2004 18:01:49 +0000 (18:01 +0000)]
2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>

opcodes:
* sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
nofpu mode.  Add BFD type bfd_mach_sh4_nommu_nofpu.
* sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
accordingly.
bfd:
* archures.c: Add bfd_mach_sh4_nommu_nofpu.
* cpu-sh.c: Ditto.
* elf32-sh.c: Ditto.
* bfd-in2.h: Regenerate.
include/elf:
* sh.h: Add EF_SH4_NOMMU_NOFPU.
gas:
* config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
-isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
(sh_elf_final_processing): Output BFD type sh4_nofpu if that is
the most general type or the user specifically requested it.
(md_assemble): Add a new error message for when an instruction
is understood, but is not allowed due to an -isa option.

20 years ago * include/uxtheme.h: Include <commctrl.h>
Danny Smith [Tue, 2 Mar 2004 23:01:16 +0000 (23:01 +0000)]
* include/uxtheme.h: Include <commctrl.h>

20 years ago * fhandler_raw.cc (fhandler_dev_raw::raw_read): When reading with
Corinna Vinschen [Tue, 2 Mar 2004 13:07:47 +0000 (13:07 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::raw_read): When reading with
variable block size, read only one block, read directly into user
supplied buffer, return ENOMEM if user supplied buffer is smaller
than size of next block to read.  Use read2 instead of bytes_to_read
to count number of bytes read.
* fhandler_tape.cc (fhandler_dev_tape::open): Add debug output.

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