freebsd_amp_hwpstate/lib/libc
Andrey A. Chernov 5ebfa8de69 Back out part related to "return 0 if n == 0" and return EOF as before.
The main argument is that it is impossible to determine if %n evaluated or not
when snprintf return 0, because it can happens for both n == 0 and n == 1.
Although EOF here is good indication of the end of process, if n is
decreased in the loop...
Since it is already supposed in many places that EOF *is* negative, f.e.
from Single Unix specs for snprintf
"return ... a negative value if an output error was encountered"
this not makes situation worse.
1997-12-24 14:32:40 +00:00
..
amd64
compat-43
db
gen Fixed spelling of EACCES. 1997-11-23 17:58:55 +00:00
gmon Format the MLINKS statement the same as in most other libc Makefile.inc's. 1997-12-19 21:53:35 +00:00
i386
locale
net
nls
quad Put the .PATH statement first as in all other libc Makefile.inc's. 1997-12-19 21:56:38 +00:00
regex
rpc
stdio Back out part related to "return 0 if n == 0" and return EOF as before. 1997-12-24 14:32:40 +00:00
stdlib Fix recursion problem which occurs when a signal is received during 1997-12-15 02:12:42 +00:00
stdtime
string
sys Fixed spelling of EACCES. 1997-11-23 17:58:55 +00:00
xdr
yp
Makefile
Makefile.inc