Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/bin Modified Files: evfs_server_handle.c Log Message: * Found a way around the samba<->memory packing thing * Oops - the 'static struct' in file copy could have led to corrupt file transfers. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- evfs_server_handle.c 19 Nov 2005 10:51:19 -0000 1.21 +++ evfs_server_handle.c 19 Nov 2005 11:23:47 -0000 1.22 @@ -121,7 +121,7 @@ } void evfs_handle_file_stat_command(evfs_client* client, evfs_command* command) { - static struct stat file_stat; + struct stat file_stat; printf ("At file stat handler\n"); printf("Looking for plugin for '%s'\n", command->file_command.files[0]->plugin_uri); @@ -166,7 +166,7 @@ long count; char destination_file[PATH_MAX]; long read_write_bytes = 0; - static struct stat file_stat; + struct stat file_stat; int progress = 0; int last_notify_progress = 0; evfs_filereference* ref = NEW(evfs_filereference); ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs