Subject: libsndfile-1.0.5 snprintf() usage
To: None <erikd@zip.com.au>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 01/18/2004 03:01:55
Hi,

in libsndfile 1.0.5 ChangeLog you write:

    * src/missing.c
New file containing a minimal implementation of snprintf and vsnprintf
functions named missing_snprintf and missing_vsnprintf respectively.
These are only compliled into the binary if snprintf and/or vsnprintf
are not available.  

actually it seems src/missing.c is missing...?

Also, examples/sndfile-info.c uses snprintf() redardless of HAVE_SNPRINT
and thus it fails to compile on systems without snprintf():

cc -g -o .libs/sndfile-info sndfile-info.o  ../src/.libs/libsndfile.so
-lm -rpath /usr/local/lib
ld:
Unresolved:
snprintf
make[1]: *** [sndfile-info] Error 1



Georg 

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442