summaryrefslogtreecommitdiffstats
path: root/src/io/streamtest.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-09-01 17:13:06 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-09-01 17:13:06 +0000
commit6f342e449becb621a2f93f492b38791ec5aba35d (patch)
tree131870f18f5a3853b98c9742e0e165b110978289 /src/io/streamtest.cpp
parentastyle code (diff)
parentextensions. dxf_outlines. add support for line, circle, ellipse. (Bug 1489320... (diff)
downloadinkscape-6f342e449becb621a2f93f492b38791ec5aba35d.tar.gz
inkscape-6f342e449becb621a2f93f492b38791ec5aba35d.zip
update to trunk
(bzr r13645.1.117)
Diffstat (limited to 'src/io/streamtest.cpp')
-rw-r--r--src/io/streamtest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io/streamtest.cpp b/src/io/streamtest.cpp
index 2030e6a85..ec59ac4a6 100644
--- a/src/io/streamtest.cpp
+++ b/src/io/streamtest.cpp
@@ -202,6 +202,7 @@ void path_init(char *path, char *name)
exit(1);
}
strncpy(ptr+1,name,strlen(name)+1);
+ path[PATH_MAX-1] = '\0';
printf("'%s'\n",path);
}