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
ed9e7455
Commit
ed9e7455
authored
Oct 22, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling tweaks and fixes.
parent
2793d819
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
file.c
dlls/kernel32/tests/file.c
+1
-1
urlcache.c
dlls/wininet/urlcache.c
+1
-1
builtins.c
programs/cmd/builtins.c
+4
-4
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+3
-3
test_cmdline.cmd
programs/cmd/tests/test_cmdline.cmd
+1
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+3
-3
No files found.
dlls/kernel32/tests/file.c
View file @
ed9e7455
...
...
@@ -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 exist
a
nce of a file in the temp folder */
/* ensure the exist
e
nce 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
,
...
...
dlls/wininet/urlcache.c
View file @
ed9e7455
...
...
@@ -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
...
...
programs/cmd/builtins.c
View file @
ed9e7455
...
...
@@ -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 prece
e
ding 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 (i
e 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 remain
in
g allocated memory */
exitreturn:
thiscopy
=
sourcelist
;
...
...
programs/cmd/tests/test_builtins.cmd
View file @
ed9e7455
...
...
@@ -1743,7 +1743,7 @@ if errorlevel 1 echo Incorrect errorlevel
call :CheckExist file1
cd ..
rem Simple single file copy, destination supplied as non
exista
nt directory
rem Simple single file copy, destination supplied as non
existe
nt 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
exista
nt directory
rem Simple wildcarded file copy, destination supplied as non
existe
nt 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 doesn
t 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
...
...
programs/cmd/tests/test_cmdline.cmd
View file @
ed9e7455
...
...
@@ -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 Non
existent
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%%
...
...
programs/cmd/wcmdmain.c
View file @
ed9e7455
...
...
@@ -2393,7 +2393,7 @@ int wmain (int argc, WCHAR *argvW[])
}
else
/* handle `cmd /cnotepad.exe` and `cmd /x/c ...` */
{
/* Do not step to next param
a
ter, instead carry on parsing this one */
/* Do not step to next param
e
ter, 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 scenario
n
, "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, i
e
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
];
...
...
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