Re: String formatting with APR_INT64_T etc. & gettext localization
From: Mattias Engdegňrd <mattiase_at_bredband.net>
Date: Fri, 25 Apr 2014 22:31:53 +0200
25 apr 2014 kl. 18.53 skrev Julian Foad:
> 1. Use PRIu64 etc. from <inttypes.h>.
Good, if you can get it all to work on Windows.
> 2. Use a helper function to format an integer as a string; insert
Probably the most practical solution for the time being.
> 3. Double-formatting, using "...%%%s..." to insert the correct
In addition to the problems you mentioned with this approach, it
> 4. Modify 'gettext' to expand or recognize these macros.
Sounds fragile, and again, it needs to be verified on Windows.
> + -e 's/APR_SSIZE_T_FMT/"ld"/g' \
Surely these must be wrong on IL32P64 platforms? (Why not use z?)
> +# For each file name on standard input, process the file's content
Perhaps I have misunderstood your patch entirely, but will that really
This is an archived mail posted to the Subversion Dev mailing list.