Mercurial > hg > octave-kai > gnulib-hg
changeset 11209:7e4d159080dc
Typography in comments.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 24 Feb 2009 12:34:41 +0100 |
parents | 5d1816f79525 |
children | 28a51f0d9605 |
files | lib/vasnprintf.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -4588,7 +4588,7 @@ { # if WIDE_CHAR_VERSION /* ISO C says about %ls in fwprintf: - "If the precision is not specified or is greater + "If the precision is not specified or is greater than the size of the array, the array shall contain a null wide character." So if there is a precision, we must not use @@ -4602,7 +4602,7 @@ tmp_length = local_wcslen (arg); # else /* ISO C says about %ls in fprintf: - "If a precision is specified, no more than that + "If a precision is specified, no more than that many bytes are written (including shift sequences, if any), and the array shall contain a null wide character if, to equal the @@ -4621,7 +4621,7 @@ { # if WIDE_CHAR_VERSION /* ISO C says about %s in fwprintf: - "If the precision is not specified or is greater + "If the precision is not specified or is greater than the size of the converted array, the converted array shall contain a null wide character."