diff options
author | Bruno Haible <bruno@clisp.org> | 2009-02-24 11:35:44 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:16:02 +0200 |
commit | cefb04867289b6839db7a7ec3f2d007b263f28d9 (patch) | |
tree | 7e99ba22a5afd80a9430bfec466867de9a0b378d /gettext-runtime/intl/vasnprintf.c | |
parent | 2d3a419ad63410e783ee706c484d612cd8ba24ef (diff) | |
download | external_gettext-cefb04867289b6839db7a7ec3f2d007b263f28d9.zip external_gettext-cefb04867289b6839db7a7ec3f2d007b263f28d9.tar.gz external_gettext-cefb04867289b6839db7a7ec3f2d007b263f28d9.tar.bz2 |
Typography in comments.
Diffstat (limited to 'gettext-runtime/intl/vasnprintf.c')
-rw-r--r-- | gettext-runtime/intl/vasnprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gettext-runtime/intl/vasnprintf.c b/gettext-runtime/intl/vasnprintf.c index 6e88f6a..9ff9905 100644 --- a/gettext-runtime/intl/vasnprintf.c +++ b/gettext-runtime/intl/vasnprintf.c @@ -4589,7 +4589,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, { # 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 @@ -4603,7 +4603,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, 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 @@ -4622,7 +4622,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, { # 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." |