libio is a complicated code and it is used in libc5/glibc2/egcs. If you haven't worked on it before, I would strongly recommend you do 1. Use my patch with few changes. Or 2. Talk to Ulrich first before you make any modifications of your own and let me go over your changes to see if there are any obvious holes. -- H.J. Lu (hjl@gnu.org)