Christopher Faylor
6865f89087
* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
...
path with a trailing '\'.
2008-11-11 03:51:55 +00:00
Christopher Faylor
dc74da050c
* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
...
recursion_counter is already 0.
(pthread_mutex::_destroy): Don't consider a mutex busy if its recursion_counter
== 0.
(pthread_mutex::_fixup_after_fork): Set recursion_counter to 0 to flag that
we've just forked. Don't reset the owner of this mutex since the forkee may
think it still owns the mutex. Reinstate initialization of win32_obj_id.
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Initialize a variable to
bypass a C++ warning.
2008-11-07 18:32:41 +00:00
Corinna Vinschen
c6b7418c89
* environ.cc (environ_init): Avoid evaluating $CYGWIN twice.
2008-11-05 11:57:44 +00:00
Christopher Faylor
029d147e94
* Makefile.in: Use -static-libgcc when creating cygserver.exe.
2008-10-30 13:17:42 +00:00
Christopher Faylor
b2e5367846
* Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.
2008-10-29 13:13:26 +00:00
Keith Marshall
2004f7603f
Correct some binary distribution packaging defects.
2008-10-28 23:55:39 +00:00
Corinna Vinschen
8937c103ed
* wincap.cc (all wincaps): Store in .cygwin_dll_common section same as
...
wincap. Add comment to explain why.
2008-10-23 21:00:45 +00:00
Corinna Vinschen
3e97726f98
* autoload.cc (GetSystemWindowsDirectoryW): Define.
...
* kernel32.cc (GetWindowsDirectoryW): Implement to abstract from
running under Terminal Services or not.
(GetWindowsDirectoryA): Ditto.
2008-10-22 13:30:42 +00:00
Corinna Vinschen
df54adb746
* passwd.cc (pwdgrp::read_passwd): Check if we're called within
...
user_shared initialization and ignore myself, if so. Reformat
conditional expression.
2008-10-21 16:47:28 +00:00
Corinna Vinschen
669bdeb822
* ntdll.h (NtSetAttributesFile): New inline function.
...
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Use
NtSetAttributesFile.
* path.cc (symlink_worker): Ditto.
* syscalls.cc (unlink_nt): Ditto.
(rename): Omit FILE_SHARE_DELETE when opening files on Samba. Add
comment to explain why.
2008-10-20 19:30:06 +00:00
Keith Marshall
87ab6bfb62
Fix MinGW-Bug [2136252]: Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
2008-10-18 14:33:48 +00:00
Corinna Vinschen
edf5a5bd15
* dtable.cc (dtable::get_debugger_info): Call SetStdHandle
...
for the newly opened handle. Explain why.
(dtable::stdio_init): Don't duplicate standard error handle
when stderr has already been created under debugger control.
2008-10-17 16:24:20 +00:00
Keith Marshall
206473437f
Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of scalb().
2008-10-13 22:47:58 +00:00
Corinna Vinschen
5f9ca0d25a
* sec_acl.cc (setacl): Align standard owner and group permissions
...
with alloc_sd. Strip FILE_READ_ATTRIBUTES fromn setting
FILE_GENERIC_EXECUTE permissions same as in alloc_sd.
* security.cc (alloc_sd): Reformat expression. Strip EA permission
bits from owner_deny and group_deny computation.
2008-10-13 16:01:50 +00:00
Christopher Faylor
423fd4f2f4
fix typo
2008-10-13 00:57:47 +00:00
Christopher Faylor
6e9b938063
* mingw: Set sawcfile when -xc* is detected. Extend list of detected source
...
filew.
2008-10-13 00:56:09 +00:00
Christopher Faylor
a7844a1841
* Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
...
environment.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
* configure.in: Record mingw front-end for building under Cygwin.
* mingwex/configure.in: Ditto.
* profile/configure.in: Ditto.
* configure: Regenerate.
* mingwex/configure: Ditto.
* profile/configure: Ditto.
2008-10-12 23:58:17 +00:00
Christopher Faylor
391f2a8eed
* mingw: Add more checks to allow more varied use.
2008-10-12 23:54:03 +00:00
Christopher Faylor
4941ce49c5
* Makefile.in: Rearrange to avoid -mno-cygwin.
...
* configure.in: Use mingw front-end from utils directory as compiler front-end.
* configure: Regenerate.
* cyglsa.c (cyglsa_printf): Rename from 'printf' to avoid a compiler error.
(print_sid, print_groups, print_privs, print_dacl, print_tokinf,
LsaApLogonUserEx): Ditto.
2008-10-12 23:53:26 +00:00
Christopher Faylor
12c819e204
* mingw: Use a better method to find where mingw directory lives.
2008-10-12 03:20:37 +00:00
Christopher Faylor
9401a0f805
Dummy check-in to get right revision log:
...
* mingw: New front-end script to control building of MinGW files without using
the deprecated -mno-cygwin option.
* Makefile.in: Use mingw front-end.
2008-10-12 03:08:33 +00:00
Christopher Faylor
fd49ac277f
* Makefile.in: Tweak to work better with new utils/mingw front-end.
...
In utils:
2008-10-12 03:06:12 +00:00
Keith Marshall
374349395e
Use de-facto standard Makefile goals to invoke test suite.
2008-10-11 21:59:04 +00:00
Keith Marshall
3c68dd9313
Make strtod() inline definition C89 compliant.
2008-10-11 21:47:56 +00:00
Chris Sutcliffe
90ba302a29
2008-10-09 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/mmsystem.h (sndAlias): Correct GCC4 warning.
2008-10-10 02:04:37 +00:00
Corinna Vinschen
079db16bf7
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Check
...
for executable suffixes here in case we're on a file system
not supporting permission.
* path.cc (path_conv::check): Drop check for executable suffixes.
2008-10-09 14:23:09 +00:00
Corinna Vinschen
3059d18288
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Keep track of
...
current position in non-buffered case, too.
2008-10-09 12:41:52 +00:00
Corinna Vinschen
2768ae50dd
* grp.cc (pwdgrp::read_group): Generate more speaking group name
...
if passwd gid exists under different gid in /etc/group.
2008-10-09 11:52:54 +00:00
Corinna Vinschen
c7a8139540
Fix ChangeLog entry
2008-10-09 10:01:49 +00:00
Corinna Vinschen
c32849c5bc
* path.cc (path_conv::is_binary): Always check for GetBinaryType.
...
* syscalls.cc (rename): Fix test for just changing case of name on
case insensitive filesystems.
2008-10-09 09:43:02 +00:00
Corinna Vinschen
4e88323ba0
* path.cc (symlink_info::check_shortcut): Don't check for executability
...
here.
(symlink_info::check_sysfile): Ditto.
2008-10-09 08:56:09 +00:00
Corinna Vinschen
3ae5cb32c5
* path.cc (path_conv::path_conv): Only assume executability by suffix
...
on file systems not supporting permissions.
2008-10-08 14:58:26 +00:00
Christopher Faylor
c4cb50b3a8
* pthread.cc (pthread_create): Very minor formatting change.
...
* timer.cc (timer_thread): Ensure that any created thread defaults to detached
state.
2008-10-07 23:28:30 +00:00
Christopher Faylor
f241db6f60
* cygtls.h (_cygtls::initialized): Remove bogus stack check which would when
...
checking the current thread from the current thread.
2008-10-07 02:38:15 +00:00
Christopher Faylor
585697536f
* dcrt0.cc (dll_crt0_0): Don't initialize signals early when dynamically
...
loaded.
(dll_crt0_1): Wait until this phase to initialize signals when dynamically
loaded.
2008-10-05 16:48:30 +00:00
Chris Sutcliffe
665ca5231d
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.1 and introduce
__MINGW32_PATCHLEVEL variable.
2008-10-04 22:27:15 +00:00
Chris Sutcliffe
32c4e2bca7
Fix incorrect guard added in last commit
2008-10-04 19:56:26 +00:00
Chris Sutcliffe
b36289958c
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/shellapi.h (NOTIFYICON_VERSION_4): Define.
2008-10-04 18:11:48 +00:00
Keith Marshall
e77c4e6672
Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
2008-10-03 22:56:18 +00:00
Keith Marshall
13ff1518ee
Improve package identification in configure script.
2008-10-03 22:48:22 +00:00
Christopher Faylor
36670cc234
* thread.cc (pthread_mutex::_fixup_after_fork): Reinstate DEBUGGING
...
conditional.
2008-09-30 02:39:07 +00:00
Christopher Faylor
18f43099f7
* thread.cc (pthread_mutex::_fixup_after_fork): Just reset lock to pristine
...
state after fork. Don't recreate a mutex since it may not actually be needed.
2008-09-30 02:22:39 +00:00
Corinna Vinschen
e7afe579f5
* flock.cc (inode_t::get_all_locks_list): Fix typo.
...
* posix.sgml: Add cfmakeraw to list of implemented BSD functions.
2008-09-29 17:03:49 +00:00
Chris Sutcliffe
3a3affe5f9
2008-09-25 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/vfw.h (capSendMessage): Rename to __capSendMessage.
2008-09-26 01:20:21 +00:00
Keith Marshall
32bdff5294
Fix MinGW-Bug [2125708].
2008-09-25 21:53:17 +00:00
Chris Sutcliffe
62470d09ad
2008-09-24 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* 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-24 23:32:42 +00:00
Chris Sutcliffe
85f457567b
2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* Makefile.in: Don't include host_os as part of snapshot filename.
2008-09-24 00:59:03 +00:00
Christopher Faylor
4fb7bbb985
* setup2.sgml: Clarify heap allocation.
2008-09-22 16:55:30 +00:00
Chris Sutcliffe
80e6df1389
2008-09-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* incude/sspi.h: include subauth.h to fix issue of UNICODE_STRING being
undefined.
2008-09-21 16:56:45 +00:00
Eric Blake
ddf8700121
* errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE, EOWNERDEAD.
2008-09-19 23:29:24 +00:00
Keith Marshall
acf5111a6f
Fix MinGW-Bug [2119504].
2008-09-19 22:41:01 +00:00
Keith Marshall
be66dbed41
Fix MinGW-Bug [2117379].
2008-09-19 21:32:42 +00:00
Christopher Faylor
f2c11dadcf
* cygtls.h (unionent): Move from net.cc.
...
(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-16 02:04:27 +00:00
Chris Sutcliffe
fb4e8779d0
2008-09-13 mega-squall <mega-squall@users.sf.net>
...
* include/winnt.h (SUBLANG_BENGALI_INDIA, SUBLANG_PUNJABI_INDIA,
SUBLANG_ROMANIAN_ROMANIA): Correct definition.
(SUBLANG_BENGALI_BANGLADESH, SUBLANG_PUNJABI_PAKISTAN,
SUBLANG_ROMANIAN_MOLDOVA): Define.
2008-09-13 12:03:26 +00:00
Christopher Faylor
a35d9f1a67
* cygcheck.cc (pathlike::check_existence): Remove class name from declaration.
...
(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.
2008-09-12 22:43:10 +00:00
Christopher Faylor
175742d8c8
* Makefile.in: Add -c option which is now removed from COMPILE_C*.
...
* 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-12 22:32:07 +00:00
Chris Sutcliffe
7df9b8ba8e
2008-09-11 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/shlwapi.h (ASSOCSTR): Update enum.
2008-09-12 01:47:03 +00:00
Christopher Faylor
c4ca0e800a
* cygwin.din (sys_sigabbrev): Add this here.
...
* 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__.
2008-09-11 06:22:31 +00:00
Christopher Faylor
cb7e1879ee
* localtime.cc (increment_overflow): Mark as non-inline to prevent compiler
...
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).
2008-09-11 05:43:11 +00:00
Christopher Faylor
81ba2b77de
* net.cc (in6addr_any, in6addr_loopback): Add appropriate number of braces
...
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.
2008-09-11 04:58:45 +00:00
Christopher Faylor
e3cbf1cc48
* fhandler.h (fhandler_pipe::raw_read): Remove __stdcall decoration.
...
* pipe.cc (fhandler_pipe::raw_read): Ditto.
2008-09-11 04:41:24 +00:00
Christopher Faylor
7b9e380f03
* cygheap.cc (creturn): Reorganize to avoid a new compiler warning/error.
...
* 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-11 04:34:24 +00:00
Chris Sutcliffe
49c5a1a6b2
2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.
2008-09-07 21:35:38 +00:00
Chris Sutcliffe
cef0517a23
2008-09-07 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/w32api.h: Increment version to 3.12.
* Makefile.in: Ditto.
2008-09-07 20:49:43 +00:00
Chris Sutcliffe
3c795f6f1f
2008-09-07 Michael Hentschel <mikeh42@users.sourceforge.net>
...
* include/shlwapi.h (STIF_DEFAULT, STIF_SUPPORT_HEX): Define.
2008-09-07 17:12:46 +00:00
Chris Sutcliffe
daa52c3509
2008-09-07 alsemm <alsemm@users.sourceforge.net>
...
* include/mlang.h (IMLangFontLink2::MapFont): Fix definition.
2008-09-07 17:11:49 +00:00
Danny Smith
ee1482b2de
Committed as obvious.
...
* include/ws2tcpip.h (IPV6_MREQ): Fix typo.
Thanks to Richard Hughes for report.
2008-09-07 08:03:11 +00:00
Chris Sutcliffe
07aed2eee8
2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Adjust to new naming standard for MinGW while maintaining old
naming standard for Cygwin.
2008-09-07 02:07:29 +00:00
Keith Marshall
f43d60be62
Reimplement getopt.c to add getopt_long_only() function.
2008-08-31 22:27:58 +00:00
Keith Marshall
31966e0931
Erase all file content, preparatory to rewrite.
2008-08-31 22:26:52 +00:00
Chris Sutcliffe
34d29530d9
2008-08-30 Bo Yang <techrazy@users.sourceforge.net>
...
* include/sspi.h: Fix PSecurityFunctionTableW structure.
2008-08-30 23:19:14 +00:00
Chris Sutcliffe
953c58045b
2008-08-29 Andy Grover <andy.grover@oracle.com>
...
* include/ddk/scsi.h: Define READ_TOC formats.
* lib/ddk/scsiport.def (ScsiPortGetDeviceBase): Fix export.
2008-08-30 23:14:26 +00:00
Chris Sutcliffe
1c931bf118
2008-08-29 Andy Grover <andy.grover@oracle.com>
...
* 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-30 23:08:11 +00:00
Chris Sutcliffe
1138964dd8
2008-08-29 Andy Grover <andy.grover@oracle.com>
...
* include/ddk/winddk.h (RtlStringCbCopyA, RtlStringCbPrintfA,
RtlStringCbVPrintfA): define in terms of POSIX string functions.
2008-08-30 23:03:37 +00:00
Chris Sutcliffe
ce11563e34
2008-08-29 Andy Grover <andy.grover@oracle.com>
...
* include/ddk/winddk.h (KeRaiseIrql): Define.
(KfRaiseIrql, KfLowerIrql): remove incorrect definitions.
2008-08-30 22:58:51 +00:00
Keith Marshall
20167d0a5f
Implement conditional replacement for printf() family functions.
2008-08-30 17:27:18 +00:00
Chris Sutcliffe
782ac76f36
2008-08-29 Andy Grover <andy.grover@oracle.com>
...
* 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.
2008-08-30 02:16:11 +00:00
Christopher Faylor
5f05c64ce4
* fhandler_tty.cc (close_maybe): Check for both types of invalid handle before
...
attempting CloseHandle.
(fhandler_pty_master::setup): Only set inheritance on pty handles, not tty
handles.
2008-08-27 21:55:19 +00:00
Keith Marshall
05a6cb1bb2
Avoid access violations, passing NULL to printf( "...%s..." ).
2008-08-27 20:23:42 +00:00
Christopher Faylor
25687b0f76
* cygcheck.cc (nuke): Use malloc rather than alloca for environment variables.
...
(load_cygwin): Ditto.
* dump_setup.cc (parse_filename): Cosmetic changes.
(get_packages): Ditto.
2008-08-27 20:11:11 +00:00
Christopher Faylor
7e73b9cfd7
* shared_info.h (shared_info::create_root_entry): Remove extraneous
...
mount_info:: from declaration.
2008-08-26 16:56:30 +00:00
Corinna Vinschen
a5d4ae5c5b
* fhandler.h (class fhandler_pipe): Rename read and write
...
declarations to raw_read and raw_write.
* pipe.cc (fhandler_pipe::raw_read): Rename from read.
(fhandler_pipe::raw_write): Rename from write.
2008-08-26 15:39:17 +00:00
Chris Sutcliffe
a47ee4d624
2008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/shlwapi.h (ASSOCF_INIT_NOREMAPCLSID, ASSOCF_INIT_BYEXENAME,
ASSOCF_OPEN_BYEXENAME, ASSOCF_INIT_DEFAULTTOSTAR,
ASSOCF_INIT_DEFAULTTOFOLDER, ASSOCF_NOUSERSETTINGS, ASSOCF_NOTRUNCATE,
ASSOCF_VERIFY, ASSOCF_REMAPRUNDLL, ASSOCF_NOFIXUPS, ASSOCF_IGNOREBASECLASS,
ASSOCF_INIT_IGNOREUNKNOWN): Define.
2008-08-26 03:34:10 +00:00
Christopher Faylor
30caac0569
add comments
2008-08-25 17:27:06 +00:00
Corinna Vinschen
328b090f29
* mkgroup.c (enum_local_groups): Don't skip printing groups when
...
print_current is set and group SID is not curr_pgrp.
(enum_groups): Ditto.
(main): Fix condition when SYSTEM group gets printed.
* mkpasswd.c (enum_users): Don't skip printing users when print_current
is set and user SID is not curr_user.
(main): Allow printing standard accounts even when print_current is set.
2008-08-25 09:38:14 +00:00
Chris Sutcliffe
41e29fbdcf
2008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/commctrl.h (LVN_MARQUEEBEGIN): Define.
Thanks to Tim Kosse <botg at users dot sf dot net>.
2008-08-22 23:54:47 +00:00
Chris Sutcliffe
5f8dcee09f
2008-08-22 Bo Yang <techrazy@users.sourceforge.net>
...
* include/winnt.h (OWNER_SECURITY_INFORMATION, GROUP_SECURITY_INFORMATION,
DACL_SECURITY_INFORMATION, SACL_SECURITY_INFORMATION): Correct.
* include/winnt.h (OWNER_SECURITY_INFORMATION, GROUP_SECURITY_INFORMATION,
DACL_SECURITY_INFORMATION, SACL_SECURITY_INFORMATION,
LABEL_SECURITY_INFORMATION, UNPROTECTED_SACL_SECURITY_INFORMATION,
UNPROTECTED_DACL_SECURITY_INFORMATION, PROTECTED_SACL_SECURITY_INFORMATION,
PROTECTED_DACL_SECURITY_INFORMATION): Define.
2008-08-22 23:02:50 +00:00
Christopher Faylor
8b2ed8e20a
* fhandler.cc (fhandler_base::wait_overlapped): Reorganize again to accommodate
...
what appears to be an MSDN hint about not resetting the overlapped event prior
to calling GetOverlappedResult.
2008-08-22 04:06:01 +00:00
Corinna Vinschen
7d0a7940e6
* path.cc (symlink_info::check_shortcut): If file can't be opened,
...
treat it as non-symlink rather than generating an EIO error.
(symlink_info::check_sysfile): Ditto.
2008-08-20 10:53:54 +00:00
Chris Sutcliffe
236c21ee9e
2008-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/wtsapi32.h (_WTS_INFO_CLASS, _WTS_CONNECTSTATE_CLASS,
WTSQuerySessionInformation, WTSFreeMemory): Define.
2008-08-20 02:30:05 +00:00
Christopher Faylor
fbf39a58cb
* fhandler.cc (fhandler_base::wait_overlapped): Always assume that bytes will
...
be non-NULL. Distinguish input result from result derived from WFMO and
GetOverlappedResult or res can never be -1. Only raise SIGPIPE when writing.
* fhandler.h (fhandler_base::wait_overlapped): Pass first argument by value.
* fhandler_fifo.cc (fhandler_fifo::wait): Pass in dummy byte count to
wait_overlapped.
* pipe.cc (DEFAULT_PIPEBUFSIZE): Define to 65536 explicitly.
2008-08-20 02:25:06 +00:00
Corinna Vinschen
ec8a7e416f
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Drop fattr variable
...
and use FILE_ATTRIBUTE_DIRECTORY directly in call to NtCreateFile.
* posix_ipc.cc (ipc_mutex_init): Fix format string when creating IPC
object name.
(ipc_cond_init): Ditto.
* security.cc (alloc_sd): Add parentheses to fix setting initial
owner_allow value.
2008-08-19 09:46:31 +00:00
Christopher Faylor
46c6def37f
* fhandler.cc (fhandler_base::wait_overlapped): Don't treat ERROR_BROKEN_PIPE
...
as a non-error. Do raise SIGPIPE when it is detected.
2008-08-19 02:56:28 +00:00
Corinna Vinschen
bba4895394
* mkgroup.c (enum_local_groups): Use NetLocalGroupGetInfo to find out
...
if a group exists, rather than just allocating a buffer and going ahead.
2008-08-18 12:56:59 +00:00
Corinna Vinschen
2d1bfd524d
* mkgroup.c (enum_local_groups): Call print_win_error with GetLastError
...
as argument when LookupAccountXXX failed.
(enum_groups): Ditto.
2008-08-18 12:42:44 +00:00
Corinna Vinschen
5a62582162
* mkgroup.c (enum_local_groups): Return failure if looking for a single
...
group succeeded. Add comment.
2008-08-18 08:58:21 +00:00
Corinna Vinschen
096df1774b
* mkgroup.c (main): Keep correctly track of optional arguments.
...
* mkpasswd.c (main): Ditto.
2008-08-18 08:52:49 +00:00
Corinna Vinschen
01dd3162ff
* mkgroup.c (main): Always unset environment variable POSIXLY_CORRECT.
...
Keep track of optional argumnts and fix up optind afterwards.
* mkpasswd.c (main): Ditto.
2008-08-18 08:33:48 +00:00
Christopher Faylor
c7aa4aec42
* cygcheck.cc (print_version): Update copyright dates.
2008-08-17 17:15:41 +00:00
Christopher Faylor
95141e7835
* mkpasswd.c (main): Avoid printing system accounts when a single user name has
...
been requested.
2008-08-17 17:00:50 +00:00