X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type; q=dns; s=default; b=rxbZ0RRMe2Agdyy3 ioHdhY0NpGIykVJ/wkGLqG+V+fo+6m7+oJjrgTOa27N66PoA42uW1CCDVqHY/4Ss R59eIKEJ8i4DaZMlPWNkRA0bmMQdRTJW9eBbMGOJjGJjMLdItmMLr0uZx7tiwy6z ANTFOInUXp+YXj5AymDlMtHv/xs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type; s=default; bh=hErHgnpqQ77wiOCRp9Z2Rl 6GN1E=; b=QHs8k/XjPRG1u+OjUziWwYNoJakBmQLun0/QZ2kGwilvAEvOIFgi3i RCyDzlHgBRAbcXBPnJwT6L6uUC9uRMj6m5BDqkhidDNevMeZlcKiq/NHxh52gDgC ZAL1JC2fEor/sc49+sGjiQ0JaDKjatIzDOrEVoT0lb0VhWclbY0M0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: checking in >= 256k file fatally corrupts rcs file Date: Wed, 09 Oct 2013 20:28:17 +0200 Lines: 20 Message-ID: <87ppreqoxq.fsf@Rainer.invalid> References: <20131008102204 DOT GB9241 AT plunk DOT org> <525499E5 DOT 4090608 AT etr-usa DOT com> <52555E65 DOT 1070000 AT cs DOT utoronto DOT 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 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