mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
largefile-support-continued-20031205
FIXES 1493 configure switch and minor largefile cleanup. not done.
This commit is contained in:
parent
afb1b03e75
commit
333b371389
@ -18,6 +18,7 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
||||
# endif
|
||||
#endif
|
||||
#undef AFS_AFSDB_ENV
|
||||
#undef AFS_LARGEFILE_ENV
|
||||
#undef AFS_NAMEI_ENV
|
||||
#undef BITMAP_LATER
|
||||
#undef BOS_RESTRICTED_MODE
|
||||
|
@ -23,6 +23,8 @@ AC_ARG_ENABLE( bos-restricted-mode,
|
||||
[ --enable-bos-restricted-mode enable bosserver restricted mode which disables certain bosserver functionality],, enable_bos_restricted_mode="no")
|
||||
AC_ARG_ENABLE( bos-new-config,
|
||||
[ --enable-bos-new-config enable bosserver pickup of BosConfig.new on restarts],, enable_bos_new_config="no")
|
||||
AC_ARG_ENABLE( largefile-fileserver,
|
||||
[ --enable-largefile-fileserver enable large file support in fileserver],, enable_largefile_fileserver="no")
|
||||
AC_ARG_ENABLE( namei-fileserver,
|
||||
[ --enable-namei-fileserver force compilation of namei fileserver in preference to inode fileserver],, enable_namei_fileserver="no")
|
||||
AC_ARG_ENABLE( supergroups,
|
||||
@ -770,6 +772,10 @@ if test "$enable_bos_new_config" = "yes"; then
|
||||
AC_DEFINE(BOS_NEW_CONFIG, 1, [define if you want to enable automatic renaming of BosConfig.new to BosConfig at startup])
|
||||
fi
|
||||
|
||||
if test "$enable_largefile_fileserver" = "yes"; then
|
||||
AC_DEFINE(AFS_LARGEFILE_ENV, 1, [define if you want large file fileserver])
|
||||
fi
|
||||
|
||||
if test "$enable_namei_fileserver" = "yes"; then
|
||||
AC_DEFINE(AFS_NAMEI_ENV, 1, [define if you want to want namei fileserver])
|
||||
fi
|
||||
|
1
src/.cvsignore
Normal file
1
src/.cvsignore
Normal file
@ -0,0 +1 @@
|
||||
helper-splint.sh
|
@ -147,7 +147,7 @@ readdata(buffer, size)
|
||||
if (code < 0)
|
||||
fprintf(stderr, "Code = %d; Errno = %d\n", code, errno);
|
||||
else
|
||||
fprintf(stderr, "Read %d bytes out of %d\n", code, size);
|
||||
fprintf(stderr, "Read %d bytes out of %lld\n", code, (afs_uintmax_t)size);
|
||||
}
|
||||
if ((code >= 0) && (code < BUFSIZE))
|
||||
buffer[size] = 0; /* Add null char at end */
|
||||
|
Loading…
Reference in New Issue
Block a user