aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-08-01* Makefile.in (DLL_OFILES): Add cygthread.o.Christopher Faylor15-287/+321
* dcrt0.cc (dll_crt0_1): Eliminate various thread initialization functions in favor of new cygthread class. * debug.cc: Remove thread manipulation functions. * debug.h: Ditto. * external.cc (cygwin_internal): Use cygthread method for determining thread name. Remove capability for setting thread name. * fhandler_console.cc (fhandler_console::read): Use cygthread method rather than iscygthread function. * fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Use cygthread methods to create threads. (fhandler_tty_common::__acquire_output_mutex): Use cygthread method to retrieve thread name. * select.cc (pipeinf): Use cygthread pointer rather than handle. (start_thread_pipe): Ditto. (pipe_cleanup): Ditto. (serialinf): Ditto. (start_thread_serial): Ditto. (serial_cleanup): Ditto. (socketinf): Ditto. (start_thread_socket): Ditto. (socket_cleanup): Ditto. * sigproc.cc (hwait_sig): Ditto. (hwait_subproc): Ditto. (proc_terminate): Ditto. (sigproc_terminate): Ditto. (sigproc_init): Initialize cygthread hwait_sig pointer. (subproc_init): Initialize cygthread hwait_subproc pointer. (wait_sig): Rely on cygthread HANDLE operator. * strace.cc (strace::vsprntf): Use cygthread::name rather than threadname. * window.cc (gethwnd): Use cygthread method to initialize thread.
2002-08-01Fix typo.Andreas Schwab1-1/+1
2002-08-01 * include/wininet.h (InternetReadFileEx[AW]). Add prototypes andDanny Smith3-1/+96
UNICODE mapings. * lib/wininet.def: Regenerate.
2002-07-31 * fhandler.h (fhandler_base::get_r_no_interrupt): Make non-virtual.Corinna Vinschen3-1/+7
* net.cc (fdsock): Call set_r_no_interrupt.
2002-07-31Add new field to bfd_link structure and use it to control how common symbolsNick Clifton2-0/+17
are extracted from archives.
2002-07-31* syscalls.cc (_read): Clarify debugging output.Christopher Faylor2-4/+9
2002-07-31* fhandler.h (fhandler_base::get_r_no_interrupt): Make virtual.Christopher Faylor2-1/+5
2002-07-30* configure.in: Move generic linux case to end. Copy genericDJ Delorie2-3/+15
linux noconfigdirs to mips*-*-linux* entry and new powerpc64*-*-linux* entry. Add target-libffi for the latter.
2002-07-30* fhandler_disk_file.cc (fhandler_cygdrive::set_drives): Incorporate . and ..Christopher Faylor2-15/+20
processing here. (fhandler_cygdrive::readdir): Assume . and .. are already in pdrive. (fhandler_cygdrive::seekdir): Ditto.
2002-07-30 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.Corinna Vinschen2-0/+7
2002-07-30fix typoChristopher Faylor1-1/+1
2002-07-30 * include/windef.h (PVOID, LPVOID): Move typedefs to...Danny Smith4-1/+36
* include/winnt: ...here. (PVOID64): New typeddef. * include/winnt,h (FILE_SEGMENT_ELEMENT): Define union. * include/winbase.h: (ReadFileScatter, WriteFileGather): Add prototypes. * include/winnt,h (PROCESSOR_ARCHITECTURE_*): Add defines. (PROCESSOR_INTEL_IA64): Add define
2002-07-30* dcrt0.cc (dll_crt0_1): Move debug_fixup_after_fork_exec.Christopher Faylor4-33/+38
* cygheap.cc (cygheap_fixup_in_child): Call debug_fixup_after_fork_exec immediately after cygheap has ben set up.
2002-07-292002-07-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-23/+107
* libc/sys/linux/Makefile.am: Add aio64.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/aio.c (aio_init): ENOSYS stub added. * libc/sys/linux/aio64.c: New file.
2002-07-29sim-h8300.h: Rename all enums from H8300_ to SIM_H8300_Andrey Volkov2-28/+36
2002-07-29 * security.cc: Change some formatting.Corinna Vinschen9-226/+457
* include/cygwin/version.h: Bump API minor version. * cygheap.h (class cygheap_user): Add member groups. * security.h (class cygsidlist): Add members type and maxcount, methods position, addfromgr, alloc_sids and free_sids and operator+= (const PSID psid). Modify contains () to call position () and optimize add () to use maxcount. (class user_groups): Create. Update declarations of verify_token and create_token. * security.cc (cygsidlist::alloc_sids): New. (cygsidlist::free_sids): New. (get_token_group_sidlist): Create from get_group_sidlist. (get_initgroups_sidlist): Create from get_group_sidlist. (get_group_sidlist): Suppress. (get_setgroups_sidlist): Create. (verify_token): Modify arguments. Add setgroups case. (create_token): Modify arguments. Call get_initgroups_sidlist and get_setgroups_sidlist as needed. Set SE_GROUP_LOGON_ID from auth_pos outside of the loop. Rename the various group sid lists consistently. * syscalls.cc (seteuid32): Modify to use cygheap->user.groups. (setegid32): Call cygheap->user.groups.update_pgrp. * grp.cc (setgroups): Create. (setgroups32): Create. * uinfo.cc (internal_getlogin): Initialize and update user.groups.pgsid. * cygwin.din: Add setgroups and setgroups32.
2002-07-29* fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrpChristopher Faylor6-18/+63
method. * select.cc (peek_console): Ditto. * fhandler_termios.cc (fhandler_termios::bg_check): Send "stopped" signal to entire process group as dictated by SUSv3. * termios.cc (tcsetattr): Detect when stopped signal sent and force a stop before setting anything.
2002-07-29* include/tchar.h (_tfdopen): Correct typo.Danny Smith2-1/+7
2002-07-29Add incomplet long double math support to libmingwex.aDanny Smith143-623/+5197
2002-07-27fix commercial contactDavid Starks-Browning1-2/+2
2002-07-27* include/cygwin/version.h: Bump API version to indicate that ntsec is on byChristopher Faylor2-1/+7
default now.
2002-07-26darn typoDavid Starks-Browning1-1/+1
2002-07-26update paths to setup.log*David Starks-Browning1-3/+3
2002-07-26nuke section "What's the difference between packages in `latest' and `contrib'?"David Starks-Browning1-5/+0
2002-07-26correct minor typoDavid Starks-Browning1-1/+1
2002-07-26paragraph fill (oops!)David Starks-Browning1-13/+13
2002-07-26update CD release plansDavid Starks-Browning1-3/+2
2002-07-26update & improve section "How do I just get everything?"David Starks-Browning1-16/+31
2002-07-26rewrite (incl new heading) section on installing snapshotsDavid Starks-Browning1-26/+16
2002-07-26minor improvements to wordingDavid Starks-Browning1-9/+8
2002-07-26minor improvements to wordingDavid Starks-Browning1-8/+9
2002-07-262002-07-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston13-46/+1084
* libc/include/sys/param.h (MAX, MIN): Added macros. * libc/sys/linux/Makefile.am: Add new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sys/stat.h: Add *stat64 prototypes. * libc/sys/linux/inode.c (fchdir): Added syscall. * libc/sys/linux/ftw.c: New file. * libc/sys/linux/ftw64.c: Ditto. * libc/sys/linux/getwd.c: Ditto. * libc/sys/linux/scandir64.c: Ditto. * libc/sys/linux/strverscmp.c: Ditto. * libc/sys/linux/versionsort.c: Ditto. * libc/sys/linux/versionsort64.c: Ditto.
2002-07-26* fhandler_registry.cc (fhandler_registry::close): Return any error result toChristopher Faylor3-3/+8
the caller. * syscalls.cc (_close): Return result of fhandler::close to the caller.
2002-07-262002-07-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* libc/string/strings.tex: Fix typo for memccpy.
2002-07-26* include/oleidl.h (MK_ALT): Define.Danny Smith2-0/+7
2002-07-262002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>Danny Smith12-1/+896
* include/exdisp.h: New file. * include/exdispid.h: New file. * include/mshtml.h: New file. * lib/test.c: #include exdisp.h and mshtml.h * lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents, DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2, IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange, IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp): New GUIDs. * include/docobj.h: New file. * include/idispids.h: New file. * include/objidl.h (IID_IMoniker): Declare. * include/ocidl.h (READYSTATE): New enum. (IOleInPlaceSiteEx): New interface. * include/olectlid.h (IID_IEnumSTATSTG): New interface identifier. * include/oleidl.h (IOleItemContainer, IOleInPlaceObject, IOleInPlaceSite): New interfaces. * lib/test.c: #include docobj.h,idispids.h,
2002-07-252002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+26
* libc/sys/linux/io64.c (truncate64, ftruncate64): Added. * libc/sys/linux/sys/types.h (off64_t): Definition added.
2002-07-252002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-4/+19
* libc/sys/linux/Makefile.am: Add fclean.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/fclean.c: New file.
2002-07-252002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston6-36/+213
* libc/sys/linux/Makefile.am: Add confstr.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/confstr.c: New file. * libc/sys/linux/confstr.h: Ditto. * libc/sys/linux/sys/unistd.h: Include <features.h> and <bits/environments.h>.
2002-07-252002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston7-11/+11
* libc/sys/linux/config.h (__set_errno): Macro definition removed. * libc/sys/linux/fpathconf.c (__set_errno): Ditto. * libc/sys/linux/libc-internal.h (__set_errno): Ditto. * libc/sys/linux/pathconf.c (__set_errno): Ditto. * libc/sys/linux/ttyname_r.c (__set_errno): Ditto. * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
2002-07-25* security.cc (allow_ntsec): Default to on.Christopher Faylor2-2/+7
(allow_smbntsec): Default to off.
2002-07-25* times.cc (to_time_t): Always round time_t down to nearest second.Christopher Faylor2-4/+4
2002-07-25 * opcode/mips.h (CPU_R2000): Remove.Richard Sandiford2-1/+4
2002-07-25* Makefile.in: Check if API version is updated when exports areEgor Duda2-1/+12
changed and stop if not so.
2002-07-24 * include/shlobj.h (BFFM_VALIDATEFAILED[AW]): Add defines.Danny Smith2-2/+20
(BFFM_SETSTATUSTEXT, BFFM_SETSELECTION): UNICODE them.
2002-07-242002-07-25 Mattia Barbon <mbarbon@dsi.unive.it>Danny Smith3-1/+10
* include/commctrl.h: Avoid redefinition of CDN_FIRST/LAST. * include/commdlg.h: Likewise.
2002-07-242002-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston14-34/+981
* libc/sys/linux/Makefile.am: Add new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/fstab.c: New file. * libc/sys/linux/fstatvfs.c: Ditto. * libc/sys/linux/fstatvfs64.c: Ditto. * libc/sys/linux/internal_statvfs.c: Ditto. * libc/sys/linux/mntent.c: Ditto. * libc/sys/linux/mntent_r.c: Ditto. * libc/sys/linux/statvfs.c: Ditto. * libc/sys/linux/statvfs64.c: Ditto. * libc/sys/linux/include/paths.h: Ditto. * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls with double-underscore weak-aliases. * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2002-07-242002-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-14/+20
* libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change to use _sig_func_ptr type casted constants. (_sig_func_ptr): Typedef moved to sys/signal.h. * libc/include/sys/signal.h (_sig_func_ptr): Typedef added. For __rtems, use POSIX definition, otherwise default to ANSI. * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
2002-07-242002-07-24 Stephane Carrez <stcarrez@nerim.fr>Jeff Johnston11-0/+2640
* configure.host: Recognize m6811-elf and m6812-elf targets. * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12. * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11. (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double. * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define according to __INT_MAX__. (_POINTER_INT): Define to short. * libc/machine/m68hc11/Makefile.am: New file. * libc/machine/m68hc11/Makefile.in: New file. * libc/machine/m68hc11/configure.in: New file. * libc/machine/m68hc11/configure: New file. * libc/machine/m68hc11/aclocal.m4: New file. * libc/machine/m68hc11/setjmp.S: New file.
2002-07-24 * include/cygwin/version.h: Bump minor API version.Corinna Vinschen2-1/+6