Hi there!
This bug also appears when using the latest libtrash (2.3).
I asked gdb, and gdb said it's getwc's fault. A short code
fragment confirms this suspicion:
#include <stdio.h>
#include <wchar.h>
int main (void) {
FILE *fp = fopen("/dev/null", "r");
wint_t w = getwc(fp);
return 0;
}
This does segfault, too (even when you read from an existing,
non-empty file).
I waded somewhat through the glibc code, but all I could deduce
from that tangled mess was that, apparently, some bits in the FILE
struct are not set as they should be.
Greetings,
-- Jorgen
--
((email . "[EMAIL PROTECTED]") (www . "http://www.forcix.cx/")
(gpg . "1024D/028AF63C") (irc . "nick forcer on IRCnet"))
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]