summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * pthread.cc (pthread_create): Very minor formatting change.Christopher Faylor2008-10-073-2/+18
| | | | | * timer.cc (timer_thread): Ensure that any created thread defaults to detached state.
* * cygtls.h (_cygtls::initialized): Remove bogus stack check which would whenChristopher Faylor2008-10-072-2/+7
| | | | checking the current thread from the current thread.
* * dcrt0.cc (dll_crt0_0): Don't initialize signals early when dynamicallyChristopher Faylor2008-10-052-1/+11
| | | | | | loaded. (dll_crt0_1): Wait until this phase to initialize signals when dynamically loaded.
* 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2008-10-042-1/+7
| | | | | * include/_mingw.h: Increment version to 3.15.1 and introduce __MINGW32_PATCHLEVEL variable.
* Fix incorrect guard added in last commitChris Sutcliffe2008-10-041-1/+1
|
* 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2008-10-042-0/+7
| | | | * include/shellapi.h (NOTIFYICON_VERSION_4): Define.
* Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.Keith Marshall2008-10-032-26/+55
|
* Improve package identification in configure script.Keith Marshall2008-10-034-19/+37
|
* * thread.cc (pthread_mutex::_fixup_after_fork): Reinstate DEBUGGINGChristopher Faylor2008-09-302-1/+9
| | | | conditional.
* * thread.cc (pthread_mutex::_fixup_after_fork): Just reset lock to pristineChristopher Faylor2008-09-302-22/+12
| | | | state after fork. Don't recreate a mutex since it may not actually be needed.
* * flock.cc (inode_t::get_all_locks_list): Fix typo.Corinna Vinschen2008-09-293-1/+7
| | | | * posix.sgml: Add cfmakeraw to list of implemented BSD functions.
* 2008-09-25 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2008-09-262-56/+60
| | | | * include/vfw.h (capSendMessage): Rename to __capSendMessage.
* Fix MinGW-Bug [2125708].Keith Marshall2008-09-252-25/+39
|
* 2008-09-24 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2008-09-242-73/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/vfw.h (WM_CAP_SET_CALLBACK_ERRORA, WM_CAP_SET_CALLBACK_ERRORW, WM_CAP_SET_CALLBACK_STATUS, WM_CAP_SET_CALLBACK_YIELD, WM_CAP_SET_CALLBACK_FRAMEA, WM_CAP_SET_CALLBACK_FRAMEW, WM_CAP_SET_CALLBACK_VIDEOSTREAM, WM_CAP_SET_CALLBACK_WAVESTREAM, WM_CAP_GET_USER_DATA, WM_CAP_SET_USER_DATA, WM_CAP_DRIVER_CONNECT, WM_CAP_DRIVER_DISCONNECT, WM_CAP_DRIVER_GET_NAMEA, WM_CAP_DRIVER_GET_NAMEW, WM_CAP_DRIVER_GET_VERSIONA, WM_CAP_DRIVER_GET_VERSIONW, WM_CAP_DRIVER_GET_CAPS, WM_CAP_FILE_SET_CAPTURE_FILEA, WM_CAP_FILE_SET_CAPTURE_FILEW, WM_CAP_FILE_GET_CAPTURE_FILEA, WM_CAP_FILE_GET_CAPTURE_FILEW, WM_CAP_FILE_ALLOCATE, WM_CAP_FILE_SAVEASA, WM_CAP_FILE_SAVEASW, WM_CAP_FILE_SET_INFOCHUNK, WM_CAP_FILE_SAVEDIBA, WM_CAP_FILE_SAVEDIBW, WM_CAP_EDIT_COPY, WM_CAP_SET_AUDIOFORMAT, WM_CAP_GET_AUDIOFORMAT, WM_CAP_DLG_VIDEOFORMAT, WM_CAP_DLG_VIDEOSOURCE, WM_CAP_DLG_VIDEODISPLAY, WM_CAP_GET_VIDEOFORMAT, WM_CAP_SET_VIDEOFORMAT, WM_CAP_DLG_VIDEOCOMPRESSION, WM_CAP_SET_PREVIEW, WM_CAP_SET_OVERLAY, WM_CAP_SET_PREVIEWRATE, WM_CAP_SET_SCALE, WM_CAP_GET_STATUS, WM_CAP_SET_SCROLL, WM_CAP_GRAB_FRAME, WM_CAP_GRAB_FRAME_NOSTOP, WM_CAP_SEQUENCE, WM_CAP_SEQUENCE_NOFILE, WM_CAP_SET_SEQUENCE_SETUP, WM_CAP_GET_SEQUENCE_SETUP, WM_CAP_SET_MCI_DEVICEA, WM_CAP_SET_MCI_DEVICEW, WM_CAP_GET_MCI_DEVICEA, WM_CAP_GET_MCI_DEVICEW, WM_CAP_STOP, WM_CAP_ABORT, WM_CAP_SINGLE_FRAME_OPEN, WM_CAP_SINGLE_FRAME_CLOSE, WM_CAP_SINGLE_FRAME, WM_CAP_PAL_OPENA, WM_CAP_PAL_OPENW, WM_CAP_PAL_SAVEA, WM_CAP_PAL_SAVEW, WM_CAP_PAL_PASTE, WM_CAP_PAL_AUTOCREATE, WM_CAP_PAL_MANUALCREATE, WM_CAP_SET_CALLBACK_CAPCONTROL): Define using WM_USER. (capSendMessage): Don't undef.
* 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2008-09-242-1/+5
| | | | * Makefile.in: Don't include host_os as part of snapshot filename.
* * setup2.sgml: Clarify heap allocation.Christopher Faylor2008-09-222-8/+11
|
* 2008-09-21 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2008-09-212-0/+7
| | | | | * incude/sspi.h: include subauth.h to fix issue of UNICODE_STRING being undefined.
* * errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE, EOWNERDEAD.Eric Blake2008-09-192-21/+29
|
* Fix MinGW-Bug [2119504].Keith Marshall2008-09-192-2/+12
|
* Fix MinGW-Bug [2117379].Keith Marshall2008-09-192-15/+25
|
* * cygtls.h (unionent): Move from net.cc.Christopher Faylor2008-09-164-94/+130
| | | | | | | | | | | | | | | | | (unionent::struct_type): Move enum here. (_local_storage::hostent_buf): Define as unionent. (_local_storage::protoent_buf): Ditto. (_local_storage::servent_buf): Ditto. * net.cc (unionent): Move to cygtls.h. (struct_type): Ditto. (dup_ent): Define one function per {host,proto,serv}ent type. (cygwin_getprotobyname): Simplify dup_ent call. Removed now-unneeded return type coercion. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostbyname): Ditto. (cygwin_gethostbyaddr): Ditto. tlsoffsets.h: Regenerate.
* 2008-09-13 mega-squall <mega-squall@users.sf.net>Chris Sutcliffe2008-09-132-3/+13
| | | | | | | * include/winnt.h (SUBLANG_BENGALI_INDIA, SUBLANG_PUNJABI_INDIA, SUBLANG_ROMANIAN_ROMANIA): Correct definition. (SUBLANG_BENGALI_BANGLADESH, SUBLANG_PUNJABI_PAKISTAN, SUBLANG_ROMANIAN_MOLDOVA): Define.
* * cygcheck.cc (pathlike::check_existence): Remove class name from declaration.Christopher Faylor2008-09-128-50/+77
| | | | | | | | | | | | | | | | | | | | | (display_internet_error): Use proper format specifier for DWORD. (environ): Remove unneeded declaration. (main): Use brace around nested if to avoid an overly-helpful compiler warning. * dump_setup.cc (parse_filename): Reorganize nested if to avoid an overly-helpful compiler warning. * path.cc (GUID_shortcut): Use braces around part of initializer which needs them. (conv_fstab_spaces): Parenthesize assignment in while loop to avoid a compiler warning. (struct opt): Make static. * ps.cc (main): Reorganize nested if to avoid an overly-helpful compiler warning. * regtool.cc: Make some anonymous structs static to avoid a compiler warning. * ssp.c (lookup_thread_id): Initialize *tix to zero to avoid potential uninitialized use. * strace.cc (add_child): Use proper format specifier for DWORD. (remove_child): Ditto. (proc_child): Ditto.
* * Makefile.in: Add -c option which is now removed from COMPILE_C*.Christopher Faylor2008-09-126-3/+25
| | | | | | | * cygwin.din (cfmakeraw): Export. * termios.cc (cfmakeraw): Implement. * include/sys/termios.h (cfmakeraw): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* 2008-09-11 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2008-09-122-2/+15
| | | | * include/shlwapi.h (ASSOCSTR): Update enum.
* * cygwin.din (sys_sigabbrev): Add this here.Christopher Faylor2008-09-117-11/+28
| | | | | | | | | * dcrt0.cc (__argc,__argv,_check_for_executable): Remove dllexport decoration since it is already handled in cygwin.din. * errno.cc (_sys_errlist): Ditto. * strsig.cc (sys_sigabbrev): Ditto. * include/cygwin/signal.h: Protect use of dllimport when __INSIDE_CYGWIN__. * libc/getopt.c: Revert previous changes. Define __INSIDE_CYGWIN__.
* * localtime.cc (increment_overflow): Mark as non-inline to prevent compilerChristopher Faylor2008-09-118-14/+28
| | | | | | | | | | from complaining about the very thing we're trying to test. * ntea.cc (read_ea): Reorganize to avoid a new compiler warning/error. * sched.cc (sched_rr_get_interval): Ditto. * select.cc (peek_serial): Ditto. * libc/rexec.cc (ruserpass): Ditto. * posix_ipc.cc (ipc_names): Make static to avoid a compiler warning (and it's the right thing to do anyway).
* * net.cc (in6addr_any, in6addr_loopback): Add appropriate number of bracesChristopher Faylor2008-09-113-9/+20
| | | | | | | | | | around initializer. (dup_ent): Try harder to coerce the first argument to deal with more stringent compiler. (get_2k_ifs): Remove extraneous typedef. (get_2k_ifs): Reorganize expression to avoid a compiler warning. (get_xp_ifs): Ditto. (get_nt_ifs): Ditto.
* * fhandler.h (fhandler_pipe::raw_read): Remove __stdcall decoration.Christopher Faylor2008-09-113-2/+7
| | | | * pipe.cc (fhandler_pipe::raw_read): Ditto.
* * cygheap.cc (creturn): Reorganize to avoid a new compiler warning/error.Christopher Faylor2008-09-1129-302/+359
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dtable.cc (handle_to_fn): Ditto. * fhandler_console.cc (fhandler_console::read): Ditto. (fhandler_console::scroll_screen): Ditto. (dev_console::set_color): Ditto. * fhandler_dsp.cc (fhandler_dev_dsp::write): Ditto. (fhandler_dev_dsp::read): Ditto. * fhandler_tape.cc (mtinfo_drive::get_status): Ditto. * hookapi.cc (find_first_notloaded_dll): Ditto. * mmap.cc (msync): Ditto. * pipe.cc (pipesync::pipesync): Ditto. * sec_acl.cc (getace): Ditto. * sec_auth.cc (create_token): Ditto. (lsaauth): Ditto. * select.cc (peek_pipe): Ditto. * spawn.cc (av::fixup): Ditto. * syscalls.cc (popen): Ditto. * tty.cc (tty::init_session): Ditto. * uinfo.cc (pwdgrp::load): Ditto. * fhandler.cc (fhandler_base::setup_overlapped): Ditto. (fhandler_base::wait_overlapped): Rename second use of res variable to wres or errors are not returned correctly. * dcrt0.cc: Remove obsolete variable. * dll_init.cc (release_upto): Fix typo involving incorrect use of '|'. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Avoid a compiler warning regarding coercing type-punned variables. (fhandler_base::fstat_by_name): Ditto. fhandler_fifo.cc (fhandler_fifo::open_nonserver): Fix = vs. == typo. (fhandler_fifo::wait): Add all conditions to switch statement to avoid a compiler warning. * fhandler_process.cc: Avoid unneeded initialization of variables to zero. (fhandler_socket::listen): Add braces around initializer. * flock.cc (inode_t::get_all_locks_list): Reorganize to avoid a compiler warning. Fix problem with EWOULDBLOCK error return. * path.cc (GUID_shortcut): Use braces around struct initializer. (cygwin_conv_path): Reorganize to avoid a compiler warning. * random.cc (dummy): Mark variable as volatile to avoid a "used uninitialized" warning. * libc/getopt.c: Mark some variables as dllexport although gcc doesn't seem to do the right thing with them. * libc/minires-os-if.c (get_registry_dns_items): Coerce some function arguments to avoid a compiler warning.
* 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2008-09-072-2/+6
| | | | * include/_mingw.h: Increment version to 3.15.
* 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2008-09-073-3/+8
| | | | | * include/w32api.h: Increment version to 3.12. * Makefile.in: Ditto.
* 2008-09-07 Michael Hentschel <mikeh42@users.sourceforge.net>Chris Sutcliffe2008-09-072-0/+6
| | | | * include/shlwapi.h (STIF_DEFAULT, STIF_SUPPORT_HEX): Define.
* 2008-09-07 alsemm <alsemm@users.sourceforge.net>Chris Sutcliffe2008-09-072-1/+5
| | | | * include/mlang.h (IMLangFontLink2::MapFont): Fix definition.
* Committed as obvious.Danny Smith2008-09-072-1/+6
| | | | | * include/ws2tcpip.h (IPV6_MREQ): Fix typo. Thanks to Richard Hughes for report.
* 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2008-09-074-6/+47
| | | | | * Makefile.in: Adjust to new naming standard for MinGW while maintaining old naming standard for Cygwin.
* Reimplement getopt.c to add getopt_long_only() function.Keith Marshall2008-08-314-5/+768
|
* Erase all file content, preparatory to rewrite.Keith Marshall2008-08-312-591/+0
|
* 2008-08-30 Bo Yang <techrazy@users.sourceforge.net>Chris Sutcliffe2008-08-302-7/+12
| | | | * include/sspi.h: Fix PSecurityFunctionTableW structure.
* 2008-08-29 Andy Grover <andy.grover@oracle.com>Chris Sutcliffe2008-08-303-1/+13
| | | | | | * include/ddk/scsi.h: Define READ_TOC formats. * lib/ddk/scsiport.def (ScsiPortGetDeviceBase): Fix export.
* 2008-08-29 Andy Grover <andy.grover@oracle.com>Chris Sutcliffe2008-08-303-27/+132
| | | | | | | | | | | | | | | * include/ddk/ndis.h (NDIS_MINIPORT_MAJOR_VERSION, NDIS_MINIPORT_MINOR_VERSION, struct NDIS_TASK_OFFLOAD_HEADER, PROTOCOL_RESERVED_SIZE_IN_PACKET, NdisGetFirstBufferFromPacketSafe, NdisMIndicateReceivePacket, NdisSetPacketPoolProtocolId, NdisMInitializeTimer, NdisMSetPeriodicTimer, NdisMCancelTimer): Define. (enum NDIS_ENCAPSULATION, struct NDIS_ENCAPSULATION_FORMAT): move in file. (struct _NDIS_PACKET): Define using _ANONYMOUS_UNION and ANONYMOUS_STRUCT to eliminate warnings. (NdisReinitializePacket): Rename from NdisReinitializePacketCounts. * lib/ddk/ndis.def (NdisInitAnsiString, NdisInitUnicodeString, NdisMCancelTimer, NdisMInitializeTimer, NdisMSetPeriodicTimer, NdisSetPacketPoolProtocolId): Export.
* 2008-08-29 Andy Grover <andy.grover@oracle.com>Chris Sutcliffe2008-08-302-0/+9
| | | | | * include/ddk/winddk.h (RtlStringCbCopyA, RtlStringCbPrintfA, RtlStringCbVPrintfA): define in terms of POSIX string functions.
* 2008-08-29 Andy Grover <andy.grover@oracle.com>Chris Sutcliffe2008-08-302-25/+10
| | | | | * include/ddk/winddk.h (KeRaiseIrql): Define. (KfRaiseIrql, KfLowerIrql): remove incorrect definitions.
* Implement conditional replacement for printf() family functions.Keith Marshall2008-08-303-24/+214
|
* 2008-08-29 Andy Grover <andy.grover@oracle.com>Chris Sutcliffe2008-08-303-4/+20
| | | | | | | | * include/ddk/winddk.h (KeFlushQueuedDpcs, KeMemoryBarrier): Define. (KeGetCurrentProcessorNumber): Fix incorrect member reference. (InterlockedIncrement, InterlockedDecrement): fix warning. * lib/ddk/ntoskrnl.def (KeFlushQueuedDpcs, KeMemoryBarrier): Export. (KeNumberProcessors): Export.
* * fhandler_tty.cc (close_maybe): Check for both types of invalid handle beforeChristopher Faylor2008-08-272-7/+14
| | | | | | attempting CloseHandle. (fhandler_pty_master::setup): Only set inheritance on pty handles, not tty handles.
* Avoid access violations, passing NULL to printf( "...%s..." ).Keith Marshall2008-08-272-2/+15
|
* * cygcheck.cc (nuke): Use malloc rather than alloca for environment variables.Christopher Faylor2008-08-273-6/+15
| | | | | | (load_cygwin): Ditto. * dump_setup.cc (parse_filename): Cosmetic changes. (get_packages): Ditto.
* * shared_info.h (shared_info::create_root_entry): Remove extraneousChristopher Faylor2008-08-262-1/+6
| | | | mount_info:: from declaration.
* * fhandler.h (class fhandler_pipe): Rename read and writeCorinna Vinschen2008-08-263-4/+11
| | | | | | declarations to raw_read and raw_write. * pipe.cc (fhandler_pipe::raw_read): Rename from read. (fhandler_pipe::raw_write): Rename from write.