sync with OpenBSD -current
This commit is contained in:
parent
5d45cd7ee8
commit
155eb8555e
5506 changed files with 1786257 additions and 1416034 deletions
|
@ -167,7 +167,7 @@ char *GetNextArgument(char *indata,char **token)
|
|||
/****************************************************************************
|
||||
*
|
||||
* Gets the next "word" of input from char string indata.
|
||||
* "word" is a string with no spaces, or a quoted string.
|
||||
* "word" is a string with no spaces, or a qouted string.
|
||||
* Return value is ptr to indata,updated to point to text after the word
|
||||
* which is extracted.
|
||||
* token is the extracted word, which is copied into a malloced
|
||||
|
@ -188,7 +188,7 @@ char *GetNextArgument(char *indata,char **token)
|
|||
start = t;
|
||||
while(!isspace(*t)&&(*t != 0))
|
||||
{
|
||||
/* Check for quoted text */
|
||||
/* Check for qouted text */
|
||||
if(*t == '"')
|
||||
{
|
||||
t++;
|
||||
|
@ -217,7 +217,7 @@ char *GetNextArgument(char *indata,char **token)
|
|||
|
||||
while(start < end)
|
||||
{
|
||||
/* Check for quoted text */
|
||||
/* Check for qouted text */
|
||||
if(*start == '"')
|
||||
{
|
||||
start++;
|
||||
|
|
|
@ -227,7 +227,7 @@ void NukeToken(char **pstr)
|
|||
/****************************************************************************
|
||||
*
|
||||
* Gets the next "word" of input from string indata.
|
||||
* "word" is a string with no spaces, or a quoted string.
|
||||
* "word" is a string with no spaces, or a qouted string.
|
||||
* Return value is ptr to indata,updated to point to text after the word
|
||||
* which is extracted.
|
||||
* token is the extracted word, which is copied into a malloced
|
||||
|
@ -273,7 +273,7 @@ char *DoGetNextToken(char *indata, char **token, char *spaces, char *delims,
|
|||
(dnum &&
|
||||
strchr(delims, *t)) ) )
|
||||
{
|
||||
/* Check for quoted text */
|
||||
/* Check for qouted text */
|
||||
if (IsQuote(*t))
|
||||
{
|
||||
char c = *t;
|
||||
|
@ -307,7 +307,7 @@ char *DoGetNextToken(char *indata, char **token, char *spaces, char *delims,
|
|||
/* copy token */
|
||||
while(start < end)
|
||||
{
|
||||
/* Check for quoted text */
|
||||
/* Check for qouted text */
|
||||
if(IsQuote(*start))
|
||||
{
|
||||
char c = *start;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* (including the null string) '?' matches any single char. For use
|
||||
* by filenameforall. Note that '*' matches across directory boundaries
|
||||
*
|
||||
* This code donated by Paul Hudson <paulh@harlequin.co.uk>
|
||||
* This code donated by Paul Hudson <paulh@harlequin.co.uk>
|
||||
* It is public domain, no strings attached. No guarantees either.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue