[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't read stdin.



On Sat, Jul 20, 2002 at 02:11:51PM -0400, Seneca wrote:
> On Sat, Jul 20, 2002 at 02:04:03PM -0400, James Hughes wrote:
> > btw, I'm running gcc 2.95.4; also, here is what glibc reports:
> > 
> > jhughes@jpath:$ /lib/libc.so.6
> > GNU C Library stable release version 2.2.5, by Roland McGrath et al.
> > Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > PARTICULAR PURPOSE.
> > Compiled by GNU CC version 2.95.4 20011002 (Debian prerelease).
> > Compiled on a Linux 2.4.18 system on 2002-04-28.
> > Available extensions:
> > 	GNU libio by Per Bothner
> > 	crypt add-on version 2.1 by Michael Glad and others
> > 	linuxthreads-0.9 by Xavier Leroy
> > 	BIND-8.2.3-T5B
> > 	libthread_db work sponsored by Alpha Processor Inc
> > 	NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> > Report bugs using the `glibcbug' script to <bugs@gnu.org>.
> > 
> > I'm running sid.
> 
> Your "sid" doesn't seem to be very up to date. It looks like you are
> using libc6 2.2.5-6 (which is in woody), while I am using 2.2.5-12. You
> might want to check your mirror, and perhaps try a different one.

Hmmm, thanks for the tipoff, I'll look into that. But I doubt that
is the source of my programming problem, don't you? How could it
be possible that I can't run a program that just does a simple
read from stdin? 
Also, it's not just getchar; it's getc, fgetc, fread as well. 

I'm totally flummoxed.

James

Attachment: pgp9IqNlwsJMP.pgp
Description: PGP signature


Reply to: