News for hackers. Stuff that matters.
Re:The tale of aux.c by gkya on Tuesday September 26, 2017 @04:23AM (#15337049)
You don't really put videos into a program's source tree. Also I don't think any modern Unix-like OS would overweite a file with a core dump no matter what is the name, and doubt that ancient versions did so too. Having the same set of device files under every directory is quite a different thing.
Re:The tale of aux.c by inopinatus on Tuesday September 26, 2017 @07:31AM (#15337734)
Actually, not only did they do exactly that, they could even be induced to do so through a symlimk, with hilarious results.
Re:The tale of aux.c by gkya on Tuesday September 26, 2017 @10:22AM (#15338863)
I'm really curious about them hilarious results now :)
Re:The tale of aux.c by mort96 on Tuesday September 26, 2017 @04:28PM (#15342227)
Actually, when I just want to test something silly, I often just go to ~, make a file test.c or something, write the short test program, and run `gcc -o test test.c`. It's not that rare to have videos in your home directory, and if I had one named a.out, and forgot the -o option, it'd get overwritten.

Not saying it's remotely likely, just saying that having video files in a program's source tree isn't the only way it could happen :)