X-Spam-Check-By: sourceware.org Date: Thu, 06 Jul 2006 14:55:19 -0400 From: "Kenneth Nellis" Subject: RE: cygwin 1.5.20-1 problem writing to stdout In-reply-to: <20060706171834.GA2338@trixie.casa.cgf.cx> To: Message-id: <000001c6a12d$bd6c4ef0$be32000a@idirect.net> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 The cygwin1-20060706.dll.bz2 snapshot seems to have fixed the problem. Thanx for the quick turnaround! --Ken Nellis -----Original Message----- From: Christopher Faylor [mailto:cgf-no-personal-reply-please AT cygwin DOT com] Sent: Thursday, July 06, 2006 1:19 PM To: cygwin AT cygwin DOT com Subject: Re: cygwin 1.5.20-1 problem writing to stdout On Thu, Jul 06, 2006 at 11:30:44AM -0400, Nellis, Kenneth wrote: >A program, which I've had for years and which has worked on many >different Unix variants, stopped working when I upgraded to cygwin >1.5.20-1. When I back-installed 1.5.19-4, it resumed working. >Actually, the program functioned fine, but output to stdout was >stifled. I was able to reduce the program to the following few lines, >which exhibit the problem: > >=========== xyz.c ================ >#include > >static char b[4001]; >static char *whoami; > >int main (int argc, char *argv[]) >{ > puts ("hello"); > return 0; >} >================================== Thanks for the test case. This problem was caused by a bug that I introduced in cygwin a while ago. It should be fixed in the next snapshot. This is a serious enough problem that I think a new 1.5.21 version of cygwin is warranted. I'll probably be doing that soon if you can confirm that this fixes your problem. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/