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

23 years ago* syscalls.cc (stat_dev): Give devices full read/write.
Christopher Faylor [Sat, 17 Mar 2001 05:06:14 +0000 (05:06 +0000)]
* syscalls.cc (stat_dev): Give devices full read/write.

23 years ago* thread.cc (MTinterface::CreateCond): Check for null attr pointer.
Christopher Faylor [Sat, 17 Mar 2001 04:49:13 +0000 (04:49 +0000)]
* thread.cc (MTinterface::CreateCond): Check for null attr pointer.

23 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Don't accept input when a
Christopher Faylor [Sat, 17 Mar 2001 02:15:33 +0000 (02:15 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Don't accept input when a
signal is sent or we'll end up in an EOF/signal race.

23 years agofix spelling error.
Christopher Faylor [Sat, 17 Mar 2001 01:45:40 +0000 (01:45 +0000)]
fix spelling error.

23 years ago* path.cc: Translate scan states from defines to enums.
Christopher Faylor [Sat, 17 Mar 2001 01:29:14 +0000 (01:29 +0000)]
* path.cc: Translate scan states from defines to enums.
(suffix_scan): Rename state to nextstate for clarity.
(lnk_match): Change to allow multiple states to indicate that a .lnk has been
matched.
(suffix_scan::has): Eliminate a goto.  Handle .lnk as a special case, since a
.lnk may also need to be tacked on the end of a .lnk.
(suffix_scan::next): Don't increment next state.  Set it specifically.
Recognize new .lnk states.

23 years ago* cygwin.din: Export the new functions.
Christopher Faylor [Sat, 17 Mar 2001 01:14:58 +0000 (01:14 +0000)]
* cygwin.din: Export the new functions.
* pthread.cc (pthread_cond_*): Add wrapper functions that call __pthread_cond*
functions.
* thread.cc (__pthread_cond_*): Implement the pthread_cond* functions.
* thread.h: Add new class entries and prototypes for __pthread_cond* functions.
* include/pthread.h: user land header prototypes for pthread_cond* functions
and related defines.

23 years agomerge from gcc
DJ Delorie [Wed, 14 Mar 2001 21:30:22 +0000 (21:30 +0000)]
merge from gcc

23 years agoFix minor formatting bugs.
DJ Delorie [Wed, 14 Mar 2001 20:17:36 +0000 (20:17 +0000)]
Fix minor formatting bugs.

23 years agoSynchronise with copyright dates on FSF GCC versions of these files
Nick Clifton [Wed, 14 Mar 2001 19:45:29 +0000 (19:45 +0000)]
Synchronise with copyright dates on FSF GCC versions of these files

23 years ago * environ.cc (parse_options): Use strtok_r instead of strtok.
Corinna Vinschen [Wed, 14 Mar 2001 15:32:49 +0000 (15:32 +0000)]
    * environ.cc (parse_options): Use strtok_r instead of strtok.
        * security.cc (convert_string_sid_to_sid): Ditto.
        (aclfromtext): Ditto. Fix buffer usage.

23 years ago * path.cc (lnk_suffixes): Remove.
Corinna Vinschen [Wed, 14 Mar 2001 11:13:46 +0000 (11:13 +0000)]
    * path.cc (lnk_suffixes): Remove.
        (class suffix_scan): Add `lnk_state' flag.
        (suffix_scan::lnk_match): Return state of `lnk_state' now.
        (suffix_scan::has): Changed behaviour if file has `.lnk' suffix.
        (suffix_scan::next): Set `lnk_state' where appropriate.
        (symlink_info::check): Fix a wrong `break'.
        * syscalls.cc (chown_worker): Change debug statement to reflect
        lchown fix.
        (lchown): Call chown_worker with `PC_SYM_NOFOLLOW' instead of
        `PC_SYM_IGNORE'.

23 years ago * libc/sys/cygwin/crt0.c: Add copyright hint.
Corinna Vinschen [Wed, 14 Mar 2001 08:36:33 +0000 (08:36 +0000)]
    * libc/sys/cygwin/crt0.c: Add copyright hint.
        * libc/sys/cygwin/sys/dirent.h: Ditto.
        * libc/sys/cygwin/sys/param.h: Ditto.
        * libc/sys/cygwin/sys/utime.h: Ditto.
        * libc/sys/cygwin/sys/utmp.h: Ditto.

23 years agoformatting fix
Nick Clifton [Wed, 14 Mar 2001 02:33:30 +0000 (02:33 +0000)]
formatting fix

23 years agoFix typos in ChangeLogs; add coff/external.h; fix copyright dates
Nick Clifton [Wed, 14 Mar 2001 02:27:44 +0000 (02:27 +0000)]
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates

23 years ago * fhandler.cc (fhandler_disk_file::fstat): Add correct modes to
Corinna Vinschen [Tue, 13 Mar 2001 13:07:15 +0000 (13:07 +0000)]
    * fhandler.cc (fhandler_disk_file::fstat): Add correct modes to
        symlinks when stat'ing on FAT or FAT32 file systems.

23 years ago * include/wingdi.h: (DOCINFO) Ansi version defined incorrectly.
Earnie Boyd [Tue, 13 Mar 2001 12:04:57 +0000 (12:04 +0000)]
* include/wingdi.h: (DOCINFO) Ansi version defined incorrectly.
Thanks to: Mattia Barbon <mbarbon@dsi.unive.it>

23 years ago* libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
Alexandre Oliva [Tue, 13 Mar 2001 09:42:52 +0000 (09:42 +0000)]
* libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
equivalent to LONGINT.

23 years agoFix typo
Egor Duda [Tue, 13 Mar 2001 07:58:29 +0000 (07:58 +0000)]
Fix typo

23 years ago* fhandler.h (fhandler_termios::fixup_after_exec): New function.
Egor Duda [Mon, 12 Mar 2001 21:27:42 +0000 (21:27 +0000)]
* fhandler.h (fhandler_termios::fixup_after_exec): New function.
* fhandler.cc (fhandler_termios::fixup_after_fork): New function.
Fixup output handle.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Output
handle is now fixed up in fhandler_termios::fixup_after_fork().

23 years ago* fhandler.h (fhandler_termios::fhandler_termios): Enable fixup
Egor Duda [Mon, 12 Mar 2001 20:39:40 +0000 (20:39 +0000)]
* fhandler.h (fhandler_termios::fhandler_termios): Enable fixup
after fork.
* fhandler_console.cc (fhandler_console::fhandler_console): Fixup
after fork is now enabled in the base class constructor.

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