This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Null characters in files
- To: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Subject: Re: Null characters in files
- From: Jason Merrill <jason at cygnus dot com>
- Date: 03 Apr 2000 11:00:08 -0700
- Cc: NeilB at earthling dot net, gcc-patches at gcc dot gnu dot org, zack at wolery dot cumb dot org
- References: <20000403173855.4178.qmail@pasanda.cygnus.co.uk>
>>>>> Andrew Haley <aph@pasanda.cygnus.co.uk> writes:
>> From: Jason Merrill <jason@cygnus.com>
>> Date: 03 Apr 2000 10:37:00 -0700
>>
>> >>>>> Neil Booth <NeilB@earthling.net> writes:
>>
>> > With this patch null characters are handled as follows:-
>>
>> > o Embedded in a comment, they go unnoticed
>> > o Embedded in a string, a warning is issued and the null ignored
>>
>> No. Embedded in a string, they should be passed through. It's perfectly
>> reasonable to have an embedded null in a string.
> But we still want a warning, no?
I don't feel strongly about that.
Jason