From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19737 invoked by alias); 9 Oct 2013 18:28:36 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19727 invoked by uid 89); 9 Oct 2013 18:28:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 09 Oct 2013 18:28:35 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VTyUo-0006EC-9f for cygwin@cygwin.com; Wed, 09 Oct 2013 20:28:30 +0200 Received: from pd9eb0f7a.dip0.t-ipconnect.de ([217.235.15.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Oct 2013 20:28:30 +0200 Received: from Stromeko by pd9eb0f7a.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Oct 2013 20:28:30 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: checking in >= 256k file fatally corrupts rcs file Date: Wed, 09 Oct 2013 18:28:00 -0000 Message-ID: <87ppreqoxq.fsf@Rainer.invalid> References: <20131008102204.GB9241@plunk.org> <525499E5.4090608@etr-usa.com> <52555E65.1070000@cs.utoronto.ca> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00111.txt.bz2 Ryan Johnson writes: > So in other words, a misguided performance optimization [1] that > almost certainly has little measurable impact on performance [2] has > introduced a silent data corruption bug (or tickled a latent one > somewhere else). Lovely. It is not the performance optimization that isn't working, but the code path through plain stdio while doing a diff that was probably never exercised (the tests all pass on Cygwin). Try RCS_MEM_LIMIT=0 to force stdio. The error does not occur on Linux and it doesn't seem to be known to the devs. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple