0403bb7415* child_info.h: Bump magic number for fork/exec/spawn.
Christopher Faylor
2001-04-04 14:37:45 +0000
16740220a2* 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.
Richard Sandiford
2001-04-04 13:33:01 +0000
51fc3813e9merge from gcc
DJ Delorie
2001-04-04 01:15:59 +0000
45d061cccf* winsup.api/mmaptest01.c: New test.
Corinna Vinschen
2001-04-03 08:39:21 +0000
c90e420d91* 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.
Christopher Faylor
2001-04-03 02:53:25 +0000
be61cf4d0c* mount.cc (main): Use getopt_long for parsing arguments. (usage): Reformat, show long and short options. * umount.cc (main): Ditto, all of the above.
Christopher Faylor
2001-04-03 02:41:54 +0000
c6cd25a033* mount.cc (show_mounts): Change format string to more closely resemble UNIX when displaying mount table.
Christopher Faylor
2001-04-02 14:58:47 +0000
0f0a7dc99d* fhandler.cc (fhandler_disk_file::open): Avoid checking a magic number of a directory.
Corinna Vinschen
2001-04-02 14:35:17 +0000
f97adf983d* 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 ().
Christopher Faylor
2001-04-02 04:27:12 +0000
68b3c65aa1* 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.
Alexandre Oliva
2001-04-02 01:32:45 +0000
1ba3935dfb* 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.
Christopher Faylor
2001-04-02 00:18:29 +0000
0ef785e4eeFix typo.
Christopher Faylor
2001-04-01 23:05:30 +0000
2a1743c76d* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or some compilers will complain.
Christopher Faylor
2001-04-01 05:38:08 +0000
11f3a79b64* exceptions.cc (call_signal_handler_now): Rename from call_signal_handler to avoid C++ confusion.
Christopher Faylor
2001-04-01 05:24:20 +0000
5817ee2d09* 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.
Christopher Faylor
2001-04-01 05:09:57 +0000
f2aeff27f0* 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.
Christopher Faylor
2001-04-01 03:06:02 +0000
f611148366* 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.
Christopher Faylor
2001-04-01 00:06:17 +0000
ab57d14639* fhandler_serial.cc (fhandler_serial::raw_write): Close protected handles with ForceCloseHandle or suffer spurious warnings.
Christopher Faylor
2001-03-31 22:13:02 +0000
0cec322603* fhandler.cc (fhandler_base::read): Remove special handling of CTRL-Z.
Christopher Faylor
2001-03-31 21:24:48 +0000
aa38a0227cmerge from gcc
DJ Delorie
2001-03-31 19:05:20 +0000
f42da31ad6* 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.
Corinna Vinschen
2001-03-30 11:10:13 +0000
0694d8d3102001-03-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-03-30 00:51:51 +0000
b5eb3d0f15* path.cc (chdir): Eat trailing whitespace on input path.
Christopher Faylor
2001-03-29 00:30:39 +0000
1ac6d1a144* 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.
Christopher Faylor
2001-03-28 03:42:58 +0000
6222b61fee* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
Alexandre Oliva
2001-03-28 01:19:29 +0000
90725b3297add missing stuff.
Christopher Faylor
2001-03-26 22:17:06 +0000
10bfaa0b6eoops - omitted from previous delta
Nick Clifton
2001-03-26 21:42:48 +0000
1636a5a1e8* mmap.cc (mmap): Outflank copy-on-write problem on 9x by setting access mode to FILE_MAP_READ when read access is requested.
Corinna Vinschen
2001-03-26 18:17:15 +0000
aa73152ef7* 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.
Christopher Faylor
2001-03-26 01:16:11 +0000
6e8a78d90cAutomate generate on man pages
Nick Clifton
2001-03-25 20:32:26 +0000
e380bf39ffSmall tweaks to sse2 instructions.
Alan Modra
2001-03-24 06:29:15 +0000
5c3393d227Remove extraneous whitespace
Nick Clifton
2001-03-24 00:46:00 +0000
5fa78238cbFix compile time warnings.
Nick Clifton
2001-03-24 00:45:11 +0000
c5807d7f94Add note about inability to use "make distclean" in maintainer mode.
Nick Clifton
2001-03-23 18:06:17 +0000
db0421f6ec* 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.
Christopher Faylor
2001-03-22 22:11:34 +0000
0b30bad456* fhandler_console.cc (fhandler_console::set_default_attr): Update console color attributes on tty reset.
Christopher Faylor
2001-03-22 18:19:00 +0000
9991281584Re-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.
Alexandre Oliva
2001-03-22 18:17:54 +0000
21ebbf8ecf* cris.h (ADD_PC_INCR_OPCODE): New macro.
Hans-Peter Nilsson
2001-03-22 16:09:20 +0000
e086534fc6* 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.
Hans-Peter Nilsson
2001-03-22 13:03:58 +0000
f1356578632001-03-22 Philip Blundell <philb@gnu.org>
Phil Blundell
2001-03-22 11:09:20 +0000
c445814840* autoload.cc (kernel32_init): New function for kernel32 autoload initialization. (SignalObjectAndWait): Add conditional load of this function when it is available.
Christopher Faylor
2001-03-22 03:42:08 +0000
46b107fb28paddq and psubq support.
Alan Modra
2001-03-22 02:27:53 +0000
4833b38c4e2001-03-21 Egor Duda <deo@logos-m.ru>
Jeff Johnston
2001-03-21 21:47:31 +0000
c0fb395ff32001-03-20 Michael Chastain <chastain@redhat.com>
Michael Chastain
2001-03-21 17:53:42 +0000
99a40adcd9add new file.
Christopher Faylor
2001-03-21 16:06:22 +0000
6b2a2aa4afAdd missing files.
Christopher Faylor
2001-03-21 14:00:29 +0000
9a08b2c02e* 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*.
Christopher Faylor
2001-03-21 02:17:58 +0000
a1299ba54b* 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.
Christopher Faylor
2001-03-20 19:50:28 +0000
d17d6d4286* 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).
Christopher Faylor
2001-03-20 19:27:56 +0000
dac9c6045f* 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.
Christopher Faylor
2001-03-20 19:27:37 +0000
8e65e2d398* 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.
Jim Blandy
2001-03-20 18:22:38 +0000
eec74f4ac6* configure: fix regeneration bug.
DJ Delorie
2001-03-20 01:26:45 +0000
b8c8fa1786* 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.
Christopher Faylor
2001-03-19 22:48:26 +0000
78ace8a7e5* 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.
Egor Duda
2001-03-19 18:27:37 +0000
98750a8404* mmap.cc (map::get_list_by_fd): Avoid calling `get_namehash' when file descriptor is -1.
Corinna Vinschen
2001-03-19 13:33:51 +0000
ca05a71296Fix register name printed in warning message.
Alan Modra
2001-03-19 11:28:20 +0000
30f326bf5e* 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.
Corinna Vinschen
2001-03-19 11:02:41 +0000
c7ee75cd2e* libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and _PC_POSIX_SECURITY constants for Cygwin.
Corinna Vinschen
2001-03-19 10:54:55 +0000
94b03f2380Fix spacing, copyrights.
Christopher Faylor
2001-03-18 21:11:25 +0000
51cb7ca7acfix spacing.
Christopher Faylor
2001-03-18 20:58:18 +0000
5e8e21d938* 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.
Egor Duda
2001-03-18 18:05:01 +0000
ca1cea7ed3Update copyrights.
Christopher Faylor
2001-03-18 03:34:05 +0000
9d1373cf8aUpdate copyright.
Christopher Faylor
2001-03-18 03:25:30 +0000
b9a1ad5f28Fix a typo.
H.J. Lu
2001-03-18 02:56:20 +0000
00a7496150* 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.
Christopher Faylor
2001-03-18 02:49:29 +0000
ee57685985* kill.cc (forcekill): Use dwProcessId when opening a process, not the Cygwin pid.
Christopher Faylor
2001-03-18 02:47:39 +0000
8eb72e632c* net.cc (get_95_ifconf): Use strcasematch instead of strcasecmp. * syscalls.cc (_unlink): Ditto. (_rename): Ditto.
Corinna Vinschen
2001-03-17 19:53:52 +0000
75c12e1f7aBritish -> US spelling. Add .inputrc tip to entry "How can I copy and paste into Cygwin console windows?"
David Starks-Browning
2001-03-17 18:50:22 +0000
57499703f2* path.cc (suffix_scan::next): Avoid searching for foo.lnk twice when input is "foo".
Christopher Faylor
2001-03-17 17:44:53 +0000
298fad4623* net.cc (cygwin_socket): Set protocol to 0 when address family is AF_UNIX to avoid WSAEPROTONOSUPPORT error.
Corinna Vinschen
2001-03-17 17:13:52 +0000
3614840015Remove "not yet updated" caveat from entry: "How is the DOS/Unix CR/LF thing handled?"
David Starks-Browning
2001-03-17 16:18:01 +0000
b63a3f55a7* 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.
Christopher Faylor
2001-03-17 07:09:41 +0000
92f4bf9725Fix typo.
Christopher Faylor
2001-03-17 05:14:16 +0000
db15b3e359Accomodate all devices.
Christopher Faylor
2001-03-17 05:11:20 +0000
5bb22c6b1d* syscalls.cc (stat_dev): Give devices full read/write.
Christopher Faylor
2001-03-17 05:06:14 +0000
c0c9de3c66* thread.cc (MTinterface::CreateCond): Check for null attr pointer.
Christopher Faylor
2001-03-17 04:49:13 +0000
ddca580f9a* 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.
Christopher Faylor
2001-03-17 02:15:33 +0000
ed4c976cf2fix spelling error.
Christopher Faylor
2001-03-17 01:45:40 +0000
b65c6896c8* 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.
Christopher Faylor
2001-03-17 01:29:14 +0000
5ccbf4b699* 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.
Christopher Faylor
2001-03-17 01:14:58 +0000
8308bf58f7merge from gcc
DJ Delorie
2001-03-14 21:30:22 +0000
996452f433Fix minor formatting bugs.
DJ Delorie
2001-03-14 20:17:36 +0000
ae2a41e5cbSynchronise with copyright dates on FSF GCC versions of these files
Nick Clifton
2001-03-14 19:45:29 +0000