[Bug libc/2079] return value mismatch in libio/fputwc_u.c

heiko dot nardmann at secunet dot com sourceware-bugzilla@sourceware.org
Wed Dec 21 11:24:00 GMT 2005


------- Additional Comments From heiko dot nardmann at secunet dot com  2005-12-21 11:24 -------
Different return values are also used in libio/wfileops.c: 
 
70-73: 
 
	  if (_IO_new_do_write (fp, fp->_IO_write_base, 
				fp->_IO_write_ptr - fp->_IO_write_base) == EOF) 
	    return EOF; 
	} 
 
88-91: 
	  if (_IO_new_do_write (fp, fp->_IO_write_base, 
				fp->_IO_write_ptr - fp->_IO_write_base) == EOF) 
	    /* Something went wrong.  */ 
	    return WEOF; 
 
Intention? 
 

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2079

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list