]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
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.

23 years ago * syscalls.cc (check_posix_perm): New static function.
Corinna Vinschen [Mon, 19 Mar 2001 11:02:41 +0000 (11:02 +0000)]
    * syscalls.cc (check_posix_perm): New static function.
        (fpathconf): Add _PC_POSIX_PERMISSIONS and _PC_POSIX_SECURITY
        support.
        (pathconf): Ditto.
        * include/cygwin/version.h: Bump API minor number to 37.

23 years ago * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
Corinna Vinschen [Mon, 19 Mar 2001 10:54:55 +0000 (10:54 +0000)]
    * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
        _PC_POSIX_SECURITY constants for Cygwin.

23 years agoFix spacing, copyrights.
Christopher Faylor [Sun, 18 Mar 2001 21:11:25 +0000 (21:11 +0000)]
Fix spacing, copyrights.

23 years agofix spacing.
Christopher Faylor [Sun, 18 Mar 2001 20:58:18 +0000 (20:58 +0000)]
fix spacing.

23 years ago* fhandler.h (fhandler_tty_slave): Declare new methods.
Egor Duda [Sun, 18 Mar 2001 18:05:01 +0000 (18:05 +0000)]
* fhandler.h (fhandler_tty_slave): Declare new methods.
* select.cc (fhandler_tty_slave::select_read): New method.
* select.cc (fhandler_tty_slave::ready_for_read): Ditto.
* select.cc (verify_tty_slave): New function.
* fhandler_termios.cc (fhandler_termios::line_edit): Empty input
buffer on signal.
* fhandler_tty.cc (fhandler_tty_slave::read): Check for input data
after reading from pipe. Reset event if input pipe is empty.
* tty.h (class tty): Allow creating events with manual reset.
* tty.cc (tty::get_event): Use manual_reset flag.
* tty.cc (tty::common_init): Create input_available_event with
manual reset.

23 years agoUpdate copyrights.
Christopher Faylor [Sun, 18 Mar 2001 03:34:05 +0000 (03:34 +0000)]
Update copyrights.

23 years agoUpdate copyright.
Christopher Faylor [Sun, 18 Mar 2001 03:25:30 +0000 (03:25 +0000)]
Update copyright.

23 years agoFix a typo.
H.J. Lu [Sun, 18 Mar 2001 02:56:20 +0000 (02:56 +0000)]
Fix a typo.

23 years ago* external.cc (fillout_pinfo): Match windows pid, as well as cygwin pid when
Christopher Faylor [Sun, 18 Mar 2001 02:49:29 +0000 (02:49 +0000)]
* external.cc (fillout_pinfo): Match windows pid, as well as cygwin pid when
passed in pid.  Don't prematurely break when searching for a pid.
* thread.h (_winsup_t): Eliminate unneeded field.

23 years ago* kill.cc (forcekill): Use dwProcessId when opening a process, not the Cygwin
Christopher Faylor [Sun, 18 Mar 2001 02:47:39 +0000 (02:47 +0000)]
* kill.cc (forcekill): Use dwProcessId when opening a process, not the Cygwin
pid.

23 years ago * net.cc (get_95_ifconf): Use strcasematch instead of strcasecmp.
Corinna Vinschen [Sat, 17 Mar 2001 19:53:52 +0000 (19:53 +0000)]
    * net.cc (get_95_ifconf): Use strcasematch instead of strcasecmp.
        * syscalls.cc (_unlink): Ditto.
        (_rename): Ditto.

23 years agoBritish -> US spelling.
David Starks-Browning [Sat, 17 Mar 2001 18:50:22 +0000 (18:50 +0000)]
British -> US spelling.
Add .inputrc tip to entry "How can I copy and paste into Cygwin console windows?"

23 years ago* path.cc (suffix_scan::next): Avoid searching for foo.lnk twice when input is
Christopher Faylor [Sat, 17 Mar 2001 17:44:53 +0000 (17:44 +0000)]
* path.cc (suffix_scan::next): Avoid searching for foo.lnk twice when input is
"foo".

23 years ago * net.cc (cygwin_socket): Set protocol to 0 when address family is
Corinna Vinschen [Sat, 17 Mar 2001 17:13:52 +0000 (17:13 +0000)]
    * net.cc (cygwin_socket): Set protocol to 0 when address family is
AF_UNIX to avoid WSAEPROTONOSUPPORT error.

23 years ago * net.cc (cygwin_socket): Pass protocol parameter to socket call.
Corinna Vinschen [Sat, 17 Mar 2001 17:04:45 +0000 (17:04 +0000)]
* net.cc (cygwin_socket): Pass protocol parameter to socket call.

23 years agoRemove "not yet updated" caveat from entry:
David Starks-Browning [Sat, 17 Mar 2001 16:18:01 +0000 (16:18 +0000)]
Remove "not yet updated" caveat from entry:
"How is the DOS/Unix CR/LF thing handled?"

23 years ago* dir.cc (readdir): Use strcasematch for consistency.
Christopher Faylor [Sat, 17 Mar 2001 07:09:41 +0000 (07:09 +0000)]
* dir.cc (readdir): Use strcasematch for consistency.
* path.cc (symlink_info): Eliminate known_suffix.
(path_conv::check): Always copy ext_here to end of buffer, if found.
(suffix_scan): Eliminate ext_here, add suffixes_start.
(suffix_scan::has): Eliminate an argument.  Reorganize.  Always return pointer
to end of input path.
(suffix_scan::next): Take a second pass through the suffix list looking for
.lnk.
(symlink_info::check): Eliminate known_suffix usage.

23 years agoFix typo.
Christopher Faylor [Sat, 17 Mar 2001 05:14:16 +0000 (05:14 +0000)]
Fix typo.

23 years agoAccomodate all devices.
Christopher Faylor [Sat, 17 Mar 2001 05:11:20 +0000 (05:11 +0000)]
Accomodate all devices.

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