]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-large-files-20080728
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Jul 2008 23:57:24 +0000 (23:57 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Jul 2008 23:57:24 +0000 (23:57 +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.

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 711aaa3a2de04d102e4f7e4adab8971210f97e40..e136237ab54b06f57e5312529be24e279abca820 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 {