[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cfengine-develop] [PATCH] Compile with large file support when availabl
From: |
Tuomas Jormola |
Subject: |
[Cfengine-develop] [PATCH] Compile with large file support when available |
Date: |
Tue, 7 Sep 2004 19:38:46 +0300 |
Hi,
Currently for instance on Linux/glibc platform cfengine doesn't support
files of over 2 gigabytes in size. For example an lstat call in code
implementing the files action generates an error when it encounters a
large file. This can be fixed with a simple recompilation with some
special compilation flags (eg. -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 on Solaris 8 and -D_FILE_OFFSET_BITS=64 on
Linux). A portable way to query these flags is described in
<URL:http://www.suse.de/~aj/linux_lfs.html>. Based on this I created a
patch against configure.ac of cfengine-2.1.10. Now cfengine is
automatically compiled with large file support if it's available.
Please apply the patch.
br,
cfengine-2.1.10-lfs.diff
Description: Binary data
--
Tuomas Jormola <address@hidden>
- [Cfengine-develop] [PATCH] Compile with large file support when available,
Tuomas Jormola <=