Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
01c8ec3a
Commit
01c8ec3a
authored
Apr 02, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
Apr 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling/error messages fixes.
parent
9c54cfa5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
18 deletions
+22
-18
device.c
dlls/dinput/device.c
+1
-1
icmp_main.c
dlls/icmp/icmp_main.c
+1
-1
richedit.c
dlls/richedit/richedit.c
+1
-1
module.c
loader/module.c
+16
-12
pe_image.c
loader/pe_image.c
+3
-3
No files found.
dlls/dinput/device.c
View file @
01c8ec3a
...
...
@@ -184,7 +184,7 @@ DataFormat *create_DataFormat(DIDATAFORMAT *wine_format, LPCDIDATAFORMAT asked_f
dt
=
(
DataTransform
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
asked_format
->
dwNumObjs
*
sizeof
(
DataTransform
));
TRACE
(
"Creating DataTransorm :
\n
"
);
TRACE
(
"Creating DataTrans
f
orm :
\n
"
);
for
(
i
=
0
;
i
<
wine_format
->
dwNumObjs
;
i
++
)
{
offset
[
i
]
=
-
1
;
...
...
dlls/icmp/icmp_main.c
View file @
01c8ec3a
...
...
@@ -183,7 +183,7 @@ HANDLE WINAPI IcmpCreateFile(VOID)
ISOCK_SOCKET
sid
=
ISOCK_socket
(
AF_INET
,
SOCK_RAW
,
IPPROTO_ICMP
);
if
(
!
ISOCK_ISVALID
(
sid
))
{
MESSAGE
(
"WARNING: Trying to use ICMP will fail unless running as root
\n
"
);
MESSAGE
(
"WARNING: Trying to use ICMP
(network ping)
will fail unless running as root
\n
"
);
SetLastError
(
ERROR_ACCESS_DENIED
);
return
INVALID_HANDLE_VALUE
;
}
...
...
dlls/richedit/richedit.c
View file @
01c8ec3a
...
...
@@ -564,7 +564,7 @@ static LRESULT WINAPI RICHED32_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
}
FIXME
(
"Unknown message
%d
\n
"
,
uMsg
);
FIXME
(
"Unknown message
0x%04x
\n
"
,
uMsg
);
return
DefWindowProcA
(
hwnd
,
uMsg
,
wParam
,
lParam
);
}
...
...
loader/module.c
View file @
01c8ec3a
...
...
@@ -1118,7 +1118,7 @@ BOOL WINAPI CreateProcessA( LPCSTR lpApplicationName, LPSTR lpCommandLine,
if
(
hFile
==
INVALID_HANDLE_VALUE
)
goto
done
;
if
(
!
MODULE_GetBinaryType
(
hFile
,
name
,
&
type
)
)
{
{
/* unknown file, try as unix executable */
CloseHandle
(
hFile
);
retv
=
PROCESS_Create
(
0
,
name
,
tidy_cmdline
,
lpEnvironment
,
lpProcessAttributes
,
lpThreadAttributes
,
...
...
@@ -1324,7 +1324,7 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags)
{
if
(
!
MODULE_DllProcessAttach
(
wm
,
NULL
)
)
{
WARN_
(
module
)(
"Attach failed for module '%s'
,
\n
"
,
libname
);
WARN_
(
module
)(
"Attach failed for module '%s'
.
\n
"
,
libname
);
MODULE_FreeLibrary
(
wm
);
SetLastError
(
ERROR_DLL_INIT_FAILED
);
wm
=
NULL
;
...
...
@@ -1374,7 +1374,7 @@ static LPCSTR allocate_lib_dir(LPCSTR libname)
* The HFILE parameter is not used and marked reserved in the SDK. I can
* only guess that it should force a file to be mapped, but I rather
* ignore the parameter because it would be extremely difficult to
* integrate this with different types of module represenations.
* integrate this with different types of module represen
t
ations.
*
* libdir is used to support LOAD_WITH_ALTERED_SEARCH_PATH during the recursion
* on this function. When first called from LoadLibraryExA it will be
...
...
@@ -1424,12 +1424,12 @@ WINE_MODREF *MODULE_LoadLibraryExA( LPCSTR libname, HFILE hfile, DWORD flags )
if
(
!
GetSystemDirectoryA
(
filename
,
MAX_PATH
)
)
goto
error
;
/* if the library name contains a path and can not be found,
return an error.
exception: if the path is the system directory, proceed, so that modules,
which are not PE-modules can be loaded
if the library name does not contain a path and can not be found, assume the
system directory is meant */
/* if the library name contains a path and can not be found,
* return an error.
* exception: if the path is the system directory, proceed,
* so that modules which are not PE modules can be loaded.
* If the library name does not contain a path and can not
* be found, assume the
system directory is meant */
if
(
!
FILE_strncasecmp
(
filename
,
libname
,
strlen
(
filename
)
))
strcpy
(
filename
,
libname
);
...
...
@@ -1440,7 +1440,7 @@ WINE_MODREF *MODULE_LoadLibraryExA( LPCSTR libname, HFILE hfile, DWORD flags )
strcat
(
filename
,
libname
);
}
/* if the filename doesn't have an extension append .DLL */
/* if the filename doesn't have an extension
,
append .DLL */
if
(
!
(
p
=
strrchr
(
filename
,
'.'
))
||
strchr
(
p
,
'/'
)
||
strchr
(
p
,
'\\'
))
strcat
(
filename
,
".dll"
);
}
...
...
@@ -1542,7 +1542,11 @@ WINE_MODREF *MODULE_LoadLibraryExA( LPCSTR libname, HFILE hfile, DWORD flags )
}
if
(
GetLastError
()
!=
ERROR_FILE_NOT_FOUND
)
break
;
{
ERR
(
"Loading of %s DLL %s failed (error %ld), check this file.
\n
"
,
filetype
,
filename
,
GetLastError
());
break
;
}
}
error:
...
...
@@ -1552,7 +1556,7 @@ WINE_MODREF *MODULE_LoadLibraryExA( LPCSTR libname, HFILE hfile, DWORD flags )
libdir
=
NULL
;
}
RtlLeaveCriticalSection
(
&
loader_section
);
WARN
(
"Failed to load module '%s'; error=
0x%08lx
\n
"
,
filename
,
GetLastError
());
WARN
(
"Failed to load module '%s'; error=
%ld
\n
"
,
filename
,
GetLastError
());
HeapFree
(
GetProcessHeap
(),
0
,
filename
);
return
NULL
;
}
...
...
loader/pe_image.c
View file @
01c8ec3a
...
...
@@ -528,7 +528,7 @@ HMODULE PE_LoadImage( HANDLE hFile, LPCSTR filename, DWORD flags )
/**********************************************************************
* PE_CreateModule
*
* Create WINE_MODREF structure for loaded HMODULE
32
, link it into
* Create WINE_MODREF structure for loaded HMODULE, link it into
* process modref_list, and fixup all imports.
*
* Note: hModule must point to a correctly allocated PE image,
...
...
@@ -663,7 +663,7 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule, LPCSTR filename, DWORD flags,
/* FIXME: there are several more dangling references
* left. Including dlls loaded by this dll before the
* failed one. Unrolling is rather difficult with the
* current structure and we can leave
it
them lying
* current structure and we can leave them lying
* around with no problems, so we don't care.
* As these might reference our wm, we don't free it.
*/
...
...
@@ -739,7 +739,7 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags)
/* Called if the library is loaded or freed.
* NOTE: if a thread attaches a DLL, the current thread will only do
* DLL_PROCESS_ATTACH. Only new created threads do DLL_THREAD_ATTACH
* DLL_PROCESS_ATTACH. Only new
ly
created threads do DLL_THREAD_ATTACH
* (SDK)
*/
typedef
DWORD
(
CALLBACK
*
DLLENTRYPROC
)(
HMODULE
,
DWORD
,
LPVOID
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment