SOURCES: eggdrop-bz-463.patch (NEW) - http://www.eggheads.org/bugz...

arekm arekm at pld-linux.org
Sun Mar 9 13:13:30 CET 2008


Author: arekm                        Date: Sun Mar  9 12:13:30 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- http://www.eggheads.org/bugzilla/show_bug.cgi?id=463

---- Files affected:
SOURCES:
   eggdrop-bz-463.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/eggdrop-bz-463.patch
diff -u /dev/null SOURCES/eggdrop-bz-463.patch:1.1
--- /dev/null	Sun Mar  9 13:13:30 2008
+++ SOURCES/eggdrop-bz-463.patch	Sun Mar  9 13:13:25 2008
@@ -0,0 +1,11 @@
+--- src/tcl.c.org	2008-03-09 12:56:37.212570719 +0100
++++ src/tcl.c	2008-03-09 12:56:59.183621062 +0100
+@@ -350,7 +350,7 @@
+   utftot += sizeof(char *) * objc;
+   objc -= 5;
+   for (i = 0; i < objc; i++) {
+-    byteptr = (char *) Tcl_GetByteArrayFromObj(objv[i], &len);
++    byteptr = (char *) Tcl_GetStringFromObj(objv[i], &len);
+     strings[i] = (char *) nmalloc(len + 1);
+     utftot += len + 1;
+     strncpy(strings[i], byteptr, len);
================================================================


More information about the pld-cvs-commit mailing list