projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b94457
)
Correct indentation of cpp directives.
author
Jim Meyering
<jim@meyering.net>
Wed, 10 Sep 2003 08:33:11 +0000
(08:33 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 10 Sep 2003 08:33:11 +0000
(08:33 +0000)
lib/error.c
patch
|
blob
|
history
diff --git
a/lib/error.c
b/lib/error.c
index 31d3affcbd9804cbf176a84f9a25dfe8da38321d..5baec457433152c018af1c352245ebab5ce90c3f 100644
(file)
--- a/
lib/error.c
+++ b/
lib/error.c
@@
-132,11
+132,11
@@
print_errno_message (int errnum)
static void
error_tail (int status, int errnum, const char *message, va_list args)
{
static void
error_tail (int status, int errnum, const char *message, va_list args)
{
-#
if HAVE_VPRINTF || _LIBC
-#
if _LIBC
+#if HAVE_VPRINTF || _LIBC
+# if _LIBC
if (_IO_fwide (stderr, 0) > 0)
{
if (_IO_fwide (stderr, 0) > 0)
{
-#
define ALLOCA_LIMIT
2000
+#
define ALLOCA_LIMIT
2000
size_t len = strlen (message) + 1;
wchar_t *wmessage = NULL;
mbstate_t st;
size_t len = strlen (message) + 1;
wchar_t *wmessage = NULL;
mbstate_t st;
@@
-174,21
+174,21
@@
error_tail (int status, int errnum, const char *message, va_list args)
__vfwprintf (stderr, wmessage, args);
}
else
__vfwprintf (stderr, wmessage, args);
}
else
-#
endif
+# endif
vfprintf (stderr, message, args);
vfprintf (stderr, message, args);
-#
else
+#else
_doprnt (message, args, stderr);
_doprnt (message, args, stderr);
-#
endif
+#endif
va_end (args);
++error_message_count;
if (errnum)
print_errno_message (errnum);
va_end (args);
++error_message_count;
if (errnum)
print_errno_message (errnum);
-#
if _LIBC
+#if _LIBC
if (_IO_fwide (stderr, 0) > 0)
putwc (L'\n', stderr);
else
if (_IO_fwide (stderr, 0) > 0)
putwc (L'\n', stderr);
else
-#
endif
+#endif
putc ('\n', stderr);
fflush (stderr);
if (status)
putc ('\n', stderr);
fflush (stderr);
if (status)