User forums > Using Code::Blocks
rc2 - bad tgz source package
takeshimiya:
I never talked about GCC (it's good :P), I stated autotools and most linux command line tools doesn't currently handle CR+LF
lindquist:
I don't see any point in taking all these measures to avoid this mistake.
If just the source distributions would use the correct EOLs it not a problem IMO.
People doing CVS checkouts on Windows and compiling them on linux seems like a rather weird usage pattern to me.
Conclusion: Make the tgz on a linux machine = problem solved
takeshimiya:
Well, that's exactly what doesn't happened in RC2, mainly probably because the tarball was created on windows... And the devs was at that time on windows.
So it seems that each time to make a release they'll have to switch to a linux box to create it, which is not bad, but it's rather overkill (or not feasible if they don't have a linux box atm) only for those EOL issues...
sethjackson:
--- Quote from: lindquist on November 12, 2005, 08:02:27 pm ---I don't see any point in taking all these measures to avoid this mistake.
If just the source distributions would use the correct EOLs it not a problem IMO.
People doing CVS checkouts on Windows and compiling them on linux seems like a rather weird usage pattern to me.
Conclusion: Make the tgz on a linux machine = problem solved
--- End quote ---
Isn't there a Linux program called dos2unix that converts the EOL? Maybe you could use that.
takeshimiya:
It is indeed, and that's what ALL linux users needs to do in RC2 to get autofriends right with LF:
find . -type f -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix
find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix
Navigation
[0] Message Index
[*] Previous page
Go to full version