[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Porting Subversion to EBCDIC

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-02-13 02:46:36 CET

Mark Phippard wrote:

>>Have you considered my suggestion about using a source preprocessor do
>>manage the string literal problem? I prophesy that the patch as it
>>stands now, with all the char escapes, will never get merged to trunk.
>>
>>
>
>We would certainly rather see it accomplished via a preprocessor too. I
>kind of had the impression you were going to try something in that area.
>It is something we can look into, but not until we have mod_dav_svn
>working. If you want to provide any more hints as to how you would do
>this, or possible suggest other projects that might have used a technique
>like it, that would be great. At this point, about all we understand is
>that you think this could be done with a pre-processor.
>
>
Yes, you need a parser that at least rudimantally understands C. A lexer
that understands comments might be enough, actually; perhaps something
based on cpplib.

Anyway, this obviously needs some research.

>If we did do it with a preprocessor, how do you think we would handle
>strings that we wanted to let remain in the native locale? I think there
>are a decent number of string that we did not escape.
>
>
You either escape everyhing and bite the bullet with conversions, or
mark those strings specially (e.g., like we mark for translation). I
tend to lean towards the first solution being cleaner.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 13 02:47:55 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.