Assorted spelling fixes.
This commit is contained in:
parent
bf9865d302
commit
bb8e625b5b
4
README
4
README
|
@ -32,7 +32,7 @@ To compile and run Wine, you must have one of the following:
|
|||
FreeBSD 5.3 or later
|
||||
Solaris x86 2.5 or later
|
||||
NetBSD-current
|
||||
MacOS X 10.4 or later
|
||||
Mac OS X 10.4 or later
|
||||
|
||||
As Wine requires kernel-level thread support to run, only the operating
|
||||
systems mentioned above are supported.
|
||||
|
@ -61,7 +61,7 @@ NetBSD info:
|
|||
Make sure you have the USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG options
|
||||
turned on in your kernel.
|
||||
|
||||
MacOS info:
|
||||
Mac OS X info:
|
||||
You need Xcode 2.4 or later to build properly on x86.
|
||||
|
||||
|
||||
|
|
|
@ -499,7 +499,7 @@ extern HPALETTE PALETTE_Init(void);
|
|||
/* region.c */
|
||||
extern BOOL REGION_FrameRgn( HRGN dest, HRGN src, INT x, INT y );
|
||||
|
||||
/* Undocumented value for DIB's iUsage: Indicates a mono DIB w/o pal enties */
|
||||
/* Undocumented value for DIB's iUsage: Indicates a mono DIB w/o pal entries */
|
||||
#define DIB_PAL_MONO 2
|
||||
#endif /* __WINE_GDI_PRIVATE_H */
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* interface:
|
||||
* - a specific IOCTL (Linux)
|
||||
* - looking in the ARP cache (at least Solaris)
|
||||
* - using the sysctl interface (FreeBSD and MacOSX)
|
||||
* - using the sysctl interface (FreeBSD and Mac OS X)
|
||||
* Solaris and some others have SIOCGENADDR, but I haven't gotten that to work
|
||||
* on the Solaris boxes at SourceForge's compile farm, whereas SIOCGARP does.
|
||||
*/
|
||||
|
|
|
@ -326,7 +326,7 @@ VOID WINAPI GetSystemInfo(
|
|||
memset(PF,0,sizeof(PF));
|
||||
|
||||
/* choose sensible defaults ...
|
||||
* FIXME: perhaps overrideable with precompiler flags?
|
||||
* FIXME: perhaps overridable with precompiler flags?
|
||||
*/
|
||||
cachedsi.u.s.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_INTEL;
|
||||
cachedsi.dwPageSize = getpagesize();
|
||||
|
@ -341,7 +341,7 @@ VOID WINAPI GetSystemInfo(
|
|||
cachedsi.wProcessorLevel = 5; /* 586 */
|
||||
cachedsi.wProcessorRevision = 0;
|
||||
|
||||
cache = 1; /* even if there is no more info, we now have a cacheentry */
|
||||
cache = 1; /* even if there is no more info, we now have a cache entry */
|
||||
memcpy(si,&cachedsi,sizeof(*si));
|
||||
|
||||
/* Hmm, reasonable processor feature defaults? */
|
||||
|
|
|
@ -643,10 +643,10 @@ DWORD INSTR_EmulateInstruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
|
|||
int seg = outp ? context->SegDs : context->SegEs; /* FIXME: is this right? */
|
||||
|
||||
if (outp)
|
||||
/* FIXME: Check segment readable. */
|
||||
/* FIXME: Check segment is readable. */
|
||||
(void)0;
|
||||
else
|
||||
/* FIXME: Check segment writeable. */
|
||||
/* FIXME: Check segment is writable. */
|
||||
(void)0;
|
||||
|
||||
if (repX)
|
||||
|
|
|
@ -1806,7 +1806,7 @@ UINT WINAPI WinExec( LPCSTR lpCmdLine, UINT nCmdShow )
|
|||
startup.dwFlags = STARTF_USESHOWWINDOW;
|
||||
startup.wShowWindow = nCmdShow;
|
||||
|
||||
/* cmdline needs to be writeable for CreateProcess */
|
||||
/* cmdline needs to be writable for CreateProcess */
|
||||
if (!(cmdline = HeapAlloc( GetProcessHeap(), 0, strlen(lpCmdLine)+1 ))) return 0;
|
||||
strcpy( cmdline, lpCmdLine );
|
||||
|
||||
|
|
|
@ -385,7 +385,7 @@ BOOL16 WINAPI IsBadHugeWritePtr16( SEGPTR ptr, DWORD size )
|
|||
if (!sel) return TRUE;
|
||||
wine_ldt_get_entry( sel, &entry );
|
||||
if (wine_ldt_is_empty( &entry )) return TRUE;
|
||||
/* check for writeable data segment, ignoring expand-down and accessed flags */
|
||||
/* check for writable data segment, ignoring expand-down and accessed flags */
|
||||
if ((entry.HighWord.Bits.Type ^ WINE_LDT_FLAGS_DATA) & ~5) return TRUE;
|
||||
if (size && (OFFSETOF(ptr) + size - 1 > wine_ldt_get_limit( &entry ))) return TRUE;
|
||||
return FALSE;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*
|
||||
* This file contains tests to ensure the consistency between symbols
|
||||
* defined in the regular msvcrt headers, and the corresponding duplicated
|
||||
* symbol defined in msvcrt.h (prefixed by MSVCRT_).
|
||||
* symbols defined in msvcrt.h (prefixed by MSVCRT_).
|
||||
*/
|
||||
|
||||
#include "dos.h"
|
||||
|
|
|
@ -327,7 +327,7 @@ BlockChainStream* Storage32Impl_SmallBlocksToBigBlocks(
|
|||
/****************************************************************************
|
||||
* StgStreamImpl definitions.
|
||||
*
|
||||
* This class imlements the IStream32 inteface and represents a stream
|
||||
* This class implements the IStream32 interface and represents a stream
|
||||
* located inside a storage object.
|
||||
*/
|
||||
struct StgStreamImpl
|
||||
|
|
|
@ -149,7 +149,7 @@ typedef struct tagMSFT_TypeInfoBase {
|
|||
/*050*/ INT size; /* size in bytes, at least for structures */
|
||||
/* FIXME: name of this field */
|
||||
INT datatype1; /* position in type description table */
|
||||
/* or in base intefaces */
|
||||
/* or in base interfaces */
|
||||
/* if coclass: offset in reftable */
|
||||
/* if interface: reference to inherited if */
|
||||
/* if module: offset to dllname in name table */
|
||||
|
@ -285,7 +285,7 @@ typedef struct {
|
|||
lower-middle 8 bits are unknown (flags?),
|
||||
upper 16 bits are hash code */
|
||||
} MSFT_NameIntro;
|
||||
/* the custom data table directory has enties like this */
|
||||
/* the custom data table directory has entries like this */
|
||||
typedef struct {
|
||||
INT GuidOffset;
|
||||
INT DataOffset;
|
||||
|
|
|
@ -1024,7 +1024,7 @@ __ASM_GLOBAL_FUNC(call_server_func,
|
|||
"pushl %esi\n\t"
|
||||
"movl 16(%ebp), %eax\n\t" /* Get stack size */
|
||||
"subl %eax, %esp\n\t" /* Make room in stack for arguments */
|
||||
"andl $~15, %esp\n\t" /* Make sure stack has 16-byte alignment for MacOS X */
|
||||
"andl $~15, %esp\n\t" /* Make sure stack has 16-byte alignment for Mac OS X */
|
||||
"movl %esp, %edi\n\t"
|
||||
"movl %eax, %ecx\n\t"
|
||||
"movl 12(%ebp), %esi\n\t"
|
||||
|
|
|
@ -120,7 +120,7 @@ LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
|
|||
return argv;
|
||||
}
|
||||
|
||||
/* to get a writeable copy */
|
||||
/* to get a writable copy */
|
||||
argc=0;
|
||||
bcount=0;
|
||||
in_quotes=0;
|
||||
|
@ -356,7 +356,7 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
|
|||
(flags & (SHGFI_ATTRIBUTES|SHGFI_EXETYPE|SHGFI_PIDL)))
|
||||
return FALSE;
|
||||
|
||||
/* windows initializes this values regardless of the flags */
|
||||
/* windows initializes these values regardless of the flags */
|
||||
if (psfi != NULL)
|
||||
{
|
||||
psfi->szDisplayName[0] = '\0';
|
||||
|
|
|
@ -219,7 +219,7 @@ static BOOL is_close_enabled(HWND hwnd, HMENU hSysMenu)
|
|||
/**********************************************************************
|
||||
* MDI_GetWindow
|
||||
*
|
||||
* returns "activateable" child different from the current or zero
|
||||
* returns "activatable" child different from the current or zero
|
||||
*/
|
||||
static HWND MDI_GetWindow(MDICLIENTINFO *clientInfo, HWND hWnd, BOOL bNext,
|
||||
DWORD dwStyleMask )
|
||||
|
|
|
@ -31,7 +31,7 @@ typedef unsigned short wchar_t;
|
|||
#ifndef __stdcall
|
||||
# ifdef __i386__
|
||||
# ifdef __GNUC__
|
||||
# ifdef __APPLE__ /* Mac OSX uses 16-byte aligned stack and not a 4-byte one */
|
||||
# ifdef __APPLE__ /* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */
|
||||
# define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))
|
||||
# else
|
||||
# define __stdcall __attribute__((__stdcall__))
|
||||
|
|
|
@ -52,7 +52,7 @@ extern "C" {
|
|||
#ifndef __stdcall
|
||||
# ifdef __i386__
|
||||
# ifdef __GNUC__
|
||||
# ifdef __APPLE__ /* Mac OSX uses 16-byte aligned stack and not a 4-byte one */
|
||||
# ifdef __APPLE__ /* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */
|
||||
# define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))
|
||||
# else
|
||||
# define __stdcall __attribute__((__stdcall__))
|
||||
|
@ -69,7 +69,7 @@ extern "C" {
|
|||
|
||||
#ifndef __cdecl
|
||||
# if defined(__i386__) && defined(__GNUC__)
|
||||
# ifdef __APPLE__ /* Mac OSX uses 16-byte aligned stack and not a 4-byte one */
|
||||
# ifdef __APPLE__ /* Mac OS X uses 16-byte aligned stack and not a 4-byte one */
|
||||
# define __cdecl __attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__))
|
||||
# else
|
||||
# define __cdecl __attribute__((__cdecl__))
|
||||
|
|
|
@ -90,7 +90,7 @@ static inline int get_fdzero(void)
|
|||
* the address argument in this case.
|
||||
*
|
||||
* As Wine code occasionally relies on the Linux behaviour, e.g. to
|
||||
* be able to map non-relocateable PE executables to their proper
|
||||
* be able to map non-relocatable PE executables to their proper
|
||||
* start addresses, or to map the DOS memory to 0, this routine
|
||||
* emulates the Linux behaviour by checking whether the desired
|
||||
* address range is still available, and placing the mapping there
|
||||
|
|
|
@ -148,7 +148,7 @@ typedef struct tagMSFT_TypeInfoBase {
|
|||
/*050*/ INT size; /* size in bytes, at least for structures */
|
||||
/* FIXME: name of this field */
|
||||
INT datatype1; /* position in type description table */
|
||||
/* or in base intefaces */
|
||||
/* or in base interfaces */
|
||||
/* if coclass: offset in reftable */
|
||||
/* if interface: reference to inherited if */
|
||||
INT datatype2; /* for interfaces: hiword is num of inherited funcs */
|
||||
|
@ -286,7 +286,7 @@ typedef struct {
|
|||
/* 0x3800 if name is typeinfo name */
|
||||
/* upper 16 bits are hash code */
|
||||
} MSFT_NameIntro;
|
||||
/* the custom data table directory has enties like this */
|
||||
/* the custom data table directory has entries like this */
|
||||
typedef struct {
|
||||
INT GuidOffset;
|
||||
INT DataOffset;
|
||||
|
|
|
@ -253,7 +253,7 @@ static void dump_le_objects( const IMAGE_VXD_HEADER *le )
|
|||
if(pobj->o32_flags & 0x0001)
|
||||
printf("\tReadable\n");
|
||||
if(pobj->o32_flags & 0x0002)
|
||||
printf("\tWriteable\n");
|
||||
printf("\tWritable\n");
|
||||
if(pobj->o32_flags & 0x0004)
|
||||
printf("\tExecutable\n");
|
||||
if(pobj->o32_flags & 0x0008)
|
||||
|
|
|
@ -843,7 +843,7 @@ int codeview_dump_symbols(const void* root, unsigned long size)
|
|||
break;
|
||||
|
||||
case S_PUB_V3:
|
||||
/* not completly sure of those two anyway */
|
||||
/* not completely sure of those two anyway */
|
||||
case S_PUB_FUNC1_V3:
|
||||
case S_PUB_FUNC2_V3:
|
||||
printf("\tS-Public%s V3 '%s' %04x:%08x type:%08x\n",
|
||||
|
|
|
@ -285,7 +285,7 @@ static void compile(struct options* opts, const char* lang)
|
|||
|
||||
if (gcc_defs)
|
||||
{
|
||||
#ifdef __APPLE__ /* Mac OSX uses 16-byte aligned stack and not a 4-byte one */
|
||||
#ifdef __APPLE__ /* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */
|
||||
strarray_add(comp_args, "-D__stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))");
|
||||
strarray_add(comp_args, "-D__cdecl=__attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__))");
|
||||
strarray_add(comp_args, "-D_stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))");
|
||||
|
|
Loading…
Reference in New Issue