]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-large-files-20080728
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 29 Jul 2008 00:05:32 +0000 (00:05 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 29 Jul 2008 00:05:32 +0000 (00:05 +0000)
LICENSE MIT

as part of the restructuring of code to separate the smb layer
from the cm layer, large file support was broken.   Define AFS_LARGEFILES
in the right place so that it will be used in the cm.

(cherry picked from commit b45b059ed9772642489d56372cbd74db4f0cfc02)

src/WINNT/afsd/cm.h
src/WINNT/afsd/smb.h

index 5101f4cd4e248beaf1063ee0af11c9e67ef66095..f525bdc75baa5c4800ca2cf2eb94b2cfce3b0a78 100644 (file)
 #ifndef __CM_H_ENV__
 #define __CM_H_ENV__ 1
 
+/* We use pthreads in the cache manager (not LWP) */
 #ifndef AFS_PTHREAD_ENV
 #define AFS_PTHREAD_ENV 1
 #endif
+
+/* Support largefiles by default */
+#ifndef AFS_LARGEFILES
+#define AFS_LARGEFILES 1
+#endif
+
 #include <rx/rx.h>
 #include <afs/vldbint.h>
 #include <afs/afsint.h>
index a8d42f0c357de38480fb4b42f3c6653010f618ad..2f0c07d7a1c65bbf27cfaee1c3fb30cba310c376 100644 (file)
@@ -18,9 +18,6 @@
 
 #include <cm_nls.h>
 
-/* Support largefiles by default */
-#define AFS_LARGEFILES
-
 /* basic core protocol SMB structure */
 #pragma pack(push, 1)
 typedef struct smb {