diff options
author | Werner Koch <wk@gnupg.org> | 2003-11-13 20:15:38 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2003-11-13 20:15:38 +0100 |
commit | 9b32497c7e78d362e2be2a9c0dff1a589c725594 (patch) | |
tree | 92f6e907affcba9f4c029c6e90d4eac90a01e46b /common | |
parent | (vasprintf): ARGS should not be a pointer. Fixed (diff) | |
download | gnupg2-9b32497c7e78d362e2be2a9c0dff1a589c725594.tar.xz gnupg2-9b32497c7e78d362e2be2a9c0dff1a589c725594.zip |
(vasprintf): Also fixed the prototype.
Diffstat (limited to 'common')
-rw-r--r-- | common/ChangeLog | 2 | ||||
-rw-r--r-- | common/util.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/common/ChangeLog b/common/ChangeLog index 1c63b5248..afc48367c 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,5 +1,7 @@ 2003-11-13 Werner Koch <wk@gnupg.org> + * util.h (vasprintf): Also fixed the prototype. + * vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed segv on Solaris. Reported by Andrew J. Schorr. diff --git a/common/util.h b/common/util.h index 987c8dfe8..e38ced337 100644 --- a/common/util.h +++ b/common/util.h @@ -112,7 +112,7 @@ int is_file_compressed (const char *s, int *ret_rc); /*-- replacement functions from funcname.c --*/ #if !HAVE_VASPRINTF #include <stdarg.h> -int vasprintf (char **result, const char *format, va_list *args); +int vasprintf (char **result, const char *format, va_list args); int asprintf (char **result, const char *format, ...); #endif |