From patchwork Mon Jan 12 10:16:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Gr=C3=A9goire_Favre?= X-Patchwork-Id: 12696 Received: from mu-out-0910.google.com ([209.85.134.184]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1LMJqq-0001ba-W3 for vdr@linuxtv.org; Mon, 12 Jan 2009 11:16:57 +0100 Received: by mu-out-0910.google.com with SMTP id g7so4217864muf.1 for ; Mon, 12 Jan 2009 02:16:52 -0800 (PST) Received: by 10.103.244.19 with SMTP id w19mr10300734mur.134.1231755412785; Mon, 12 Jan 2009 02:16:52 -0800 (PST) Received: from vdr ([85.218.55.251]) by mx.google.com with ESMTPS id e9sm58533381muf.51.2009.01.12.02.16.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Jan 2009 02:16:51 -0800 (PST) Received: by vdr (Postfix, from userid 1000) id 9459C4406E; Mon, 12 Jan 2009 11:16:49 +0100 (CET) Date: Mon, 12 Jan 2009 11:16:49 +0100 To: VDR Mailing List Message-ID: <20090112101649.GA3272@gmail.com> References: <20090112102742.i7d2li9pcgwkg8gs@webmail.goedee.nl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20090112102742.i7d2li9pcgwkg8gs@webmail.goedee.nl> X-Operating-System: Linux 2.6.28-gentoo User-Agent: Mutt/1.5.16 (2007-06-09) From: Gregoire Favre X-LSpam-Score: -2.3 (--) X-LSpam-Report: No, score=-2.3 required=5.0 tests=AWL=0.008, BAYES_00=-2.599, URIBL_GREY=0.25 autolearn=no Subject: Re: [vdr] [ANNOUNCE] VDR developer version 1.7.3 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 10:16:57 -0000 Status: O X-Status: X-Keywords: X-UID: 19165 On Mon, Jan 12, 2009 at 10:27:42AM +0100, jean-paul@goedee.nl wrote: > What must I do to make it work with 64bits system? I?m a simple user > with no coding experience. Could you post your error, I am under x86_64 and only patch I needed was one found on vdrportal.de : (Well I also use patch to allow more features...). --- tools.c 2009-01-06 23:09:35.000000000 +0100 +++ tools.c.mod 2009-01-06 23:09:43.000000000 +0100 @@ -1608,7 +1608,7 @@ // kind of write gathering enabled), but the syncs cause (io) load.. // Uncomment the next line if you think you need them. //fdatasync(fd); - off_t headdrop = min(curpos - totwritten, off_t(totwritten * 2)); + off_t headdrop = min(off_t(curpos - totwritten), off_t(totwritten * 2)); posix_fadvise(fd, curpos - totwritten - headdrop, totwritten + headdrop, POSIX_FADV_DONTNEED); totwritten = 0; }