Enlightenment CVS committal Author : tsauerbeck Project : e17 Module : libs/eet
Dir : e17/libs/eet/src/lib Modified Files: eet_lib.c Log Message: whitespace good =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -3 -r1.40 -r1.41 --- eet_lib.c 26 May 2005 10:51:50 -0000 1.40 +++ eet_lib.c 26 May 2005 10:53:53 -0000 1.41 @@ -847,15 +847,20 @@ ef->header->directory->nodes = calloc(1, sizeof(Eet_File_Node *) * (1 << ef->header->directory->size)); if (!ef->header->directory->nodes) return 0; } + /* dup name */ name2 = strdup(name); if (!name2) return 0; + /* figure hash bucket */ hash = eet_hash_gen(name, ef->header->directory->size); + /* dup data */ data_size = size; + /* have bigger buffer for compress */ if (compress) data_size = 12 + ((size * 101) / 100); + data2 = malloc(data_size); if (!data2) { ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs