[FAM][PATCH] large file support
- From: David Emory Watson <dwatson cs ucr edu>
- To: fam oss sgi com
- Cc: nautilus-list gnome org
- Subject: [FAM][PATCH] large file support
- Date: 28 Oct 2002 16:50:43 -0500
The following 3 line change to fam enables large file support. Without
it, fam will send delete events to anyone interested in a large file.
Nautilus users can see the results of this bug by creating a large file
(e.g. "dd if=/dev/zero of=/tmp/bigZero bs=256k count=8000") and then
selecting it with nautilus. Without a patched fam, the file will
disappear.
- David
--- ./fam-2.6.9/common.am Tue Jul 16 01:23:24 2002
+++ fam-2.6.9-largefile/common.am Mon Oct 28 16:21:55 2002
@@ -4,7 +4,9 @@
AUTOMAKE_OPTIONS=no-dependencies
# why couldn't CONFIG_ETC_CONFIG_PATH be defined in config.h???
-INCLUDES = @FAMPROTOINC@ -DCONFIG_ETC_CONFIG_PATH=\"@FAM_CONF \"
+INCLUDES = @FAMPROTOINC@ -DCONFIG_ETC_CONFIG_PATH=\"@FAM_CONF \" \
+ -D_FILE_OFFSET_BITS=64 \
+ -D_LARGEFILE64_SOURCE
# should this be set by the configure script?
EDITCONF = perl $(top_srcdir)/util/editconf/editconf.perl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]