[REACTOS]

"isnt" --> "isn't" and "arent" --> "aren't"

svn path=/trunk/; revision=58682
This commit is contained in:
Hermès Bélusca-Maïto 2013-04-04 20:26:36 +00:00
parent c69b2451d0
commit 7b8d59daea
7 changed files with 11 additions and 11 deletions

View file

@ -785,7 +785,7 @@ INT cmd_copy(LPTSTR param)
_tcscpy(tmpDestPath, szDestPath);
_tcscat(tmpDestPath, _T("\\"));
/* Can't put a file into a folder that isnt there */
/* Can't put a file into a folder that isn't there */
if (_tcscmp(tmpDestPath, _T("\\\\.\\")) &&
!IsExistingDirectory(tmpDestPath))
{

View file

@ -107,7 +107,7 @@ RemoveFile (LPTSTR lpFileName, DWORD dwFlags, WIN32_FIND_DATA* f)
{
/*setting file to normal, not saving old attrs first
because the file is going to be deleted anyways
so the only thing that matters is that it isnt
so the only thing that matters is that it isn't
read only.*/
SetFileAttributes(lpFileName,FILE_ATTRIBUTE_NORMAL);
}
@ -513,7 +513,7 @@ INT CommandDelete (LPTSTR param)
for (i = 0; i < args && !(dwFiles & 0x80000000); i++)
{
/*this checks to see if it isnt a flag, if it isnt, we assume it is a file name*/
/*this checks to see if it is a flag; if it isn't, we assume it is a file name*/
if((*arg[i] == _T('/')) || (*arg[i] == _T('-')))
continue;

View file

@ -4,7 +4,7 @@ First it comes into _main in cmd.c(1811). The command line params are taking in
This can cause a problem on older machines and that is why we have our own custom _CommandLineToArgvW to help this along.
We pull in the launch directory as the initial dir and set that in _tchdir. We make a handle to the default console out using CreateFile.
Then we call Initialize(). Here we need to load ntdll.dll if it isnt loaded(windows 9x machines).
Then we call Initialize(). Here we need to load ntdll.dll if it isn't loaded (windows 9x machines).
We also setup some global vars like default io handles and nErrorLevel and set %prompt% to $P$G.
This is where all command lines switches given to cmd on startup are done.
@ -32,7 +32,7 @@ It calls a function called SearchForExecuteable() to find the full path name and
Some useful functions that are used a lot:
split() - splits a string into an array of string on spaces that arent inside quotes. which you need to call freep() on later t clean up.
split() - splits a string into an array of string on spaces that aren't inside quotes. which you need to call freep() on later t clean up.
//Split it´s used to take the Arguments from Command Line,it´s the best option for almost all the cases.
//If the Command has special needs as Dir, it´s better to make a Parser INSIDE that Command(as DIR has)
//Dont get mad(as i did): Split() can be find in Misc.c file.Really easy to follow.

View file

@ -223,7 +223,7 @@ INT cmd_rename (LPTSTR param)
}
if (!_tcschr(srcPattern, _T('\\'))) //If srcPattern isnt a Path but a name:
if (!_tcschr(srcPattern, _T('\\'))) //If srcPattern isn't a Path but a name:
{
srcFILE=srcPattern;
if(_tcschr(dstPattern, _T('\\')))

View file

@ -28,7 +28,7 @@ So it changes the name of hello.txt in the current directory.
3)Syntax errors:
-Way #1 with different Subdirectories path: ren c:\ie\hello.txt c:\hi\hi.txt, this is not possible.Since ren doesnt move files,just rename them.
-Way #2 semi path in destiny: ren hello.txt c:\ie\hi.txt. This feature isnt available.
-Way #2 semi path in destiny: ren hello.txt c:\ie\hi.txt. This feature isn't available.
**************************************************

View file

@ -7,7 +7,7 @@ This is pretty straight forward. When doing this make sure to take into account
Not sure what is wrong with it, put probably more then just one thing blocking this. For sure pipes break when it is compiled as unicode.
*Move.c code clean up
It works, but it needs to be cleaned up, the code is long and overly complex for what it needs to do. Also, we can remove the hack to cover for MoveFileEx bug as it isnt a bug anymore.
It works, but it needs to be cleaned up, the code is long and overly complex for what it needs to do. Also, we can remove the hack to cover for MoveFileEx bug as it isn't a bug anymore.
*If rewrite
It works decent but looks _awful_. Very hard to maintain and/or understand what the hell is going on.

View file

@ -2060,7 +2060,7 @@ KspCopyMethodSets(
/* set counter */
Count = AutomationTableA->MethodSetsCount;
/* now copy entries which arent available in the dominant table */
/* now copy entries which aren't available in the dominant table */
for(Index = 0; Index < AutomationTableB->MethodSetsCount; Index++)
{
/* set found to false */
@ -2200,7 +2200,7 @@ KspCopyPropertySets(
/* set counter */
Count = AutomationTableA->PropertySetsCount;
/* now copy entries which arent available in the dominant table */
/* now copy entries which aren't available in the dominant table */
for(Index = 0; Index < AutomationTableB->PropertySetsCount; Index++)
{
/* set found to false */
@ -2265,7 +2265,7 @@ KspCopyEventSets(
/* set counter */
Count = AutomationTableA->EventSetsCount;
/* now copy entries which arent available in the dominant table */
/* now copy entries which aren't available in the dominant table */
for(Index = 0; Index < AutomationTableB->EventSetsCount; Index++)
{
/* set found to false */