aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2013-01-07 21:07:19 -0800
committerPaul Eggert2013-01-07 21:07:19 -0800
commitca6a2684bde181c5d15cba08b86304f7f8e222af (patch)
tree315a880c456892bc801c5ce8462d37deaf951471 /lib
parent83c1803a3a78262ae7a0954e18f35cff5c2f70f9 (diff)
downloademacs-ca6a2684bde181c5d15cba08b86304f7f8e222af.tar.gz
emacs-ca6a2684bde181c5d15cba08b86304f7f8e222af.zip
Merge from gnulib (comment change only).
Diffstat (limited to 'lib')
-rw-r--r--lib/strftime.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/strftime.c b/lib/strftime.c
index 213ced860de..c82d585bfa1 100644
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -208,7 +208,14 @@ extern char *tzname[];
208 else if (to_uppcase) \ 208 else if (to_uppcase) \
209 fwrite_uppcase (p, (s), _n); \ 209 fwrite_uppcase (p, (s), _n); \
210 else \ 210 else \
211 fwrite (s, _n, 1, p); \ 211 { \
212 /* Ignore the value of fwrite. The caller can determine whether \
213 an error occured by inspecting ferror (P). All known fwrite \
214 implementations set the stream's error indicator when they \
215 fail due to ENOMEM etc., even though C11 and POSIX.1-2008 do \
216 not require this. */ \
217 fwrite (s, _n, 1, p); \
218 } \
212 } \ 219 } \
213 while (0) \ 220 while (0) \
214 ) 221 )