From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Sat, 30 Jun 2012 14:53:35 -0400 Subject: [lttng-dev] [babeltrace] FTS does not support large files on 32-bit Message-ID: <20120630185335.GA31235@Krystal> Hi Yannick, The babeltrace commit: commit 6cba487f031260536d6a77acde888c8b1a876fcf Author: Mathieu Desnoyers Date: Fri Feb 10 12:01:01 2012 -0500 babeltrace lib cleanup, folded with open/remove trace functions Folded patch from Yannick Brosseau , 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 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 " 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