aboutsummaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)AuthorFilesLines
2001-12-26* cygmagic: Add define name to warning.Christopher Faylor7-17/+67
* dcrt0.cc (_dll_crt0): Check for changes in child_info size. (multiple_cygwin_problem): Avoid "proc" errors when testing. Just assume new cygwin proc. * shared_info.h (mount_info): Add 'cb' element for sanity checks. (shared_info): Ditto. * child_info.h (child_info): Add fhandler_union_size element for sanity checking. * shared.cc (open_shared): Detect shared region size mismatch between parent and child. (shared_info::initialize): Detect shared region size mismatch with expectation. (memory_Init): Ditto. * sigproc.cc (init_child_info): Correctly set cb in passed structure. * shared.cc (open_shared):
2001-12-26* include/getopt.h: Protect a declaratin.Christopher Faylor2-4/+11
2001-12-26* cygpath.cc (doit): Detect and warn about an empty path. Detect and warnChristopher Faylor2-7/+32
about errors converting a path. (main): Set prog_name correctly -- don't leave an extra slash or backslash at the beginning of it.
2001-12-26Remove accenidentally left >>> markerRobert Collins1-1/+0
2001-12-262001-12-26 Robert Collins <rbtcollins@hotmail.com>Robert Collins3-4/+28
* thread.cc (pthread_cond::Signal): Use a separate flag for signal detection and broadcast semantics. (__pthread_cond_dowait): Ditto. * thread.h (pthread_cond): New flag for testing when a waiter has woken.
2001-12-26commentChristopher Faylor2-0/+10
2001-12-26* Makefile.in: Quote arguments to shell scripts.Christopher Faylor2-5/+10
(clean): Remove new *_magic.h autogenerated files.
2001-12-26* Makefile.in: Autogenerate some header files which provide magic numbers.Christopher Faylor11-48/+136
Force dependencies for files which depend on autogenerated headers to ensure that they are always built. * child_info.h (child_info): Add new fields to accommodate new magic number header stuff. * dcrt0.cc: Rely on "child_info_magic.h" to ensure that correct child_info magic numbers are used. (dll_crt0_1): Temporarily remove _cygwin_testing_magic test. (_dll_crt0): Do more testing on magic numbers from fork_info structure. Call "multiple_cygwin_problem" where appropriate. (multiple_cygwin_problem): Rename from multiple_cygwin_die. Issue a warning or die, as appropriate based on cygwin version/magic number mismatch. * pinfo.cc (pinfo::exit): Don't attempt to dereference `this' if it doesn't exist. This can happen when a fatal error occurs early in process initialization. * shared.cc: Rely on "shared_info_magic.h" to accommodate that new magic number header stuff. (shared_info::initialize): Use new magic number stuff, for shared region. (memory_init): Ditto, for mount table. * shared_info.h: Accomodate new magic number stuff for shared region and mount table. * sigproc.cc: Rely on "child_info_magic.h" to accommodate new magic number header stuff. (init_child_info): Initialize new fields in child_info) to accomodate magic numbers. * winsup.h: Rename multiple_cygwin_die to multiple_cygwin_problem. * include/cygwin/version.h: Define macros for manipulating version magic. * cygmagic: New shell script for generating magic numbers.
2001-12-212001-12-21 Robert Collins <rbtcollins@hotmail.com>Robert Collins2-0/+7
* include/wingdi.h: Add GetRandomRgn and SYSRGN.
2001-12-21* lib/Makefile.in: Revert inst_installdir definitions to working versions.Christopher Faylor2-14/+5
2001-12-20* include/cygwin/version.h: Bump API minor version for below changes.Christopher Faylor2-1/+6
2001-12-20Remove obsolete include.Christopher Faylor1-321/+0
2001-12-20* Makefile.in (VPATH): Add regex directory.Christopher Faylor28-75/+4869
(NM): new variable. (OBSOLETE_FUNCTIONS): Ditto. (NEW_FUNCTIONS): Ditto. (install-headers): Install regex.h. (install-man): New target. (install): Use new target. (DLL_OFILES): Add v8_reg* stuff. (new-cygwin1.dll): Eliminate stamp-cygwin-lib creation. (libcygwin.a): Remove obsolete functions from import lib. Add new functions. * configure.in: Detect 'nm' tool. * configure: Regenerate. * cygwin.din: Export posix_reg* functions. Eliminate export of v8 reg* functions. This is now handled in object files themselves. * regex/*: New files. * regexp/v8_*.c: New files, renamed from non v8_ equivalents.
2001-12-19Fix up comments.Christopher Faylor3-11/+0
2001-12-19* Makefile.in: Don't attempt to use zlib directory as a dependency if itChristopher Faylor2-2/+8
doesn't exist.
2001-12-17 * include/getopt.h: Don't define getopt_long() and friends whenCorinna Vinschen2-8/+28
included through unistd.h.
2001-12-17* dtable.cc (dtable::init_std_file_from_handle): Avoid initializing using anChristopher Faylor2-0/+8
invalid handle.
2001-12-17* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX.Christopher Faylor2-1/+18
2001-12-162001-12-17 Guido Serassio <serassio@libero.it>Robert Collins2-2/+54
* include/winsvc.h: Add ChangeServiceConfig2() & QueryServiceConfig2() definition
2001-12-162001-12-17 Robret Collins <rbtcollins@hotmail.com>Robert Collins2-0/+26
* include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based on MSDN documentation for XP.
2001-12-14 * mkpasswd.c (enum_users): Change to unconditionally useCorinna Vinschen2-12/+27
the --path-to-home option, if supplied by the user. Use default --path-to-home option value, if appropriate. (usage): Change usage statement to reflect new semantics. (main): Remove defaulting of the --path-to-home option.
2001-12-14Add missing ChangeLog.Christopher Faylor2-2/+5
* configure.in: Detect zlib subdirectory. * configure: Regenerate
2001-12-14* Makefile.in: Exit immediately if a sub-make fails.Christopher Faylor5-6/+22
2001-12-14* mkpasswd.c (opts): Add indication that '-p' option requires an argument.Christopher Faylor2-1/+6
2001-12-11* Makefile.in: Add define to CXXFLAGS.Christopher Faylor8-12/+15
2001-12-11* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.Christopher Faylor2-0/+5
2001-12-11* what.texinfo: Clarify XP.Christopher Faylor2-3/+6
2001-12-11* fhandler.h (fhandler_serial::ev): New class member.Christopher Faylor4-7/+11
* fhandler_serial.cc (fhandler_serial::raw_read): Use class member for event status. * select.cc (peek_serial): Ditto.
2001-12-10whitespace cleanupChristopher Faylor7-185/+19
2001-12-08* path.cc (path_conv::check): Use full path name for determining attributesChristopher Faylor2-5/+13
when /cygdrive/x/foo.
2001-12-07 * Makefile.in: Increment VERSION.Earnie Boyd3-3/+8
* include/_mingw.h: Ditto.
2001-12-07 * Makefile.in: Increment VERSION.Earnie Boyd3-3/+8
* include/w32api.h: Ditto.
2001-12-07merge changes from MinGWEarnie Boyd2-11/+19
2001-12-07* path.cc (path_conv::check): Reset FH_CYGDRIVE if iterating through path.Christopher Faylor2-31/+38
2001-12-06* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn'tChristopher Faylor3-10/+27
exist. (mount_info::conv_to_win32_path): Keep translating when a /cygdrive is found. Don't attempt to translate to a device name when devn == FH_CYGDRIVE. (cygwin_conv_to_win32_path): Set buffer to empty on error. (cygwin_conv_to_full_win32_path): Ditto. * window.cc: Include unistd.h to verify definitions.
2001-12-05* dir.cc (opendir): Detect error return from build_fhandler_from_name.Christopher Faylor2-4/+13
2001-12-05Merge MinGW CVS differencesEarnie Boyd41-147/+357
2001-12-05 * include/strings.h: New file.Earnie Boyd2-0/+16
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-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-02minor reformatting.Christopher Faylor1-8/+8