aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-05For __USES_INITFINI__ preserve the argument vector before calling theNick Clifton2-0/+9
initialisation functions.
2001-12-05gcc adopts symlink-tree, refer more to libiberty.Nick Clifton3-59/+74
symlink-tree: handle DOS-style absolute paths.
2001-12-05Add missing ChangeLog entries.Christopher Faylor1-0/+2
2001-12-04* net.cc (cygwin_getsockopt): Dereference optlen pointer when passing toChristopher Faylor2-1/+6
__check_null_invalid_struct_errno.
2001-12-042001-12-04 Earnie Boyd <earnie@users.sf.net>Earnie Boyd2-0/+9
* include/winuser.h (IDC_STATIC): Don't define.
2001-12-042001-12-04 Danny Smith <dannysmith@users.sourceforge.net>Earnie Boyd3-52/+15
Cleanup merge between SourceForge and winsup CVS. * include/winbase.h (OSVERSIONINFO[AW], OSVERSIONINFOEX[AW]: Remove definitions. * include/winnt.h (VER_NT*): Remove duplicate defines. (VER_SUITE*): Group with VER_PLATFORM*, VER_NT* defines.
2001-12-04* d10v.h (OPERAND_NOSP): New macro.Alexandre Oliva2-0/+9
2001-12-04Cleanup copyrights and Cygnus'isms throughout.Christopher Faylor19-434/+122
* setup.sgml: Nuke ancient instructions.
2001-12-04remove extra mask infoChristopher Faylor1-1/+1
2001-12-04remove extra mask infoChristopher Faylor1-21/+0
2001-12-04* cygcheck.cc (usage): Add -c description.Christopher Faylor5-83/+142
* cygpath.cc (usage): Alphabetize options. * strace.cc (usage): Ditto.
2001-12-03* net.cc (cygwin_getsockopt): Allow NULL optval.Christopher Faylor3-26/+22
* path.cc (mount_info::read_cygdrive_info_from_registry): Don't write cygdrive to registry if it doesn't exist.
2001-12-032001-12-03 Earnie Boyd <earnie@users.sf.net>Earnie Boyd23-69/+1042
* include/accctrl.h: Change \r\n to \n. 2001-11-30 Danny Smith <dannysmith@users.sourceforge.net> * include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS): Add structure definition. * include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto. * include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry, DeleteIPAddress,DeleteProxyArpEntry,EnableRouter, FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo, GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress, UnenableRouter) Declare functions. * lib/iphlpapi.def: Add function names to import lib. 2001-11-24 Danny Smith <dannysmith@users.sourceforge.net> * include/winnt.h (PACCESS_MASK): Add typedef. * include/aclapi.h: New file. * include/acctrl.h: New file. * lib/advapi32.def: Add missing symbols. * lib/test.c: Add #include <aclapi.h>. 2001-11-23 Danny Smith <dannysmith@users.sourceforge.net> * include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s, VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from here ... * include/winnt.h: ... to here. * include/winbase.h (VerifyVersionInfo[AW]): Add declaration. * include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions and typedefs. (VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER): Add defines. 2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr> * w32api/include/winnt.h: prepare SSE register support. (CONTEXT_EXTENDED_REGISTERS): Add new define. (MAXIMUM_SUPPORTED_EXTENSION): New define. (struct CONTEXT): ExtendedRegisters field added. 2001-11-16 Danny Smith <dannysmith@users.sourceforge.net> * include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO, tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO, tagLASTINPUTINFO ): Define new structures. (EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo, GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo, GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo, GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo SetMenuInfo): Add new prototypes. * lib/user32.def: Add import stubs for above functions. * include/winuser.h (IDC_STATIC): Protect against prior definition. 2001-11-12 Corinna Vinschen <corinna@vinschen.de> * include/winbase.h (OSVERSIONINFOEX): Add definition. * include/winnt.h: Add VER_NT_* and VER_SUITE_* defines. 2001-11-10 Robert Collins <rbtcollins@hotmail.com> * include/winnt.h: Add Danny Smith's text comment about gcc compiler warnings with _AUTHORITY #defines. 2001-11-09 Robert Collins <rbtcollins@hotmail.com> * include/winnt.h (GetCurrentFiber): Create a prototype before the implementation; (GetFiberData): Ditto. 2001-11-09 Robert Collins <rbtcollins@hotmail.com> * include/winnt.h: Backout last change.
2001-12-03* path.cc (mount_info::conv_to_win32_path): Avoid returning error if cygdriveChristopher Faylor3-7/+18
== '/'. (mount_info::cygdrive_win32_path): Return 0 if invalid cygdrive path.
2001-12-02.Christopher Faylor0-0/+0
2001-12-02.Christopher Faylor0-0/+0
2001-12-02.Christopher Faylor0-0/+0
2001-12-02.Christopher Faylor0-0/+0
2001-12-02.Christopher Faylor0-0/+0
2001-12-02.Christopher Faylor0-0/+0
2001-12-02minor reformatting.Christopher Faylor0-0/+0
2001-12-02minor reformatting.Christopher Faylor1-8/+8
2001-11-30* libc/include/dirent.h: Protect against multiple inclusion.Christopher Faylor2-0/+7
2001-11-30* debug.cc (makethread): Eliminate unneeded function call.Christopher Faylor5-30/+18
* miscfuncs.cc (tls_ix): Predefine. * perthread.h (set_reent): Eliminate. (get_reent): Ditto. * winbase.h (my_tlsalloc): Use global stack base pointer. Set newly allocated location to NULL. (my_tlssetvalue): Use global stack base pointer. (my_tlsgetvalue): Ditto.
2001-11-29Copyright 2001Alexandre Oliva1-1/+1
2001-11-29* d10v.h (OPERAND_SP): New macro.Alexandre Oliva2-0/+7
2001-11-28When build != host, create libiberty for the build machine.DJ Delorie4-7/+181
* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace CONFIG_ARGUMENTS. (ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR): New variables. (ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables and rules. (all.normal): Depend on ALL_BUILD_MODULES. (CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS. (all-build-libiberty): Depend on configure-build-libiberty. * configure: Calculate and substitute proper value for ALL_BUILD_MODULES. * configure.in: Create the build subdirectory. Calculate and substitute TARGET_CONFIGARGS (formerly CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).
2001-11-28* winsup.h: Reorganize to avoid use of experimental stuff.Christopher Faylor3-8/+13
* shortcut.cc: Move winsup.h first in include order.
2001-11-28Add attribution.Christopher Faylor1-1/+1
2001-11-28* libc/include/sys/types.h: Define useconds_t.Christopher Faylor3-0/+10
* libc/include/sys/ulimit.h: Declare ualarm.
2001-11-28* cygwin.din (ualarm): New export.Christopher Faylor9-60/+183
* dcrt0.cc (_dll_crt0): Add experimental tls storage declaration. (dll_crt0): Ditto. * debug.cc (thread_stub): Ditto. * thread.cc: Minor cleanup. (__pthread_create): Add experimental tls storage declaration. * miscfuncs.cc: Define tls index. * winsup.h: Declare experimental tls storage. * window.cc (alarm): Use old timer return from setitimer. (ualarm): New function.
2001-11-26 * config.sub: Update to version 1.232 on subversion.Geoffrey Keating2-12/+24
2001-11-26Revert erroneous checkin.Christopher Faylor1-5/+0
2001-11-26* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since addingChristopher Faylor3-1/+11
an archive doesn't work the way we want it to.
2001-11-25Add missing ChangeLog entries.Corinna Vinschen1-0/+16
2001-11-25* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reportingChristopher Faylor3-1/+11
inaccessible drives.
2001-11-24 * net.cc (cygwin_hstrerror): Allow s == NULL.Corinna Vinschen1-1/+13
(cygwin_rcmd): Add parameter checking. (cygwin_rexec): Ditto.
2001-11-24 * net.cc (cygwin_inet_ntoa): Add parameter checking.Corinna Vinschen2-1/+12
(cygwin_inet_network): Return INADDR_NONE instead of 0 in case of EFAULT. (cygwin_hstrerror): Add parameter checking. (cygwin_rresvport): Ditto. (socketpair): Ditto. * winsup.h (check_null_str): Add extern declaration.
2001-11-24* path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matchingChristopher Faylor2-11/+13
trailing component, like other devices.
2001-11-24* autoload.cc (IsDebuggerPresent): Make conditional load since it is notChristopher Faylor3-5/+14
available everywhere. * path.cc (mount_info::conv_to_win32_path): Only consider /cygdrive to be FH_CYGDRIVE, not /cygdrive/x.
2001-11-24* net.cc (inet_makeaddr): Revert previous change.Christopher Faylor2-1/+5
2001-11-24* path.cc (chdir): Allow 'cd /cygdrive'.Christopher Faylor2-6/+17
2001-11-24Fix typo.Christopher Faylor1-1/+1
2001-11-24fix typo.Christopher Faylor1-1/+1
2001-11-24* dtable.cc (dtable::vfork_parent_restore): Add debugging statement.Christopher Faylor12-146/+297
* exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger attached. * fhandler.h (fhandler_base::set_nohandle): New method. (fhandler_base::get_nohandle): New method. * fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no handle. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on dummy fd. * Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a * fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting since it is no longer used. * miscfuncs.cc (check_null_str): New function. (+check_null_str_errno): Ditto. * net.cc: Add defensive buffer checking throughout. (cygwin_sendto): Protect against invalid fd. (cygwin_recvfrom): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * winsup.h: Declare a new function. * select.cc (set_bits): Fix conditional for setting fd in exceptfds. * dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device type. * path.cc (get_devn): Set correct pipe device type from device name.
2001-11-22* path.cc (conv_path_list): Fix wild indexing into path due to conflictingChristopher Faylor8-50/+239
methods for setting src pointer. * dir.cc (opendir): Only pass path_conv argument to opendir, since name is already part of the fhandler. * dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type. * fhandler.cc (fhandler_base::opendir): Nuke name argument. * fhandler.h: Add FH_CYGDRIVE to "device" enum. (fhandler_base::opendir): Nuke name argument. (fhandler_disk_file::opendir): Ditto. (fhandler_disk_file::fhandler_disk_file): Declare new method which passes devtype through. (fhandler_cygdrive): Add elements for tracking drives. (fhandler_cygdrive::set_drives): Declare new method. (fhandler_cygdrive::iscygdrive_root): Declare new method. (fhandler_cygdrive::opendir): Declare new method. (fhandler_cygdrive::readdir): Declare new method. (fhandler_cygdrive::telldir): Declare new method. (fhandler_cygdrive::seekdir): Declare new method. (fhandler_cygdrive::rewinddir): Declare new method. (fhandler_cygdrive::closedir): Declare new method. (fhandler_cygdrive::fstat): Declare new method. * fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Define new method which passes devtype through. (fhandler_disk_file::open): Tweak debug output. (fhandler_disk_file::opendir): Nuke first argument. Use info from path_conv and class rather than calling fstat. (fhandler_cygdrive::set_drives): New method. (fhandler_cygdrive::iscygdrive_root): New method. (fhandler_cygdrive::opendir): New method. (fhandler_cygdrive::readdir): New method. (fhandler_cygdrive::telldir): New method. (fhandler_cygdrive::seekdir): New method. (fhandler_cygdrive::rewinddir): New method. (fhandler_cygdrive::closedir): New method. (fhandler_cygdrive::fstat): New method. * path.cc (iscygdrive_device): Assume cygdriveness is already verified. (path_conv::check): Treat FH_CYGDRIVE "method" as a special case, setting file attributes as needed. (mount_info::conv_to_win32_path): Allow stand-alone /cygdrive, meaning "the directory which contains all of the drives on the system". (fillout_mntent): Use cyg_tolower for conversions. (mount_info::cygdrive_win32_path): Replace unused argument with unit number. * shared_info.h (mount_info::cygdrive_win32_path): Reflect argument change.
2001-11-22* path.cc (cygpath): Don't consider cygpath stuff when trying to derive nativeChristopher Faylor2-1/+9
paths.
2001-11-21 Patch by Pierre Muller <muller@ics.u-strasbg.fr>:Corinna Vinschen2-0/+10
* w32api/include/winnt.h: prepare SSE register support. (CONTEXT_EXTENDED_REGISTERS): Add new define. (MAXIMUM_SUPPORTED_EXTENSION): New define. (struct CONTEXT): ExtendedRegisters field added.
2001-11-21 Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:Corinna Vinschen2-20/+60
* mkpasswd.c: include lmerr.h (main): New -u option to allow specifying a specific user. If specified, groups aren't displayed and output is limited to only the specified user. (enum_users): If specific user is specified, via -u option, display only that user's record. With -u use NetUserGetInfo instead of NetUserEnum. (load_netapi): Added netusergetinfo.
2001-11-21* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.Christopher Faylor2-6/+11