Enlightenment CVS committal
Author : onefang
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_desktop
Modified Files:
ecore_desktop.c
Log Message:
Allocate a bit more ram, that should shutup valgrind.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- ecore_desktop.c 29 Oct 2006 07:09:41 -0000 1.63
+++ ecore_desktop.c 29 Oct 2006 08:56:15 -0000 1.64
@@ -890,7 +890,7 @@
{
*p = '\0';
ecore_dlist_append(command, strdup(t));
- len += strlen(t);
+ len += strlen(t) + 1;
*p = '%';
t = p;
}
@@ -898,6 +898,7 @@
if (t < p)
{
ecore_dlist_append(command, strdup(t));
+ len += strlen(t) + 1;
}
free(params);
params = NULL;
@@ -1048,7 +1049,7 @@
/* Add it to the big buf. */
if (escaped)
{
- big_len += strlen(escaped) + 1;
+ big_len += strlen(escaped) + 2;
big_buf = realloc(big_buf, big_len);
strcat(big_buf, " ");
strcat(big_buf, escaped);
@@ -1063,9 +1064,9 @@
/* Insert this bit into the command. */
if (t)
{
- len += strlen(t);
ecore_dlist_previous(command);
ecore_dlist_insert(command, strdup(t));
+ len += strlen(t) + 1;
ecore_dlist_next(command);
ecore_dlist_next(command);
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs