On Wed, Mar 19, 2003 at 09:48:03PM -0600, Albert Chin wrote:
> I take it vsnprintf() is required? From src/cutils.c:
> octave_raw_vsnprintf (char *buf, size_t n, const char *fmt, va_list args)
> return vsnprintf (buf, n, fmt, args);
The patch below fixes this. This, in addition to importing all *trio*
files from the link below gets Octave to build and run on Tru64 UNIX
http://daniel.haxx.se/trio/ This might seem like overkill just to get vsnprintf but it's easy :)
The AC_FUNC_VSNPRINTF_C99 macro is stolen from Glib 2.2.1. The license
for Glib is the LGPL so this macro should fall under that license.
-/* XXX FIXME XXX -- we really need a configure test for this. */
-#if defined __GNUC__ && __GNUC__ >= 3
-#define HAVE_C99_VSNPRINTF 1
// We manage storage. User should not free it, and its contents are
// only valid until next call to vsnprintf.
>The patch below fixes this. This, in addition to importing all *trio*
>files from the link below gets Octave to build and run on Tru64 UNIX
> http://daniel.haxx.se/trio/ >This might seem like overkill just to get vsnprintf but it's easy :)
I put up my SGI notes on the octave
wiki --- please put any special instructions
for Tru64 Unix there (http://gnufans.net/octave.pl).
Though you might wait to see if John accepts your
I'm hoping Deepak will provide a mechanism for
uploading tarballs to the wiki as well. You might
want to ask him about it.