projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97cc1a8
)
Fix bug with stripping white space at the front of an option
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 28 Mar 2007 17:34:53 +0000
(19:34 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 28 Mar 2007 17:34:53 +0000
(19:34 +0200)
After advancing the passed in pointer, the destination never
got set.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
parse.c
patch
|
blob
|
blame
|
history
diff --git
a/parse.c
b/parse.c
index 57865b112e7a9118a9a4e6fc3dd0a60a0d66a9a8..bf1dea908817a5cf8530d0d76aec603173a20f47 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-142,6
+142,8
@@
void strip_blank_front(char **p)
while (isspace(*s))
s++;
while (isspace(*s))
s++;
+
+ *p = s;
}
void strip_blank_end(char *p)
}
void strip_blank_end(char *p)