X-Spam-Check-By: sourceware.org Date: Thu, 6 Jul 2006 13:18:34 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygwin 1.5.20-1 problem writing to stdout Message-ID: <20060706171834.GA2338@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 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 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/