X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fvasnprintf.c;h=597db4235f7a73b3a5aca1c5b0a10c59286773e7;hb=25b6b5120113989e0b91de9d0b75d3d625bbc753;hp=cf9ef5e749ce8680bcd5e45f819a0288141cddd8;hpb=341111f654709cd0295607a4abbe721495c77e90;p=gnulib.git diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c index cf9ef5e74..597db4235 100644 --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -275,7 +275,7 @@ decimal_point_char (void) { const char *point; /* Determine it in a multithread-safe way. We know nl_langinfo is - multithread-safe on glibc systems and MacOS X systems, but is not required + multithread-safe on glibc systems and Mac OS X systems, but is not required to be multithread-safe by POSIX. sprintf(), however, is multithread-safe. localeconv() is rarely multithread-safe. */ # if HAVE_NL_LANGINFO && (__GLIBC__ || defined __UCLIBC__ || (defined __APPLE__ && defined __MACH__)) @@ -1530,7 +1530,7 @@ is_borderline (const char *digits, size_t precision) /* Returns the number of TCHAR_T units needed as temporary space for the result of sprintf or SNPRINTF of a single conversion directive. */ -static inline size_t +static size_t MAX_ROOM_NEEDED (const arguments *ap, size_t arg_index, FCHAR_T conversion, arg_type type, int flags, size_t width, int has_precision, size_t precision, int pad_ourselves)