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:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=Mve3 /AyfVKebbLjfpmCJHTnUJ9muD6ujBXgLrYMLqK75LXmmq6Now0lj5ug/QB3Tz+NX Mhq6m479GQE5+LBldZ+93FwXFPMzhhdCwI2WxOhYl5sh3ZYnRrM7xLd5//8A6huw FpvSK0PMzCyHpjmUlJSgcB2oiTmmK3GsX7gWDkc= 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:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=9UQT84lPBY ZlGLXnLU410tmr3t8=; b=NfY0vhg28So+71YGl3HNRJ+8JrJ7VXFcMgrhTTn/6S OZkH8f4Hw8aFrruoF2PIKl5Hns0JCS9yhdCXd7v4YbVjWsaW7gxgZef0yXqsAw2f PF4N8cl51KXBEvVOw2uZ0CSkdhl5ljRTVt2wFZ0TP2cqiy8CWhtpCjy4m0/yaw3Z E= 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=-1.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Ken, Hx-languages-length:455, 21PM, 21pm X-HELO: mail-wm0-f43.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Lci/C9SF6KGf/VXEQtoxiXNowNf6GuV+lNo0XPi2RMo=; b=SCY56/d86FZ+cdIcM1n97JZaqKp5eMNzuHOnZ57XxObMeSzGgb2aDPlQAJlhOKGs4O VMWbyDwLYHMefAwjOyhWYIAUAEjWIc3O/vTRq46uCpQhZYtXrn9F8ZI9V1ZlWWe3/+Mj LQhEPWAjfgihrAazQIKKnEiIDqNb0jWKRLs+p1u/nLueZxo0rTDSsQS2y4m2TxcTJRIX hOTRSfVYLd/CdANyjChaM7BU3hHjUOgwaTScKlr9qNP5Wepf96WkDbzXRRPx8AlOgpbU HikMif9xu7DM1ivX7C4Q3J1/Dr5KSkSdRp4ghItG4HPc8VY1odFg+WP1D/uC452tOdyo ifMQ== X-Gm-Message-State: AHYfb5gDM3PAFR/K9dHAbMoOvA73ThQ5ctxaJsTSjGUQlADQFNMGxbbK nr/bk43k3jkIvhOMmod5xw== X-Received: by 10.28.138.83 with SMTP id m80mr1883053wmd.47.1503833442607; Sun, 27 Aug 2017 04:30:42 -0700 (PDT) Date: Sun, 27 Aug 2017 12:30:39 +0100 From: Adam Dinwoodie To: cygwin AT cygwin DOT com Subject: Re: fflush(NULL) empties stdin Message-ID: <20170827113039.GE10378@dinwoodie.org> References: <20170826215224 DOT GD10378 AT dinwoodie DOT org> <0dfe7065-d8fc-eb99-977f-7baa319fcf17 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0dfe7065-d8fc-eb99-977f-7baa319fcf17@cornell.edu> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes On Sat, Aug 26, 2017 at 07:57:21PM -0400, Ken Brown wrote: > On 8/26/2017 5:52 PM, Adam Dinwoodie wrote: > >Hello, > > > >I seem to have found a bug in Cygwin's fflush implementation, where > >fflush(NULL) is unexpectedly flushing stdin. > > This has already been fixed. Have you tried the latest snapshot? Ah, so it has! I'd tried the latest release, but not the latest snapshot. Thank you, and apologies for the noise! -- 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