This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via aadbad6264e9f88bc886558cf3ed5cb34e747f8c (commit)
from ab9a88b3e160f41812d76b7df1838b6603030863 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit aadbad6264e9f88bc886558cf3ed5cb34e747f8c
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sat Dec 3 00:23:10 2016 +0100
fix obstack compile issue after libintl/gettext removal
-----------------------------------------------------------------------
Summary of changes:
libc/misc/gnu/obstack.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
index a5c6468..75f6d0b 100644
--- a/libc/misc/gnu/obstack.c
+++ b/libc/misc/gnu/obstack.c
@@ -402,14 +402,6 @@ _obstack_memory_used (struct obstack *h)
return nbytes;
}
-/* Define the error handler. */
-# ifndef _LIBC
-# include "gettext.h"
-# endif
-# ifndef _
-# define _(msgid) gettext (msgid)
-# endif
-
# if defined _LIBC && !defined __UCLIBC__
# include <libio/iolibio.h>
# endif
@@ -431,9 +423,9 @@ print_and_abort (void)
like this and the translation should be reused instead of creating
a very similar string which requires a separate translation. */
# if defined _LIBC && !defined __UCLIBC__
- (void) __fxprintf (NULL, "%s\n", _("memory exhausted"));
+ (void) __fxprintf (NULL, "%s\n", "memory exhausted");
# else
- fprintf (stderr, "%s\n", _("memory exhausted"));
+ fprintf (stderr, "%s\n", "memory exhausted");
# endif
exit (__obstack_exit_failure);
}
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
Show replies by date