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

[PATCH] Preview of printf -> svn_cmdline_printf etc.

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-05-17 21:12:48 CEST

Hi,

I am now starting the work of replacing printf, fprintf and fputs with the
corresponding svn_cmdline_* variants. This patch is only the beginning to
give everybody a chance to see what it will look like with the current
implementation of these three functions. Because we have both a longer
function name and SVN_ERR and we need to not have longer lines than 80
cols (I'm on such a TTY, so I won't break it intentionally:-), the message
strings will be split into many lines sometimes. I don't see a way to
avoid this, though.

Also, I put a comment in about detranslation of property values and
newline markers. I don't understand why we need to convert the string to
native newlines before outputing it through stdio. We use just \n
everywhere and rely on stdio to take care of the rest in this case.

This is all small uninteresting details, still, as you know, it is
important to get this right for I18N. Sorry for cluttering the list with
this incomplete work, but I think it is better to let you seee it now and
have comments than waiting until I have a nearly complete patch.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

  • TEXT/PLAIN attachment: p
Received on Mon May 17 21:04:43 2004

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.