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

23 years ago * include/commctrl.h (TBSTYLE_FLAT): New definition.
Earnie Boyd [Mon, 12 Mar 2001 19:26:16 +0000 (19:26 +0000)]
* include/commctrl.h (TBSTYLE_FLAT): New definition.
(TB_GETBUTTONSIZE): Ditto.
(TCS_HOTTRACK): Ditto.
Thanks to: Chris Hansen <popeofpop@softhome.net>

23 years ago* mkvers.sh: Include config.h so that DEBUGGING is correctly defined.
Christopher Faylor [Mon, 12 Mar 2001 16:20:30 +0000 (16:20 +0000)]
* mkvers.sh: Include config.h so that DEBUGGING is correctly defined.

23 years ago* spawn.cc (spawn_guts): Don't set EXIT_REPARENTING if parent process is not a
Christopher Faylor [Mon, 12 Mar 2001 14:49:29 +0000 (14:49 +0000)]
* spawn.cc (spawn_guts): Don't set EXIT_REPARENTING if parent process is not a
cygwin process (suggested by Jason Gouger <cygwin@jason-gouger.com>).

23 years ago* child_info.h: Bump magic number for fork/exec/spawn.
Christopher Faylor [Sun, 11 Mar 2001 21:05:49 +0000 (21:05 +0000)]
* child_info.h: Bump magic number for fork/exec/spawn.

23 years agoRemove obvious brain freeze problem.
Christopher Faylor [Sun, 11 Mar 2001 16:46:28 +0000 (16:46 +0000)]
Remove obvious brain freeze problem.

23 years ago* autoload.cc (noload): Use proper method for multiline strings or newer gcc's
Christopher Faylor [Sun, 11 Mar 2001 01:58:23 +0000 (01:58 +0000)]
* autoload.cc (noload): Use proper method for multiline strings or newer gcc's
complain.
* exceptions.cc (unused_sig_wrapper): Ditto.
* fhandler.h (fhandler_base): Make get_io_handle and friends return self.
* fhandler_tty.cc (fhandler_pty_common::close_on_exec): Accomodate DEBUGGING
flag to avoid spurious warnings when inheritance is set.

23 years ago* shortcut.c (PATH_ALL_EXEC): Add parentheses to avoid a compiler warning.
Christopher Faylor [Sat, 10 Mar 2001 23:37:50 +0000 (23:37 +0000)]
* shortcut.c (PATH_ALL_EXEC): Add parentheses to avoid a compiler warning.
* exceptions.cc (setup_handler): Clarify debugging message.
* sigproc.cc (proc_subproc): Remove PROC_CHILDSTOPPED test.  It is handled by
normal PROC_CLEARWAIT case.
(wait_sig): Eliminate "dispatched" tracking.  Remove __SIGCHILDSTOPPED test.
Decrement counter again before jumping out of InterlockedDecrement loop so that
subsequent InterlockedIncrement will keep the counter at the correctly
decremented value and also detect when there are pending signals.
* sigproc.h: Remove __SIGCHILDSTOPPED element.
(procstuff): Remove PROC_CHILDSTOPPED element.

23 years agomerge from gcc
DJ Delorie [Sat, 10 Mar 2001 22:23:16 +0000 (22:23 +0000)]
merge from gcc

23 years ago* syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't exist
Christopher Faylor [Sat, 10 Mar 2001 20:25:19 +0000 (20:25 +0000)]
* syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't exist
(from Kazuhiro Fujieda <fujieda@jaist.ac.jp>).  Also set EACCES when directory
is not writable.

23 years ago* winsup.api/ltp/access01.c: Avoid compilation error if X_OK
Egor Duda [Sat, 10 Mar 2001 16:45:28 +0000 (16:45 +0000)]
* winsup.api/ltp/access01.c: Avoid compilation error if X_OK
isn't declared as a constant.

23 years ago* config/default.exp: Remove unneeded debugging output.
Egor Duda [Fri, 9 Mar 2001 15:39:28 +0000 (15:39 +0000)]
* config/default.exp: Remove unneeded debugging output.
* Makefile.in: Use correct path to find dejagnu in local tree.

23 years ago * rs6000/simulator.S (dup): New syscall.
Geoffrey Keating [Fri, 9 Mar 2001 07:31:34 +0000 (07:31 +0000)]
* rs6000/simulator.S (dup): New syscall.

23 years ago2001-03-07 Richard Sandiford <rsandifo@redhat.com>
Jeff Johnston [Thu, 8 Mar 2001 21:39:32 +0000 (21:39 +0000)]
2001-03-07  Richard Sandiford  <rsandifo@redhat.com>

        * (libc/include/machine/setjmp.h): Use 23 DI-mode ints for a
        jmpbuf on MIPS64 targets.
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.

23 years ago* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.
Alexandre Oliva [Thu, 8 Mar 2001 05:50:03 +0000 (05:50 +0000)]
* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.

23 years ago* libc/include/sys/config.h: Use ssize_t for read/write declarations.
Christopher Faylor [Wed, 7 Mar 2001 21:03:43 +0000 (21:03 +0000)]
* libc/include/sys/config.h: Use ssize_t for read/write declarations.

23 years ago* syscalls.cc (_read): Change definition to return ssize_t to be consistent
Christopher Faylor [Wed, 7 Mar 2001 20:52:33 +0000 (20:52 +0000)]
* syscalls.cc (_read): Change definition to return ssize_t to be consistent
with read.
(_write): Change definition to return ssize_t to be consistent with write.

23 years agoUpdate copyright.
Christopher Faylor [Wed, 7 Mar 2001 17:45:03 +0000 (17:45 +0000)]
Update copyright.

23 years ago* sigproc.h (sigthread): Declare new methods. Create new winapi_lock field.
Christopher Faylor [Wed, 7 Mar 2001 06:19:34 +0000 (06:19 +0000)]
* sigproc.h (sigthread): Declare new methods.  Create new winapi_lock field.
(sigframe:;set): Call get_winapi_lock after frame is set so that signal handler
thread knows not to call SuspendThread.
(sigframe::~sigframe): Release winapi_lock.
* exceptions.cc (sigthread::get_winapi_lock): New method.
(sigthread::release_winapi_lock): New method.
(setup_handler): Use get_winapi_lock to ensure that signalled thread is not
blocked in a Windows API.
* path.h (path_types): Avoid broken GCC warning.

23 years agomerge from gcc
DJ Delorie [Tue, 6 Mar 2001 18:26:32 +0000 (18:26 +0000)]
merge from gcc

23 years ago * path.cc (suffix_scan::has): Change order of conditionals
Corinna Vinschen [Tue, 6 Mar 2001 13:05:56 +0000 (13:05 +0000)]
    * path.cc (suffix_scan::has): Change order of conditionals
        to allow checking for .lnk suffixes even if in_suffixes is empty.

23 years ago * autoload.c (cygwin_premain0): Add missing parameter.
Corinna Vinschen [Tue, 6 Mar 2001 12:05:45 +0000 (12:05 +0000)]
    * autoload.c (cygwin_premain0): Add missing parameter.
        * binmode.c (cygwin_premain0): Ditto.
        * textmode.c (cygwin_premain0): Ditto.

Patch contributed by Jason Tiller <jtiller@sjm.com> :
        * auto_load.cc: Add "GetKeyboardLayout" entry in the list of
        Win32 User32.DLL exports to provide.
        * fhandler.h (class fhandler_console): Add meta_mask private
        member to remember which keystroke modifiers should generate
        META.
        * fhandler_console.cc (fhandler_console::read): Modify code that
        tests a keystroke for a META-escaped key to use the 'meta_mask'
        variable.
        (fhandler_console::fhandler_console): Add definition for
        variable "meta_mask" used to determine if a keystroke should be
        preceded by META in the client console stream.  Set meta_mask
        based on whether or not user's keyboard language is English -
        non-English keyboards pass AltGr (right <ALT>) unmolested,
        whereas English keyboards now interpret left- and right-<ALT>
        as META.

23 years agoMon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
Jeff Johnston [Tue, 6 Mar 2001 01:04:43 +0000 (01:04 +0000)]
Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>

        * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
        For RTEMS, define to be ssize_t.  Default to int if not defined.
        * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
        * libc/stdio/stdio.c (__sread, __swrite): Likewise.
        * libc/stdio/local.h (__sread, __swrite): Likewise.
        * libc/include/sys/reent.h (_read, _write): Likewise.
        * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
        * libc/syscalls/sysread.c (read): Likewise.
        * libc/syscalls/syswrite.c (write): Likewise.

23 years ago * include/a.out.h: Add copyright hint.
Corinna Vinschen [Mon, 5 Mar 2001 21:29:24 +0000 (21:29 +0000)]
    * include/a.out.h: Add copyright hint.
        * include/fcntl.h: Ditto.
        * include/lastlog.h: Ditto.
        * include/memory.h: Ditto.
        * include/mntent.h: Ditto.
        * include/paths.h: Ditto.
        * include/poll.h: Ditto.
        * include/syslog.h: Ditto.
        * include/termio.h: Ditto.
        * include/tzfile.h: Ditto.
        * include/arpa/inet.h: Ditto.
        * include/asm/byteorder.h: Ditto.
        * include/asm/socket.h: Ditto.
        * include/asm/types.h: Ditto.
        * include/cygwin/if.h: Ditto.
        * include/cygwin/mtio.h: Ditto.
        * include/cygwin/rdevio.h: Ditto.
        * include/cygwin/socket.h: Ditto.
        * include/net/if.h: Ditto.
        * include/netinet/in.h: Ditto.
        * include/netinet/in_systm.h: Ditto.
        * include/netinet/ip.h: Ditto.
        * include/netinet/ip_icmp.h: Ditto.
        * include/netinet/tcp.h: Ditto.
        * include/sys/cdefs.h: Ditto.
        * include/sys/cygwin.h: Ditto.
        * include/sys/ioctl.h: Ditto.
        * include/sys/mman.h: Ditto.
        * include/sys/mount.h: Ditto.
        * include/sys/mtio.h: Ditto.
        * include/sys/procfs.h: Ditto.
        * include/sys/resource.h: Ditto.
        * include/sys/smallprint.h: Ditto.
        * include/sys/socket.h: Ditto.
        * include/sys/strace.h: Ditto.
        * include/sys/syslog.h: Ditto.
        * include/sys/sysmacros.h: Ditto.
        * include/sys/termio.h: Ditto.
        * include/sys/termios.h: Ditto.
        * include/sys/uio.h: Ditto.
        * include/sys/un.h: Ditto.
        * include/sys/utsname.h: Ditto.
        * include/sys/vfs.h: Ditto.
        * include/sys/wait.h: Ditto.
        * regexp/regerror.c: Ditto.
        * regexp/regexp.h: Ditto.
        * regexp/regmagic.h: Ditto.

23 years ago2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 5 Mar 2001 21:07:20 +0000 (21:07 +0000)]
2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.

23 years ago * getfacl.c: Add copyright hint.
Corinna Vinschen [Mon, 5 Mar 2001 17:55:23 +0000 (17:55 +0000)]
    * getfacl.c: Add copyright hint.
        * setfacl.c: Ditto.
        * strace.cc: Ditto.

23 years ago* dlopen.c (dlopen): Return NULL when name is NULL (suggested by
Christopher Faylor [Mon, 5 Mar 2001 06:28:25 +0000 (06:28 +0000)]
* dlopen.c (dlopen): Return NULL when name is NULL (suggested by
chrisiasci@aol.com).
* cygwin.din: Add a new, internally used export - _check_for_executable.
* dcrt0.cc (dll_crt0_1): Set _check_for_executable for older binaries.  Pass
user_data to premain functions.
* fhandler.cc (fhandler_disk_file::open): Only check for executable if the
linked program is intereested in the executable bit.
(fhandler_disk_file::check_execable_p): Delete.
* fhandler.h (executable_states): New enumeration of various states of
executable bit caring.
(fhandler_base::set_execable_p): New method.
* fhandler_termios.cc (fhandler_termios::line_edit): Flag when a signal has
been sent to the tty.  Return -1 when this is so.
* fhandler_console.cc (fhandler_console::read): Return -1 when signal sending
character encountered.
* path.cc (path_conv::check): Record when path refers to a disk device.  Move
executable extension check here.
(check_sysfile): Accomodate new EXEC path states.
(has_suffix): Remove.
(next_suffix): Remove.
(class suffix_scan): New clas.
(suffix_scan::has): New method.
(suffix_scan:next): New method.
(symlink_info::check): Use suffix_scan method to control for scanning for
suffixes.
* path.h (path_conv::exec_state): New method.
* perprocess.h: Make "C" friendly.
* include/cygwin/version.h: Define CYGWIN_VERSION_CHECK_FOR_S_IEXEC.  Bump
CYGWIN_VERSION_API_MINOR.
* include/sys/cygwin.h: Change premain declarations.
* winsup.h: Move __cplusplus test to after builtin defines.

23 years ago* libc/include/sys/stat.h: Use special defines for executable stat bits when
Christopher Faylor [Mon, 5 Mar 2001 05:13:06 +0000 (05:13 +0000)]
* libc/include/sys/stat.h: Use special defines for executable stat bits when
compiling for Cygwin.
* libc/include/sys/unistd.h: Use special define for X_OK when compiling for
Cygwin.

23 years ago* fhandler.h (class fhandler_tty_common): New mutex and event to
Egor Duda [Sun, 4 Mar 2001 15:34:25 +0000 (15:34 +0000)]
* fhandler.h (class fhandler_tty_common): New mutex and event to
syncronize input on master tty with slave tty.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Use them to
syncronize with slave.
* fhandler_tty.cc (fhandler_tty_slave::read): Use input mutex and
event to syncronize with master. Do not limit amount of data read
from master to vmin value. Interrupt on signal and return already
read data, if any.
* fhandler_tty.cc (fhandler_tty_slave::open): Handle input mutex and
event.
* fhandler_tty.cc (fhandler_tty_common::close): Ditto.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Ditto.
* fhandler_tty.cc (fhandler_tty_common::dup): Ditto.
* tty.h (tty::open_input_mutex): New function.
* tty.cc (tty::common_init): Create input mutex and event.

23 years ago*** empty log message ***
Christopher Faylor [Sat, 3 Mar 2001 03:56:34 +0000 (03:56 +0000)]
*** empty log message ***

23 years ago2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Mar 2001 23:16:33 +0000 (23:16 +0000)]
2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
        of strtok_r is always defined.

23 years ago2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Mar 2001 23:13:04 +0000 (23:13 +0000)]
2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/ansi.h: New dummy header file.

23 years ago * dir.cc (readdir): Fix creating path in symlink check.
Corinna Vinschen [Fri, 2 Mar 2001 12:33:50 +0000 (12:33 +0000)]
    * dir.cc (readdir): Fix creating path in symlink check.

23 years ago * cygwinenv.sgml: Add text for `winsymlinks' option.
Corinna Vinschen [Fri, 2 Mar 2001 12:05:31 +0000 (12:05 +0000)]
    * cygwinenv.sgml: Add text for `winsymlinks' option.
        * how-api.texinfo: Add text to explain new symlinks==shortcuts
        and the CYGWIN setting `(no)winsymlinks'.
        * how-using.texinfo: Add text that Cygwin now treats shortcuts
        as symlinks.

23 years ago * dir.cc (readdir): Fix shortcut==symlink condition.
Corinna Vinschen [Fri, 2 Mar 2001 11:41:09 +0000 (11:41 +0000)]
    * dir.cc (readdir): Fix shortcut==symlink condition.
        * environ.cc: Add extern decl for `allow_winsymlinks'.
        (struct parse_thing): Add entry for `[no]winsymlinks'.
        * path.cc (symlink): Change to be able to create both,
        symlink==shortcut and symlink==systemfile, dependent of
        the setting of `allow_winsymlinks'.
        * security.cc (cygwin_logon_user): Add debug output.
        * shortcut.c: Add defines from path.h.
        (has_exec_chars): Copy from path.h.
        (check_shortcut): Check for executable file condition if not a
        shortcut.

23 years agomerge from gcc
DJ Delorie [Fri, 2 Mar 2001 02:12:03 +0000 (02:12 +0000)]
merge from gcc

23 years ago* exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a process if
Christopher Faylor [Fri, 2 Mar 2001 02:09:40 +0000 (02:09 +0000)]
* exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a process if
started by non-cygwin parent.

23 years ago* select.cc (peek_console): Don't report read_ready on mouse events unless we
Christopher Faylor [Fri, 2 Mar 2001 01:55:21 +0000 (01:55 +0000)]
* select.cc (peek_console): Don't report read_ready on mouse events unless we
are looking for mouse events.
* fhandler.h (fhandler_console::mouse_aware): New method.

23 years ago2001-03-01 Earnie Boyd <earnie@users.sourceforge.net
Earnie Boyd [Thu, 1 Mar 2001 20:32:34 +0000 (20:32 +0000)]
2001-03-01  Earnie Boyd  <earnie@users.sourceforge.net

* Makefile.in: (snapshot): Add target.
* lib/Makefile.in: (install-headers): Use installdir variable.
(installdir): Set value based on target-alias.

23 years agonew defines for Coldfire V4.
Nick Clifton [Wed, 28 Feb 2001 23:47:10 +0000 (23:47 +0000)]
new defines for Coldfire V4.

23 years ago2001-02-28 Will Cohen <wcohen@redhat.com>
Jeff Johnston [Wed, 28 Feb 2001 18:41:57 +0000 (18:41 +0000)]
2001-02-28  Will Cohen  <wcohen@redhat.com>

        * src/libgloss/m68k/Makefile.in: Updated copyright and
         added rules to build simulator related libraries.
        (SIM_SCRIPTS): New variable.
        (SIM_LDFLAGS): New variable.
        (SIM_BSP): New variable.
        (SIM_CRT0): New variable.
        (SIM_OBJS): New variable.
        (SIM_TEST): New variable.
        (SIM_INSTALL): new variable.
        * src/libgloss/m68k/sim-abort.c: New file.
        * src/libgloss/m68k/sim-crt0.S: New file.
        * src/libgloss/m68k/sim-errno.c: New file.
        * src/libgloss/m68k/sim-funcs.c: New file.
        * src/libgloss/m68k/sim-inbyte.c: New file.
        * src/libgloss/m68k/sim-print.c: New file.
        * src/libgloss/m68k/sim-sbrk.c: New file.
        * src/libgloss/m68k/sim.ld: New file.
        * src/libgloss/m68k/simulator.S: New file.

23 years ago * uinfo.cc: Eliminate `#include <wchar.h>'.
Corinna Vinschen [Wed, 28 Feb 2001 14:14:03 +0000 (14:14 +0000)]
    * uinfo.cc: Eliminate `#include <wchar.h>'.

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