diff options
author | dota17 <chenguopingdota@163.com> | 2020-03-27 13:04:50 +0800 |
---|---|---|
committer | dota17 <chenguopingdota@163.com> | 2020-04-03 11:28:04 +0800 |
commit | c117d8a8a83d5bcdd433b05e1846ccb73eb3413d (patch) | |
tree | 3105c0ed492366534aa812754c649fc96a202abe /vasprintf_compat.h | |
parent | a8cec740f01ea4ec92e8728fcc82c2edb96bd7dd (diff) | |
download | json-c-c117d8a8a83d5bcdd433b05e1846ccb73eb3413d.tar.gz |
add the disabling formatting coments and adjust the partial code manuly
Diffstat (limited to 'vasprintf_compat.h')
-rw-r--r-- | vasprintf_compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vasprintf_compat.h b/vasprintf_compat.h index 43dbf89..ca5b8f1 100644 --- a/vasprintf_compat.h +++ b/vasprintf_compat.h @@ -24,7 +24,8 @@ static int vasprintf(char **buf, const char *fmt, va_list ap) chars = _vscprintf(fmt, ap)+1; #else /* !defined(WIN32) */ /* CAW: RAWR! We have to hope to god here that vsnprintf doesn't overwrite - our buffer like on some 64bit sun systems.... but hey, its time to move on */ + * our buffer like on some 64bit sun systems.... but hey, its time to move on + */ chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ #endif /* defined(WIN32) */ |