(_IO_wfile_underflow): Mark beginning of the narrow character buffer.
authordrepper <drepper>
Sat, 6 Sep 2003 09:29:37 +0000 (09:29 +0000)
committerdrepper <drepper>
Sat, 6 Sep 2003 09:29:37 +0000 (09:29 +0000)
libio/wfileops.c

index 5292f48..aa4daa9 100644 (file)
@@ -153,6 +153,7 @@ _IO_wfile_underflow (fp)
                                       fp->_wide_data->_IO_buf_end,
                                       &fp->_wide_data->_IO_read_end);
 
+      fp->_IO_read_base = fp->_IO_read_ptr;
       fp->_IO_read_ptr = (char *) read_stop;
 
       /* If we managed to generate some text return the next character.  */