← Back to team overview

kicad-developers team mailing list archive

Re: S-expression footprint library format.

 

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().






References