It's a bug. I filed it in GNATS for you, which is where all good bugs go. See: libstdc++/4703 libstdc++/3647 Sorry, I was a bit sidetracked. I'm working on a patch. -benjamin > How come no one has commented on my post about the in_avail bug? Doesn't > anybody care? A lot of important code is totally useless because of it!