projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check upper/lower bounds on various RTS flags (#3633)
[ghc-hetmet.git]
/
rts
/
RtsMessages.c
diff --git
a/rts/RtsMessages.c
b/rts/RtsMessages.c
index
c263a2c
..
e2a30a6
100644
(file)
--- a/
rts/RtsMessages.c
+++ b/
rts/RtsMessages.c
@@
-128,7
+128,7
@@
isGUIApp(void)
#define xstr(s) str(s)
#define str(s) #s
#define xstr(s) str(s)
#define str(s) #s
-void
+void GNU_ATTRIBUTE(__noreturn__)
rtsFatalInternalErrorFn(const char *s, va_list ap)
{
#if defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
rtsFatalInternalErrorFn(const char *s, va_list ap)
{
#if defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
@@
-187,7
+187,7
@@
rtsErrorMsgFn(const char *s, va_list ap)
#endif
{
/* don't fflush(stdout); WORKAROUND bug in Linux glibc */
#endif
{
/* don't fflush(stdout); WORKAROUND bug in Linux glibc */
- if (prog_argv != NULL && prog_name != NULL) {
+ if (prog_name != NULL) {
fprintf(stderr, "%s: ", prog_name);
}
vfprintf(stderr, s, ap);
fprintf(stderr, "%s: ", prog_name);
}
vfprintf(stderr, s, ap);