projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
3c7b6a4
94c85b5
)
サーバーとマージ
author
j8takagi
<j8takagi@nifty.com>
Thu, 11 Feb 2010 14:21:24 +0000
(23:21 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Thu, 11 Feb 2010 14:21:24 +0000
(23:21 +0900)
1
2
src/token.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
src/token.c
index
3ea2073
,
48ed6ec
..
b846c69
---
1
/
src/token.c
---
2
/
src/token.c
+++ b/
src/token.c
@@@
-65,10
-57,9
+65,10
@@@
OPD *opdtok(const char *str
/* 空白またはタブで区切られた1行から、トークンを取得 */
CMDLINE *linetok(const char *line)
{
- char *tokens, *p, *sepp;
- bool quot
ing
= false;
+ char *tokens, *p, *
q, *
sepp;
+ bool quot
e
= false;
CMDLINE *cmdl = malloc(sizeof(CMDLINE));
+
if(line == NULL || strlen(line) == 0) {
return NULL;
}