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:from:to:date:subject:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=k8rOmcN6CxtMa5XO6b+EDj3D63HNz ioF9h9nlq2ka7WOgzUJQqTYkDRz6JR1jJfDhOeR/AlKBfPJu3T5P3bZYLvUm3t0o bTO8WHnnmycGcAMAc76HuEhFm5i+ozps92EaABp7Ji822obh6+6CNRRg+p6XkaV2 1kKCmXJkxToUe4= 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:from:to:date:subject:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=nM3/mMTK5uTZHS3a/DOW4YFg0UQ=; b=Y20 QjGslo+62OxSfCZvpXU9h0m+ReUuTd85t9xI7pCdtJYXTtVCZg+aDIa5plZlIjiV BJQYHu0CfABASgP7u4dfROeYdDXL/mW0J22eLu7npgyUiSaOn8x39SpErknKQ2P1 2XcbZtXNfHhfUTSI/B7ISFoI/c7p8X+yfi1hGfeo= 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.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail1.kpnnet.org From: To: Date: Fri, 18 Apr 2014 14:05:24 +0200 Subject: RE: Wow, just hit RCS bug (attn: Dr Volker Zell) Message-ID: <00CBC5201250E84D820DE79A91A2E72516696E8B82@EXCNLDCM02.europe.unity> References: <694832 DOT 7961 DOT bm AT smtp113 DOT sbc DOT mail DOT ne1 DOT yahoo DOT com> <534F288E DOT 7020808 AT etr-usa DOT com> <00CBC5201250E84D820DE79A91A2E72516696E8B30 AT EXCNLDCM02 DOT europe DOT unity> In-Reply-To: <00CBC5201250E84D820DE79A91A2E72516696E8B30@EXCNLDCM02.europe.unity> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s3IC7mLE012362 Had a quick look at some old notes. If someone is looking for a possible code fix in RCS 5.8: try adding an fflush of the "stream" of the "fro" struct to the macro "fro_bob" in b-fro.h. Something like this perhaps: #define fro_bob(f) do { if (STDIO_P(f)) fflush((f)->stream); fro_move (f, 0) } while (0) Idea: whenever the file is reset to the beginning, the stream is "cleaned". See also https://www.gnu.org/software/libc/manual/html_node/Linked-Channels.html https://www.gnu.org/software/libc/manual/html_node/Cleaning-Streams.html The code in ci.c uses the fro_bob macro to reset the file to the start. Untested, don't have time for testing myself now. Regards, Peter Wagemans -- 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