Date: Wed, 18 Feb 1998 10:20:36 +0200 (IST) From: Eli Zaretskii To: Hans-Bernhard Broeker cc: Michal Kaczmarek , djgpp AT delorie DOT com Subject: Re: Info - problem reading about istream In-Reply-To: <199802172122.WAA06589@acp3bf.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 17 Feb 1998, Hans-Bernhard Broeker wrote: > > I had just installed DJGPP and tried to get to know what a function > > of class istream do. I ran info.exe and chose: > > iostream->index->istream::getline > > It's the '::' in there that kills it. By definition of the info file > format, Menu entries (and maybe node names as well, can't remember...) > are *not* allowed to contain the character ':'. This is a bug in the libiostream docs. Texinfo handles `:' specially, so that this character cannot appear in any name used for navigating the docs (node names, cross-references and menu items). I complained about these cases several years ago and got a reply from Richard Stallman himself telling me that he asked the maintainers to correct this. The problem is that we are still using an old version of libg++. As far as I can see, libstdc++ 2.8.0 doesn't have these problems in its docs. > > The program said: > > Istream: No such file or directory [ENOENT] > > I'm guessing here, but I think this because it saw 'istream::getline' > and thought you wanted to open a file on drive 'Istream:' :-) No, it just interpreted "Istream:" as a file name and tried to open it.