[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] avr-libc/libc/stdio vfprintf.c
From: |
Dmitry Xmelkov |
Subject: |
[avr-libc-commit] avr-libc/libc/stdio vfprintf.c |
Date: |
Sun, 11 Mar 2007 03:34:51 +0000 |
CVSROOT: /sources/avr-libc
Module name: avr-libc
Changes by: Dmitry Xmelkov <dmix> 07/03/11 03:34:51
Modified files:
libc/stdio : vfprintf.c
Log message:
Has partially restored former (avr-libc 1.4 and early) behaviour at
mistakes in a format string. Processing will be stopped (as in last
versions), but return value will be 'len', not EOF. This is more
clean behavior. (In comparison, Glibc's printf() return -1 if there is
nothing specificator and continue work for other mistakes.) Note,
snprintf() function (all 4 variants) has an error, which activates if
vfprintf() returns EOF.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/avr-libc/libc/stdio/vfprintf.c?cvsroot=avr-libc&r1=1.17&r2=1.18