From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com ([134.134.136.20]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VbB6R-0003aa-Nq for linux-mtd@lists.infradead.org; Tue, 29 Oct 2013 15:21:08 +0000 Message-ID: <1383060043.29619.54.camel@sauron.fi.intel.com> Subject: Re: Patching mkfs.ubifs.c for running under Windows ? From: Artem Bityutskiy To: Richard Weinberger Date: Tue, 29 Oct 2013 17:20:43 +0200 In-Reply-To: References: <7c74c0d714e8e87daebbfd0163642d71@localhost> <1382782672.5901.25.camel@karhu.quadriga.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: gutemine , "linux-mtd@lists.infradead.org" , Florian Fainelli Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2013-10-28 at 11:47 +0100, Richard Weinberger wrote: > > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches > > > > in particular: > > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches/110-portability.patch > > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches/120-cygwin_fixes.patch > > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches/134-freebsd_loff_t.patch > > > > Not sure how acceptable they look like to you? > > Looks not that bad. :-) > But why do you need the file "include/cygwin/bits-byteswap.h"? > > Artem, what do you think? > IMHO adding cygwin support is less intrusive than adding native win32 support. I would clean-up these patches even more, and split them further. But yes, it looks like these could be turned into something not so intrusive and maintainable and be merged if MTD users need them. -- Best Regards, Artem Bityutskiy