This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]