Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/bin
Modified Files:
evfs_server_handle.c
Log Message:
* Memory leak fix
* malloc/host overrun fix
* Experimental 64bit file size support
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- evfs_server_handle.c 3 Feb 2006 23:12:13 -0000 1.42
+++ evfs_server_handle.c 7 Feb 2006 13:16:32 -0000 1.43
@@ -365,7 +365,7 @@
evfs_plugin *dst_plugin;
char bytes[COPY_BLOCKSIZE];
- long count;
+ uint64 count;
char destination_file[PATH_MAX];
long read_write_bytes = 0;
@@ -394,7 +394,9 @@
/*Check for supported options */
if (!(plugin->functions->evfs_file_lstat &&
plugin->functions->evfs_file_open &&
- dst_plugin->functions->evfs_file_create))
+ dst_plugin->functions->evfs_file_create &&
+ plugin->functions->evfs_file_read &&
+ dst_plugin->functions->evfs_file_write))
{
printf("AHH! Copy Not supported!\n");
evfs_operation_destroy(op);
@@ -448,6 +450,8 @@
files[1]);
count = 0;
+
+ printf("Copying file, total file size %lld bytes\n",
file_stat.st_size);
while (count < file_stat.st_size)
{
//(*plugin->functions->evfs_file_seek)(command->file_command.files[0], count,
SEEK_SET);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs