From: bernd AT asterix DOT gecko DOT de ("Bernd Prager") Subject: problem with g++, getc and '\n' 18 Apr 1997 12:51:02 -0700 Sender: mail AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Reply-To: bpr AT gecko DOT de Original-To: gnu-win32 AT cygnus DOT com MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT In-reply-to: <3.0.32.19970417150159.0069c14c@mail.accesslan.com> X-mailer: Pegasus Mail for Win32 (v2.53/R1) Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi, following code compiled with g++ do not run correct in win95-bash: while ((c=getc(id)) != '\n' && c != EOF) if (i