Corinna Vinschen
bef8896587
* include/winbase.h (PROCESS_DEP_ENABLE,
...
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION): Define for >= Vista SP1.
(enum _DEP_SYSTEM_POLICY_TYPE): Ditto.
(GetProcessDEPPolicy, GetSystemDEPPolicy, SetProcessDEPPolicy): Ditto.
2008-11-11 14:44:54 +00:00
Corinna Vinschen
2348e4f3c6
* mount.cc (mount_info::cygdrive_win32_path): Always upper case
...
DOS drive letter to accommodate case sensitivity.
(cygdrive_getmntent): Ditto.
* path.cc (path_conv::check): Invalidate wide_path after making path
relative.
2008-11-11 11:45:05 +00:00
Corinna Vinschen
9df1dbeac6
* cygwinenv.sgml: Add description for upcaseenv option.
2008-11-11 10:51:45 +00:00
Corinna Vinschen
188fb31537
* environ.cc (create_upcaseenv): New static variable.
...
(renv_arr): New static array to keep track of environment variables
which have to be always uppercased.
(idx_arr): Ditto.
(start_at): Ditto.
(ucreqenv): New function to uppercase only the environment variables
from renv_arr.
(parse_thing): Add "upcaseenv" setting.
(environ_init): Parse $CYGWIN before doing anything else. Call
ucreqenv instead of ucenv if CYGWIN=noupcaseenv is set.
2008-11-11 10:51:03 +00:00
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