Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)Author
2002-12-17* fhandler_termios.cc (fhandler_termios::line_edit): Return line_edit_error andChristopher Faylor
remove last char from readahead buffer if accept_input() fails. * fhandler_tty.cc (fhandler_pty_master::accept_input): Return 0 and restore readahead buffer when tty slave pipe is full.
2002-12-16* pinfo.cc (_pinfo::cmdline): Allocate sufficient space for myself command lineChristopher Faylor
args.
2002-12-15 * include/windows.h: Guard inclusion of wingdi.h,Danny Smith
commdlg.h, winspool.h, ole2.h with NOGDI. * include/winuser.h (ICONMETRICS, NONCLIENTMETRICS, ChangeDisplaySettings, CreateDesktop, EnumDisplaySettings): Guard with NOGDI.
2002-12-15 * setfacl.c (main): Place a single : after other and mask.Corinna Vinschen
* getfacl.c (getaclentry): Allow both : and :: for other and mask. (main): Remove extraneous break.
2002-12-14* fhandler_termios.cc (fhandler_termios::line_edit): Call accept_input() inChristopher Faylor
character processing loop. Set return value independently of input_done.
2002-12-14* fhandler.cc (fhandler_base::read): Signal event, if necessary, and raw_readChristopher Faylor
hasn't done so.
2002-12-14* fhandler.cc (fhandler_base::raw_read): Reset priorities to minimize windowChristopher Faylor
where thread termination may cause data loss. (fhandler_base::read): Always return at end of function. Just set len to copied_chars when len is zero. Return immediately after raw_read if len <= 0. Remove in_len setting and just check end instead. Fix CRLF handling at end of buffer.
2002-12-142002-12-14 Corinna Vinschen <corinna@vinschen.de>Corinna Vinschen
* dcrt0.cc (dll_crt0_1): Call well known SID initializer function. * security.h (cygsid::init): Declare new static method. * sec_helper.cc (cygsid::init): New method for initializing well known SIDs. 2002-12-14 Pierre Humblet <pierre.humblet@ieee.org> * security.h: Declare well_known_creator_group_sid. * sec_helper.cc: Define and initialize well_known_creator_group_sid.
2002-12-14 * netdb.cc: Remove strtok_r comment.Corinna Vinschen
2002-12-14 * security.cc (get_user_local_groups): Use LookupAccountSid to find theCorinna Vinschen
local equivalent of BUILTIN.
2002-12-14* pipe.cc (make_pipe): Set fork fixup flag for read pipe.Christopher Faylor
2002-12-14add FIXMEChristopher Faylor
2002-12-14* winbase.h: Turn on inline versions of Interlocked* by default.Christopher Faylor
* winbase.h: Fixup inline asm functions. Add ilockcmpexch.
2002-12-14Throughout, change fhandler_*::read and fhandler_*::raw_read to void functionsChristopher Faylor
whose second arguments are both the lenght and the return value. * fhandler.cc (fhandler_base::read): Rework slightly to use second argument as input/output. Tweak CRLF stuff. (fhandler_base::readv): Accommodate fhandler_*::read changes. * cygthread.h (cygthread::detach): Declare as taking optional handle argument. (cygthread::detach): When given a handle argument, wait for the handle to be signalled before waiting for thread to detach. Return true when signal detected.
2002-12-132002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>Danny Smith
* include/oleacc.h (SELFLAG_*): Change to enum.
2002-12-13 * include/malloc.h (_alloca): Add definition.Earnie Boyd
(alloca): Ditto.
2002-12-12 * Makefile.common: Define MINGW_LDFLAGS.Corinna Vinschen
* configure.in: Reorder SUBDIRS to have mingw before cygwin. * configure: Regenerate from configure.in. * cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
2002-12-12 * include/shlobj.h (IShellLinkW::GetPath): Correct prototype.Danny Smith
2002-12-12whitespaceChristopher Faylor
2002-12-11* cygthread.h (cygthread::stack_ptr): New element.Christopher Faylor
(cygthread::detach): Accept a "wait_for_signal" argument. (cygthread::terminate_thread): New function. * cygthread.cc (cygthread::stub): Set stack pointer argument. (cygthread::terminate_thread): New function. Forcibly terminate thread. (cygthread::detach): Optionally wait for signals and kill thread when signal arrives. * exceptions.cc (signal_exit): Set signal_arrived prior to exiting to wake up anything blocking on signals. * fhandler.h (fhandler_base::set_r_no_interrupt): Change to accept bool argument. (fhandler_pipe::ready_for_read): Declare. * pipe.cc (pipeargs): New structure. (read_pipe): New thread stub wrapper for normal pipe read. (fhandler_pipe::read): Modify to call reader in a cygthread, terminating on signal, as appropriate. * select.cc (fhandler_pipe::ready_for_read): Define new function.
2002-12-10 * net.cc (free_protoent_ptr): Add missing free() for base structure.Corinna Vinschen
(free_servent_pt): Ditto. (free_hostent_pt): Ditto.
2002-12-10 * netdb.cc (parse_alias_list, parse_services_line)Corinna Vinschen
(parse_protocol_line): Change strtok calls to strtok_r.
2002-12-102002-12-10 Pierre Humblet <pierre.humblet@ieee.org>Corinna Vinschen
* pwdgrp.h (pwdgrp_check::pwdgrp_state): Replace by pwdgrp_check::isinitializing (). (pwdgrp_check::isinitializing): Create. * passwd.cc (grab_int): Change type to unsigned, use strtoul and set the pointer content to 0 if the field is invalid. (parse_pwd): Move validity test after getting pw_gid. (read_etc_passwd): Replace "passwd_state <= " by passwd_state::isinitializing (). (internal_getpwuid): Ditto. (internal_getpwnam): Ditto. (getpwent): Ditto. (getpass): Ditto. * grp.cc (parse_grp): Use strtoul for gr_gid and verify the validity. (read_etc_group): Replace "group_state <= " by group_state::isinitializing (). (internal_getgrgid): Ditto. (getgrent32): Ditto. (internal_getgrent): Ditto. 2002-12-10 Pierre Humblet <pierre.humblet@ieee.org> * security.h: Move declarations of internal_getgrent, internal_getpwsid and internal_getgrsid to pwdgrp.h. * pwdgrp.h: Declare internal_getpwsid, internal_getpwnam, internal_getpwuid, internal_getgrsid, internal_getgrgid, internal_getgrnam, internal_getgrent and internal_getgroups. Delete "emulated" from enum pwdgrp_state. (pwdgrp_check::isuninitialized): Create. (pwdgrp_check::pwdgrp_state): Change state to initializing rather than to uninitialized. (pwdgrp_read::gets): Remove trailing CRs. * passwd.cc (grab_string): Don't look for NLs. (grab_int): Ditto. (parse_pwd): Don't look for CRs. Return 0 if entry is too short. (search_for): Delete. (read_etc_passwd): Simplify tests to actually read the file. Set state to loaded before making internal_getpwXX calls. Replace search_for calls by equivalent internal_pwgetXX calls. (internal_getpwsid): Use passwd_state.isuninitialized to decide to call read_etc_passwd. (internal_getpwuid): Create. (internal_getpwnam): Create. (getpwuid32): Simply call internal_getpwuid. (getpwuid_r32): Call internal_getpwuid. (getpwnam): Simply call internal_getpwnam. (getpwnam_r): Call internal_getpwnam. * grp.cc (parse_grp): Don't look for CRs. Adjust blank space. (add_grp_line): Adjust blank space. (class group_lock): Ditto. (read_etc_group): Simplify tests to actually read the file. Set state to loaded before making internal_getgrXX calls. Replace getgrXX calls by equivalent internal calls. (internal_getgrsid): Use group_state.isuninitialized to decide to call read_etc_group. (internal_getgrgid): Create. (internal_getgrnam): Create. (getgroups32): Simply call internal_getgrgid. (getgrnam32): Simply call internal_getgrnam. (internal_getgrent): Call group_state.isuninitialized. (internal_getgroups): Create from the former getgroups32, using two of the four arguments. Set gid to myself->gid and username to cygheap->user.name (). (getgroups32): Simply call internal_getgroup. (getgroups): Call internal_getgroup instead of getgroups32. (setgroups32): Call internal versions of get{pw,gr}XX. * sec_helper.cc: Include pwdgrp.h. (is_grp_member): Call internal versions of get{pw,gr}XX. * security.cc: Include pwdgrp.h. (alloc_sd): Call internal versions of get{pw,gr}XX. * syscalls.cc: Include pwdgrp.h. (seteuid32): Call internal versions of get{pw,gr}XX. (setegid32): Ditto. * uinfo.cc: Include pwdgrp.h. (internal_getlogin): Call internal versions of get{pw,gr}XX. (cygheap_user::ontherange): Ditto. * sec_acl.cc: Include pwdgrp.h. (setacl): Call internal versions of get{pw,gr}XX. (acl_access): Ditto and simplify logic. (aclfromtext): Ditto.
2002-12-10correct dateChristopher Faylor
2002-12-10* lib/pseudo-reloc.c: New file.Christopher Faylor
* lib/_cygwin_crt0_common.cc: Perform pseudo-relocs during initialization of cygwin binary (.exe or .dll).
2002-12-09 * include/shellapi.h (ExtractIconEx[AW]): Correct return typeDanny Smith
to UINT.
2002-12-08 * mingwex/math/s_erf.c: New file.Danny Smith
* mingwex/math/sf_erf.c: New file. * mingwex/Makefile.in (MATH_DISTFILES): Add new files. (MATH_OBJS): Add new objects. * include/math.h (erf[f]): Add prototypes. (erfc[f]): Add prototypes.
2002-12-07 * include/math.h: Add traditional/XOPEN math constants.Danny Smith
Add missing ChangeLog entry for 2002-11-27
2002-12-07 * include/winuser.h (AllowSetForegroundWindow,Danny Smith
LockSetForegroundWindow) Add prototypes. (ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK) Add defines. Thanks to: Pat Thoyts <patthoyts@users.sourceforge.net> * lib/winuser.def (AllowSetForegroundWindow, LockSetForegroundWindow): Add stubs.
2002-12-07fix dateChristopher Faylor
2002-12-06* cygwin.din: Reflect name change from strtodf to strtof. Export strtof.Christopher Faylor
* include/cygwin/version.h: Bump API minor number.
2002-12-062002-12-06 Ken Fitlike <kenfitlike@users.sourceforge.net>Danny Smith
* include/commctrl.h (TN_GETDISPINFO[AW]): Add defines and UNICODE mappings. (tagNMTTDISPINFO[AW]): Replace obsolete struct names tagTOOLTIPTEXT[AW] and typedefs. Add defines for backward compatability. Add lParam field. Add UNICODE mappings for new names.
2002-12-05* fhandler.h (fhandler_termios::line_edit): Change return from an int to anChristopher Faylor
enum to allow the function to return an error. * fhandler_console.cc (fhandler_console::read): Update the line_edit call to use the new enum. * fhandler_termios.cc (fhandler_termios::line_edit): Change return from an int to an enum to allow the function to return an error. Put put_readahead call before doecho for future patch. * fhandler_tty.cc (fhandler_pty_master::write): Change to call line_edit one character at a time, and stop if an error occurs.
2002-12-04fix commentChristopher Faylor
2002-12-04* netdb.cc: New file.Christopher Faylor
* Makeile.in (DLL_OFILES): Add reference to the new netdb.cc file. * cygwin.din : Add new aliased exports for service and protocol enumerations in netdb.cc.
2002-12-04 * cxx.cc: New file. Implement new, new[], delete and delete[]Corinna Vinschen
operators and __cxa_pure_virtual if compiled by gcc >=3. * Makefile.in (DLL_OFILES): Add cxx.o. Remove libstdc++.a from cygwin1.dll link step.
2002-12-022002-12-02 Andrew Stadt <acstadt@sympatico.ca>Danny Smith
* include/shellapi.h (_SHFILEOPSTRUCTA,_SHFILEOPSTRUCTW): Wrap with pshpack2.h/poppack.h to correct alignment.
2002-12-022002-12-02 Ken Fitlike <kenfitlike@users.sourceforge.net>Danny Smith
* include/commctrl.h (LVBKIF_*): Add defines. (LVM_SETIMAGE[AW]): Add defines and UNICODE mappings. (LVM_GETIMAGE[AW]): Add defines and UNICODE mappings. (LVBKIMAGE[AW]): Add defines and UNICODE mappings. (LPLVBKIMAGE[AW]): Add defines and UNICODE mappings. (LVM_GETBKIMAGE[AW]): Add defines and UNICODE mappings. (LVM_SETBKIMAGE[AW]): Add defines and UNICODE mappings. (ListView_GetBkImage): Add define. (ListView_SetBkImage): Add define. (LVBKIMAGE): Add structures and typedefs.
2002-12-01* fhandler_tty.cc (fhandler_pty_master::accept_input): Move read_retvalChristopher Faylor
assignment to prevent race condition. Remove read_retval from return statement.
2002-11-29* pinfo.h (winpids::set): Renamed from init.Christopher Faylor
(winpids::init): New declaration. (winpids::cs): Ditto. (winpids::winpids): Use set rather than init. * external.cc (fillout_pinfo): Ditto. * dcrt0.cc (dll_crt0_1): Call winpids::init. * pinfo.cc (winpids::set): Renamed from init. Wrap calls in critical section. (winpids::init): New function. (winpids::cs): Define.
2002-11-29* sigproc.cc (sig_dispatch_pending): Remove assertion.Christopher Faylor
2002-11-28revert botched checkinChristopher Faylor
2002-11-28* include/cygwin/version.h: Bump DLL minor number.Christopher Faylor
2002-11-28* fhandler_socket.cc (fhandler_socket::sendto): Fix potential unitialized valueChristopher Faylor
return.
2002-11-27* cygwin.din: Export pthread_getsequence_np.Christopher Faylor
* include/cygwin/version.h: Bump API minor version.
2002-11-27 * mingwex/math/lgamma.c: New file.Danny Smith
* mingwex/math/lgammaf.c: New file. * mingwex/math/lgammal.c: New file. * mingwex/math/tgamma.c: New file. * mingwex/math/tgammaf.c: New file. * mingwex/math/tgammal.c: New file. * mingwex/math/cephes_mconf (polevlf): Add float version. (p1evlf): Likewise. Define _CEPHES_USE_ERRNO. * mingwex/Makefile.in (MATH_DISTFILES): Add new files. (MATH_OBJS): Add new objects. * include/math.h (lgamma[fl]): Add prototypes. (tgamma[fl]): Add prototypes.
2002-11-27white spaceChristopher Faylor
2002-11-27* cygwin.din: Export nl_langinfo().Christopher Faylor
* include/cygwin/version.h: Bump API minor version.
2002-11-26* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal SleepChristopher Faylor
or suffer amazing pauses when other tty apps are running. (fhandler_pty_master::process_slave_output): Ditto.
2002-11-26Add strtold and wcstold to libmingwex.aDanny Smith
* mingwex/strtold.c: New file. * mingwex/wcstold.c: New file. * mingwex/ldtoa.c: New file. * mingwex/math/cephes_emath.h: New file. * mingwex/math/cephes_emath.c: New file. * mingwex/Makefile.in (DISTFILES): Add new files. (MATH_DISTFILES): Ditto. (STDLIB_OBJS): New. Define as strtold.c wcstold.c. (MATH_OBJS): Add cephes_emath.o. (LIB_OBJS): Add $(STDLIB_OBJS). * include/stdlib.h (strtold, wcstold): Add prototypes. * include/wchar.h (wcstold): Add prototype. Add missing ChangeLog entry for 2002-11-09.