Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
b4fc678e
...
b4fc678e33736d710996d36499272e333940ed14
authored
2004-05-07 06:08:24 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(argcv_scan): Honor escaped whitespace.
1 parent
2cb73f9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
mailbox/argcv.c
mailbox/argcv.c
View file @
b4fc678
...
...
@@ -61,10 +61,11 @@ argcv_scan (int len, const char *command, const char *delim, const char* cmnt,
/*FALLTHRU*/
default:
if
(
isdelim
(
command
[
i
],
delim
))
break
;
/* Skip until next whitespace character or end of line */
/* Skip until next whitespace character or end of line. Honor
escaped whitespace. */
while
(
++
i
<
len
&&
!
(
isws
(
command
[
i
])
||
isdelim
(
command
[
i
],
delim
))
)
;
!
(
(
isws
(
command
[
i
])
&&
command
[
i
-
1
]
!=
'\\'
)
||
isdelim
(
command
[
i
],
delim
)))
;
i
--
;
break
;
}
...
...
Please
register
or
sign in
to post a comment