Hi again!
WTF! I just read some last ML committs... And what I found? This f***en piece of code!
joke_mode = (now.tm_mday == 1 && now.tm_mon == 3);
if (joke_mode)
{
msleep(1000);
joke_mode = display_idle();
}
and
if (joke_mode)
{
if (rand() % 1000 == 13 && !RECORDING)
{
extern void bsod();
bsod();
}
}
As I understand this code will be executed only at 1 april day (now.tm_mon == 3 , yes april is 4th month, but we count from zero) and this will cause bsod if random number (generated every second) equal 13.
Is it the joke? This not funny guys!
I lost two hours trying ML at first time (second time) and deleted it to hell.
PS:
- please just tell me that is was bad joke and delete this piece of s**t from sources.
- please try to test last ML today to confirm that this was joke and everything is good now (i can't do it myself, because i'm far away from my camera now)
- this code was committed by a1ex, committ #
80cee7a in src/tweaks.c
Thanks.