Alexandre Julliard : server: Disable large files for procfs on Solaris.

Alexandre Julliard julliard at winehq.org
Tue Sep 1 11:06:05 CDT 2009


Module: wine
Branch: master
Commit: a30778b34a12fc917300c7a0a98914f0f7e607fc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a30778b34a12fc917300c7a0a98914f0f7e607fc

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Sep  1 17:39:51 2009 +0200

server: Disable large files for procfs on Solaris.

---

 server/procfs.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/procfs.c b/server/procfs.c
index 3b74e14..f7d9073 100644
--- a/server/procfs.c
+++ b/server/procfs.c
@@ -39,6 +39,9 @@
 
 #ifdef USE_PROCFS
 
+/* procfs doesn't support large files */
+# undef _FILE_OFFSET_BITS
+# define _FILE_OFFSET_BITS 32
 #include <procfs.h>
 
 static int open_proc_as( struct process *process, int flags )




More information about the wine-cvs mailing list