summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add new file.Christopher Faylor2001-03-211-0/+41
|
* Add missing files.Christopher Faylor2001-03-212-0/+457
|
* * sched.cc: New file. Implement sched*.Christopher Faylor2001-03-217-950/+1012
| | | | | | * include/sched.h: New file. User land includes for sched*. * Makefile.in: Add sched.o * cygwin.din: Add exports for sched*.
* * dtable.cc: Guard against new winsock.h/winsock2.h warnings when mixingChristopher Faylor2001-03-206-6/+14
| | | | | | | | winsock*.h and sys/types.h. * fhandler_socket.cc: Ditto. * net.cc: Ditto. * select.cc: Ditto. * exceptions.cc: Remove unneeded define.
* * libc/include/sys/types.h (BSD int typedefs): Guard with _BSDTYPES_DEFINEDChristopher Faylor2001-03-203-9/+25
| | | | | | | 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).
* * include/winsock.h (_SYS_TYPES_H macro guard for int types): Remove; use onlyChristopher Faylor2001-03-204-12/+39
| | | | | | | | | _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.
* * libiberty/cp-demangle.c (struct demangling_def): New fields:Jim Blandy2001-03-202-0/+32
| | | | | | | | | | | | | 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.
* * configure: fix regeneration bug.DJ Delorie2001-03-202-1/+5
|
* * exceptions.cc (interruptible): Update debugging output.Christopher Faylor2001-03-194-5/+14
| | | | | | (setup_handler): Ensure that wait_sig loop wakes up when we punt on sending a signal. * poll.cc (poll): Add signal guard here.
* * tty.h (tty::create_inuse): Add new parameter to allow non-Egor Duda2001-03-194-5/+29
| | | | | | | | | | | | 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.
* * mmap.cc (map::get_list_by_fd): Avoid calling `get_namehash' whenCorinna Vinschen2001-03-192-1/+6
| | | | file descriptor is -1.
* Fix register name printed in warning message.Alan Modra2001-03-192-0/+7
|
* * syscalls.cc (check_posix_perm): New static function.Corinna Vinschen2001-03-193-3/+74
| | | | | | | (fpathconf): Add _PC_POSIX_PERMISSIONS and _PC_POSIX_SECURITY support. (pathconf): Ditto. * include/cygwin/version.h: Bump API minor number to 37.
* * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS andCorinna Vinschen2001-03-192-0/+11
| | | | _PC_POSIX_SECURITY constants for Cygwin.
* Fix spacing, copyrights.Christopher Faylor2001-03-1810-120/+116
|
* fix spacing.Christopher Faylor2001-03-181-12/+12
|
* * fhandler.h (fhandler_tty_slave): Declare new methods.Egor Duda2001-03-187-7/+83
| | | | | | | | | | | | | | * 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.
* Update copyrights.Christopher Faylor2001-03-1814-14/+14
|
* Update copyright.Christopher Faylor2001-03-182-2/+2
|
* Fix a typo.H.J. Lu2001-03-181-1/+1
|
* * external.cc (fillout_pinfo): Match windows pid, as well as cygwin pid whenChristopher Faylor2001-03-183-3/+10
| | | | | passed in pid. Don't prematurely break when searching for a pid. * thread.h (_winsup_t): Eliminate unneeded field.
* * kill.cc (forcekill): Use dwProcessId when opening a process, not the CygwinChristopher Faylor2001-03-182-1/+6
| | | | pid.
* * net.cc (get_95_ifconf): Use strcasematch instead of strcasecmp.Corinna Vinschen2001-03-173-3/+9
| | | | | * syscalls.cc (_unlink): Ditto. (_rename): Ditto.
* British -> US spelling.David Starks-Browning2001-03-171-3/+10
| | | | Add .inputrc tip to entry "How can I copy and paste into Cygwin console windows?"
* * path.cc (suffix_scan::next): Avoid searching for foo.lnk twice when input isChristopher Faylor2001-03-172-3/+12
| | | | "foo".
* * net.cc (cygwin_socket): Set protocol to 0 when address family isCorinna Vinschen2001-03-172-1/+6
| | | | AF_UNIX to avoid WSAEPROTONOSUPPORT error.
* * net.cc (cygwin_socket): Pass protocol parameter to socket call.Corinna Vinschen2001-03-172-1/+5
|
* Remove "not yet updated" caveat from entry:David Starks-Browning2001-03-171-3/+0
| | | | "How is the DOS/Unix CR/LF thing handled?"
* * dir.cc (readdir): Use strcasematch for consistency.Christopher Faylor2001-03-173-49/+66
| | | | | | | | | | | * 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.
* Fix typo.Christopher Faylor2001-03-171-1/+1
|
* Accomodate all devices.Christopher Faylor2001-03-172-4/+3
|
* * syscalls.cc (stat_dev): Give devices full read/write.Christopher Faylor2001-03-172-2/+6
|
* * thread.cc (MTinterface::CreateCond): Check for null attr pointer.Christopher Faylor2001-03-172-1/+5
|
* * fhandler_termios.cc (fhandler_termios::line_edit): Don't accept input when aChristopher Faylor2001-03-172-5/+7
| | | | signal is sent or we'll end up in an EOF/signal race.
* fix spelling error.Christopher Faylor2001-03-171-1/+1
|
* * path.cc: Translate scan states from defines to enums.Christopher Faylor2001-03-172-18/+39
| | | | | | | | | | (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.
* * cygwin.din: Export the new functions.Christopher Faylor2001-03-176-1/+410
| | | | | | | | | * 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.
* merge from gccDJ Delorie2001-03-141-0/+12
|
* Fix minor formatting bugs.DJ Delorie2001-03-141-10/+10
|
* Synchronise with copyright dates on FSF GCC versions of these filesNick Clifton2001-03-148-7/+14
|
* * environ.cc (parse_options): Use strtok_r instead of strtok.Corinna Vinschen2001-03-143-5/+19
| | | | | * security.cc (convert_string_sid_to_sid): Ditto. (aclfromtext): Ditto. Fix buffer usage.
* * path.cc (lnk_suffixes): Remove.Corinna Vinschen2001-03-143-21/+25
| | | | | | | | | | | | (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'.
* * libc/sys/cygwin/crt0.c: Add copyright hint.Corinna Vinschen2001-03-146-1/+46
| | | | | | | * 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.
* formatting fixNick Clifton2001-03-141-23/+24
|
* Fix typos in ChangeLogs; add coff/external.h; fix copyright datesNick Clifton2001-03-14144-4497/+2357
|
* * fhandler.cc (fhandler_disk_file::fstat): Add correct modes toCorinna Vinschen2001-03-132-1/+6
| | | | symlinks when stat'ing on FAT or FAT32 file systems.
* * include/wingdi.h: (DOCINFO) Ansi version defined incorrectly.Earnie Boyd2001-03-132-1/+6
| | | | Thanks to: Mattia Barbon <mbarbon@dsi.unive.it>
* * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make itAlexandre Oliva2001-03-132-0/+11
| | | | equivalent to LONGINT.
* Fix typoEgor Duda2001-03-131-2/+2
|
* * fhandler.h (fhandler_termios::fixup_after_exec): New function.Egor Duda2001-03-124-2/+18
| | | | | | | * 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().