Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins
Modified Files:
Makefile.am evfs_fs_posix.c evfs_fs_samba.c
Log Message:
* File refernces owned by the server now have a reference to the server object
* Nested URIs now work - i.e. tar over posix, tar over samba etc
* More complete/correct URI parser, also allows for nesting
* Miscellaneous cleanups
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Makefile.am 24 Oct 2005 09:13:12 -0000 1.8
+++ Makefile.am 26 Oct 2005 02:20:01 -0000 1.9
@@ -14,11 +14,21 @@
SAMBA_L =
endif
-pkg_LTLIBRARIES = $(POSIX_L) $(SAMBA_L)
+TAR_L = tar.la
+
+pkg_LTLIBRARIES = $(POSIX_L) $(SAMBA_L) $(TAR_L)
posix_la_SOURCES = evfs_fs_posix.c \
$(top_srcdir)/src/common/evfs_debug.c \
$(top_srcdir)/src/common/evfs_event_helper.c
+
+
+tar_la_SOURCES = evfs_fs_tar.c \
+ $(top_srcdir)/src/common/evfs_debug.c \
+ $(top_srcdir)/src/common/evfs_event_helper.c \
+ $(top_srcdir)/src/bin/evfs_server_handle.c \
+ $(top_srcdir)/src/common/evfs_common.c
+
samba_la_SOURCES = evfs_fs_samba.c \
$(top_srcdir)/src/common/evfs_debug.c \
@@ -32,3 +42,8 @@
samba_la_CFLAGS = @ecore_cflags@
samba_la_LDFLAGS = -module -avoid-version -lsmbclient
samba_la_LIBADD = @ecore_libs@ -L$(top_builddir)/src/lib -levfs
+
+tar_la_CFLAGS = @ecore_cflags@
+tar_la_LDFLAGS = -module -avoid-version
+tar_la_LIBADD = @ecore_libs@ -L$(top_builddir)/src/lib -levfs
+
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_posix.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- evfs_fs_posix.c 24 Oct 2005 03:13:01 -0000 1.18
+++ evfs_fs_posix.c 26 Oct 2005 02:20:01 -0000 1.19
@@ -339,15 +339,15 @@
/*printf("Reading %d bytes from %s\n", size, file->path);*/
bytes_read = read(file->fd, bytes, size);
+ return bytes_read;
if (bytes_read) {
//bytes[bytes_read] = '\0';
//printf ("Read '%s'\n", bytes);
} else {
- return 1;
+ return -1;
}
- return 0;
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_samba.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- evfs_fs_samba.c 23 Oct 2005 12:55:59 -0000 1.14
+++ evfs_fs_samba.c 26 Oct 2005 02:20:01 -0000 1.15
@@ -317,7 +317,7 @@
bytes_read = smb_context->read(smb_context, file->fd_p, bytes, size);
- return 0;
+ return bytes_read;
}
-------------------------------------------------------
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
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs