Differences From Artifact [e5f48e3c7d]:
- File src/of_asprintf.m — part of check-in [cfd374b906] at 2015-01-03 20:57:18 on branch trunk — Update copyright (user: js, size: 14050) [annotate] [blame] [check-ins using]
To Artifact [d2c505f580]:
- File
src/of_asprintf.m
— part of check-in
[cec0f072f8]
at
2016-01-03 00:43:58
on branch 0.8
— Update copyright
While at it, also update the mail address. (user: js, size: 14318) [annotate] [blame] [check-ins using]
1 | 1 2 3 4 5 6 7 8 9 10 | - - + + | /* |
| ︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | + + + + + + + + + + |
#include <wchar.h>
#include <sys/types.h>
#import "OFString.h"
#define MAX_SUBFORMAT_LEN 64
#ifndef HAVE_ASPRINTF
/*
* (v)asprintf might be declared, but HAVE_ASPRINTF not defined because
* configure determined it is broken. In this case, we must make sure there is
* no name clash.
*/
# define asprintf asprintf_
# define vasprintf vasprintf_
#endif
struct context {
const char *format;
size_t formatLen;
char subformat[MAX_SUBFORMAT_LEN + 1];
size_t subformatLen;
va_list arguments;
|
| ︙ |