]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago * CONTRIBUTORS: New file.
Earnie Boyd [Tue, 20 Apr 2004 22:49:32 +0000 (22:49 +0000)]
* CONTRIBUTORS: New file.
* DISCLAIMER: Ditto.
* CRT_noglob.c: Reword copyright and disclaimer.  Move Contributors
section CONTRIBUTORS file.  Remove RCS tags.
* CRTFmode.c: Ditto.
* CRTglob.c: Ditto.
* CRTinit.c: Ditto.
* crt1.c: Ditto.
* crtdll.dev: Ditto.
* dllcrt1.c: Ditto.
* dllmain.c: Ditto.
* gccmain.c: Ditto.
* init.c: Ditto.
* isascii.c: Ditto.
* iscsym.c: Ditto.
* iscsymf.c: Ditto.
* jamfile: Ditto.
* main.c: Ditto.
* msvcrt.def.in: Ditto.
* strcasecmp.c: Ditto.
* toascii.c: Ditto.
* wcscmpi.c: Ditto.
* include/assert.h: Ditto.
* include/conio.h: Ditto.
* include/ctype.h: Ditto.
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/errno.h: Ditto.
* include/excpt.h: Ditto.
* include/fcntl.h: Ditto.
* include/float.h: Ditto.
* include/io.h: Ditto.
* include/locale.h: Ditto.
* include/malloc.h: Ditto.
* include/math.h: Ditto.
* include/process.h: Ditto.
* include/setjmp.h: Ditto.
* include/share.h: Ditto.
* include/signal.h: Ditto.
* include/stdio.h: Ditto.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/tchar.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/sys/locking.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/stat.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* mingwex/dirent.c: Ditto.

20 years agofix comment
Christopher Faylor [Tue, 20 Apr 2004 18:46:15 +0000 (18:46 +0000)]
fix comment

20 years ago* path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.
Christopher Faylor [Tue, 20 Apr 2004 18:45:16 +0000 (18:45 +0000)]
* path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.
* path.cc (normalize_posix_path): Process all Posix paths and map three or more
initial slashes to a single one.  Simplify processing following two initial
slashes.
(normalize_win32_path): Make last argument non-optional and do not check for
NULL value.

20 years ago * fhandler_disk_file.cc (fhandler_base::open_fs): Change
Corinna Vinschen [Tue, 20 Apr 2004 15:51:24 +0000 (15:51 +0000)]
* fhandler_disk_file.cc (fhandler_base::open_fs): Change
set_file_attribute call to indicate that NT security isn't used.
(fhandler_disk_file::fchmod): Rearrange to isolate 9x related
statements.
Do not set FILE_ATTRIBUTE_SYSTEM.
(fhandler_disk_file::fchown): Check noop case first.
* fhandler.cc (fhandler_base::open9x): Remove ntsec related statements.
(fhandler_base::set_name): Do not set namehash.
* fhandler.h (fhandler_base::get_namehash): Compute and set namehash if
needed.
* syscalls.cc (access): Verify that fh is not NULL. Do not set PC_FULL.
(chmod): Ditto.
(chown_worker): Ditto.
(stat_worker): Ditto. Verify if the path exists.

20 years ago* include/wingdi.h: Protect non-unicode case of below.
Christopher Faylor [Tue, 20 Apr 2004 15:17:36 +0000 (15:17 +0000)]
* include/wingdi.h: Protect non-unicode case of below.

20 years ago* include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,
Christopher Faylor [Tue, 20 Apr 2004 15:10:26 +0000 (15:10 +0000)]
* include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,
LPENUMLOGFONTEXDV with appropriate version check.

20 years agoAdd support for a .secrel32 x86 reloc to allow DWARF" debug information to used
Nick Clifton [Tue, 20 Apr 2004 12:17:16 +0000 (12:17 +0000)]
Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
with COFF based x86 ports.

20 years ago2004-04-18 Hans Leidekker <hans@it.vu.nl>
Luke Dunstan [Tue, 20 Apr 2004 12:08:47 +0000 (12:08 +0000)]
2004-04-18  Hans Leidekker  <hans@it.vu.nl>

* lib/directx/dxguid.c (CLSID_DirectSoundPrivate,
DSPROPSETID_DirectSoundDevice): Add defines.

20 years ago * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
Corinna Vinschen [Tue, 20 Apr 2004 11:14:02 +0000 (11:14 +0000)]
* libc/include/sys/unistd.h (ttyname_r): Add missing comma.

20 years ago * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
Corinna Vinschen [Tue, 20 Apr 2004 11:09:36 +0000 (11:09 +0000)]
* libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.

20 years ago * fhandler.cc (fhandler_base::open): Remove special DEV_FLOPPY_MAJOR
Corinna Vinschen [Tue, 20 Apr 2004 11:01:22 +0000 (11:01 +0000)]
* fhandler.cc (fhandler_base::open): Remove special DEV_FLOPPY_MAJOR
treatment.
* fhandler_raw.cc (fhandler_dev_raw::open): Simplify write-only case.
* fhandler_tape.cc (fhandler_dev_tape::raw_write): Add accidentally
dropped condition.

20 years ago * fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES when
Corinna Vinschen [Tue, 20 Apr 2004 10:24:37 +0000 (10:24 +0000)]
* fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES when
only GENERIC_WRITE access is requested.

20 years ago2004-04-20 Adrian Sandor <aditsu@users.sourceforge.net>
Luke Dunstan [Tue, 20 Apr 2004 09:48:52 +0000 (09:48 +0000)]
2004-04-20  Adrian Sandor  <aditsu@users.sourceforge.net>

* include/msacm.h: New file.

20 years ago * include/cygwin/mtio.h (GMT_ASYNC): New define.
Corinna Vinschen [Mon, 19 Apr 2004 19:41:13 +0000 (19:41 +0000)]
* include/cygwin/mtio.h (GMT_ASYNC): New define.
(MT_ST_ASYNC_WRITES): Remove "Not supported" comment.

20 years ago * errno.cc (errmap): Handle ERROR_IO_PENDING.
Corinna Vinschen [Mon, 19 Apr 2004 19:29:10 +0000 (19:29 +0000)]
* errno.cc (errmap): Handle ERROR_IO_PENDING.
* fhandler.cc (fhandler_base::open): Make tape I/O asynchronous.
* fhandler.h (class fhandler_dev_tape): Add mt_evt member.
* fhandler_tape.cc (mtinfo_drive::initialize): Initialize async_writes.
(mtinfo_drive::close): Handle async writes.
(mtinfo_drive::read): Add mt_evt parameter.  Use overlapped I/O.
(mtinfo_drive::async_wait): New function.
(mtinfo_drive::write): Add mt_evt parameter.  Use overlapped I/O.
Handle async writes.
(mtinfo_drive::_set_pos): Handle async writes.
(mtinfo_drive::set_partition): Ditto.
(mtinfo_drive::prepare): Ditto.
(mtinfo_drive::get_status): Drop useless "else".  Handle async_writes
flag.
(mtinfo_drive::set_options): Handle async_writes flags.
(fhandler_dev_tape::close): Close mt_evt handle.
(fhandler_dev_tape::raw_read): Create mt_evt handle and use in call
to mtinfo_drive::read.
(fhandler_dev_tape::raw_write): Create mt_evt handle and use in call
to mtinfo_drive::write.
* mtinfo.h (MTINFO_VERSION): Bump.
(enum dirty_state): Add async_write_pending state.
(class mtinfo_drive): Add OVERLAPPED struct "ov".  Add async_writes
flag.
(mtinfo_drive::async_wait): Add declaration.
(mtinfo_drive::read): Add mt_evt parameter.
(mtinfo_drive::write): Ditto.

* registry.cc (load_registry_hive): Call enable_restore_privilege
instead of set_process_privilege.

20 years ago * include/_mingw.h: Revert to primary release 3 and increment minor
Earnie Boyd [Mon, 19 Apr 2004 17:01:27 +0000 (17:01 +0000)]
* include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.
* Makefile.in (VERSION): Ditto.

20 years ago * include/_mingw.h: Revert to primary release 3 and increment minor
Earnie Boyd [Mon, 19 Apr 2004 16:58:40 +0000 (16:58 +0000)]
* include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.

20 years ago * configure.in (mips*-*-irix5*): Enable ld.
Rainer Orth [Mon, 19 Apr 2004 15:38:50 +0000 (15:38 +0000)]
* configure.in (mips*-*-irix5*): Enable ld.
* configure: Regenerate.

20 years ago * fhandler_tape.cc (mtinfo_drive::_set_pos): Take additional dont_wait
Corinna Vinschen [Mon, 19 Apr 2004 13:07:55 +0000 (13:07 +0000)]
* fhandler_tape.cc (mtinfo_drive::_set_pos): Take additional dont_wait
parameter.  Use in call to SetTapePosition.
(mtinfo_drive::set_pos): Accomodate _set_pos calls to above change.
(mtinfo_drive::set_partition): Ditto.
* mtinfo.h (mtinfo_drive::_set_pos): Change declaration accordingly.

20 years agoClean up ChangeLog punctuation and typeo.
Danny Smith [Sun, 18 Apr 2004 20:48:29 +0000 (20:48 +0000)]
Clean up ChangeLog punctuation and typeo.
Thanks to Filip Navara  <xnavara@volny.cz>.

20 years ago2004-01-09 Stuart Cunningham <stuart_hc@users.sourceforge.net>
Luke Dunstan [Sun, 18 Apr 2004 07:29:39 +0000 (07:29 +0000)]
2004-01-09  Stuart Cunningham  <stuart_hc@users.sourceforge.net>

* include/objbase.h (STGFMT): Declare enum.
(STGOPTIONS): Declare structure.
(StgCreateStorageEx, StgOpenStorageEx): Declare.
(STGOPTIONS_VERSION): Define.
* lib/ole32.def (StgCreateStorageEx, StgOpenStorageEx): Add stubs.

20 years agoMerge numerous changes from ReactOS. Submitted by Filip Navara.
Luke Dunstan [Sun, 18 Apr 2004 07:07:57 +0000 (07:07 +0000)]
Merge numerous changes from ReactOS. Submitted by Filip Navara.

20 years ago2004-04-18 Allan Bazinet <bazineta@users.sourceforge.net>
Luke Dunstan [Sun, 18 Apr 2004 04:32:13 +0000 (04:32 +0000)]
2004-04-18  Allan Bazinet  <bazineta@users.sourceforge.net>

* include/winuser.h (MONITORINFOEX[AW]): Change to be derived from
MONITORINFO when compiling as C++.

20 years agofix comments
Christopher Faylor [Sat, 17 Apr 2004 17:53:29 +0000 (17:53 +0000)]
fix comments

20 years ago2004-04-17 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Sat, 17 Apr 2004 13:44:05 +0000 (13:44 +0000)]
2004-04-17  Luke Dunstan  <infidel@users.sourceforge.net>

* README.w32api: List separate copyright conditions for some headers.
* include/(winsock2.h, wsipx.h): Minor change to copyright header.

20 years ago * autoload.cc (NtCreateFile): Add.
Corinna Vinschen [Fri, 16 Apr 2004 21:22:13 +0000 (21:22 +0000)]
* autoload.cc (NtCreateFile): Add.
* dir.cc (mkdir): Change set_file_attribute call to indicate that
NT security isn't used.
* fhandler.cc (fhandler_base::open_9x): New method, created from
fhandler_base::open.
(fhandler_base::open): Rearrange to use NtCreateFile instead of
CreateFile.
* fhandler.h (enum query_state): Redefine query_null_access to
query_stat_control.  query_null_access isn't allowed in NtCreateFile.
(fhandler_base::open_9x): Declare.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Use
query_stat_control first, query_read_control if that fails.
(fhandler_disk_file::fchmod): Call enable_restore_privilege before
trying to open for query_write_control.  Don't fall back to
opening for query_read_control.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl):  Only request restore privilege and query
access necessary for given cmd.
* fhandler_raw.cc (fhandler_dev_raw::open): Call fhandler_base::open
instead of opening device here.
* ntdll.h (NtCreateFile): Declare.
* path.cc (symlink_worker): Change set_file_attribute call to indicate
that NT security isn't used.
* sec_acl.cc (getacl): Fix bracketing.
* sec_helper.cc (enable_restore_privilege): New function.
* security.cc (str2buf2uni_cat): New function.
(write_sd): Don't request restore permission here.
* security.h (set_process_privileges): Drop stale declaration.
(str2buf2uni): Declare.
(str2buf2uni_cat): Declare.
(enable_restore_privilege): Declare.
* syscalls.cc (fchown32): Return immediate success on 9x.

20 years agoFix LDFLAGS related configure errors.
Jim Wilson [Fri, 16 Apr 2004 07:17:44 +0000 (07:17 +0000)]
Fix LDFLAGS related configure errors.
* Makefile.tpl (configure-[+module+], configure-gcc,
configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc):
Set and export LDFLAGS.
* Makefile.in: Regenerate.

20 years ago.
Christopher Faylor [Fri, 16 Apr 2004 01:48:37 +0000 (01:48 +0000)]
.

20 years agoCheck in missed file.
Christopher Faylor [Thu, 15 Apr 2004 17:38:23 +0000 (17:38 +0000)]
Check in missed file.

20 years ago* autoload.cc (dll_chain1): Rename to dll_chain. Remove old dll_chain code.
Christopher Faylor [Thu, 15 Apr 2004 17:38:02 +0000 (17:38 +0000)]
* autoload.cc (dll_chain1): Rename to dll_chain.  Remove old dll_chain code.
(wsock_init): Avoid unneeded winsock_active tests.
* winsup.h (winsock_active): Delete.

20 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmo): Try opening
Corinna Vinschen [Thu, 15 Apr 2004 15:56:52 +0000 (15:56 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmo): Try opening
in query_read mode if query_write fails.
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::facl): Ditto.

20 years ago2004-04-15 Danny Smith <dannysmith@users.sourceforge.net>
Luke Dunstan [Thu, 15 Apr 2004 11:51:00 +0000 (11:51 +0000)]
2004-04-15  Danny Smith  <dannysmith@users.sourceforge.net>

* include/wingdi.h (RGB): Correct macro.

20 years ago Fix case.
Corinna Vinschen [Wed, 14 Apr 2004 21:16:31 +0000 (21:16 +0000)]
Fix case.

20 years ago * ntdll.h: Fix copyright date.
Corinna Vinschen [Wed, 14 Apr 2004 21:11:45 +0000 (21:11 +0000)]
* ntdll.h: Fix copyright date.
* sec_acl.cc (acl_worker): delete allocated fhandler.
* syscalls.cc (chown_worker): Ditto.
(chmod): Ditto.
(stat_worker): Use get_namehash instead of hash_path_name.

20 years ago * sec_acl.cc (getacl): Avoid compiler warning.
Corinna Vinschen [Wed, 14 Apr 2004 20:16:29 +0000 (20:16 +0000)]
* sec_acl.cc (getacl): Avoid compiler warning.
* security.cc (write_sd): Ditto.  Fix error handling.

20 years ago * syscalls.cc (fstat64): Use get_namehash instead of hash_path_name.
Corinna Vinschen [Wed, 14 Apr 2004 16:51:28 +0000 (16:51 +0000)]
* syscalls.cc (fstat64): Use get_namehash instead of hash_path_name.

20 years ago * fhandler.cc (fhandler_base::open): Simplify access evaluation
Corinna Vinschen [Wed, 14 Apr 2004 16:36:26 +0000 (16:36 +0000)]
* fhandler.cc (fhandler_base::open): Simplify access evaluation
expression.
(fhandler_base::facl): New method.
* fhandler.h: Declare facl method in fhandler_base,
fhandler_disk_file and fhandler_virtual.
* fhandler_disk_file.cc (fhandler_disk_file::facl): New method.
* fhandler_virtual.cc (fhandler_virtual::facl): New method.
* sec_acl.cc: Remove forward declaration for aclsort32 and acl32.
(setacl): Remove static.  Add and use handle parameter.
(getacl): Ditto.
(acl_worker): Reorganize to call fhandler's facl method eventually.
(facl32): Ditto.
* security.cc (get_nt_object_security): Remove static.
* security.h: Add extern declarations for get_nt_object_security,
aclsort32, acl32, getacl and setacl.

Apply missing syscalls.cc patch and ChangeLog of previous check in.
* syscalls.cc (chown_worker): Reorganize to call fhandler's fchown
method eventually.
(fchown): Ditto.

20 years ago * fhandler.cc (fhandler_base::open): Accomodate query_write_control
Corinna Vinschen [Wed, 14 Apr 2004 13:40:07 +0000 (13:40 +0000)]
* fhandler.cc (fhandler_base::open): Accomodate query_write_control
query_state.
(fhandler_base::fchown): New method.
* fhandler.h: Declare fchown method in fhandler_base,
fhandler_disk_file and fhandler_virtual.
(enum query_state): Add query_write_control.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Set query_state
to query_write_control.  Only remove FILE_ATTRIBUTE_READONLY if not
setting security descriptor.
(fhandler_disk_file::fchown): New method.
* fhandler_virtual.cc (fhandler_virtual::fchown): New method.
* sec_acl.cc (setacl): Call write_sd with additional handle attribute.
* security.cc (write_sd): Take handle argument.  Only request owner
if getting SE_RESTORE_NAME privilege failed.  Only open file if
NtSetSecurityObject failed or handle is NULL.
(set_nt_attribute): Call write_sd with additional handle attribute.
* security.h (write_sd): Declare with additional handle argument.

20 years ago2004-04-14 Robert Wruck <rwruck@users.sourceforge.net>
Danny Smith [Wed, 14 Apr 2004 10:53:17 +0000 (10:53 +0000)]
2004-04-14  Robert Wruck  <rwruck@users.sourceforge.net>

* include/ddk/winddk.h (RtlEqualLuid): Correct macro.

20 years ago * autoload.cc (NtSetSecurityObject): Add.
Corinna Vinschen [Wed, 14 Apr 2004 10:20:26 +0000 (10:20 +0000)]
* autoload.cc (NtSetSecurityObject): Add.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only request
READ_CONTROL rights when opening the file.
* ntdll.h (NtSetSecurityObject): Add declaration.
* security.cc (write_sd): Call NtSetSecurityObject instead of
BackupWrite.
(get_nt_object_security): Don't free security descriptor here.

* syscalls.cc (ttyname): Use buffer of length TTY_NAME_MAX + 1.
* sysconf.cc (sysconf): Handle _SC_TTY_NAME_MAX request.
* include/limits.h: Define TTY_NAME_MAX and _POSIX_TTY_NAME_MAX.

20 years ago * cygwin.din: Export rand_r and ttyname_r.
Corinna Vinschen [Wed, 14 Apr 2004 09:12:04 +0000 (09:12 +0000)]
* cygwin.din: Export rand_r and ttyname_r.
* syscalls.cc (ttyname_r): New function.
(ttyname): Move functionality to ttyname_r.  Call it from here.
* include/cygwin/version.h: Bump API minor number.

20 years ago2004-04-14 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Wed, 14 Apr 2004 03:08:00 +0000 (03:08 +0000)]
2004-04-14  Pierre Humblet <pierre.humblet@ieee.org>

        * path.h (path_conv::set_symlink): Add argument.
        (path_conv::get_symlink_length): New method.
        (path_conv::symlink_length): New member.
        * path.cc (path_conv::check): Pass symlen to set_symlink.
        * fhandler_disk_file.cc (fhandler_base::fstat_helper): For symlinks
        set st_size from get_symlink_length.

20 years agoTypo fix: s/otheriwse/otherwise/
Ben Elliston [Wed, 14 Apr 2004 01:26:14 +0000 (01:26 +0000)]
Typo fix: s/otheriwse/otherwise/

20 years ago * security.cc (set_nt_attribute): Only call get_nt_object_security
Corinna Vinschen [Tue, 13 Apr 2004 20:45:14 +0000 (20:45 +0000)]
* security.cc (set_nt_attribute): Only call get_nt_object_security
if handle is NULL.

20 years ago * dir.cc (mkdir): Call set_file_attribute with additional handle
Corinna Vinschen [Tue, 13 Apr 2004 20:36:58 +0000 (20:36 +0000)]
* dir.cc (mkdir): Call set_file_attribute with additional handle
argument.
* fhandler.cc (fhandler_base::fchmod): New method.
* fhandler.h: Declare fchmod method in fhandler_base,
fhandler_disk_file and fhandler_virtual.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): New method.
(fhandler_base::open_fs): Call set_file_attribute with additional
handle argument.
* fhandler_virtual.cc (fhandler_virtual::fchmod): New method.
* path.cc (symlink_worker): Call set_file_attribute with additional
handle argument.
* security.cc (get_nt_object_security): New function.
(get_nt_object_attribute): Call get_nt_object_security.
(set_nt_attribute): Add handle argument.  Call get_nt_object_security
first, read_sd only if that fails.
(set_file_attribute): Add handle argument.
* security.h (set_file_attribute): Declare with additional handle
argument.
* syscalls.cc (stat_suffixes): Move to beginning of file.
(chown_worker): Call set_file_attribute with additional handle argument.
(chmod): Reorganize to call fhandler's fchmod method eventually.
(fchmod): Ditto.

20 years agomerge from gcc
DJ Delorie [Tue, 13 Apr 2004 15:23:09 +0000 (15:23 +0000)]
merge from gcc

20 years ago * autoload.cc (NtQuerySecurityObject): Add.
Corinna Vinschen [Tue, 13 Apr 2004 12:14:59 +0000 (12:14 +0000)]
* autoload.cc (NtQuerySecurityObject): Add.
* ntdll.h (STATUS_BUFFER_TOO_SMALL): Add definition.
(NtQuerySecurityObject): Add declaration.
* security.cc (get_nt_object_attribute): Always use
NtQuerySecurityObject to retrieve security descriptor.

20 years ago * winsup.api/devdsp.c (forkrectest): Move synchronization with child
Corinna Vinschen [Tue, 13 Apr 2004 09:40:03 +0000 (09:40 +0000)]
* winsup.api/devdsp.c (forkrectest): Move synchronization with child
so that test passes also under high CPU load.
(forkplaytest): Ditto.
(abortplaytest): New function to test ioctl code SNDCTL_DSP_RESET.

20 years ago * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Add optional
Corinna Vinschen [Tue, 13 Apr 2004 09:38:32 +0000 (09:38 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Add optional
boolean argument so that playing can be stopped without playing
pending buffers.
(fhandler_dev_dsp::ioctl): Stop playback immediately for
SNDCTL_DSP_RESET.  Do not reset audio parameters in this case.
Add support for ioctl SNDCTL_DSP_GETISPACE.
(fhandler_dev_dsp::Audio_out::emptyblocks): Now returns the number of
completely empty blocks.
(fhandler_dev_dsp::Audio_out::buf_info): p->fragments is now the number
of completely empty blocks. This conforms with the OSS specification.
(fhandler_dev_dsp::Audio_out::parsewav): Ignore wave headers that are
not aligned on four byte boundary.
(fhandler_dev_dsp::Audio_in::buf_info): New, needed for
SNDCTL_DSP_GETISPACE.

20 years ago * winsup.h (IMPLEMENT_STATUS_FLAG): New macro to define status flag
Corinna Vinschen [Tue, 13 Apr 2004 09:04:22 +0000 (09:04 +0000)]
* winsup.h (IMPLEMENT_STATUS_FLAG): New macro to define status flag
accessor methods unambiguously.
* fhandler.h: Use IMPLEMENT_STATUS_FLAG throughout where possible.
* fhandler_termios.cc (fhandler_termios::tcinit): Call corrected
accessor for initialized status flag.
* mtinfo.h (class mtinfo_drive): Use IMPLEMENT_STATUS_FLAG throughout.
* path.cc (fs_info::update): Remove duplicate call to flags().
* path.h (struct fs_info): Use IMPLEMENT_STATUS_FLAG where possible.
(path_conv::is_auto_device): Fix spacing.
* tty.h (class tty_min): Use IMPLEMENT_STATUS_FLAG throughout.

20 years agoUpdate libtool entry.
Ben Elliston [Tue, 13 Apr 2004 03:49:20 +0000 (03:49 +0000)]
Update libtool entry.

20 years ago* thread.cc (pthread::thread_init_wrapper): Wait later to get more parallel
Christopher Faylor [Tue, 13 Apr 2004 03:25:50 +0000 (03:25 +0000)]
* thread.cc (pthread::thread_init_wrapper): Wait later to get more parallel
behavior.

20 years ago* thread.cc (pthread::create): Use thread mutex to control synchronization
Christopher Faylor [Tue, 13 Apr 2004 02:59:19 +0000 (02:59 +0000)]
* thread.cc (pthread::create): Use thread mutex to control synchronization
rather than creating a suspended thread.  Wait for "cancellation event" to
indicate that started thread has been properly initialized.
(pthread::thread_init_wrapper): Use set_tls_self_pointer() to set tid and
cygtls.  Signal with cancel_event when done.

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.

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