[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cfengine-develop] [PATCH] Compile with large file support when avai
From: |
Mark . Burgess |
Subject: |
Re: [Cfengine-develop] [PATCH] Compile with large file support when available |
Date: |
Tue, 7 Sep 2004 22:34:54 +0200 (MEST) |
Thanks for your patch!
On 7 Sep, Tuomas Jormola wrote:
> 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,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~