That massive filesystem thread
Posted Apr 1, 2009 18:09 UTC (Wed) by quotemstr
In reply to: That massive filesystem thread
Parent article: That massive filesystem thread
By your logic, we should never fix bugs. Remember the 25 year old readdir bug? Don't you agree it was good to fix that? What if a program, somewhere, depended on that behavior?
In reality, programs use rename for atomic replacement. POSIX doesn't say anything about guarantees after a hard system crash, and it's just disingenuous to think that by punishing application authors by giving them as little robustness as possible, you're doing them some kind of portability favor.
to post comments)