Assorted spelling tweaks and fixes.

This commit is contained in:
Francois Gouget 2012-10-22 12:20:23 +02:00 committed by Alexandre Julliard
parent 2793d8196b
commit ed9e745580
6 changed files with 13 additions and 13 deletions

View File

@ -3354,7 +3354,7 @@ static void test_OpenFileById(void)
ret2 = GetTempPathA(sizeof(tempPath), tempPath);
ok(ret2, "OpenFileById: GetTempPath failed, got error %u.\n", GetLastError());
/* ensure the existance of a file in the temp folder */
/* ensure the existence of a file in the temp folder */
ret2 = GetTempFileNameA(tempPath, "abc", 0, tempFileName);
ok(ret2, "OpenFileById: GetTempFileNameA failed, got error %u.\n", GetLastError());
ok(GetFileAttributesA(tempFileName) != INVALID_FILE_ATTRIBUTES,

View File

@ -2456,7 +2456,7 @@ static int dword_cmp(const void *p1, const void *p2)
*
* PARAMETERS
* cache_path [I] Which volume to free up from, or NULL if you don't care.
* size [I] How many percents of the cache should be free.
* size [I] Percentage of the cache that should be free.
* filter [I] Which entries can't be deleted (CacheEntryType)
*
* RETURNS

View File

@ -478,10 +478,10 @@ static BOOL WCMD_ManualCopy(WCHAR *srcname, WCHAR *dstname, BOOL ascii, BOOL app
* Syntax on command line is
* ... /a | /b filename /a /b {[ + filename /a /b]} [dest /a /b]
* Where first /a or /b sets 'mode in operation' until another is found
* once another is found, it applies to the file preceeding the /a or /b
* once another is found, it applies to the file preceding the /a or /b
* In addition each filename can contain wildcards
* To make matters worse, the + may be in the same parameter (ie no whitespace)
* or with whitespace separating it
* To make matters worse, the + may be in the same parameter (i.e. no
* whitespace) or with whitespace separating it
*
* ASCII mode on read == read and stop at first EOF
* ASCII mode on write == append EOF to destination
@ -944,7 +944,7 @@ void WCMD_copy(WCHAR * args) {
}
}
/* Exit out of the routine, freeing any remaing allocated memory */
/* Exit out of the routine, freeing any remaining allocated memory */
exitreturn:
thiscopy = sourcelist;

View File

@ -1743,7 +1743,7 @@ if errorlevel 1 echo Incorrect errorlevel
call :CheckExist file1
cd ..
rem Simple single file copy, destination supplied as non existant directory
rem Simple single file copy, destination supplied as nonexistent directory
copy file1 dir2\ >nul 2>&1
if not errorlevel 1 echo Incorrect errorlevel
call :CheckNotExist dir2 dir2\file1
@ -1767,7 +1767,7 @@ if errorlevel 1 echo Incorrect errorlevel
call :CheckExist file1 file2 file3
cd ..
rem Simple wildcarded file copy, destination supplied as non existant directory
rem Simple wildcarded file copy, destination supplied as nonexistent directory
copy file? dir2\ >nul 2>&1
if not errorlevel 1 echo Incorrect errorlevel
call :CheckNotExist dir2 dir2\file1 dir2\file2 dir2\file3
@ -1923,7 +1923,7 @@ rem All 2 have eof's, plus an extra = 6 + 12 + eof
copy /b file1_plus_eof + file3_plus_eof file123_mixed_copy6 /a >nul 2>&1
call :CheckFileSize file123_mixed_copy6 19
rem One file has EOF, but doesnt get an extra one, ie 6
rem One file has EOF, but doesn't get an extra one, i.e. 6
copy /b file1_plus_eof file123_mixed_copy7 /a >nul 2>&1
call :CheckFileSize file123_mixed_copy7 6

View File

@ -53,7 +53,7 @@ rem - Try cmd.exe /k as well
cmd.exe /k "copy file1 file2 >nul && exit"
echo No prompts or I would not get here2
rem Non existing variable expansion is as per command line, i.e. left as-is
rem Nonexistent variable expansion is as per command line, i.e. left as-is
cmd.exe /c echo %%hello1%%
cmd.exe /c echo %%hello2
cmd.exe /c echo %%hello3^:h=t%%

View File

@ -2393,7 +2393,7 @@ int wmain (int argc, WCHAR *argvW[])
}
else /* handle `cmd /cnotepad.exe` and `cmd /x/c ...` */
{
/* Do not step to next paramater, instead carry on parsing this one */
/* Do not step to next parameter, instead carry on parsing this one */
argPos+=2;
}
@ -2413,7 +2413,7 @@ int wmain (int argc, WCHAR *argvW[])
int len;
WCHAR *q1 = NULL,*q2 = NULL,*p;
/* Handle very edge case error scenarion, "cmd.exe /c" ie when there are no
/* Handle very edge case error scenario, "cmd.exe /c" ie when there are no
* parameters after the /C or /K by pretending there was a single space */
if (argPos == NULL) argPos = (WCHAR *)spaceW;
@ -2468,7 +2468,7 @@ int wmain (int argc, WCHAR *argvW[])
WINE_TRACE("/c command line: '%s'\n", wine_dbgstr_w(cmd));
/* Finally, we only stay in new mode IF the first parameter is quoted and
is a valid executable, ie must exist, otherwise drop back to old mode */
is a valid executable, i.e. must exist, otherwise drop back to old mode */
if (!opt_s) {
WCHAR *thisArg = WCMD_parameter(cmd, 0, NULL, NULL, FALSE, TRUE);
WCHAR pathext[MAXSTRING];