
Hi!
I just noticed that libsmi 0.5.0 has been released last month but I didn't see any announce here. The changelog being quite verbose is there a short version with major changes (if there is any major change)?
Thanks!

On 03/11/2014 9:43 PM, Vincent Bernat wrote:
Hi!
I just noticed that libsmi 0.5.0 has been released last month but I didn't see any announce here. The changelog being quite verbose is there a short version with major changes (if there is any major change)?
I notice that some definitions in lib/snprintf.h are not protected by #ifdef, even though configure tests for them all. Cygwin won't compile libsmi unless the rest of the entries are #ifdef'ed
Andrew ==================================== --- lib/snprintf.h.20141103 2014-11-03 23:51:19.965497600 +1100 +++ lib/snprintf.h 2014-11-03 23:52:15.358236900 +1100 @@ -45,12 +45,20 @@ extern int vsnprintf (char *str, size_t sz, const char *format, va_list args); #endif
+#ifndef HAVE_ASPRINTF extern int asprintf (char **ret, const char *format, ...); +#endif
+#ifndef HAVE_ASNPRINTF extern int asnprintf (char **ret, size_t max_sz, const char *format, ...); +#endif
+#ifndef HAVE_VASPRINTF extern int vasprintf (char **ret, const char *format, va_list args); +#endif
+#ifndef HAVE_VASNPRINTF extern int vasnprintf (char **ret, size_t max_sz, const char *format, va_list args); +#endif ====================================

Thanks Andrew,
committed to r1822.
On Mon, Nov 03, 2014 at 11:53:47PM +1100, Andrew Hood wrote:
On 03/11/2014 9:43 PM, Vincent Bernat wrote:
Hi!
I just noticed that libsmi 0.5.0 has been released last month but I didn't see any announce here. The changelog being quite verbose is there a short version with major changes (if there is any major change)?
I notice that some definitions in lib/snprintf.h are not protected by #ifdef, even though configure tests for them all. Cygwin won't compile libsmi unless the rest of the entries are #ifdef'ed
Andrew
--- lib/snprintf.h.20141103 2014-11-03 23:51:19.965497600 +1100 +++ lib/snprintf.h 2014-11-03 23:52:15.358236900 +1100 @@ -45,12 +45,20 @@ extern int vsnprintf (char *str, size_t sz, const char *format, va_list args); #endif
+#ifndef HAVE_ASPRINTF extern int asprintf (char **ret, const char *format, ...); +#endif
+#ifndef HAVE_ASNPRINTF extern int asnprintf (char **ret, size_t max_sz, const char *format, ...); +#endif
+#ifndef HAVE_VASPRINTF extern int vasprintf (char **ret, const char *format, va_list args); +#endif
+#ifndef HAVE_VASNPRINTF extern int vasnprintf (char **ret, size_t max_sz, const char *format, va_list args);
+#endif
-- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who
-- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to libsmi-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/libsmi.
participants (3)
-
Andrew Hood
-
Juergen Schoenwaelder
-
Vincent Bernat