]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago2004-04-12 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Mon, 12 Apr 2004 23:59:23 +0000 (23:59 +0000)]
2004-04-12  Pierre Humblet <pierre.humblet@ieee.org>

        * path.cc (path_conv::check): Fix "tail filling" logic.

20 years ago* cygheap.h: Replace inexplicably removed closing brace.
Christopher Faylor [Sun, 11 Apr 2004 17:36:05 +0000 (17:36 +0000)]
* cygheap.h: Replace inexplicably removed closing brace.

20 years ago* cygheap.h (CYGHEAP_SLOP): Reduce drastically to avoid collisions.
Christopher Faylor [Sun, 11 Apr 2004 04:07:18 +0000 (04:07 +0000)]
* cygheap.h (CYGHEAP_SLOP): Reduce drastically to avoid collisions.

20 years ago* dtable.cc (dtable::extend): Change order of memcpy and cfree.
Christopher Faylor [Sun, 11 Apr 2004 04:00:01 +0000 (04:00 +0000)]
* dtable.cc (dtable::extend): Change order of memcpy and cfree.

20 years ago * syscalls.cc (sync): Define void according to SUSv3.
Corinna Vinschen [Sat, 10 Apr 2004 20:40:41 +0000 (20:40 +0000)]
* syscalls.cc (sync): Define void according to SUSv3.

20 years ago * libc/include/sys/unistd.h (sync): Define void on Cygwin according
Corinna Vinschen [Sat, 10 Apr 2004 20:39:47 +0000 (20:39 +0000)]
* libc/include/sys/unistd.h (sync): Define void on Cygwin according
to SUSv3.

20 years ago * sec_acl.cc (setacl): Use correct offset when trying to combine
Corinna Vinschen [Sat, 10 Apr 2004 20:18:11 +0000 (20:18 +0000)]
* sec_acl.cc (setacl): Use correct offset when trying to combine
standard and default entry of same type.

20 years ago * fhandler.cc (rootdir): Add and use second argument.
Corinna Vinschen [Sat, 10 Apr 2004 19:24:55 +0000 (19:24 +0000)]
* fhandler.cc (rootdir): Add and use second argument.
* winsup.h (rootdir): Add second argument in declaration.
* path.cc (fs_info::update): Modify call to rootdir.
* syscalls.cc (check_posix_perm): Ditto.
(statfs): Ditto. Move syscall_printf near top.

20 years ago * Use new unified status_flag accessor methods from classes fhandler_*,
Corinna Vinschen [Sat, 10 Apr 2004 13:45:10 +0000 (13:45 +0000)]
* Use new unified status_flag accessor methods from classes fhandler_*,
tty_min, mtinfo and fs_info thoroughout.
* fhandler.h: Redefine all set_close_on_exec methods to take a bool
argument.
(enum conn_state): Rename from connect_state.
(class fhandler_base): Rename some status flags to align with
accessor method names.  Drop encoded flag entirely.  Unify status
accessor methods.  Const'ify all read accessor methods.
(class fhandler_socket): Ditto.
(class fhandler_dev_raw): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Use fs.fs_is_fat()
instead of evaluating FATness of file system here.
(fhandler_disk_file::opendir): Drop call to set_encoded().
(fhandler_disk_file::readdir): Use pc.isencoded() directly.
* mtinfo.h (class mtinfo_drive): Const'ify all read accessor methods.
* path.cc (fsinfo_cnt): Add.
(fs_info::update): Accomodate class changes. Evaluate file system
name specific flags right here. Add thread safety for reading and
writing global fsinfo array.
* path.h (enum path_types): Drop values for flags kept in fs already.
(struct fs_info): Move status informatin into private struct type
status_flags.  Add accessor methods. Remove path and file system
name string arrays in favor of status bits.
(class path_conv): Use new fs_info status information where
appropriate.
(path_conf::fs_has_ea): Rename from fs_fast_ea.
(path_conf::fs_has_acls): New method.
(path_conf::root_dir): Remove.
(path_conf::volname): Remove.
* syscalls (statfs): Evaluate root dir locally.
* tty.h (class tty_min): Unify status accessor methods.  Const'ify
all read accessor methods.

20 years ago* thread.h (pthread::init_mainthread): Remove parameter forked.
Christopher Faylor [Sat, 10 Apr 2004 00:53:25 +0000 (00:53 +0000)]
* thread.h (pthread::init_mainthread): Remove parameter forked.
(pthread::set_tls_self_pointer): New static function.
* thread.cc (MTinterface::fixup_after_fork): Change call to
pthread::init_mainthread.
(pthread::init_mainthread): Remove parameter forked.  Simplify thread self
pointer handling.
(pthread::self): Set thread self pointer to null_pthread if thread has not been
initialized.
(pthread::set_tls_self_pointer): New static function.

20 years ago* path.cc (path_conv::check): Optimize symlink replacements.
Christopher Faylor [Sat, 10 Apr 2004 00:50:16 +0000 (00:50 +0000)]
* path.cc (path_conv::check): Optimize symlink replacements.
* path.cc (normalize_posix_path): Add "tail" argument and set it.  Always have
a final slash for directories.  Pass 3rd argument to normalize_win32_path.
(path_conv::check): Pass tail to normalize_posix_path.  Set need_directory and
remove final slash after that call.  Remove last argument to
mount_table->conv_to_win32_path().  Remove noop dostail check.  Remove
fs.update() from inner loop.  Improve tail finding search.
(normalize_win32_path): Add and set tail argument.
(mount_item::build_win32): Avoid calling strcpy.
(mount_info::conv_to_win32_path): Remove third argument and simplify because
the source is normalized.  Keep /proc path in Posix form.  Call
win32_device_name() only once.
(mount_info::conv_to_posix_path): Add and use 3rd argument to
normalize_win32_path to avoid calling strlen.
(cwdstuff::set): Add 3rd argument to normalize_posix_path and remove final
slash if any.
* shared_info.h (mount_info::conv_to_win32_path): Remove last argument in
declaration.

20 years ago * fhandler.h (class fhandler_dev_raw): Move status bits into protected
Corinna Vinschen [Fri, 9 Apr 2004 20:39:19 +0000 (20:39 +0000)]
* fhandler.h (class fhandler_dev_raw): Move status bits into protected
bitfield struct type status_flags.  Drop unused has_written bit.
Add accessor methods.
(fhandler_dev_raw::clear): Remove.
(fhandler_dev_raw::reset_devbuf): Remove.
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Use accessor method
for is_writing.
* fhandler_raw.cc: Use status accessor methods throughout.
(fhandler_dev_raw::clear): Remove.
(fhandler_dev_raw::fhandler_dev_raw): Drop clear call.
(fhandler_dev_raw::~fhandler_dev_raw): Ditto.
* fhandler_tape.cc: Use mtinfo::status accessor methods throughout.
(mtinfo_drive::close): Fix conditional to enable BSD semantics
correctly.
(mtinfo_drive::get_status): Rename from mtinfo_drive::status.
* mtinfo.h (class mtinfo_drive): Move status bits into private bitfield
struct type status_flags.  Add accessor methods.
Rename status method to get_status.

20 years ago * path.cc (fsinfo): Global storage for file system information.
Corinna Vinschen [Fri, 9 Apr 2004 19:33:07 +0000 (19:33 +0000)]
* path.cc (fsinfo): Global storage for file system information.
(fs_info::update): Store file system information also in fsinfo and
short circuit GetVolumeInformation by using alredy stored file system
information.

20 years ago * fhandler.h (fhandler_base::status): Declare private.
Corinna Vinschen [Fri, 9 Apr 2004 12:09:45 +0000 (12:09 +0000)]
* fhandler.h (fhandler_base::status): Declare private.
(fhandler_base::open_status): Ditto.
(class fhandler_socket): Move status bits into private bitfield struct
type status_flags.  Change accessor methods appropriately.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
above status bit changes.
* tty.h: Remove status bit enumerator.
(TTYISSETF): Remove.
(TTYSETF): Remove.
(TTYCLEARF): Remove.
(TTYCONDSETF): Remove.
(tty_min::status): Define as private bitfield struct type status_flags.
Add appropriate accessor methods.
* fhandler_console.cc: Use tty_min::status accessor methods throughout.
* fhandler_termios.cc: Ditto.
* winsup.h (__ISSETF): Remove.
(__SETF): Remove.
(__CLEARF): Remove.
(__CONDSETF): Remove.

20 years ago * fhandler.cc (fhandler_base::write): Use bool parameter in calls to
Corinna Vinschen [Fri, 9 Apr 2004 08:43:29 +0000 (08:43 +0000)]
* fhandler.cc (fhandler_base::write): Use bool parameter in calls to
set_did_lseek.
(fhandler_base::fhandler_base): Accomodate new status and open_status
constructor.
* fhandler.h: Remove status bit enumerator.
(FHDEVN): Remove.
(FHISSETF): Remove.
(FHSETF): Remove.
(FHCLEARF): Remove.
(FHCONDSETF): Remove.
(FHSTATOFF): Remove.
(UNCONNECTED, CONNECT_PENDING, CONNECTED): Substitute by enum
connect_state.
(fhandler_base::status): Define as bitfield struct type status_flags.
Remove unused flags entirely.  Accomodate all status access methods.
(open_status): Define as bitfield struct type status_flags.
(fhandler_socket): Move socket related status bits to here.  Redefine
had_connect_or_listen to be part of these status bits.  Accomodate
related access methods.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Use pc.issymlink
instead of dropped method get_symlink_p.
(fhandler_base::open_fs): Remove setting dropped status flags.
* fhandler_socket.cc: Use values from enum connect_state throughout.
(fhandler_socket::fhandler_socket): Initialize status bits.
* fhandler_virtual.cc (fhandler_virtual::open): Remove setting dropped
status flags.
* net.cc: Use values from enum connect_state throughout.
* select.cc: Ditto.
* shared_info.h: Protect struct console_state using _FHANDLER_H_
instead of FHDEVN.

20 years ago * security.cc (get_file_attribute): Fix conditional.
Corinna Vinschen [Fri, 9 Apr 2004 07:55:56 +0000 (07:55 +0000)]
* security.cc (get_file_attribute): Fix conditional.

20 years ago2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 9 Apr 2004 05:17:48 +0000 (05:17 +0000)]
2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>

PR bootstrap/14871
* Makefile.tpl: If we don't have built-in-tree target tools,
use the ones found by configure rather than hacking around with
program_transform_name.
* configure.in: Give Makefile.tpl the information necessary
to do that.
* Makefile.in: Regenerate.
* configure: Regenerate.

2004-04-06  Nathanael Nerode  <neroden@gcc.gnu.org>

PR bootstrap/14760
* configure.in: When computing baseargs, strip *all* copies of
offending options.  Also, don't match/substitute the trailing space,
so that this actually works when two similar options are separated by
only one space.
* configure: Regenerate.

2004-04-06  David Edelsohn  <edelsohn@gnu.org>

        * configure.in (powerpc-*-aix*): Remove target-libada from noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.

20 years ago2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Thu, 8 Apr 2004 22:26:50 +0000 (22:26 +0000)]
2004-04-08  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/fclose.c (_fclose_r): New function.
        * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
        * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
        * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
        * libc/include/stdio.h (_fclose_r): New prototype.
        * libc/stdio/fopen.c: Fix typo in comment.

2004-04-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
        to handle _r reentrant functions.

20 years ago2004-04-08 Eric Christopher <echristo@redhat.com>
Jeff Johnston [Thu, 8 Apr 2004 18:42:46 +0000 (18:42 +0000)]
2004-04-08  Eric Christopher  <echristo@redhat.com>

        * libc/include/machine/setjmp.h: Fix endif locations.

20 years ago* child_info.h: Update CHILD_INFO_MAGIC after 2004-04-03 change.
Christopher Faylor [Thu, 8 Apr 2004 15:44:53 +0000 (15:44 +0000)]
* child_info.h: Update CHILD_INFO_MAGIC after 2004-04-03 change.

20 years agofix email address
Christopher Faylor [Thu, 8 Apr 2004 13:34:37 +0000 (13:34 +0000)]
fix email address

20 years ago * path.cc (hash_path_name): Replace hash algorithm with SDBM.
Corinna Vinschen [Thu, 8 Apr 2004 12:21:15 +0000 (12:21 +0000)]
* path.cc (hash_path_name): Replace hash algorithm with SDBM.

20 years ago * fhandler.cc (fhandler_base::open): Set query access mode according
Corinna Vinschen [Thu, 8 Apr 2004 07:57:28 +0000 (07:57 +0000)]
* fhandler.cc (fhandler_base::open): Set query access mode according
to query_open setting.
(fhandler_base::fhandler_base): Initialize query_open.
* fhandler.h (FH_QUERYOPEN): Drop.
(enum query_state): Add.
(class fhandler_base): Add query_open member.
(fhandler_base::get_query_open): Redefine to use query_open.
(fhandler_base::set_query_open): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Remove O_DIROPEN
from open_flags since it's added in open_fs anyway.  Remove
query_open_already.  Use new query_open settings.  Rearrange slightly.
(fhandler_base::fstat_helper): Add get_io_handle as parameter to
get_file_attribute.
* security.cc (get_nt_object_attribute): Make returning an int.
Return -1 on error, 0 otherwise.
(get_file_attribute): Take an object handle as argument. Move down
to allow calling get_nt_object_attribute in case a non-NULL handle
is given.
* security.h (get_file_attribute): Add handle to argument list.
* syscalls.cc (chown_worker): Accomodate new definition of
get_file_attribute.

20 years ago* path.cc (path_prefix_p): Optimize test order.
Christopher Faylor [Thu, 8 Apr 2004 01:33:00 +0000 (01:33 +0000)]
* path.cc (path_prefix_p): Optimize test order.

20 years ago * Makefile.in (EXTRALIBS): Add libtextreadmode.a.
Corinna Vinschen [Tue, 6 Apr 2004 14:22:43 +0000 (14:22 +0000)]
* Makefile.in (EXTRALIBS): Add libtextreadmode.a.
(INSTOBJS): Add textreadmode.o.
* textreadmode.c: New file.

20 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Request
Corinna Vinschen [Tue, 6 Apr 2004 10:19:31 +0000 (10:19 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Request
compressed size only if the matching attributes are set.  Use
NtQueryInformationFile instead of GetCompressedFileSize.
(fhandler_base::fstat_by_handle): Remove NT 3.5 cruft since
local.dwVolumeSerialNumber isn't used subsequently.
* ntdll.h: Add typedefs for FILE_COMPRESSION_INFORMATION and
FILE_INFORMATION_CLASS.

20 years ago * fhandler_raw.cc (fhandler_dev_raw::open): Actually use "options".
Corinna Vinschen [Tue, 6 Apr 2004 07:57:59 +0000 (07:57 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::open): Actually use "options".

20 years ago2004-04-06 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Mon, 5 Apr 2004 16:25:07 +0000 (16:25 +0000)]
2004-04-06  Luke Dunstan  <infidel@users.sourceforge.net>

* include/ocidl.h (QACONTAINERFLAGS): Correct typedef.

20 years ago * fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Add implementation
Corinna Vinschen [Mon, 5 Apr 2004 08:30:41 +0000 (08:30 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Add implementation
for ioctl codes SNDCTL_DSP_CHANNELS and SNDCTL_DSP_GETCAPS.

20 years ago * winsup.api/devdsp.c (ioctltest): Add 2 tests for ioctl codes
Corinna Vinschen [Mon, 5 Apr 2004 08:30:13 +0000 (08:30 +0000)]
* winsup.api/devdsp.c (ioctltest): Add 2 tests for ioctl codes
SNDCTL_DSP_CHANNELS and SNDCTL_DSP_GETCAPS.

20 years ago* child_info.h (child_info::cygheap_reserve_sz): Rename from cygheap_alloc_sz.
Christopher Faylor [Sun, 4 Apr 2004 04:14:11 +0000 (04:14 +0000)]
* child_info.h (child_info::cygheap_reserve_sz): Rename from cygheap_alloc_sz.
* cygheap.cc: Rename alloc_sz to reserve_sz throughout.

20 years ago * fhandler.h (class fhandler_socket): Remove has_been_closed member.
Corinna Vinschen [Sat, 3 Apr 2004 19:07:59 +0000 (19:07 +0000)]
* fhandler.h (class fhandler_socket): Remove has_been_closed member.
* fhandler_socket.cc (fhandler_socket::recvfrom): Revert to
overlapped I/O.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::prepare): Ditto.
(wsock_event::wait): Ditto.  Evaluate overlapped result also after
calling CancelIo (thanks to Patrick Samson <p_samson@yahoo.com>).
(wsock_event::release): Remove.
* wsock_event.h: Revert to overlapped I/O.

20 years ago2004-04-02 Chris Demetriou <cgd@broadcom.com>
Jeff Johnston [Sat, 3 Apr 2004 01:02:51 +0000 (01:02 +0000)]
2004-04-02  Chris Demetriou  <cgd@broadcom.com>

        * mips/regs.S (C0_COUNT): Fix comment that kept this from being
        defined.
        * mips/vr4300.S: Use C0_COUNT as appropriate instead of hardcoding $9.
        * mips/vr5xxx.S: Likewise.

20 years ago * net.cc (wsock_event::release): Use NULL handle in call to
Corinna Vinschen [Fri, 2 Apr 2004 10:29:53 +0000 (10:29 +0000)]
* net.cc (wsock_event::release): Use NULL handle in call to
WSAEventSelect to resolve KB 168349.

20 years ago2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 2 Apr 2004 01:05:43 +0000 (01:05 +0000)]
2004-04-01  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/time/strptime.c: Add standard includes to avoid
        warning messages at compilation time.

20 years ago2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Apr 2004 00:59:17 +0000 (00:59 +0000)]
2004-04-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
        of file.

20 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Rearrange loop
Corinna Vinschen [Thu, 1 Apr 2004 17:00:21 +0000 (17:00 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Rearrange loop
so that WSARecvFrom is always called before waiting.
(fhandler_socket::recvmsg): Ditto.

20 years ago * net.cc (wsock_event::wait): Make wsa_err an int. Don't set
Corinna Vinschen [Thu, 1 Apr 2004 10:36:40 +0000 (10:36 +0000)]
* net.cc (wsock_event::wait): Make wsa_err an int.  Don't set
ret to 0 if any error has happened.

20 years ago * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
Danny Smith [Thu, 1 Apr 2004 10:04:04 +0000 (10:04 +0000)]
* crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
_fmode if not __MSVCRT__.

20 years ago * fhandler_socket.cc (fhandler_socket::sendto): Drop out of loop if
Corinna Vinschen [Thu, 1 Apr 2004 09:48:15 +0000 (09:48 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Drop out of loop if
has_been_closed gets set.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::wait): Don't initialize evts.  Don't try to
evaluate network events if WSAEnumNetworkEvents fails.
(wsock_event::release): Save last WSA error and set it again unless
resetting to blocking socket fails.
* wsock_event.h (class wsock_event): Remove destructor.

20 years ago * fhandler_tape.cc (mtinfo::initialize): Fix fatal error message.
Corinna Vinschen [Wed, 31 Mar 2004 19:34:27 +0000 (19:34 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Fix fatal error message.

20 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
Corinna Vinschen [Wed, 31 Mar 2004 15:33:33 +0000 (15:33 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
ret to 0 when using in Winsock call.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.

20 years ago * fhandler_tape.cc (mtinfo_drive::get_pos): Only set partition if
Corinna Vinschen [Wed, 31 Mar 2004 12:04:07 +0000 (12:04 +0000)]
* fhandler_tape.cc (mtinfo_drive::get_pos): Only set partition if
GetTapePosition returned a non-zero partition number.
(mtinfo_drive::create_partitions): Reinitialize to partition 0.
Support TAPE_DRIVE_INITIATOR and TAPE_DRIVE_FIXED partitioning.
(mtinfo_drive::set_partition): Initialize new partition.
(mtinfo_drive::status): Readd accidentally dropped setting of mt_resid.

* net.cc (wsock_event::prepare): Always print debug output in case
of error.

20 years ago * fhandler_socket.cc (fhandler_socket::sendmsg): Add SIGPIPE handling.
Corinna Vinschen [Wed, 31 Mar 2004 10:10:59 +0000 (10:10 +0000)]
* fhandler_socket.cc (fhandler_socket::sendmsg): Add SIGPIPE handling.

20 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Initialize res to
Corinna Vinschen [Wed, 31 Mar 2004 09:13:54 +0000 (09:13 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Initialize res to
SOCKET_ERROR.  Use SOCKET_ERROR instead of -1 throughout.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::prepare): Call WSASetLastError instead of
SetLastError.
(wsock_event::wait): Use SOCKET_ERROR instead of -1.

20 years ago2003-03-30 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 31 Mar 2004 01:27:53 +0000 (01:27 +0000)]
2003-03-30  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/h8300/Makefile.am: Reformat slightly.
        * libc/machine/h8300/Makefile.in: Regenerate.

20 years ago2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Tue, 30 Mar 2004 21:49:12 +0000 (21:49 +0000)]
2004-03-30  Danny Smith  <dannysmith@users.sourceforge.net>

* include/io.h: (_findfirst): Correct prototype.

2004-03-30  Hans Leidekker  <hans@it.vu.nl>

* include/io.h: (_findnext, _findclose): Correct prototype.

20 years ago* thread.h (pthread::init_mainthread): Add parameter forked. Set forked
Christopher Faylor [Tue, 30 Mar 2004 21:27:50 +0000 (21:27 +0000)]
* thread.h (pthread::init_mainthread): Add parameter forked.  Set forked
default to false..
* thread.cc (MTinterface::fixup_after_fork): Call pthread::init_mainthread with
forked = true.
(pthread::init_mainthread): Add parameter forked.  Do not change thread self
pointer when forked.

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.

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