summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJuliusz Chroboczek <jch@pps.jussieu.fr>2008-05-11 00:30:12 +0200
committerJuliusz Chroboczek <jch@pps.jussieu.fr>2008-05-11 00:30:12 +0200
commit8e36cc8647b27a4d14cf3f63045410db79fb98a3 (patch)
treef9c31b8c0a7f92ec50094f7ff33f51228e7ecc18 /util.c
parent867c33d332abe479ab088f98e01c06800203a3e0 (diff)
Rename *_reliable to *_alloc.
Diffstat (limited to 'util.c')
-rw-r--r--util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util.c b/util.c
index 5c58b9a..1fbbbd4 100644
--- a/util.c
+++ b/util.c
@@ -69,19 +69,19 @@ extern void unsetenv(const char *name);
#endif
char*
-sprintf_reliable(char *f, ...)
+sprintf_alloc(char *f, ...)
{
char *s;
va_list args;
va_start(args, f);
- s = vsprintf_reliable(f, args);
+ s = vsprintf_alloc(f, args);
va_end(args);
return s;
}
#ifdef __GLIBC__
char*
-vsprintf_reliable(char *f, va_list args)
+vsprintf_alloc(char *f, va_list args)
{
char *r;
int rc;
@@ -94,7 +94,7 @@ vsprintf_reliable(char *f, va_list args)
#else
/* This is not portable, doesn't do va_copy right. */
char*
-vsprintf_reliable(char *f, va_list args)
+vsprintf_alloc(char *f, va_list args)
{
int n, size = 12;
char *string;
@@ -391,7 +391,7 @@ faceEncoding(FT_Face face)
if(rc != 0 || p2.type != BDF_PROPERTY_TYPE_ATOM)
return NULL;
- return sprintf_reliable("%s-%s", p1.u.atom, p2.u.atom);
+ return sprintf_alloc("%s-%s", p1.u.atom, p2.u.atom);
}
int