str.c: New functions ds_put_c_vformat and ds_put_c_format
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Dec 2012 16:40:09 +0000 (17:40 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 23 Dec 2012 16:18:08 +0000 (17:18 +0100)
commitb54cf7b8d3259f5de57a2e0ca53fa2e2c5185abf
treea83c1ee4bdbc7a2311d8c79649e75e34373e5d8d
parentacd6e0df2ed6fe05be3065dc84a0a17dd4ee73f9
str.c: New functions ds_put_c_vformat and ds_put_c_format

Added a new printf-like functions which are locale independent.
Added this new function, and changed syntax_gen_pspp_valist to use it.
Rationale: syntax generation should never be locale dependent.
src/libpspp/str.c
src/libpspp/str.h
src/ui/syntax-gen.c