Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins
Modified Files:
evfs_fs_posix.c
Log Message:
* Slight change to delete behaviour. Doesn't do recursive directory deletes yet
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_posix.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- evfs_fs_posix.c 21 Nov 2005 10:35:42 -0000 1.23
+++ evfs_fs_posix.c 11 Dec 2005 06:30:33 -0000 1.24
@@ -320,11 +320,12 @@
int evfs_file_remove(char* src) {
- struct stat* stat_src;
+ struct stat stat_src;
int i;
- if (!stat(src, stat_src)) {
- return file_remove(src, stat_src);
+ if (!stat(src, &stat_src)) {
+ printf("Removing file '%s'\n", src);
+ return remove(src);
} else {
printf("Could not stat..\n");
return 1;
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs