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
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Andris Pavenis <pavenis at latnet dot lv>
- Cc: gcc-patches at gcc dot gnu dot org, djgpp-workers at delorie dot com
- Date: Mon, 18 Apr 2005 09:17:22 -0700
- Subject: Re: [libcpp] [PATCH] Handle DOS EOF character for DJGPP
- References: <200504181846.38506.pavenis@latnet.lv>
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