This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libcpp] [PATCH] Handle DOS EOF character for DJGPP
> (If as reported this is causing bootstrap failure due to the
> generator programs producing files with trailing ^Z, fix that in
> the generators.)
I think we can safely rule this out. All the MS-based gcc platforms
do not (or at least should not) add ^Z to text files, so no generator
should produce such files.
Andris's case was tickled by a text editor, not a generator.
> files originally created on MS-DOS and bearing a
> correctly-positioned ^Z,
Just FYI, "correctly-positioned" is an invalid assumption. There is
*no* rule that the ^Z can only appear at EOF; in fact in the original
CP/M it almost always showed up elsewhere, as file sizes were always
rounded up to sector sizes, and the ^Z was usually in the middle of
the sector.
But any software *today* that does that should be taken out back and
shot.