Thinking of old Mac text files:

RE:  INPUTSTREAM_LINE_READER::ReadLine "end of line test":

Does KiCad run on Mac OS older than version 9?

If so, CR alone was the end of line designator  
http://en.wikipedia.org/wiki/Newline

If not, then testing only for '\n' 

seems adequate.  On the other hand, if you need a more detailed test, then I'd 
check the code to linux glibc's fgets().





_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to