Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins
Modified Files:
evfs_fs_posix.c
Log Message:
* Conditional large file support
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_posix.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- evfs_fs_posix.c 7 Feb 2006 13:16:32 -0000 1.34
+++ evfs_fs_posix.c 9 Feb 2006 11:35:08 -0000 1.35
@@ -416,9 +416,13 @@
int
evfs_file_open(evfs_client * client, evfs_filereference * file)
{
- //printf("Open file '%s'\n", file->path);
-
- int fd = open(file->path, O_RDONLY | O_LARGEFILE);
+ int fd;
+
+ #ifdef __USE_LARGEFILE64
+ fd = open(file->path, O_RDONLY | O_LARGEFILE);
+ #else
+ fd = open(file->path, O_RDONLY);
+ #endif
//printf("Assigned fd %d\n", fd);
file->fd = fd;
-------------------------------------------------------
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