by Baker » Sun Apr 05, 2015 7:17 pm
Several different little possibilities.
Don't want to cause you to look for a problem that isn't there, but if this doesn't happen on Windows how are newlines being handled and are the files being read in text mode?
Windows terminates lines with /r/n (char 13, char 10) and Linux with just char 10.
(Generally I am of the opinion to neither read nor write files in text mode and just use binary mode manually adding newlines (/n) where appropriate so there is only one style of newlines regardless of the operating system. Then when you are reading them, look for the possibility of carriage returns (/r) and strip them since you cannot control what text editor or engine last touched a file.)
The night is young. How else can I annoy the world before sunsrise?

Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..