segfault in wgenopts.c

Rob Taylor robt@flyingpig.com
Wed Dec 13 07:16:00 GMT 2000


I hit this. looking tah teh code it looks liek there's a load of problems with
the w* versions in libio not using the cortrect JUMPTABLE fuucntions (e.e
wgenopts.c uses _IO_DOALLOCATE rather than _IO_WDOALLOCATE, etc.
I'm makeing the changes now but I've hit a problem in wfiledoalloc.c.

in _IO_wfile_doalloc a call is made to _IO_file_doalloc if _IO_buf_base ==NULL.
can someone explain why this is done?

Thanks,

Rob Taylor
Flying Pig Systems



More information about the Libstdc++ mailing list