3 ms·
Worst in what sense? Did the most damage, or hardest to find, or just most mind-blowing? We had a customer whose Unix environment didn't pass a stderr file ha
by AnimalMuppet 6y ago
Worst in what sense? Did the most damage, or hardest to find, or just most mind-blowing?
We had a customer whose Unix environment didn't pass a stderr file handle to running programs. So if you tried to print something to stderr, it scribbled on whatever file happened to be open on handle number 2. This got reported to us as a bug. After looking at it, we told them to fix their insane runtime environment.
- kazinator 6y agoSo, process starts with fd 2 being unused; opens something, and that something gets fd 2, which now looks like stderr?
- AnimalMuppet 6y agoYes. Not just looks like stderr, but by definition is stderr. (Except that it wasn't intended to be any such thing...)
- veddox 6y agoNot a bug as such, but always a lovely war story: rebuilding Unix after scragging /bin (https://pulsar.sternwarte.uni-erlangen.de/wilms/recreation/crash.html https://pulsar.sternwarte.uni-erlangen.de/wilms/recreation/c...)