Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2006-12-04 19:55:35 +01:00 committed by Alexandre Julliard
parent bf9865d302
commit bb8e625b5b
20 changed files with 27 additions and 27 deletions

4
README
View File

@ -32,7 +32,7 @@ To compile and run Wine, you must have one of the following:
FreeBSD 5.3 or later FreeBSD 5.3 or later
Solaris x86 2.5 or later Solaris x86 2.5 or later
NetBSD-current 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 As Wine requires kernel-level thread support to run, only the operating
systems mentioned above are supported. systems mentioned above are supported.
@ -61,7 +61,7 @@ NetBSD info:
Make sure you have the USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG options Make sure you have the USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG options
turned on in your kernel. turned on in your kernel.
MacOS info: Mac OS X info:
You need Xcode 2.4 or later to build properly on x86. You need Xcode 2.4 or later to build properly on x86.

View File

@ -499,7 +499,7 @@ extern HPALETTE PALETTE_Init(void);
/* region.c */ /* region.c */
extern BOOL REGION_FrameRgn( HRGN dest, HRGN src, INT x, INT y ); 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 #define DIB_PAL_MONO 2
#endif /* __WINE_GDI_PRIVATE_H */ #endif /* __WINE_GDI_PRIVATE_H */

View File

@ -22,7 +22,7 @@
* interface: * interface:
* - a specific IOCTL (Linux) * - a specific IOCTL (Linux)
* - looking in the ARP cache (at least Solaris) * - 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 * 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. * on the Solaris boxes at SourceForge's compile farm, whereas SIOCGARP does.
*/ */

View File

@ -326,7 +326,7 @@ VOID WINAPI GetSystemInfo(
memset(PF,0,sizeof(PF)); memset(PF,0,sizeof(PF));
/* choose sensible defaults ... /* choose sensible defaults ...
* FIXME: perhaps overrideable with precompiler flags? * FIXME: perhaps overridable with precompiler flags?
*/ */
cachedsi.u.s.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_INTEL; cachedsi.u.s.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_INTEL;
cachedsi.dwPageSize = getpagesize(); cachedsi.dwPageSize = getpagesize();
@ -341,7 +341,7 @@ VOID WINAPI GetSystemInfo(
cachedsi.wProcessorLevel = 5; /* 586 */ cachedsi.wProcessorLevel = 5; /* 586 */
cachedsi.wProcessorRevision = 0; 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)); memcpy(si,&cachedsi,sizeof(*si));
/* Hmm, reasonable processor feature defaults? */ /* Hmm, reasonable processor feature defaults? */

View File

@ -643,10 +643,10 @@ DWORD INSTR_EmulateInstruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
int seg = outp ? context->SegDs : context->SegEs; /* FIXME: is this right? */ int seg = outp ? context->SegDs : context->SegEs; /* FIXME: is this right? */
if (outp) if (outp)
/* FIXME: Check segment readable. */ /* FIXME: Check segment is readable. */
(void)0; (void)0;
else else
/* FIXME: Check segment writeable. */ /* FIXME: Check segment is writable. */
(void)0; (void)0;
if (repX) if (repX)

View File

@ -1806,7 +1806,7 @@ UINT WINAPI WinExec( LPCSTR lpCmdLine, UINT nCmdShow )
startup.dwFlags = STARTF_USESHOWWINDOW; startup.dwFlags = STARTF_USESHOWWINDOW;
startup.wShowWindow = nCmdShow; 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; if (!(cmdline = HeapAlloc( GetProcessHeap(), 0, strlen(lpCmdLine)+1 ))) return 0;
strcpy( cmdline, lpCmdLine ); strcpy( cmdline, lpCmdLine );

View File

@ -385,7 +385,7 @@ BOOL16 WINAPI IsBadHugeWritePtr16( SEGPTR ptr, DWORD size )
if (!sel) return TRUE; if (!sel) return TRUE;
wine_ldt_get_entry( sel, &entry ); wine_ldt_get_entry( sel, &entry );
if (wine_ldt_is_empty( &entry )) return TRUE; 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 ((entry.HighWord.Bits.Type ^ WINE_LDT_FLAGS_DATA) & ~5) return TRUE;
if (size && (OFFSETOF(ptr) + size - 1 > wine_ldt_get_limit( &entry ))) return TRUE; if (size && (OFFSETOF(ptr) + size - 1 > wine_ldt_get_limit( &entry ))) return TRUE;
return FALSE; return FALSE;

View File

@ -17,7 +17,7 @@
* *
* This file contains tests to ensure the consistency between symbols * This file contains tests to ensure the consistency between symbols
* defined in the regular msvcrt headers, and the corresponding duplicated * 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" #include "dos.h"

View File

@ -327,7 +327,7 @@ BlockChainStream* Storage32Impl_SmallBlocksToBigBlocks(
/**************************************************************************** /****************************************************************************
* StgStreamImpl definitions. * 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. * located inside a storage object.
*/ */
struct StgStreamImpl struct StgStreamImpl

View File

@ -149,7 +149,7 @@ typedef struct tagMSFT_TypeInfoBase {
/*050*/ INT size; /* size in bytes, at least for structures */ /*050*/ INT size; /* size in bytes, at least for structures */
/* FIXME: name of this field */ /* FIXME: name of this field */
INT datatype1; /* position in type description table */ INT datatype1; /* position in type description table */
/* or in base intefaces */ /* or in base interfaces */
/* if coclass: offset in reftable */ /* if coclass: offset in reftable */
/* if interface: reference to inherited if */ /* if interface: reference to inherited if */
/* if module: offset to dllname in name table */ /* if module: offset to dllname in name table */
@ -285,7 +285,7 @@ typedef struct {
lower-middle 8 bits are unknown (flags?), lower-middle 8 bits are unknown (flags?),
upper 16 bits are hash code */ upper 16 bits are hash code */
} MSFT_NameIntro; } MSFT_NameIntro;
/* the custom data table directory has enties like this */ /* the custom data table directory has entries like this */
typedef struct { typedef struct {
INT GuidOffset; INT GuidOffset;
INT DataOffset; INT DataOffset;

View File

@ -1024,7 +1024,7 @@ __ASM_GLOBAL_FUNC(call_server_func,
"pushl %esi\n\t" "pushl %esi\n\t"
"movl 16(%ebp), %eax\n\t" /* Get stack size */ "movl 16(%ebp), %eax\n\t" /* Get stack size */
"subl %eax, %esp\n\t" /* Make room in stack for arguments */ "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 %esp, %edi\n\t"
"movl %eax, %ecx\n\t" "movl %eax, %ecx\n\t"
"movl 12(%ebp), %esi\n\t" "movl 12(%ebp), %esi\n\t"

View File

@ -120,7 +120,7 @@ LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
return argv; return argv;
} }
/* to get a writeable copy */ /* to get a writable copy */
argc=0; argc=0;
bcount=0; bcount=0;
in_quotes=0; in_quotes=0;
@ -356,7 +356,7 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
(flags & (SHGFI_ATTRIBUTES|SHGFI_EXETYPE|SHGFI_PIDL))) (flags & (SHGFI_ATTRIBUTES|SHGFI_EXETYPE|SHGFI_PIDL)))
return FALSE; return FALSE;
/* windows initializes this values regardless of the flags */ /* windows initializes these values regardless of the flags */
if (psfi != NULL) if (psfi != NULL)
{ {
psfi->szDisplayName[0] = '\0'; psfi->szDisplayName[0] = '\0';

View File

@ -219,7 +219,7 @@ static BOOL is_close_enabled(HWND hwnd, HMENU hSysMenu)
/********************************************************************** /**********************************************************************
* MDI_GetWindow * 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, static HWND MDI_GetWindow(MDICLIENTINFO *clientInfo, HWND hWnd, BOOL bNext,
DWORD dwStyleMask ) DWORD dwStyleMask )

View File

@ -31,7 +31,7 @@ typedef unsigned short wchar_t;
#ifndef __stdcall #ifndef __stdcall
# ifdef __i386__ # ifdef __i386__
# ifdef __GNUC__ # 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__)) # define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))
# else # else
# define __stdcall __attribute__((__stdcall__)) # define __stdcall __attribute__((__stdcall__))

View File

@ -52,7 +52,7 @@ extern "C" {
#ifndef __stdcall #ifndef __stdcall
# ifdef __i386__ # ifdef __i386__
# ifdef __GNUC__ # 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__)) # define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))
# else # else
# define __stdcall __attribute__((__stdcall__)) # define __stdcall __attribute__((__stdcall__))
@ -69,7 +69,7 @@ extern "C" {
#ifndef __cdecl #ifndef __cdecl
# if defined(__i386__) && defined(__GNUC__) # 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__)) # define __cdecl __attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__))
# else # else
# define __cdecl __attribute__((__cdecl__)) # define __cdecl __attribute__((__cdecl__))

View File

@ -90,7 +90,7 @@ static inline int get_fdzero(void)
* the address argument in this case. * the address argument in this case.
* *
* As Wine code occasionally relies on the Linux behaviour, e.g. to * 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 * start addresses, or to map the DOS memory to 0, this routine
* emulates the Linux behaviour by checking whether the desired * emulates the Linux behaviour by checking whether the desired
* address range is still available, and placing the mapping there * address range is still available, and placing the mapping there

View File

@ -148,7 +148,7 @@ typedef struct tagMSFT_TypeInfoBase {
/*050*/ INT size; /* size in bytes, at least for structures */ /*050*/ INT size; /* size in bytes, at least for structures */
/* FIXME: name of this field */ /* FIXME: name of this field */
INT datatype1; /* position in type description table */ INT datatype1; /* position in type description table */
/* or in base intefaces */ /* or in base interfaces */
/* if coclass: offset in reftable */ /* if coclass: offset in reftable */
/* if interface: reference to inherited if */ /* if interface: reference to inherited if */
INT datatype2; /* for interfaces: hiword is num of inherited funcs */ INT datatype2; /* for interfaces: hiword is num of inherited funcs */
@ -286,7 +286,7 @@ typedef struct {
/* 0x3800 if name is typeinfo name */ /* 0x3800 if name is typeinfo name */
/* upper 16 bits are hash code */ /* upper 16 bits are hash code */
} MSFT_NameIntro; } MSFT_NameIntro;
/* the custom data table directory has enties like this */ /* the custom data table directory has entries like this */
typedef struct { typedef struct {
INT GuidOffset; INT GuidOffset;
INT DataOffset; INT DataOffset;

View File

@ -253,7 +253,7 @@ static void dump_le_objects( const IMAGE_VXD_HEADER *le )
if(pobj->o32_flags & 0x0001) if(pobj->o32_flags & 0x0001)
printf("\tReadable\n"); printf("\tReadable\n");
if(pobj->o32_flags & 0x0002) if(pobj->o32_flags & 0x0002)
printf("\tWriteable\n"); printf("\tWritable\n");
if(pobj->o32_flags & 0x0004) if(pobj->o32_flags & 0x0004)
printf("\tExecutable\n"); printf("\tExecutable\n");
if(pobj->o32_flags & 0x0008) if(pobj->o32_flags & 0x0008)

View File

@ -843,7 +843,7 @@ int codeview_dump_symbols(const void* root, unsigned long size)
break; break;
case S_PUB_V3: 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_FUNC1_V3:
case S_PUB_FUNC2_V3: case S_PUB_FUNC2_V3:
printf("\tS-Public%s V3 '%s' %04x:%08x type:%08x\n", printf("\tS-Public%s V3 '%s' %04x:%08x type:%08x\n",

View File

@ -285,7 +285,7 @@ static void compile(struct options* opts, const char* lang)
if (gcc_defs) 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__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__cdecl=__attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__))");
strarray_add(comp_args, "-D_stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))"); strarray_add(comp_args, "-D_stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))");