A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
.. and of strcat, replaced by strncat
[simgrid.git]
/
tools
/
sg_unit_extractor.pl
diff --git
a/tools/sg_unit_extractor.pl
b/tools/sg_unit_extractor.pl
index
2dee83a
..
4c0de32
100755
(executable)
--- a/
tools/sg_unit_extractor.pl
+++ b/
tools/sg_unit_extractor.pl
@@
-151,8
+151,8
@@
int main(int argc, char *argv[]) {
if (selection[0] == '\\0') {
strcpy(selection, p);
} else {
- str
cat(selection, \",\"
);
- str
cat(selection, p
);
+ str
ncat(selection, \",\",1
);
+ str
ncat(selection, p, 1024
);
}
} else if (!strcmp(argv[i], \"--verbose\")) {
verbosity++;