This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch proposal for PR 19678


Would it also be worth fixing mac line-endings (just '\r') at the same time?

I was scared someone would eventually say this. The thing is: I don't know which platforms still use '\r'. I guess MacOSX now uses Unix-style line-endings, doesn't it?


It's gonna be much more difficult to treat '\r' than to add '\r\n' support, since everytime we see a '\r', we wouldn't know if it is the end of a line or if we need waiting for the following '\n'. Since nobody has asked for that yet (and we're not yet using gfortran on old MacOS), I would be for keeping it simple right now.

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]