Soft'N'Design Software
/
projects
/
morep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d984f21
)
fix array parsing
author
Mazet Laurent
<laurent.mazet@thalesgroup.com>
Thu, 24 Apr 2025 16:14:23 +0000
(18:14 +0200)
committer
Mazet Laurent
<laurent.mazet@thalesgroup.com>
Thu, 24 Apr 2025 16:14:23 +0000
(18:14 +0200)
parse.h
patch
|
blob
|
blame
|
history
diff --git
a/parse.h
b/parse.h
index 396a2281d16940198662d6b4217d029f3d468d85..c678aba8c0019a89907547ac959e1d9a8927060f 100644
(file)
--- a/
parse.h
+++ b/
parse.h
@@
-76,6
+76,7
@@
__BEGIN_DECLS
char *val = pt; \
while (*pt != '\0') { \
if ((*pt == ' ') && (*(pt - 1) != '\\')) { \
+ *pt = '\0'; \
break; \
} \
pt++; \