[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111441: Merge from gnulib (comment c
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111441: Merge from gnulib (comment change only). |
Date: |
Mon, 07 Jan 2013 21:07:19 -0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111441
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2013-01-07 21:07:19 -0800
message:
Merge from gnulib (comment change only).
modified:
lib/strftime.c
=== modified file 'lib/strftime.c'
--- a/lib/strftime.c 2013-01-04 02:17:49 +0000
+++ b/lib/strftime.c 2013-01-08 05:07:19 +0000
@@ -208,7 +208,14 @@
else if (to_uppcase) \
fwrite_uppcase (p, (s), _n); \
else \
- fwrite (s, _n, 1, p); \
+ { \
+ /* Ignore the value of fwrite. The caller can determine whether \
+ an error occured by inspecting ferror (P). All known fwrite \
+ implementations set the stream's error indicator when they \
+ fail due to ENOMEM etc., even though C11 and POSIX.1-2008 do \
+ not require this. */ \
+ fwrite (s, _n, 1, p); \
+ } \
} \
while (0) \
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111441: Merge from gnulib (comment change only).,
Paul Eggert <=