Module: wine
Branch: master
Commit: 88cae5d4c783c5d2b6ce212b9f79308e208813d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=88cae5d4c783c5d2b6ce212b9…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Tue Aug 24 09:53:35 2010 +0200
Assorted spelling fixes.
---
dlls/mshtml/htmlelem.c | 2 +-
dlls/oleaut32/tests/typelib.c | 2 +-
dlls/shell32/tests/shlfolder.c | 2 +-
dlls/urlmon/tests/uri.c | 4 ++--
dlls/urlmon/uri.c | 22 +++++++++++-----------
5 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index 5bf2915..e5ca73d 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -1718,7 +1718,7 @@ HTMLElement *HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL
return ret;
}
-/* interaface IHTMLFiltersCollection */
+/* interface IHTMLFiltersCollection */
static HRESULT WINAPI HTMLFiltersCollection_QueryInterface(IHTMLFiltersCollection *iface, REFIID riid, void **ppv)
{
HTMLFiltersCollection *This = HTMLFILTERSCOLLECTION_THIS(iface);
diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c
index e801160..fd98a15 100644
--- a/dlls/oleaut32/tests/typelib.c
+++ b/dlls/oleaut32/tests/typelib.c
@@ -294,7 +294,7 @@ static void test_TypeComp(void)
ITypeInfo_ReleaseFuncDesc(pTypeInfo, bindptr.lpfuncdesc);
ITypeInfo_Release(pTypeInfo);
- /* tests non-existent members */
+ /* tests nonexistent members */
desckind = 0xdeadbeef;
bindptr.lptcomp = (ITypeComp*)0xdeadbeef;
pTypeInfo = (ITypeInfo*)0xdeadbeef;
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index e731f07..3fae215 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -3566,7 +3566,7 @@ static void test_GetUIObject(void)
ZeroMemory(&cmi, sizeof(CMINVOKECOMMANDINFO));
cmi.cbSize = sizeof(CMINVOKECOMMANDINFO);
- /* Attempt to execute non-existing command */
+ /* Attempt to execute a nonexistent command */
cmi.lpVerb = MAKEINTRESOURCEA(9999);
hr = IContextMenu_InvokeCommand(pcm, &cmi);
ok(hr == E_INVALIDARG, "Got 0x%08x\n", hr);
diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index 84f89d1..ca6d362 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -662,7 +662,7 @@ static const uri_properties uri_tests[] = {
{URLZONE_INVALID,E_NOTIMPL,FALSE}
}
},
- /* Windows uses the first occurence of ':' to delimit the userinfo. */
+ /* Windows uses the first occurrence of ':' to delimit the userinfo. */
{ "ftp://user:pass:word@winehq.org/", 0, S_OK, FALSE,
Uri_HAS_ABSOLUTE_URI|Uri_HAS_AUTHORITY|Uri_HAS_DISPLAY_URI|Uri_HAS_DOMAIN|
Uri_HAS_HOST|Uri_HAS_PASSWORD|Uri_HAS_PATH|Uri_HAS_PATH_AND_QUERY|Uri_HAS_RAW_URI|
@@ -1414,7 +1414,7 @@ static const uri_properties uri_tests[] = {
{URLZONE_INVALID,E_NOTIMPL,FALSE}
}
},
- /* Valid URI since the '[' and ']' don't appear at the begining and end
+ /* Valid URI since the '[' and ']' don't appear at the beginning and end
* of the host name (respectively).
*/
{ "ftp://www.[works].com/", 0, S_OK, FALSE,
diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 4a13f33..1054785 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -463,7 +463,7 @@ static inline void pct_encode_val(WCHAR val, WCHAR *dest) {
dest[2] = hexDigits[val & 0xf];
}
-/* Scans the range of characters [str, end] and returns the last occurence
+/* Scans the range of characters [str, end] and returns the last occurrence
* of 'ch' or returns NULL.
*/
static const WCHAR *str_last_of(const WCHAR *str, const WCHAR *end, WCHAR ch) {
@@ -533,7 +533,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
return;
}
} else if(last_tld-host < 3)
- /* Anything less then 3 characters is considered part
+ /* Anything less than 3 characters is considered part
* of the TLD name.
* Ex: ak.uk -> Has no domain name.
*/
@@ -542,7 +542,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
/* Otherwise the domain name is the whole host name. */
*domain_start = 0;
} else if(end+1-last_tld > 3) {
- /* If the last_tld has more then 3 characters then it's automatically
+ /* If the last_tld has more than 3 characters, then it's automatically
* considered the TLD of the domain name.
* Ex: www.winehq.org.uk.test -> uk.test as the domain name.
*/
@@ -572,7 +572,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
*domain_start = (sec_last_tld+1)-host;
} else {
- /* Since the sec_last_tld is less then 3 characters it's considered
+ /* Since the sec_last_tld is less than 3 characters it's considered
* part of the TLD.
* Ex: www.google.fo.uk -> google.fo.uk as the domain name.
*/
@@ -584,7 +584,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
*domain_start = (domain+1) - host;
}
} else {
- /* The second to last TLD has more then 3 characters making it
+ /* The second to last TLD has more than 3 characters making it
* the domain name.
* Ex: www.google.test.us -> test.us as the domain name.
*/
@@ -595,7 +595,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
(host+host_len)-(host+*domain_start)));
}
-/* Removes the dot segments from a heirarchical URIs path component. This
+/* Removes the dot segments from a hierarchical URIs path component. This
* function performs the removal in place.
*
* This is a modified version of Qt's QUrl function "removeDotsFromPath".
@@ -719,7 +719,7 @@ static void compute_elision_location(const ipv6_address *address, const USHORT v
if(is_end || values[i] != 0) {
/* We only consider it for an elision if it's
- * more then 1 component long.
+ * more than 1 component long.
*/
if(cur_len > 1 && cur_len > max_len) {
/* Found the new elision location. */
@@ -1190,7 +1190,7 @@ static BOOL parse_scheme(const WCHAR **ptr, parse_data *data, DWORD flags) {
*
* NOTES:
* 1) If there is more than one ':' in the userinfo part of the URI Windows
- * uses the first occurence of ':' to delimit the username and password
+ * uses the first occurrence of ':' to delimit the username and password
* components.
*
* ex:
@@ -1484,7 +1484,7 @@ static BOOL parse_ipv6address(const WCHAR **ptr, parse_data *data, DWORD flags)
BOOL is_split = (**ptr == ':');
BOOL is_elision = (is_split && !is_end && *(*ptr+1) == ':');
- /* Check if we're at the end of of the a component, or
+ /* Check if we're at the end of a component, or
* if we're at the end of the IPv6 address.
*/
if(is_split || is_end) {
@@ -1509,7 +1509,7 @@ static BOOL parse_ipv6address(const WCHAR **ptr, parse_data *data, DWORD flags)
if(!((*ptr == start && is_elision) ||
(is_end && (*ptr-2) == ip.elision))) {
*ptr = start;
- TRACE("(%p %p %x): IPv6 component can not have a length of 0.\n",
+ TRACE("(%p %p %x): IPv6 component cannot have a length of 0.\n",
ptr, data, flags);
return FALSE;
}
@@ -1621,7 +1621,7 @@ static BOOL parse_ipvfuture(const WCHAR **ptr, parse_data *data, DWORD flags) {
if(**ptr != 'v' && **ptr != 'V')
return FALSE;
- /* Following the v their must be atleast 1 hexdigit. */
+ /* Following the v there must be at least 1 hex digit. */
++(*ptr);
if(!is_hexdigit(**ptr)) {
*ptr = start;
Module: wine
Branch: master
Commit: b5d824bd33ebf21abc6a2f2236184738b3cd0846
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5d824bd33ebf21abc6a2f223…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Tue Aug 24 13:42:10 2010 +0200
configure: Print a warning when prelink isn't found.
---
configure | 93 ++++++++++++++++++++++++++++-----------------------------
configure.ac | 11 +++----
2 files changed, 51 insertions(+), 53 deletions(-)
diff --git a/configure b/configure
index 2ad9171..dac6570 100755
--- a/configure
+++ b/configure
@@ -648,6 +648,7 @@ LIBPTHREAD
CROSSTARGET
CROSSCC
CROSSTEST_DISABLE
+PRELINK
CARBONLIB
FRAMEWORK_OPENAL
COREAUDIO
@@ -670,7 +671,6 @@ DLLEXT
CPP
OPENGL_LIBS
XLIB
-PRELINK
MAINTAINER_MODE
ICOTOOL
CONVERT
@@ -5175,52 +5175,6 @@ $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
fi
-case $host_cpu in
- *i[3456789]86*)
- # Extract the first word of "prelink", so it can be a program name with args.
-set dummy prelink; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_PRELINK+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- case $PRELINK in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /sbin /usr/sbin $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
- ;;
-esac
-fi
-PRELINK=$ac_cv_path_PRELINK
-if test -n "$PRELINK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
-$as_echo "$PRELINK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- ;;
-esac
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
$as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
@@ -6930,6 +6884,51 @@ $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
fi
+ # Extract the first word of "prelink", so it can be a program name with args.
+set dummy prelink; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_PRELINK+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PRELINK in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /sbin /usr/sbin $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
+ ;;
+esac
+fi
+PRELINK=$ac_cv_path_PRELINK
+if test -n "$PRELINK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
+$as_echo "$PRELINK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test "x$PRELINK" = xfalse
+ then
+ as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
+ fi
;;
esac
diff --git a/configure.ac b/configure.ac
index 9ef36b0..37628f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -350,12 +350,6 @@ else
fi
-case $host_cpu in
- *i[[3456789]]86*)
- AC_PATH_PROG(PRELINK, prelink, false, [/sbin /usr/sbin $PATH])
- ;;
-esac
-
dnl **** Check for some libraries ****
dnl Check for -li386 for NetBSD and OpenBSD
@@ -796,6 +790,11 @@ case $host_os in
*i[[3456789]]86* | x86_64)
WINE_TRY_CFLAGS([-Wl,--section-start,.interp=0x7bf00400],
[LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"])
+ AC_PATH_PROG(PRELINK, prelink, false, [/sbin /usr/sbin $PATH])
+ if test "x$PRELINK" = xfalse
+ then
+ WINE_WARNING([prelink not found, base address of core dlls won't be set correctly.])
+ fi
;;
esac