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: [libcpp] [PATCH] Handle DOS EOF character for DJGPP


Andris Pavenis <pavenis@latnet.lv> writes:

> Here is patch for HEAD branch of GCC for handling DOS EOF character (0x1A, ^Z) 
> in libcpp. 
>
> At least I have met situations when DOS EOF character is written at
>end of file by some editors which causes compiler to generate error.

This was discussed and rejected some time ago.  ^Z can legitimately
appear in the middle of a file.

The "meat" of this patch does not appear to depend on io.h.  Why did
you add it?

zw


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