A 35-year-old bug in patch found in efforts to restore 29 year old 2.11BSD:
Larry Wall posted patch 1.3 to mod.sources on May 8, 1985. A number of versions followed over the years. It's been a faithful alley [sic] for a long, long time. I've never had a problem with patch until I embarked on the 2.11BSD restoration project. In going over the logs very carefully, I've discovered a bug that bites this effort twice. It's quite interesting to use 27 year old patches to find this bug while restoring a 29 year old OS...
After some careful research, this turned out to be a fairly obscure bug in an odd edge case caused by "the state of email in the 1980s." which can be relegated to the dustbin of history...
(Score: 2) by Mojibake Tengu on Friday August 21 2020, @02:16PM (2 children)
If patch/diff was designed with some initial sanity on mind (technically, it is a strict imperative command language), it would use separate checksum for every command issued at least.
Instead, while email/news did not guarantee a fixed transfer of text files, Unix freaks imposed a space hell on themselves, including tabs hell in makefiles.
A magic number like this is a shameless shame.
Respect Authorities. Know your social status. Woke responsibly.
(Score: 2) by FatPhil on Friday August 21 2020, @03:42PM (1 child)
Great minds discuss ideas; average minds discuss events; small minds discuss people; the smallest discuss themselves
(Score: 2) by leon_the_cat on Saturday August 22 2020, @01:24PM
I know you did that on purpose but I will send you a patch for your comment anyway.