Skip to content

Commit

Permalink
Merge pull request #197 from jailbird777/master
Browse files Browse the repository at this point in the history
Remove "user torturation" code
  • Loading branch information
rkd77 authored Nov 15, 2022
2 parents 5fa0552 + 0e8d0dc commit 5f684ef
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/util/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,26 +301,6 @@ dump_backtrace(FILE *f, int trouble)
fprintf(f, "[%p] %s\n", stack[i], strings[i]);

free(strings);

#else
/* User torturation. */
/* You are worried about what you see here? You don't see anything in
* the first place. Also, be assured that we know what are we doing. */
/* (We are killing the user, obviously.) */

/* TODO: Gettextify? Er, better not. More people (translators) could
* find out what are we doing... ;-) --pasky */
/* TODO: Be more cruel when in trouble? ;-) --pasky */

fputs( "Wheeeeeeeeeee! You played with the config.h by hand, didn't you?\n"
"Of _COURSE_ you did! Is that how a nice .. creature behaves like?\n"
"Of _COURSE_ it isn't! I feel offended and thus I will revenge now!\n"
"You will _suffer_ >:).\n"
"\n"
"CPU burning sequence initiated...\n", f);

/* TODO: Include cpuburn.c here. --pasky */
while (1);
#endif
fflush(f);
}
Expand Down

0 comments on commit 5f684ef

Please sign in to comment.