]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago2003-03-30 Thomas Pfaff <tpfaff@gmx.net>
Jeff Johnston [Tue, 30 Mar 2004 21:11:53 +0000 (21:11 +0000)]
2003-03-30  Thomas Pfaff  <tpfaff@gmx.net>

        * libc/stdio/findfp.c (__fp_lock_all): Add call to
        __sfp_lock_acquire.
        (__fp_unlock_all): Add call to __sfp_lock_release.

20 years agomerge from gcc
DJ Delorie [Tue, 30 Mar 2004 20:03:09 +0000 (20:03 +0000)]
merge from gcc

20 years ago2004-03-30 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Tue, 30 Mar 2004 19:20:42 +0000 (19:20 +0000)]
2004-03-30  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

        * ntsec.sgml: Replace chapter numbers with <link>s,
        replace release-numbers in <title>s with descriptions.

2004-03-30  Ronald Landheer-Cieslak <ronald@landheer.com>

        * ntsec.sgml: Fix typos, correct chapter numbers.

20 years ago * sysv_shm.cc (shmget): Allow to retrieve shared memory segments
Corinna Vinschen [Tue, 30 Mar 2004 15:21:18 +0000 (15:21 +0000)]
* sysv_shm.cc (shmget): Allow to retrieve shared memory segments
by shmid when IPC_KEY_IS_SHMID is set.

20 years ago * shm.cc (shmat): If shmid is unknown, call a special variation
Corinna Vinschen [Tue, 30 Mar 2004 15:20:08 +0000 (15:20 +0000)]
* shm.cc (shmat): If shmid is unknown, call a special variation
of shmget to retrieve the shared memory segment from Cygserver
instead of failing immediately.
* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): New internal flag for
shmget when called from shmat.

20 years agoAdd (linker) support for CR16C processor
Nick Clifton [Tue, 30 Mar 2004 14:04:32 +0000 (14:04 +0000)]
Add (linker) support for CR16C processor

20 years ago * lib/Makefile,in; Add directx to .PHONY target.
Danny Smith [Mon, 29 Mar 2004 22:39:46 +0000 (22:39 +0000)]
* lib/Makefile,in; Add directx to .PHONY target.
* lib/directx/dxerr.c: Remove dependence on mingw runtime.
Don't include stdio.h or tchar.h.
Replace _T() macro with TEXT() macro, throughout.
Replace, _stprintf with wsprintf, throughout.

20 years ago * fhandler.h (class fhandler_socket): Add has_been_closed member.
Corinna Vinschen [Mon, 29 Mar 2004 19:41:17 +0000 (19:41 +0000)]
* fhandler.h (class fhandler_socket): Add has_been_closed member.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
has_been_closed to 0.
(fhandler_socket::recvfrom): Use new asynchronous I/O driven
wsock_event methods.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::prepare): Reimplement using asynchronous I/O.
(wsock_event::wait): Ditto.
(wsock_event::release): New method.
* wsock_event.h (class wsock_event): Remove ovr member.  Accomodate
new implementation of prepare and wait methods.  Add release method.

20 years ago* thread.cc (pthread::atforkprepare): Call MT_INTERFACE->fixup_before_fork at
Christopher Faylor [Mon, 29 Mar 2004 15:14:07 +0000 (15:14 +0000)]
* thread.cc (pthread::atforkprepare): Call MT_INTERFACE->fixup_before_fork at
the end of atforkprepare.

20 years ago * net.cc (wsock_event::wait): Change scope of local "len" variable.
Corinna Vinschen [Mon, 29 Mar 2004 14:08:44 +0000 (14:08 +0000)]
* net.cc (wsock_event::wait): Change scope of local "len" variable.

20 years ago2004-03-28 Hans Leidekker <hans@it.vu.nl>
Luke Dunstan [Mon, 29 Mar 2004 13:57:04 +0000 (13:57 +0000)]
2004-03-28  Hans Leidekker  <hans@it.vu.nl>

* include/math.h (FP_*): Add defines.

20 years ago * mingwex/math/round.c: Rewrite.
Danny Smith [Mon, 29 Mar 2004 08:22:20 +0000 (08:22 +0000)]
* mingwex/math/round.c: Rewrite.
* mingwex/math/roundf.c: Rewrite.
* mingwex/math/roundl.c: Rewrite.

20 years ago * pathnames.sgml: Fix /dev/srX description.
Corinna Vinschen [Mon, 29 Mar 2004 08:07:39 +0000 (08:07 +0000)]
* pathnames.sgml: Fix /dev/srX description.

20 years ago2004-03-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Mon, 29 Mar 2004 06:37:40 +0000 (06:37 +0000)]
2004-03-28  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>
* how-programming.texinfo: Make list in .lib FAQ enumerative.

20 years ago2004-03-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Mon, 29 Mar 2004 05:56:46 +0000 (05:56 +0000)]
2004-03-28  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

        * how-programming.texinfo: Add note about gcc .lib linking.
        * pathnames.sgml: Mention create_devices.sh for /dev/ creation.

20 years ago * shm.cc (shmat): Return (void *) -1 on error instead of NULL.
Corinna Vinschen [Sun, 28 Mar 2004 21:01:33 +0000 (21:01 +0000)]
* shm.cc (shmat): Return (void *) -1 on error instead of NULL.

20 years ago2004-03-27 Hosaka Yuji <hos@tamanegi.org>
Luke Dunstan [Sun, 28 Mar 2004 11:22:10 +0000 (11:22 +0000)]
2004-03-27  Hosaka Yuji  <hos@tamanegi.org>

* include/dbt.h (DBT_DEVTYP_DEVICEINTERFACE, DBT_DEVTYP_HANDLE):
Add define.
(DEV_BROADCAST_DEVICEINTERFACE, DEV_BROADCAST_HANDLE): Add struct.
* include/winuser.h (UnregisterDeviceNotification): Add prototype.
* lib/user32.def (UnregisterDeviceNotification): Add export stub.

20 years ago* fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already
Christopher Faylor [Sat, 27 Mar 2004 18:01:04 +0000 (18:01 +0000)]
* fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already
been set if pc.error is nonzero.

20 years ago * Fix ChangeLog formatting.
Corinna Vinschen [Sat, 27 Mar 2004 16:02:04 +0000 (16:02 +0000)]
* Fix ChangeLog formatting.

20 years ago * cygserver.sgml: New file.
Corinna Vinschen [Sat, 27 Mar 2004 15:59:44 +0000 (15:59 +0000)]
* cygserver.sgml: New file.
* using.sgml: Include Cygserver docs.

20 years ago2004-03-26 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Sat, 27 Mar 2004 06:48:11 +0000 (06:48 +0000)]
2004-03-26  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>
        * cygwinenv.sgml: Add example for CYGWIN=error_start.
        * pathnames.sgml: Update list of /dev/ devices.

20 years ago2004-03-27 Filip Navara <xnavara@volny.cz>
Luke Dunstan [Sat, 27 Mar 2004 02:25:37 +0000 (02:25 +0000)]
2004-03-27  Filip Navara  <xnavara@volny.cz>

* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.

20 years agoFix ChangeLog entry.
Eric Christopher [Sat, 27 Mar 2004 00:07:10 +0000 (00:07 +0000)]
Fix ChangeLog entry.

20 years ago* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
Christopher Faylor [Fri, 26 Mar 2004 22:48:47 +0000 (22:48 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Improve strace output.

20 years ago * errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY,
Corinna Vinschen [Fri, 26 Mar 2004 21:43:49 +0000 (21:43 +0000)]
* errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY,
ERROR_EOM_OVERFLOW and ERROR_NO_DATA_DETECTED to EIO.  Add mappings
for ERROR_NO_MEDIA_IN_DRIVE, ERROR_DEVICE_REQUIRES_CLEANING and
ERROR_DEVICE_DOOR_OPEN.
* fhandler.h (class fhandler_dev_raw): Drop varblkop member.
(fhandler_dev_raw::is_eom): De-virtualize.
(fhandler_dev_raw::is_eof): Ditto.
(class fhandler_dev_tape): Drop lasterr and dp member.  Add mt_mtx
member.  Drop all private methods formerly used by ioctl.
(fhandler_dev_tape::is_rewind_device): Use get_minor for clarity.
(fhandler_dev_tape::driveno): New method.
(fhandler_dev_tape::drive_init): New method.
(fhandler_dev_tape::clear): Remove method.
(fhandler_dev_tape::is_eom): Ditto.
(fhandler_dev_tape::is_eof): Ditto.
(fhandler_dev_tape::write_file): Ditto.
(fhandler_dev_tape::read_file): Ditto.
(fhandler_dev_tape::_lock): New method.
(fhandler_dev_tape::unlock): New method.
(fhandler_dev_tape::raw_read): New method.
(fhandler_dev_tape::raw_write): New method.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): New method.
(fhandler_dev_raw::is_eof): New method.
(fhandler_dev_raw::open): Allow setting write through option by
using the O_TEXT flag as ... flag.
(fhandler_dev_raw::writebuf): Remove usage of varblkop and other
tape specific code.
(fhandler_dev_raw::raw_read): Ditto.
(fhandler_dev_raw::dup): Ditto.
* fhandler_tape.cc: Rewrite tape operations entirely.  Implement
new tape driver classes mtinfo, mtinfo_drive and mtinfo_part.
Reduce fhandler_dev_tape methods to mostly just calling appropriate
mtinfo_drive methods.
(mtinfo_init): New function adding the mtinfo shared memory area.
* mtinfo.h: New file, containing the definition of the new tape
driver classes.
* shared.cc: Include mtinfo.h.
(offsets): Add entry for mtinfo shared memory area.
(memory_init): Call mtinfo_init.
* shared_info.h (shared_locations): Add SH_MTINFO shared location.
* include/cygwin/mtio.h: Change and add various comments.  Add GMT_xxx
macros for new generic flags.  Add MT_ST_xxx bitfield definitions
for MTSETDRVBUFFER ioctl.
* include/cygwin/version.h: Bump API minor version number.

20 years agoadd missing files
Christopher Faylor [Fri, 26 Mar 2004 21:17:07 +0000 (21:17 +0000)]
add missing files

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.

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