Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/include Modified Files: evfs_macros.h Log Message: To avoid a stupid bug in libsmbclient, the stat structure is now, um, global. This is a temporary state of affairs to stock random heap corruption caused by smbc_stat =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_macros.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- evfs_macros.h 8 Oct 2005 01:53:25 -0000 1.4 +++ evfs_macros.h 11 Oct 2005 05:33:47 -0000 1.5 @@ -1,7 +1,7 @@ #ifndef __EVFS_MACROS_H_ #define __EVFS_MACROS_H_ -#define NEW(X) ((X*) calloc(sizeof(X), 1)) +#define NEW(X) ((X*) calloc(1, sizeof(X))) #define LOCK(X) (pthread_mutex_lock(X)) #define UNLOCK(X) (pthread_mutex_unlock(X)) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs