On Tue, 16 Mar 2010, Carlos R. Mafra wrote: > > Subject: [PATCH] simplify WMWritePropListToFile() > > > > remove the choice of atomic/non-atomic writes. firstly, the only users > > of non-atomic writes were getstyle and geticonset; secondly, who in their > > right minds would ever want non-atomic writes; thirdly, the file system > > will screw you anyway *G*. > > Do you have any idea why gestyle and geticonset chose to do non-atomic writes > in the first place?
probably because there was some perceived speed advantage of doing so? it's about four syscalls shorter, so it could really matter when one calls getstyle 30 to 50 thousand times a second, sustained. other than that, beats me. > In any case, your cleanup is nice! Applied to #next. thanks. -- [-] mkdir /nonexistent -- To unsubscribe, send mail to [email protected].
