From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-bw0-f49.google.com ([209.85.214.49]) by canuck.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PHEhy-0004ty-IH for linux-mtd@lists.infradead.org; Sat, 13 Nov 2010 11:55:52 +0000 Received: by mail-bw0-f49.google.com with SMTP id 5so3971775bwz.36 for ; Sat, 13 Nov 2010 03:55:50 -0800 (PST) Subject: Re: Suggested patch: reset errno after isatty() From: Artem Bityutskiy To: Ketil Froyn In-Reply-To: <1289646433.2218.22.camel@localhost> References: <4CD11C03.3090207@parrot.com> <1289646433.2218.22.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Sat, 13 Nov 2010 13:55:38 +0200 Message-ID: <1289649338.2218.42.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: "linux-mtd@lists.infradead.org" , Matthieu CASTET , Mike Frysinger Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 2010-11-13 at 13:07 +0200, Artem Bityutskiy wrote: > On Sun, 2010-11-07 at 23:36 +0100, Ketil Froyn wrote: > > On Sat, Nov 6, 2010 at 9:54 AM, Mike Frysinger wrote: > > > > > > doesnt libmtd provide read functions already ? > > > -mike > > > > I'm not familiar with libmtd, but the latest release (v1.4.1) just did > > it itself with pread, and since that failed I fixed it. > > > > The new code in the repo, which appears to use libmtd, didn't work for > > me, and the fix appeared more complicated. My patch is for v1.4.1, > > which should also make it easier to integrate for package maintainers, > > if they wish, pending a working rewrite. > > Ketil, you have a point, > > however, Mike is right, fixes should be back-ports, or if you fix a > problem in the older release, you should fix it in the master branch as > well, or show that it does not exist in the master branch. This is the > only way it is possible to keep development under control. > > We really need to be sure that whatever is fixed in older releases is > also fixed in the newer. Yes, this is more work for you but hey, I'm > also doing this stuff in my spare time. BTW, with patches from Brian Norris which I just pushed the master branch may work better for you. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)