1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Merge pull request #197 from jailbird777/master

Remove "user torturation" code
This commit is contained in:
rkd77 2022-11-15 21:31:01 +01:00 committed by GitHub
commit 5f684efdd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}