diff --git a/goldlib/gall/gfilutl1.cpp b/goldlib/gall/gfilutl1.cpp index 9368430..e0a184c 100644 --- a/goldlib/gall/gfilutl1.cpp +++ b/goldlib/gall/gfilutl1.cpp @@ -460,6 +460,7 @@ void extractdirname(char *dir, const char *path) { const char *p1 = path; char *p2, *p3; p3 = p2 = dir; + *p3 = NUL; while(*p1) { if(isslash(*p1)) p2 = p3;