From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [babeltrace] FTS does not support large files on 32-bit
Date: Sat, 30 Jun 2012 14:53:35 -0400 [thread overview]
Message-ID: <20120630185335.GA31235@Krystal> (raw)
Hi Yannick,
The babeltrace commit:
commit 6cba487f031260536d6a77acde888c8b1a876fcf
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date: Fri Feb 10 12:01:01 2012 -0500
babeltrace lib cleanup, folded with open/remove trace functions
Folded patch from Yannick Brosseau <yannick.brosseau at gmail.com>, along
with various updates and cleanups, related to babeltrace lib.
Original changelog from Yannick Brosseau:
Move the trace_collection into its own file.
Port the converter to uses the new functions
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Introduces fts(3) as a replacement for ftw(3). However, it seems that
FTS does not support large files (LFS), which I need to turn on in
babeltrace. fts.h shows why:
/* The fts interface is incompatible with the LFS interface which
transparently uses the 64-bit file access functions. */
#ifdef __USE_FILE_OFFSET64
# error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
#endif
We should therefore go back to FTW to support large files on 32-bit. Is
there any reason why we moved from ftw to fts ?
Thanks,
Mathieu
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
reply other threads:[~2012-06-30 18:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120630185335.GA31235@Krystal \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox