]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years ago* autoload.cc: Add winmm functions needed by fhandler_dsp.cc.
Christopher Faylor [Mon, 16 Apr 2001 03:27:16 +0000 (03:27 +0000)]
* autoload.cc: Add winmm functions needed by fhandler_dsp.cc.
* fhandler_dsp.cc: New file.  Implements OSS like /dev/dsp.
* include/sys/soundcard.h: New file.  User land includes for OSS /dev/dsp.
* fhandler.h: Add new class fhandler_dev_dsp and a FH_OSS_DSP definition.
* dtable.cc (dtable::build_fhandler): Allow creation of the /dev/dsp device.
* path.cc (windows_device_names): Add /dev/dsp into list of device names.
* Makefile.in (DLL_OFILES): Add fhandler_dsp.o.

23 years ago* mount.cc (longopts): Add help to options list.
Christopher Faylor [Mon, 16 Apr 2001 02:51:03 +0000 (02:51 +0000)]
* mount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string.
* umount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string and change 'R' to 'A'.

23 years ago* uname.c (uname): Default n in in86 to 6 if Windows returns > 6.
Christopher Faylor [Sun, 15 Apr 2001 20:39:46 +0000 (20:39 +0000)]
* uname.c (uname): Default n in in86 to 6 if Windows returns > 6.

23 years agoPatch by Kazuhiro Fujieda <fujieda@jaist.ac.jp>:
Corinna Vinschen [Sun, 15 Apr 2001 14:09:33 +0000 (14:09 +0000)]
Patch by Kazuhiro Fujieda  <fujieda@jaist.ac.jp>:
        * mkgroup.c (enum_groups): Use RID + offset specified an additional
        argument as ID.
        (usage): Add description of -o option.
        (longopts, opts): Add specifications of -o/--id-offset option.
        (main): Add -o option. Invoke enum_groups with specified offset.
        * mkpasswd.c (enum_users): Just like mkgroup.c.
        (usage, longopts, opts): Ditto.
        (main): Add -o option. Invoke enum_users with specified offset
        only against domain accounts.

23 years ago * path.cc (add_ext_from_sym): Redefine to call `add_ext_from_sym_'.
Corinna Vinschen [Sun, 15 Apr 2001 14:00:45 +0000 (14:00 +0000)]
    * path.cc (add_ext_from_sym): Redefine to call `add_ext_from_sym_'.
        (add_ext_from_sym_): New inline function.

23 years ago* config.h.in: Turn on VFORK by default.
Christopher Faylor [Sat, 14 Apr 2001 23:24:07 +0000 (23:24 +0000)]
* config.h.in: Turn on VFORK by default.

23 years ago* net.cc (cygwin_socket): Set SO_LINGER to small value so closed UNIX domain
Christopher Faylor [Sat, 14 Apr 2001 22:11:03 +0000 (22:11 +0000)]
* net.cc (cygwin_socket): Set SO_LINGER to small value so closed UNIX domain
sockets will not stay around.
* select.cc (socket_cleanup): Set SO_LINGER to small value so closed dummy
sockets do not stay around.  Use correct value for second argument to shutdown.

23 years agoSat Apr 14 17:04:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 14 Apr 2001 07:06:02 +0000 (07:06 +0000)]
Sat Apr 14 17:04:00 2001  Robert Collins <rbtcollins@hotmail.com>

* thread.h (MTinterface): Add threadcount.
* thread.cc (MTinterface::Init): Set threadcount to 1.
(__pthread_create): Increment threadcount.
(__pthread_exit): Decrement threadcount and call exit() from the last thread.

23 years ago* libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
Christopher Faylor [Fri, 13 Apr 2001 15:37:47 +0000 (15:37 +0000)]
* libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).

23 years agoFix ChangeLog format.
Christopher Faylor [Fri, 13 Apr 2001 15:34:33 +0000 (15:34 +0000)]
Fix ChangeLog format.

23 years ago* fork.cc (fork_child): Call the __pthread_atforkchild function.
Christopher Faylor [Fri, 13 Apr 2001 15:28:20 +0000 (15:28 +0000)]
* fork.cc (fork_child): Call the __pthread_atforkchild function.
(fork_parent): Call the __pthread_atforkparent function.
* cygwin.din: Export pthread_atfork.
* thread.h (callback): New class.
(MTinterface): Use it.
* thread.cc (__pthread_atforkprepare): New function.
(__pthread_atforkparent): New function.
(__pthread_atforkchild): New function.
(__pthread_atfork): New function.
* pthread.cc (pthread_atfork): New function.

23 years ago * path.cc (add_ext_from_sym): New define evaluating `known'suffix'.
Corinna Vinschen [Fri, 13 Apr 2001 07:54:20 +0000 (07:54 +0000)]
    * path.cc (add_ext_from_sym): New define evaluating `known'suffix'.
        (path_conv::check): Use add_ext_from_sym throughout.

23 years agobfd/
Jakub Jelinek [Fri, 13 Apr 2001 00:34:36 +0000 (00:34 +0000)]
bfd/
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.

23 years ago * cygwinenv.sgml: Add text for `check_case' option.
Corinna Vinschen [Thu, 12 Apr 2001 21:52:38 +0000 (21:52 +0000)]
    * cygwinenv.sgml: Add text for `check_case' option.

23 years ago * dir.cc (mkdir): Check for case clash.
Corinna Vinschen [Thu, 12 Apr 2001 21:21:37 +0000 (21:21 +0000)]
    * dir.cc (mkdir): Check for case clash.
        * environ.cc: Add extern declaration for `pcheck_case'.
        (check_case_init): New function.
        (struct parse_thing): Add "check_case" option.
        * errno.cc (_sys_nerrlist): Add text for ECASECLASH.
        (strerror): Add case branch for ECASECLASH.
        * fhandler.cc (fhandler_disk_file::open): Check for case clash.
        * path.cc: Add global variable `pcheck_case'.
        (struct symlink_info): Add member `case_clash' and method `case_check'.
        (path_prefix_p_): Call `pathnmatch' instead of `strncasematch'.
        (pathnmatch): New funtion.
        (pathmatch): Ditto.
        (path_conv::check): Add handling for case checking.
        (symlink): Check for case clash.
        (symlink_info::check): Add parameter for case checking.
        Handle case checking.
        (symlink_info::case_check): New method.
        (chdir): Don't use unconverted path if pcheck_case==PCHECK_STRICT.
        * path.h: Add extern declarations for `pathmatch' and
        `pathnmatch'.
        (enum case_checking): New enumeration type describing
        the case checking behaviour of path conversion routines.
        (class path_conv): Add member `case_clash'.
        * syscalls.cc (_link): Check for case clash.

23 years ago * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
Corinna Vinschen [Thu, 12 Apr 2001 21:17:27 +0000 (21:17 +0000)]
    * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
        on case insensitve file systems.

23 years ago* syscalls.cc (mkfifo): New function stub.
Christopher Faylor [Thu, 12 Apr 2001 16:50:13 +0000 (16:50 +0000)]
* syscalls.cc (mkfifo): New function stub.

23 years ago* configure.in: Remove PTH_ALLOW.
Christopher Faylor [Thu, 12 Apr 2001 15:40:18 +0000 (15:40 +0000)]
* configure.in: Remove PTH_ALLOW.
* cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions.  Add new
pthread exports.
* pthread.cc: New wrapper functions for the above new exports.
* sched.cc (valid_sched_parameters): New function.
(sched_setparam): Use it.
(sched_set_thread_priority): New function.  Used by pthread_sched*.
* thread.cc (pthread_key_destructor::InsertAfter): New function.
(pthread_key_destructor::UnlinkNext): New function.
(pthread_key_destructor::Next): New function.
(pthread_key_destructor_list::Insert): New function.
(pthread_key_destructor_list::Remove): New function.
(pthread_key_destructor_list::Pop): New function.
(pthread_key_destructor::pthread_key_destructor): New function.
(pthread_key_destructor_list::IterateNull): New function.
(MTinterface::Init): Initialise new member.
(pthread::pthread): Initialise new members.
(pthread::create): Copy new attributes.  Set the new thread priority.
(pthread_attr::pthread_attr): Initialise new members.
(pthread_key::pthread_key): Setup destructor function.
(pthread_key::~pthread_key): Remove destructor function.
(pthread_mutexattr::pthread_mutexattr): New function.
(pthread_mutexattr::~pthread_mutexattr): New function.
(__pthread_once): New function.
(__pthread_cleanup): New function.
(__pthread_cancel): New function.
(__pthread_setcancelstate): New function.
(__pthread_setcanceltype): New function.
(__pthread_testcancel): New function.
(__pthread_attr_getinheritsched): New function.
(__pthread_attr_getschedparam): New function.
(__pthread_attr_getschedpolicy): New function.
(__pthread_attr_getscope): New function.
(__pthread_attr_setinheritsched): New function.
(__pthread_attr_setschedparam): New function.
(__pthread_attr_setschedpolicy): New function.
(__pthread_attr_setscope): New function.
(__pthread_exit): Call any key destructors on thread exit.
(__pthread_join): Use the embedded attr values.
(__pthread_detach): Use the embedded attr values.
(__pthread_getconcurrency): New function.
(__pthread_getschedparam): New function.
(__pthread_key_create): Pass the destructor on object creation.
(__pthread_key_delete): Correct incorrect prototype.
(__pthread_setconcurrency): New function.
(__pthread_setschedparam): New function.
(__pthread_cond_timedwait): Support static mutex initialisers.
(__pthread_cond_wait): Ditto.
(__pthread_mutex_getprioceiling): New function.
(__pthread_mutex_lock): Support static mutex initialisers.
(__pthread_mutex_trylock): Ditto.
(__pthread_mutex_unlock): Ditto.
(__pthread_mutex_destroy): Ditto.
(__pthread_mutex_setprioceiling): New function.
(__pthread_mutexattr_getprotocol): New function.
(__pthread_mutexattr_getpshared): New function.
(__pthread_mutexattr_gettype): New function.
(__pthread_mutexattr_init): New function.
(__pthread_mutexattr_destroy): New function.
(__pthread_mutexattr_setprotocol): New function.
(__pthread_mutexattr_setprioceiling): New function.
(__pthread_mutexattr_getprioceiling): New function.
(__pthread_mutexattr_setpshared): New function.
(__pthread_mutexattr_settype): New function.  Remove stubs for non MT_SAFE
compilation.
* thread.h: Remove duplicate #defines.  Add prototypes for new functions in
thread.cc.
(pthread_key_destructor): New class.
(pthread_key_destructor_list): New class.
(pthread_attr): Add new members.
(pthread): Remove members that are duplicated in the pthread_attr class.
(pthread_mutex_attr): Add new members.
(pthread_once): New class.
* include/pthread.h: Add prototypes for new functions exported from
cygwin1.dll.  Remove typedefs.
* include/sched.h: Add prototypes for new functions in sched.cc.
* include/cygwin/types.h: Add typedefs from pthread.h

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Thu, 12 Apr 2001 12:32:00 +0000 (12:32 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.

23 years ago * configure.in: Remove PTH_ALLOW.
Robert Collins [Thu, 12 Apr 2001 04:04:53 +0000 (04:04 +0000)]
* configure.in: Remove PTH_ALLOW.
* cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions.
Add new pthread exports.
* pthread.cc: New wrapper functions for the above new exports.
* sched.cc (valid_sched_parameters): New function.
(sched_setparam): Use it.
(sched_set_thread_priority): New function. Used by pthread_sched*.
* thread.cc (pthread_key_destructor::InsertAfter): New function.
(pthread_key_destructor::UnlinkNext): New function.
(pthread_key_destructor::Next): New function.
(pthread_key_destructor_list::Insert): New function.
(pthread_key_destructor_list::Remove): New function.
(pthread_key_destructor_list::Pop): New function.
(pthread_key_destructor::pthread_key_destructor): New function.
(pthread_key_destructor_list::IterateNull): New function.
(MTinterface::Init): Initialise new member.
(pthread::pthread): Initialise new members.
(pthread::create): Copy new attributes. Set the new thread priority.
(pthread_attr::pthread_attr): Initialise new members.
(pthread_key::pthread_key): Setup destructor function.
(pthread_key::~pthread_key): Remove destructor function.
(pthread_mutexattr::pthread_mutexattr): New function.
(pthread_mutexattr::~pthread_mutexattr): New function.
(__pthread_once): New function.
(__pthread_cleanup): New function.
(__pthread_cancel): New function.
(__pthread_setcancelstate): New function.
(__pthread_setcanceltype): New function.
(__pthread_testcancel): New function.
(__pthread_attr_getinheritsched): New function.
(__pthread_attr_getschedparam): New function.
(__pthread_attr_getschedpolicy): New function.
(__pthread_attr_getscope): New function.
(__pthread_attr_setinheritsched): New function.
(__pthread_attr_setschedparam): New function.
(__pthread_attr_setschedpolicy): New function.
(__pthread_attr_setscope): New function.
(__pthread_exit): Call any key destructors on thread exit.
(__pthread_join): Use the embedded attr values.
(__pthread_detach): Use the embedded attr values.
(__pthread_getconcurrency): New function.
(__pthread_getschedparam): New function.
(__pthread_key_create): Pass the destructor on object creation.
(__pthread_key_delete): Correct incorrect prototype.
(__pthread_setconcurrency): New function.
(__pthread_setschedparam): New function.
(__pthread_cond_timedwait): Support static mutex initialisers.
(__pthread_cond_wait): Ditto.
(__pthread_mutex_getprioceiling): New function.
(__pthread_mutex_lock): Support static mutex initialisers.
(__pthread_mutex_trylock): Ditto.
(__pthread_mutex_unlock): Ditto.
(__pthread_mutex_destroy): Ditto.
(__pthread_mutex_setprioceiling): New function.
(__pthread_mutexattr_getprotocol): New function.
(__pthread_mutexattr_getpshared): New function.
(__pthread_mutexattr_gettype): New function.
(__pthread_mutexattr_init): New function.
(__pthread_mutexattr_destroy): New function.
(__pthread_mutexattr_setprotocol): New function.
(__pthread_mutexattr_setprioceiling): New function.
(__pthread_mutexattr_getprioceiling): New function.
(__pthread_mutexattr_setpshared): New function.
(__pthread_mutexattr_settype): New function.
Remove stubs for non MT_SAFE compilation.
* thread.h: Remove duplicate #defines.
Add prototypes for new functions in thread.cc.
(pthread_key_destructor): New class.
(pthread_key_destructor_list): New class.
(pthread_attr): Add new members.
(pthread): Remove members that are duplicated in the pthread_attr class.
(pthread_mutex_attr): Add new members.
(pthread_once): New class.
* include/pthread.h: Add prototypes for new functions exported from cygwin1.dll.
Remove typedefs.
* include/sched.h: Add prototypes for new functions in sched.cc.
* include/cygwin/types.h: Add typedefs from pthread.h

23 years ago * include/windows.h (#include <winsock.h>): Include <winsock2.h>
Earnie Boyd [Thu, 12 Apr 2001 01:11:41 +0000 (01:11 +0000)]
* include/windows.h (#include <winsock.h>): Include <winsock2.h>
instead if (_WIN32_WINNT >= 0x0400)&&(__W32API_MAJOR_VERSION > 0).

23 years ago2001-04-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
Earnie Boyd [Thu, 12 Apr 2001 01:03:29 +0000 (01:03 +0000)]
2001-04-11  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>

* include/winuser.h (WM_IME_*): Remove defines (now in imm.h).

23 years ago * include/windef.h (*PBOOL): Unprotect from XFree86Server.
Earnie Boyd [Thu, 12 Apr 2001 00:55:48 +0000 (00:55 +0000)]
* include/windef.h (*PBOOL): Unprotect from XFree86Server.
(*LPBOOL): Ditto.

23 years ago* libc/include/sys/features.h: Add appropriate defines for Cygwin pthread
Christopher Faylor [Thu, 12 Apr 2001 00:05:57 +0000 (00:05 +0000)]
* libc/include/sys/features.h: Add appropriate defines for Cygwin pthread
support.
* libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
* libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads types.
Include <cygwin/types.h> for the cygwin specific typedefs.

23 years ago* path.cc (struct symlink_info): Add extn and ext_tacked_on fields.
Christopher Faylor [Wed, 11 Apr 2001 19:09:53 +0000 (19:09 +0000)]
* path.cc (struct symlink_info): Add extn and ext_tacked_on fields.
(path_conv::check): Only tack on extension if a known one didn't already exist.
(suffix_scan::has): Return pointer to known extension.
(symlink_info::check): Record location of extension, if any.

23 years ago* mkgroup.c (uni2ansi): Use native method to convert from Unicode
Egor Duda [Wed, 11 Apr 2001 09:38:55 +0000 (09:38 +0000)]
* mkgroup.c (uni2ansi): Use native method to convert from Unicode
to multi-byte strings.
* mkpasswd.c (uni2ansi): Ditto.
(enum_users): Pass buffer size when converting string.
(enum_local_groups): Ditto.
* mkgroup.c (enum_groups): Ditto.
(enum_local_groups): Ditto.

23 years ago* fhandler.h (class fhandler_socket): Add members and methods to
Egor Duda [Mon, 9 Apr 2001 07:21:32 +0000 (07:21 +0000)]
* fhandler.h (class fhandler_socket): Add members and methods to
support secure connections on AF_UNIX sockets.
* fhandler_socket.cc (fhandler_socket::set_connect_secret): New method.
(fhandler_socket::get_connect_secret): Ditto.
(fhandler_socket::create_secret_event): Ditto.
(fhandler_socket::close_secret_event): Ditto.
(fhandler_socket::check_peer_secret_event): Ditto.
(fhandler_socket::fixup_after_fork): Duplicate secret event to child.
(fhandler_socket::dup): Copy address family.
(fhandler_socket::close): Close secret event.
* net.cc (get_inet_addr): Read secret cookie.
(cygwin_connect): Check if peer knows secret cookie value.
(cygwin_accept): Ditto. Copy address family to newly created socket.
(cygwin_bind): Generate and write secret cookie.
(wsock_init): Initialize random number generator.

23 years agoWork around new g++ problem.
Christopher Faylor [Mon, 9 Apr 2001 01:23:27 +0000 (01:23 +0000)]
Work around new g++ problem.

23 years ago* include/winnt.h (GetCurrentFiber): Make "external __inline" or asm code will
Christopher Faylor [Mon, 9 Apr 2001 00:52:35 +0000 (00:52 +0000)]
* include/winnt.h (GetCurrentFiber): Make "external __inline" or asm code will
be included in every module which includes this header.
(GetFiberData): Ditto.

23 years agoremove extra whitespace.
Christopher Faylor [Mon, 9 Apr 2001 00:52:33 +0000 (00:52 +0000)]
remove extra whitespace.

23 years ago* Makefile.in: Put -lgcc last in list of libraries, since stdc++ library needs
Christopher Faylor [Mon, 9 Apr 2001 00:44:25 +0000 (00:44 +0000)]
* Makefile.in: Put -lgcc last in list of libraries, since stdc++ library needs
it.
* cygwin.din: Remove obsolete "__empty" export.
* exceptions.cc (call_signal_handler_now): Force inclusion of function even
when -finline-functions is specified.
* sigproc.h: Remove obsolete call_signal_handler declaration.
* fhandler_console.cc (cp_get_internal): New function.
(cp_convert): New function.
(con_to_str): New function.
(str_to_con): New function.
(fhandler_console::read): Replace OemToCharBuff with con_to_str.
(fhandler_console::write_normal): Replace CharToOemBuff with str_to_con.

23 years ago * include/winnt.h (GetCurrentFiber): Fix typo.
Earnie Boyd [Sun, 8 Apr 2001 17:00:27 +0000 (17:00 +0000)]
* include/winnt.h (GetCurrentFiber): Fix typo.

23 years ago * include/shellapi.h: (CommandLineToArgvW): Add WINAPI declaration.
Earnie Boyd [Sun, 8 Apr 2001 16:53:56 +0000 (16:53 +0000)]
* include/shellapi.h: (CommandLineToArgvW): Add WINAPI declaration.
* include/winbase.h: (GetFileAttributesExW): Fix typo.
* include/wingdi.h: (StartDocA): Change LPDOCINFOA to DOCINFOA*.
(StartDocB): Chage LNPDOCINFOB to DOCINFOB*.
Thanks To: Kent Tamura  <tkent@users.sourceforge.net>
* include/winnt.h: (GetFiberData): Add __inline assembler coding.
(GetCurrentFiber): Ditto.
Thanks to: Andy Younger  <AndyY@redlemon.com>
* include/windef.h: (HMONITOR_DECLARED): New definition to stop
DirectX 8 from complaining.
Thanks to: Sigbj�rn Lund Olsen  <mosikos@online.no>
        * include/commctrl.h Updated TreeView and ListView defines and macros.
        * include/winuser.h (MB_SERVICE_NOTIFICATION): Correct value for NT4
and above.

23 years ago * syscalls.cc (stat_worker): Fix conditional which still allowed
Corinna Vinschen [Thu, 5 Apr 2001 20:43:23 +0000 (20:43 +0000)]
    * syscalls.cc (stat_worker): Fix conditional which still allowed
        successful stat'ing of non-existant files.

23 years ago * cris.h (enum cris_insn_version_usage): Correct comment for
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:35:17 +0000 (19:35 +0000)]
* cris.h (enum cris_insn_version_usage): Correct comment for
cris_ver_v3p.

23 years ago* child_info.h: Bump magic number for fork/exec/spawn.
Christopher Faylor [Wed, 4 Apr 2001 14:37:45 +0000 (14:37 +0000)]
* child_info.h: Bump magic number for fork/exec/spawn.

23 years ago * libc/include/machine/ieeefp.h: Comment about new configuration
Richard Sandiford [Wed, 4 Apr 2001 13:33:01 +0000 (13:33 +0000)]
* libc/include/machine/ieeefp.h: Comment about new configuration
macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
* libm/common/fdlib.h: Define new macros for testing floats.
* libm/common/sf_*: Use them.
* libm/math/ef_*: Likewise.
* libm/math/sf_*: Likewise.

23 years agomerge from gcc
DJ Delorie [Wed, 4 Apr 2001 01:15:59 +0000 (01:15 +0000)]
merge from gcc

23 years ago * errno.cc (errmap): Map ERROR_FILE_INVALID to ENXIO.
Corinna Vinschen [Tue, 3 Apr 2001 18:20:38 +0000 (18:20 +0000)]
    * errno.cc (errmap): Map ERROR_FILE_INVALID to ENXIO.

23 years ago * winsup.api/mmaptest01.c: New test.
Corinna Vinschen [Tue, 3 Apr 2001 08:39:21 +0000 (08:39 +0000)]
    * winsup.api/mmaptest01.c: New test.

23 years ago* cygrun.c (main): Fix compiler warning.
Christopher Faylor [Tue, 3 Apr 2001 02:53:25 +0000 (02:53 +0000)]
* cygrun.c (main): Fix compiler warning.
* gmon.c (_mcleanup): Ditto.
* profil.c (profile_off): Ditto.
* net.cc (find_winsock_errno): New function.
(__set_winsock_errno): Use find_winsock_errno.
(cygwin_setsockopt): Detect SO_ERROR for debugging.
(cygwin_getsockopt): Ditto.  Translate error when getsockopt returns SO_ERROR.
* winsup.h: regparmize __set_winsock_errno.
* include/sys/strace.h: Document that strace functions can't use regparm.

23 years ago* mount.cc (main): Use getopt_long for parsing arguments.
Christopher Faylor [Tue, 3 Apr 2001 02:41:54 +0000 (02:41 +0000)]
* mount.cc (main): Use getopt_long for parsing arguments.
(usage): Reformat, show long and short options.
* umount.cc (main): Ditto, all of the above.

23 years ago* mount.cc (show_mounts): Change format string to more closely resemble UNIX
Christopher Faylor [Mon, 2 Apr 2001 14:58:47 +0000 (14:58 +0000)]
* mount.cc (show_mounts): Change format string to more closely resemble UNIX
when displaying mount table.

23 years ago * fhandler.cc (fhandler_disk_file::open): Avoid checking a magic
Corinna Vinschen [Mon, 2 Apr 2001 14:35:17 +0000 (14:35 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Avoid checking a magic
number of a directory.

23 years ago* shared_info.h (mount_info): Remove mnt_ elements.
Christopher Faylor [Mon, 2 Apr 2001 04:27:12 +0000 (04:27 +0000)]
* shared_info.h (mount_info): Remove mnt_ elements.
* thread.h (struct _winsup_t): Add mnt_ elements.
* path.cc (fillout_mntent): Use mnt_ elements from reent_winsup ().

23 years ago* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
Alexandre Oliva [Mon, 2 Apr 2001 01:32:45 +0000 (01:32 +0000)]
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
New macros.
(bootstrap, cross): Use RECURSE_FLAGS.
* configure.in: Subst CXX_FOR_TARGET_FOR_RECURSIVE_MAKE.

23 years ago* exceptions.cc (sigframe::call_signal_handler): Return value of
Christopher Faylor [Mon, 2 Apr 2001 00:18:29 +0000 (00:18 +0000)]
* exceptions.cc (sigframe::call_signal_handler): Return value of
call_signal_handler_now.
* sigproc.h (sigframe): Use constructor.
* syscalls.cc (_read): Correct errno test prior to calling signal handler.

23 years agoFix typo.
Christopher Faylor [Sun, 1 Apr 2001 23:05:30 +0000 (23:05 +0000)]
Fix typo.

23 years ago* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or
Christopher Faylor [Sun, 1 Apr 2001 05:38:08 +0000 (05:38 +0000)]
* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or
some compilers will complain.

23 years ago* exceptions.cc (call_signal_handler_now): Rename from call_signal_handler to
Christopher Faylor [Sun, 1 Apr 2001 05:24:20 +0000 (05:24 +0000)]
* exceptions.cc (call_signal_handler_now): Rename from call_signal_handler to
avoid C++ confusion.

23 years ago* path.cc (fillout_mntent): Always remove drive root directories from future
Christopher Faylor [Sun, 1 Apr 2001 05:09:57 +0000 (05:09 +0000)]
* path.cc (fillout_mntent): Always remove drive root directories from future
consideration by "/cygdrive" reporting.
(cygdrive_getmnt): Avoid reporting removable drives or drives with no media
mounted.

23 years ago* thread.h (struct _winsup_t): Remove obsolete elements. Add available_drives
Christopher Faylor [Sun, 1 Apr 2001 03:06:02 +0000 (03:06 +0000)]
* thread.h (struct _winsup_t): Remove obsolete elements.  Add available_drives
element.
* path.cc (mount_info::getmntent): Report "/cygdrive" drives when mounted
drives are exhausted.
(fillout_mntent): New function.
(mount_item::getmntent): Use fillout_mntent.
(cygdrives_mntent): New function.  Returns next available "/cygdrive".
(setmntent): Initialize available "/cygdrives".
* syscalls.cc: Remove some if 0'ed code.
* times.cc (timezone): Use more descriptive variable name.

23 years ago* sigproc.h (class sigframe): Implement 'unregister()' method.
Christopher Faylor [Sun, 1 Apr 2001 00:06:17 +0000 (00:06 +0000)]
* sigproc.h (class sigframe): Implement 'unregister()' method.
(sigframe::~sigframe): Use unregister method.
(sigframe::call_signal_handler): Declare new method.
* exceptions.cc (sigframe::call_signal_handler): New method.  Unregisters
current sigframe before calling signal handler.
(setup_handler): Clear waiting threads prior to arming signal_arrived.
* syscalls.cc (_read): Change goto to loop.  Recalculate sigframe inside of
loop so that constructor is called when appropriate.
* wait.cc (wait4): Ditto.
* signal.cc: Change "sig" to "signal" in debugging messages throughout.
* sigproc.cc: Ditto.

23 years ago* fhandler_serial.cc (fhandler_serial::raw_write): Close protected handles with
Christopher Faylor [Sat, 31 Mar 2001 22:13:02 +0000 (22:13 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_write): Close protected handles with
ForceCloseHandle or suffer spurious warnings.

23 years ago* fhandler.cc (fhandler_base::read): Remove special handling of CTRL-Z.
Christopher Faylor [Sat, 31 Mar 2001 21:24:48 +0000 (21:24 +0000)]
* fhandler.cc (fhandler_base::read): Remove special handling of CTRL-Z.

23 years agomerge from gcc
DJ Delorie [Sat, 31 Mar 2001 19:05:20 +0000 (19:05 +0000)]
merge from gcc

23 years ago Fix formatting.
Corinna Vinschen [Sat, 31 Mar 2001 11:00:52 +0000 (11:00 +0000)]
Fix formatting.

23 years ago * fhandler.h (class fhandler_console): Add members `insert_mode'.
Corinna Vinschen [Sat, 31 Mar 2001 09:19:32 +0000 (09:19 +0000)]
    * fhandler.h (class fhandler_console): Add members `insert_mode'.
        * fhandler_console.cc (fhandler_console::dup): Duplicate `insert_mode'.
        (fhandler_console::fhandler_console): Initialize `insert_mode'.
        fhandler_console::char_command): Add terminal capabilities
        "enter insert mode" = \E[4h and "exit insert mode" = \E[4l.
        Care for insert mode on terminal capability "repeat char" = \E[x;yb.
        (fhandler_console::write_normal): Care for insert mode before writing
        to the console.
        (array keytable): Add keymapping for modified cursor and control
        block keys (xterm like).

23 years agoFix strange formatting.
Christopher Faylor [Sat, 31 Mar 2001 04:18:01 +0000 (04:18 +0000)]
Fix strange formatting.

23 years agoFix strange formatting.
Christopher Faylor [Sat, 31 Mar 2001 03:56:58 +0000 (03:56 +0000)]
Fix strange formatting.

23 years ago * include/winuser.h (RT_CURSOR): Add protection for XFree86Server.
Earnie Boyd [Fri, 30 Mar 2001 13:22:17 +0000 (13:22 +0000)]
* include/winuser.h (RT_CURSOR): Add protection for XFree86Server.
(RT_FONT): Ditto.
(VK_KANA): New definition.
* include/basetsd.h (INT32): Ditto.
* include/windef.h (ATOM): Ditto.
(BOOL): Ditto.
(BYTE): Ditto.
* include/winbase.h (FreeResource): Ditto.
Thanks to: "Harold Hunt" <huntharo@msu.edu>

23 years ago * fhandler.h (class fhandler_console): Add members `savebufsiz' and
Corinna Vinschen [Fri, 30 Mar 2001 11:10:13 +0000 (11:10 +0000)]
    * fhandler.h (class fhandler_console): Add members `savebufsiz' and
        `savebuf' to allow save/restore of screen.
        * fhandler_console.cc (fhandler_console::dup): Duplicate savebuf.
        (fhandler_console::fhandler_console): Initialize `savebufsiz' and
        `savebuf'.
        (fhandler_console::char_command): Add terminal capabilities
        "save screen content" = \E[?47h and "restore screen content" = \E[?47l.

23 years ago2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 30 Mar 2001 00:51:51 +0000 (00:51 +0000)]
2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
        prolog to by-pass possible assembler error.

23 years ago* path.cc (chdir): Eat trailing whitespace on input path.
Christopher Faylor [Thu, 29 Mar 2001 00:30:39 +0000 (00:30 +0000)]
* path.cc (chdir): Eat trailing whitespace on input path.

23 years ago* lib/_cygwin_S_IEXEC.c: Remove "const" from globals or they never seem to be
Christopher Faylor [Wed, 28 Mar 2001 03:42:58 +0000 (03:42 +0000)]
* lib/_cygwin_S_IEXEC.c: Remove "const" from globals or they never seem to be
defined.  Wrap definitions in extern "C".  Include winsup.h to assure proper
definitions.
* dcrt0.cc (dll_crt0_1): Call stdio_init after premain run so that binmode.o,
etc., will control default stdio settings.
* dtable.cc (dtable::init_std_file_from_handle): Allow __fmode to force
binmode/textmode settings.  Default pipes to binmode.

23 years ago* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
Alexandre Oliva [Wed, 28 Mar 2001 01:19:29 +0000 (01:19 +0000)]
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.

23 years ago * mmap.cc (mmap): Fix conditional for previous patch.
Corinna Vinschen [Tue, 27 Mar 2001 09:35:39 +0000 (09:35 +0000)]
   * mmap.cc (mmap): Fix conditional for previous patch.

23 years agoadd missing stuff.
Christopher Faylor [Mon, 26 Mar 2001 22:17:06 +0000 (22:17 +0000)]
add missing stuff.

23 years agooops - omitted from previous delta
Nick Clifton [Mon, 26 Mar 2001 21:42:48 +0000 (21:42 +0000)]
oops - omitted from previous delta

23 years ago * mmap.cc (mmap): Outflank copy-on-write problem on 9x by
Corinna Vinschen [Mon, 26 Mar 2001 18:17:15 +0000 (18:17 +0000)]
    * mmap.cc (mmap): Outflank copy-on-write problem on 9x by
        setting access mode to FILE_MAP_READ when read access is requested.

23 years ago* dlfcn.cc (check_access): Eliminate.
Christopher Faylor [Mon, 26 Mar 2001 01:16:11 +0000 (01:16 +0000)]
* dlfcn.cc (check_access): Eliminate.
(check_path_access): Use passed in path_conv buf.
(get_full_path_of_dll): Use passed in name buf to avoid a static.  Rip out most
of the path checking since LoadLibrary will do all of this automatically.
(dlopen): Set errno when appropriate (may not be compliant?).
* environ.cc (posify): Don't pass in "native" path if it seems to actually be
posix.

23 years agoAutomate generate on man pages
Nick Clifton [Sun, 25 Mar 2001 20:32:26 +0000 (20:32 +0000)]
Automate generate on man pages

23 years agoSmall tweaks to sse2 instructions.
Alan Modra [Sat, 24 Mar 2001 06:29:15 +0000 (06:29 +0000)]
Small tweaks to sse2 instructions.

23 years agoRemove extraneous whitespace
Nick Clifton [Sat, 24 Mar 2001 00:46:00 +0000 (00:46 +0000)]
Remove extraneous whitespace

23 years agoFix compile time warnings.
Nick Clifton [Sat, 24 Mar 2001 00:45:11 +0000 (00:45 +0000)]
Fix compile time warnings.

23 years agoAdd note about inability to use "make distclean" in maintainer mode.
Nick Clifton [Fri, 23 Mar 2001 18:06:17 +0000 (18:06 +0000)]
Add note about inability to use "make distclean" in maintainer mode.

23 years ago* fhandler.h (fhandler_dev_clipboard): Extend to support writing.
Christopher Faylor [Thu, 22 Mar 2001 22:11:34 +0000 (22:11 +0000)]
* fhandler.h (fhandler_dev_clipboard): Extend to support writing.
* fhandler_clipboard.cc (fhandler_dev_clipboard::fhandler_dev_clipboard):
Initialize new fields.  Open clipboard here.
(fhandler_dev_clipboard::dup): New method.
(fhandler_dev_clipboard::open): Accomodate new fields.  Register clipboard
here, if appropriate.
(set_clipboard): New function.  Moves buffer to clipboard.
(fhandler_dev_clipboard::write): Truly implement clipboard writing.
(fhandler_dev_clipboard::read): Reimplement to allow successive reads.
(fhandler_dev_clipboard::lseek): Truly implement seeks in clipboard.
(fhandler_dev_clipboard::close): Clear out new fields.  Support sequential
reads and sequential writes.  Support for binary data via a native clipboard
format.

23 years ago* fhandler_console.cc (fhandler_console::set_default_attr): Update console
Christopher Faylor [Thu, 22 Mar 2001 18:19:00 +0000 (18:19 +0000)]
* fhandler_console.cc (fhandler_console::set_default_attr): Update console
color attributes on tty reset.

23 years agoRe-installed:
Alexandre Oliva [Thu, 22 Mar 2001 18:17:54 +0000 (18:17 +0000)]
Re-installed:
2001-01-02  Laurynas Biveinis  <lauras@softhome.net>
* ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP.  Do not add
'-DPIC' to ac_cv_prog_cc_pic for DJGPP.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

23 years ago * cris.h (ADD_PC_INCR_OPCODE): New macro.
Hans-Peter Nilsson [Thu, 22 Mar 2001 16:09:20 +0000 (16:09 +0000)]
* cris.h (ADD_PC_INCR_OPCODE): New macro.

23 years ago * cris.h: Add leading comment about PC-relative location.
Hans-Peter Nilsson [Thu, 22 Mar 2001 13:03:58 +0000 (13:03 +0000)]
* cris.h: Add leading comment about PC-relative location.
(R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL):
New relocs.

23 years ago2001-03-22 Philip Blundell <philb@gnu.org>
Phil Blundell [Thu, 22 Mar 2001 11:09:20 +0000 (11:09 +0000)]
2001-03-22  Philip Blundell  <philb@gnu.org>

* config.sub, config.guess: Import latest from subversions.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Thu, 22 Mar 2001 05:22:04 +0000 (05:22 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.198.

23 years ago* autoload.cc (kernel32_init): New function for kernel32 autoload
Christopher Faylor [Thu, 22 Mar 2001 03:42:08 +0000 (03:42 +0000)]
* autoload.cc (kernel32_init): New function for kernel32 autoload
initialization.
(SignalObjectAndWait): Add conditional load of this function when it is
available.

23 years ago2001-03-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 22 Mar 2001 02:51:19 +0000 (02:51 +0000)]
2001-03-21  Kazu Hirata  <kazu@hxi.com>

* h8300.h: Fix formatting.

23 years agopaddq and psubq support.
Alan Modra [Thu, 22 Mar 2001 02:27:53 +0000 (02:27 +0000)]
paddq and psubq support.

23 years ago2001-03-21 Egor Duda <deo@logos-m.ru>
Jeff Johnston [Wed, 21 Mar 2001 21:47:31 +0000 (21:47 +0000)]
2001-03-21  Egor Duda  <deo@logos-m.ru>

        Allow building internal stubs for non-reentrant syscalls
        if target provides its own malloc
        * libc/reent/reent.c (errno): Move definition here.
        * libc/reent/sbrkr.c: From here.

23 years ago2001-03-20 Michael Chastain <chastain@redhat.com>
Michael Chastain [Wed, 21 Mar 2001 17:53:42 +0000 (17:53 +0000)]
2001-03-20  Michael Chastain  <chastain@redhat.com>

* Makefile.in: all-m4 depends on all-texinfo.

23 years agoadd new file.
Christopher Faylor [Wed, 21 Mar 2001 16:06:22 +0000 (16:06 +0000)]
add new file.

23 years agoAdd missing files.
Christopher Faylor [Wed, 21 Mar 2001 14:00:29 +0000 (14:00 +0000)]
Add missing files.

23 years ago* sched.cc: New file. Implement sched*.
Christopher Faylor [Wed, 21 Mar 2001 02:17:58 +0000 (02:17 +0000)]
* sched.cc: New file.  Implement sched*.
* include/sched.h: New file.  User land includes for sched*.
* Makefile.in: Add sched.o
* cygwin.din: Add exports for sched*.

23 years ago* dtable.cc: Guard against new winsock.h/winsock2.h warnings when mixing
Christopher Faylor [Tue, 20 Mar 2001 19:50:28 +0000 (19:50 +0000)]
* dtable.cc: Guard against new winsock.h/winsock2.h warnings when mixing
winsock*.h and sys/types.h.
* fhandler_socket.cc: Ditto.
* net.cc: Ditto.
* select.cc: Ditto.
* exceptions.cc: Remove unneeded define.

23 years ago* libc/include/sys/types.h (BSD int typedefs): Guard with _BSDTYPES_DEFINED
Christopher Faylor [Tue, 20 Mar 2001 19:27:56 +0000 (19:27 +0000)]
* libc/include/sys/types.h (BSD int typedefs): Guard with _BSDTYPES_DEFINED
rather than _WINSOCK_H.
(fd_set): Add !defined __USE_W32_SOCKETS to guard; define _SYS_TYPES_FD_SET.
* libc/include/sys/unistd.h (gethostname): Don't declare if defined
(_WINSOCK_H) || defined (__USE_W32_SOCKETS).

23 years ago* include/winsock.h (_SYS_TYPES_H macro guard for int types): Remove; use only
Christopher Faylor [Tue, 20 Mar 2001 19:27:37 +0000 (19:27 +0000)]
* include/winsock.h (_SYS_TYPES_H macro guard for int types): Remove; use only
_BSDTYPES_DEFINED macro now defined in newlib sys/types.h.
(SYS_TYPES_H macro guard for fd_set): Replace with_SYS_TYPES_FD_SET macro now
defined in newlib sys/types.h.  Emit warning if defined.
* include/winsock2.h: Ditto.
* include/windows.h (Win32_Winsock): Replace with new macros __USE_W32_SOCKETS
and warn of deprecation.

23 years ago* libiberty/cp-demangle.c (struct demangling_def): New fields:
Jim Blandy [Tue, 20 Mar 2001 18:22:38 +0000 (18:22 +0000)]
* libiberty/cp-demangle.c (struct demangling_def): New fields:
is_constructor and is_destructor.
(demangling_new): Initialize them.
(demangle_ctor_dtor_name): Set them, if we detect a constructor
or destructor.
(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor): New functions.

* include/demangle.h (enum gnu_v3_constructor_kinds,
is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds,
is_gnu_v3_mangled_dtor): New declarations.

23 years ago* configure: fix regeneration bug.
DJ Delorie [Tue, 20 Mar 2001 01:26:45 +0000 (01:26 +0000)]
* configure: fix regeneration bug.

23 years ago* exceptions.cc (interruptible): Update debugging output.
Christopher Faylor [Mon, 19 Mar 2001 22:48:26 +0000 (22:48 +0000)]
* exceptions.cc (interruptible): Update debugging output.
(setup_handler): Ensure that wait_sig loop wakes up when we punt on sending a
signal.
* poll.cc (poll): Add signal guard here.

23 years ago* tty.h (tty::create_inuse): Add new parameter to allow non-
Egor Duda [Mon, 19 Mar 2001 18:27:37 +0000 (18:27 +0000)]
* tty.h (tty::create_inuse): Add new parameter to allow non-
inheritable 'inuse' events.
* tty.cc (tty::create_inuse): Use new parameter.
* fhandler_tty.cc (fhandler_tty_master::init): Ditto.
* fhandler_tty.cc (fhandler_pty_master::open): Ditto.
* fhandler_tty.cc (fhandler_tty_master::init): Create master_alive
event.
* tty.cc (tty_list::terminate): Close master_alive event.
* fhandler_tty.cc (fhandler_tty_common::close): Send EOF to slaves
when master side is closed.

23 years ago * mmap.cc (map::get_list_by_fd): Avoid calling `get_namehash' when
Corinna Vinschen [Mon, 19 Mar 2001 13:33:51 +0000 (13:33 +0000)]
    * mmap.cc (map::get_list_by_fd): Avoid calling `get_namehash' when
        file descriptor is -1.

23 years agoFix register name printed in warning message.
Alan Modra [Mon, 19 Mar 2001 11:28:20 +0000 (11:28 +0000)]
Fix register name printed in warning message.

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