projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f74d478
)
Typography in comments.
author
Bruno Haible
<bruno@clisp.org>
Tue, 24 Feb 2009 11:34:41 +0000
(12:34 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Tue, 24 Feb 2009 11:34:41 +0000
(12:34 +0100)
lib/vasnprintf.c
patch
|
blob
|
history
diff --git
a/lib/vasnprintf.c
b/lib/vasnprintf.c
index
7afb366
..
31cb46b
100644
(file)
--- a/
lib/vasnprintf.c
+++ b/
lib/vasnprintf.c
@@
-4588,7
+4588,7
@@
VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
# if WIDE_CHAR_VERSION
/* ISO C says about %ls in fwprintf:
{
# if WIDE_CHAR_VERSION
/* ISO C says about %ls in fwprintf:
- "If the precision is not speci
fi
ed or is greater
+ "If the precision is not speci
fi
ed 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
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
@@
VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
tmp_length = local_wcslen (arg);
# else
/* ISO C says about %ls in fprintf:
tmp_length = local_wcslen (arg);
# else
/* ISO C says about %ls in fprintf:
- "If a precision is speci
fi
ed, no more than that
+ "If a precision is speci
fi
ed, 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
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
@@
VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
# if WIDE_CHAR_VERSION
/* ISO C says about %s in fwprintf:
{
# if WIDE_CHAR_VERSION
/* ISO C says about %s in fwprintf:
- "If the precision is not speci
fi
ed or is greater
+ "If the precision is not speci
fi
ed or is greater
than the size of the converted array, the
converted array shall contain a null wide
character."
than the size of the converted array, the
converted array shall contain a null wide
character."