15a3d9cc40fix typo
Christopher Faylor
2002-11-23 01:27:42 +0000
aa1ad0633bmerge from gcc
DJ Delorie
2002-11-22 21:02:07 +0000
a0d3c309e4* exceptions.cc (handle_sigsuspend): Force pending signal delivery before waiting for signals to happen. * signal.cc (sleep): Force pending signal delivery before sleeping. (usleep): Ditto. (signal): Force pending signal delivery before manipulating signal stuff. (sigprocmask): Ditto. (kill_worker): Ditto. (abort): Ditto. (sigaction): Ditto. * syscalls.cc (readv): Force pending signal delivery before I/O. (writev): Ditto. (open): Ditto. * net.cc: Ditto, throughout. * sigproc.cc (sig_dispatch_pending): Deliver any pending signals prior to returning. * tty.cc (tty::make_pipes): Increase pipe buffer size.
Christopher Faylor
2002-11-22 20:51:13 +0000
2955fd76692002-11-22 Joe Buehler <jbuehler@hekimian.com>
Jeff Johnston
2002-11-22 19:54:22 +0000
40ce7368d92002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
Jeff Johnston
2002-11-22 18:06:10 +0000
8efb9fd7af* include/cygwin/version.h: Fix comment.
Christopher Faylor
2002-11-22 16:27:32 +0000
13af9a149d* exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up timeslice' wait. (setup_handler): Revamp YA to attempt to deliver signal multiple times on failure rather than punting to wait_sig. * miscfuncs.cc (low_priority_sleep): Accept INFINITE sleep to mean "don't reset the priority after setting it to idle". Return previous priority. * winsup.h (SLEEP_0_STAY_LOW): Define. (low_priority_sleep): Return an int. * sigproc.h: Define WAIT_SIG_PRIORITY here. * sigproc.cc: Remove WAIT_SIG_PRIORITY definition.
Christopher Faylor
2002-11-22 04:43:47 +0000
505746ad222002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
Jeff Johnston
2002-11-20 17:24:57 +0000
647b92a7d4* security.h: Declare internal_getpwsid and internal_getgrsid. Undeclare internal_getpwent. Define DEFAULT_UID_NT. Change DEFAULT_GID. * passwd.cc (internal_getpwsid): New function. (internal_getpwent): Suppress. (read_etc_passwd): Make static. Rewrite the code for the completion line. Set curr_lines to 0. (parse_pwd): Change type to static int. Return 0 for short lines. (add_pwd_line): Pay attention to the value of parse_pwd. (search_for): Do not look for nor return the DEFAULT_UID. * grp.cc (read_etc_group): Make static. Free gr_mem and set curr_lines to 0. Always call add_pwd_line. Rewrite the code for the completion line. (internal_getgrsid): New function. (parse_grp): If grp.gr_mem is empty, set it to &null_ptr. Never NULL gr_passwd. (getgrgid32): Only return the default if ntsec is off and the gid is ILLEGAL_GID. * sec_helper.cc (cygsid::get_id): Use getpwsid and getgrsid. (cygsid_getfrompw): Clean up last line. (cygsid_getfromgr): Ditto. (is_grp_member): Use getpwuid32 and getgrgid32. * uinfo.cc (internal_getlogin): Set DEFAULT_GID at start. Use getpwsid. Move the read of /etc/group after the second access to /etc/passwd. Change some debug_printf.
Corinna Vinschen
2002-11-20 17:10:05 +0000
dbcb75780a* security.cc (get_attribute_from_acl): Always test "anti", just in case an access_denied ACE follows an access_allowed. Handle the case owner_sid == group_sid, with a FIXME. Remove unnecessary tests for non-NULL PSIDs. (alloc_sd): Use existing owner and group sids if {ug}id == -1. Handle case where owner_sid == group_sid. Do not call is_grp_member. Try to preserve canonical ACE order. Remove unnecessary tests for non-NULL PSIDs. Reorganize debug_printf's. (get_initgroups_sidlist): Put well_known_system_sid on left side of ==. (add_access_denied_ace): Only call GetAce if inherit != 0. (add_access_allowed_ace): Ditto. Use appropriate sizeof. * syscalls.cc (chown_worker): Pass {ug}id equal to -1 to alloc_sd, which removes the need to obtain old_{ug}id. (chmod): Remove call to get_file_attribute (), simply pass {ug}id equal to -1 to alloc_sd.
Corinna Vinschen
2002-11-20 09:23:21 +0000
03b65245db* poll.cc (poll): Don't set POLLERR if a listening socket has a pending connect. Don't use errno value from call to fhandler_socket::recvfrom().
Corinna Vinschen
2002-11-20 08:03:50 +0000
1f176167c5Fix bugs in previous delta
Nick Clifton
2002-11-18 16:30:55 +0000
28ecb2f58eAdd NULL to end of argv array.
Nick Clifton
2002-11-18 15:21:24 +0000
dea6510472Fixups in ChangeLog entries which has been filed in the wrong place.
Svein Seldal
2002-11-18 14:00:44 +0000
6aec25d6c3* gas/config/tc-tic4x.c: Fixed proper commandline parameters. Added support for new opcode-list format. General error message fixups. (c4x_inst_add): Reject insn not for our CPU (md_begin): Added matrix for setting the proper opcode-level & device-flags according to cpu type and revision. Rewrite the opcode hasher. (c4x_operand_parse): Fix opcode bug (c4x_operands_match): New function argument. Added dry-run mechanism, that is optional error generation. Added constraint 'i' and 'j'. (c4x_insn_check): Added new function for post-verification of the generated insn. (md_assemble): Check all opcodes before croaking because of an argument mismatch. Need this to be able to fully support ortogonally arguments. (md_parse_options): Revised commandprompt swicthes and added new ones. (md_show_usage): Complete rewrite of printout. * gas/testsuite/gas/tic4x/addressing.s: Fix bug in one insn * gas/testsuite/gas/tic4x/addressing_c3x.d: Update thereafter * gas/testsuite/gas/tic4x/addressing_c4x.d: Update thereafter * gas/testsuite/gas/tic4x/allopcodes.S: Add support for new opclass.h changes * gas/testsuite/gas/tic4x/opclasses.h: Added testsuites for the new enhanced opcodes. * gas/testsuite/gas/tic4x/opcodes.s: Regenerate * gas/testsuite/gas/tic4x/opcodes_c3x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_c4x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_new.d: Added new testsuite for the enhanced and special insns. * gas/testsuite/gas/tic4x/tic4x.exp: Added the opcodes_new testsuite * include/opcode/tic4x.h: File reordering. Added enhanced opcodes. * opcodes/tic4x-dis.c: Added support for enhanced and special insn. (c4x_print_op): Added insn class 'i' and 'j' (c4x_hash_opcode_special): Add to support special insn (c4x_hash_opcode): Update to support the new opcode-list format. Add support for the new special insns. (c4x_disassemble): New opcode-list support.
Svein Seldal
2002-11-18 09:09:34 +0000
4ed9c1e62enew entry: "Is there a better alternative to the standard console window?" (yes, rxvt)
David Starks-Browning
2002-11-18 00:25:14 +0000
34fd220461re. copy/paste in console window: use rxvt instead
David Starks-Browning
2002-11-17 23:54:11 +0000
52b945c6bfindicate ntsec now on by default
David Starks-Browning
2002-11-17 23:49:14 +0000
dab41351ea* gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function. (c4x_operands_match): Added check for 8-bits LDF insn. Give warning when using constant direct bigger than 2^16. Add the new arguments. * include/opcode/tic4x.h: Major rewrite of entire file. Define instruction classes, and put each instruction into a class. * opcodes/tic4x-dis.c: (c4x_print_op): Add support for the new argument format. Fix bug in 'N' register printer.
Svein Seldal
2002-11-16 12:23:23 +0000
1b6860be30* tty.cc (tty::make_pipes): Make pipe buffer larger.
Christopher Faylor
2002-11-16 06:22:42 +0000
463e739282* grp.cc (getgroups32): Protect against closing cygheap->user.token.
Christopher Faylor
2002-11-16 03:50:56 +0000
a87878a965* lib/uuid.c (CATID_InternetAware,CLSID_HttpSProtocol, CLSID_PSUrlMonProxy,CLSID_StdURLMoniker,IID_IObjectWithSite, IID_IPersistMoniker,IID_IProgressNotify): Correct definitions. (CLSID_CFontPropPage00, GUID_FONTUNDERSCORE11, IID_IOleControlSite89): Remove.
Danny Smith
2002-11-16 03:04:41 +0000
f319cb1ad3* include/cygwin/version.h: Bump API_MINOR to accommodate below changes. * cygwin.din (siginterrupt): New export. * signal.cc (siginterrupt): New.
Christopher Faylor
2002-11-15 19:04:36 +0000
4b9ddc7dc9* select.cc (peek_serial): Don't call PurgeComm() to avoid characters loss.
Christopher Faylor
2002-11-15 18:58:12 +0000
26eb19efe42002-11-15 Weiqi Gao <weiqigao@users.sourceforge.net>
Danny Smith
2002-11-15 07:13:22 +0000
6597785dc2* exceptions.cc (setup_handler): Add debugging output. Set thread priority to idle if pending signals to allow other threads to get into interruptible state. * miscfuncs.cc (sys_mbstowcs): Save current thread in variable to avoid an OS call. * wait.cc (wait_sig): Reset thread priority each time through loop since the priority may have been set down to deal with pending signals.
Christopher Faylor
2002-11-15 04:35:13 +0000
d4990113a1* fhandler_serial.cc (fhandler_serial::tcgetattr): Don't take any special action when vmin_ == 0.
Christopher Faylor
2002-11-15 02:12:36 +0000
429ae76922* include/ddk/ntddk.h: Include winnt.h as system header.
Danny Smith
2002-11-15 01:02:37 +0000
665b994e3a2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-11-14 23:04:05 +0000
16f880fcba* Makefile.tpl: syntactic cleanup
DJ Delorie
2002-11-14 22:42:36 +0000
4ce377c9d4* grp.cc (getgroups32): Revert previous patch. Use impersonation token if process is in impersonated state. * sec_helper.cc (is_grp_member): Rewrite. Call getgroups32 only for current user. Scan passwd and group info otherwise.
Corinna Vinschen
2002-11-14 19:19:39 +0000
69920bb5bdAdd --enable-auto-import extension.
Nick Clifton
2002-11-14 18:03:17 +0000
33902276b1checking previously ChangeLog'ed file.
Christopher Faylor
2002-11-14 18:02:05 +0000
5b213f8bd6* fhandler_console.cc (fhandler_console::write): Allow characters >= 0177 to be displayed in the title bar.
Christopher Faylor
2002-11-14 17:46:58 +0000
dae01cb624* grp.cc (getgroups32): Don't use access token of current user when retrieving group info for another user.
Corinna Vinschen
2002-11-14 10:28:55 +0000
052990e6b3* dll_init.cc (dll_list::detach): Eliminate reliance on passed in dll address. Infer from module of caller instead. (cygwin_detach_dll): Ignore dll_index argument. * dll_init.h (dll_list::detach): Reflect argument change above.
Christopher Faylor
2002-11-14 04:29:39 +0000
a2dea5c333* ioctl.cc (ioctl): Always print ioctl results, even when it's a tty. * winsup.h (low_priority_sleep): Declare.
Christopher Faylor
2002-11-14 02:15:23 +0000
40e4147f4e* winsup.h (low_priority_sleep): Declare.
Christopher Faylor
2002-11-13 22:08:05 +0000
c0a02a4b42* miscfuncs.cc (low_priority_sleep): New function. Use throughout where code is supposed to be giving up time slice. * fhandler_console.cc (fhandler_console::read): Switch button 2/3 output escape sequences to be consistent with xterm.
Christopher Faylor
2002-11-13 19:36:12 +0000
7a11fe607e* syscalls.cc (chmod): Simplify conditional. * sec_helper (cygsid::getfromstr): Reorganize to remove calls to strcpy and strtok_r. (cygsid::getfromgr): Change type to __uid32_t instead of int. Keep only the allow_ntsec branch. Never call LookupAccountSid which calls PDCs, simply return -1 in case of failure. Use cygsid == instead of calling EqualSid and remove test for NULL psid. * security.h: Declare cygsid::getfromgr as __uid32_t.
Corinna Vinschen
2002-11-12 15:51:11 +0000
bc612556a8gas tic4x target enhancements (long list - see gas/ChangeLog and include/ChangeLog)
Svein Seldal
2002-11-11 14:29:01 +0000
d13e042939Retire common MPW configury bits. * mpw-mh-mpw: Remove. * mpw: Remove directory along with all of its files.
Stan Shebs
2002-11-11 05:38:51 +0000
1b5f0e595b* how-programming.texinfo: Document _WIN32 more fully.
Christopher Faylor
2002-11-10 19:38:26 +0000
7922485391* net.cc: Run indent.
Corinna Vinschen
2002-11-10 13:43:26 +0000
5d7bffe9272002-11-09 Weiqi Gao <weiqigao@users.sourceforge.net>
Danny Smith
2002-11-10 04:14:31 +0000
ec61cd7268correct date
Christopher Faylor
2002-11-10 00:51:25 +0000
9da547ff26* include/math.h (sqrt): Remove inline definition. (sqrtf): Replace inline definition with prototype. (sqrtl): Likewise. * mingwex/math/sqrtf.c (sqrtf): Set domain error if argument less than zero. * mingwex/math/sqrtf.c (sqrtl): Likewise.
Danny Smith
2002-11-09 10:44:02 +0000
49f7ea1675* fhandler.h (class fhandler_pipe): New ioctl() method. * pipe.cc (fhandler_pipe::ioctl): New.
Christopher Faylor
2002-11-09 03:17:40 +0000
59ba222ca2* fhandler_socket.cc (fhandler_socket::ioctl): Return correct flags for loopback interface when name is given on input instead of address.
Corinna Vinschen
2002-11-07 10:22:26 +0000
0be1147408* cygwin.din: Export fseeko() and ftello(). * include/cygwin/version.h: Bump API minor version.
Corinna Vinschen
2002-11-07 09:08:40 +0000
f7618386afminor reformat
Christopher Faylor
2002-11-07 03:41:16 +0000
c8fae3c17b* fhandler_console.cc (keytable[]): Revert previous change. It would break too many things.
Christopher Faylor
2002-11-07 03:35:02 +0000
6c2d501195* fhandler_console.cc (keytable[]): Redefine F1 - F5 to something a little more sensical.
Christopher Faylor
2002-11-07 03:16:08 +0000
c759d297b2* syscalls.cc (getutid): Use UT_IDLEN where appropriate.
Christopher Faylor
2002-11-07 02:50:50 +0000
503430d83b* include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
Christopher Faylor
2002-11-07 02:48:59 +0000
4248a1d7f8* include/cygwin/version.h: Bump API minor number for below export. * cygwin.din (pututline): New exported function. * syscalls.cc (login): Use pututiline(). (setutent): Open utmp as read/write. (endutent): Check if utmp file is open. (utmpname): call endutent() to close current utmp file. (getutid): Enable all cases, use strncmp() to compare ut_id fields. (pututline): New. * tty.cc (create_tty_master): Set ut_pid to current pid.
Christopher Faylor
2002-11-07 02:19:52 +0000
18cd62b7fb2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Jeff Johnston
2002-11-07 00:44:31 +0000
5b303311672002-11-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-11-07 00:25:57 +0000
c27382bdbe2002-11-08 Jeff Johnston <jjohnstn@redhat.com> Catherine Moore <clm@redhat.com>
Jeff Johnston
2002-11-06 22:54:52 +0000
2035f402e4* fhandler_serial.cc (fhandler_serial::ioctl): Don't try to figure out if OS has the capability to retrieve RTS/CTS. Just set default values if DeviceIoControl fails. (suggested by Sergey Okhapkin)
Christopher Faylor
2002-11-06 01:50:32 +0000
087a28bf5e* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for minchars. (fhandler_serial::ioctl): Set errno if the ClearCommError fails. (fhandler_serial::tcsetattr): Use correct value for vmin_. (fhandler_serial::tcgetattr): Ditto.
Christopher Faylor
2002-11-05 23:15:04 +0000
2f5e9ace2e* fhandler_socket.cc (fhandler_socket::recvmsg): Call if from == NULL WSARecvFrom with fromlen = NULL.
Christopher Faylor
2002-11-05 16:49:58 +0000
ef1bf288df* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.
Christopher Faylor
2002-11-05 04:52:52 +0000
d263732238* pinfo.cc (_pinfo::commune_send): Set priority low when sleeping, waiting for commune completion so that we don't spin waiting for lower priority processes.
Christopher Faylor
2002-11-05 04:43:02 +0000
73f7245be2revert erroneous checkins
Christopher Faylor
2002-11-05 04:24:48 +0000
5806add291* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.
Christopher Faylor
2002-11-05 04:23:41 +0000
f57289609b* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random crashes.
Christopher Faylor
2002-11-05 03:39:25 +0000
8948b6585d* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error condition from cmdline retrieval.
Christopher Faylor
2002-11-05 03:21:32 +0000
43a299881f* sigproc.cc (WAIT_SIG_PRIORITY): Bump to highest priority.
Christopher Faylor
2002-11-05 02:58:10 +0000
d28888120d2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-11-04 19:04:09 +0000
6f37a0a1d9Top level configury changes for RDA.
Kevin Buettner
2002-11-04 18:41:14 +0000
d4e7dfae8e* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor
2002-11-04 05:08:15 +0000
b6183403ae* fhandler_serial.cc (fhandler_serial::ioctl): Reformat. Set errno appropriately. Exit from the bottom. Correctly deal with third argument for TCFLSH. (Suggested by Sergey Okhapkin)
Christopher Faylor
2002-11-04 04:09:14 +0000
2f14399c16* include/winnt.h (VerSetConditionMask): Add prototype. * lib/kernel32.def (VerifyVersionInfo[AW]): Add stubs.
Danny Smith
2002-11-04 03:53:53 +0000
2601ab5778* fhandler_tty.cc (fhandler_tty_slave::ioctl): Do nothing if the new window size is equal to the old one. Send SIGWINCH if slave connected to a pseudo tty. (fhandler_pty_master::ioctl): Do nothing if the new window size is equal to the old one.
Christopher Faylor
2002-11-04 01:10:38 +0000