All pastes #801938 Raw Edit

Something

public text v1 · immutable
#801938 ·published 2007-11-29 18:48 UTC
rendered paste body
$ cat|patch -p0
--- zipscript/src/zipscript-c.c.new 2007-06-24 15:16:14.000000000 +0200
+++ zipscript/src/zipscript-c.c 2007-11-29 19:44:09.000000000 +0100
@@ -232,7 +232,8 @@

/* XXX We need a better way to handle this. wzd supports sections too.. ;-)
* (But without userfile reading etc, it's all futile!) */
-#if 0 temp_p_free = temp_p = strdup((const char *)gl_sections); /* temp_p_free is needed since temp_p is modified by strsep */
+#if 0
+ temp_p_free = temp_p = strdup((const char *)gl_sections); /* temp_p_free is needed since temp_p is modified by strsep */
if ((temp_p) == NULL) {
d_log("zipscript-c: Can't allocate memory for sections\n");
} else {