From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wproxy.gmail.com ([64.233.184.204]) by canuck.infradead.org with esmtp (Exim 4.42 #1 (Red Hat Linux)) id 1Cf7t9-0008LZ-EI for linux-mtd@lists.infradead.org; Thu, 16 Dec 2004 21:30:40 -0500 Received: by wproxy.gmail.com with SMTP id 58so11534wri for ; Thu, 16 Dec 2004 18:30:31 -0800 (PST) Message-ID: Date: Fri, 17 Dec 2004 11:30:31 +0900 From: heechul Yun To: linux-mtd@lists.infradead.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [patch] Endian problem of nftl_format and nftldump Reply-To: heechul Yun List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello It seems that both programs should #include . If not, the following code can cause problem as it becomes always true. #if __BYTE_ORDER == __BIG_ENDIAN ... Regards, Heechul. =========== Heechul Yun Digital Media Research Center Samsung Electronics Tel: +82-31-200-9334