This is the mail archive of the gcc@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]

Re: The treatment of null characters in C source files


> 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.


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