unexpected error.
(optimize_utf8): Likewise.
* grub-core/lib/posix_wrap/stdlib.h (abort): Removed.
+2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/gnulib/regcomp.c (regerror): Don't use abort on
+ unexpected error.
+ (optimize_utf8): Likewise.
+ * grub-core/lib/posix_wrap/stdlib.h (abort): Removed.
+
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/boot/i386/pc/lnxboot.S: Use
to this routine. If we are given anything else, or if other regex
code generates an invalid error code, then the program has a bug.
Dump core so we can fix it. */
- abort ();
+ msg = "unknown regexp error";
msg = gettext (__re_error_msgid + __re_error_msgid_idx[errcode]);
}
break;
default:
- abort ();
+ break;
}
if (mb_chars || has_period)
return grub_realloc (ptr, size);
}
-static inline void __attribute__ ((noreturn))
-abort (void)
-{
- grub_abort ();
-}
-
#endif