11a4d01f8a
A similar fix was applied to gpsbabel cvs.
12 lines
282 B
Plaintext
12 lines
282 B
Plaintext
--- util.c.orig Thu Nov 23 15:37:47 2006
|
|
+++ util.c Thu Nov 23 15:36:11 2006
|
|
@@ -309,7 +309,7 @@
|
|
*strp = NULL;
|
|
return -1;
|
|
}
|
|
- bufsize = 1;
|
|
+ bufsize = FIRSTSIZE;
|
|
} else if ((newbuf = xrealloc(buf, nextsize)) != NULL) {
|
|
buf = newbuf;
|
|
bufsize = nextsize;
|