|
From: Michael F. <fuz...@vo...> - 2007-12-18 17:27:26
|
Jeffrey Barish wrote: > On Tuesday 18 December 2007 09:28:16 Michael Foord wrote: > >> Unless there are any objections I will add code to ensure that files are >> newline terminated. A side effect is that roundtripped files may gain a >> newline. Avoiding this would mean storing extra state when reading files >> and I don't *intend* to jump through those hoops. >> > > My program will be roundtripping constantly, once I figure out how to > implement a reload method. It would be bad if the configuration file > acquired a newline every roundtrip. > The code will only ensure that the file is newline terminated - it won't add them merrily with each write... Michael |