Changeset: 33dff06360a9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=33dff06360a9
Modified Files:
gdk/gdk_heap.c
Branch: Jul2012
Log Message:
Oops: fix order of arguments.
diffs (12 lines):
diff --git a/gdk/gdk_heap.c b/gdk/gdk_heap.c
--- a/gdk/gdk_heap.c
+++ b/gdk/gdk_heap.c
@@ -302,7 +302,7 @@ HEAPalloc(Heap *h, size_t nitems, size_t
} else {
char *ext;
- strncpy(nme, sizeof(nme), of);
+ strncpy(nme, of, sizeof(nme));
nme[sizeof(nme) - 1] = 0;
ext = decompose_filename(nme);
fp = GDKfilelocate(nme, "wb", ext);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list