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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=MHBuHl9OJvzc4/t20ExVbCprL82xBv0Q9W/MomFB8lR +opuWai/cfgLJ5+5wfZ2mLz1f3Gg+BRr8U1jsfJlDSfYRANU1Obc6uIiUebQjAtP 7g/TDDowVacVBqljTuD/13MKfumd4WTjNkvhjB2wlBLBdPK0TCJfB2HChlLqpChU = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=6RNP2yMn+V40Ljfrq5xlUZrVFCE=; b=nkoyzvxVEma+fgziz lGwNhuHHKb8myww6CM9H6iuQa+jcxVhbTOw/+Kb8L5SFliO4yX4jGmjolt01KjDS TMrgxOAePIhj3e8THI6whqEVLs/H26jx/sgKGA7C2TQE0d6LmysC7tejuptoD0ZN rUEVNitxQEDD16dl46swSXFsLs= 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-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: etr-usa.com Message-ID: <525499E5.4090608@etr-usa.com> Date: Tue, 08 Oct 2013 17:48:53 -0600 From: Warren Young User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Cygwin-L Subject: Re: checking in >= 256k file fatally corrupts rcs file References: <20131008102204 DOT GB9241 AT plunk DOT org> In-Reply-To: <20131008102204.GB9241@plunk.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 10/8/2013 04:22, Don Hatch wrote: > > Checking in a text file of size >= 256k > corrupts the rcs file, irretrievably losing most of the contents It's documented in the rcs NEWS file: - Env var RCS_MEM_LIMIT controls stdio threshold. For speed, RCS uses memory-based routines for files up to 256 kilobytes, and stream-based (stdio) routines otherwise. You can change this threshold value by setting the environment variable ‘RCS_MEM_LIMIT’ to a non-negative integer, measured in kilobytes. An empty ‘RCS_MEM_LIMIT’ value is silently ignored. So, use the new environment variable, or build up your huge diffs a few steps at a time, so as to avoid spamming this buffer. -- 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