projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
isnan: Ensure it is a macro.
[gnulib.git]
/
lib
/
unistdio
/
ulc-fprintf.c
diff --git
a/lib/unistdio/ulc-fprintf.c
b/lib/unistdio/ulc-fprintf.c
index
2da246c
..
383a1e3
100644
(file)
--- a/
lib/unistdio/ulc-fprintf.c
+++ b/
lib/unistdio/ulc-fprintf.c
@@
-1,5
+1,5
@@
/* Formatted output to a stream.
/* Formatted output to a stream.
- Copyright (C) 2004, 2006-20
08
Free Software Foundation, Inc.
+ Copyright (C) 2004, 2006-20
10
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-55,11
+55,11
@@
ulc_fprintf (FILE *fp, const char *format, ...)
if (fwrite (output, 1, len, fp) < len)
{
if (output != buf)
if (fwrite (output, 1, len, fp) < len)
{
if (output != buf)
- {
- int saved_errno = errno;
- free (output);
- errno = saved_errno;
- }
+
{
+
int saved_errno = errno;
+
free (output);
+
errno = saved_errno;
+
}
return -1;
}
return -1;
}