This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The treatment of null characters in C source files
- To: oliva at dcc dot unicamp dot br (Alexandre Oliva)
- Subject: Re: The treatment of null characters in C source files
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 6 Sep 1999 18:24:20 +0100 (BST)
- Cc: zack at bitmover dot com, gcc at gcc dot gnu dot org
> Couldn't you just arrange for it to be replaced with \000?
It's not quite that easy - if you have "\^@" , and you replace the ^@
single-mindedly, you'll get "\\000", which is something completely different.
So you'd have to check if there is an odd number of leading backslashes.