bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor patch: Missing mkstemp declaration in groff 1.17.2 (now probs


From: Werner LEMBERG
Subject: Re: Minor patch: Missing mkstemp declaration in groff 1.17.2 (now probs with snprintf/vsnprintf groff-latest)
Date: Tue, 19 Feb 2002 16:40:32 +0100 (CET)

> > #ifndef HAVE_SNPRINTF
> > extern "C" {
> >   int snprintf(char *str, size_t str_m, const char *fmt, /*args*/ ...);
> > }
> > #endif
> > #ifndef HAVE_SNPRINTF
> >   int vsnprintf(char *str, size_t str_m, const char *fmt, va_list ap);
> > #endif

The right place is `lib.h' to which I've added those declarations (in
the CVS).

> 3) (no patch for this one) update libgroff to also export vsnprintf
>    otherwise pre-html.o will have an unresolved symbol:

Comparing with other functison like strerror(), the fix to lib.h
should be sufficient.  Please test.

Thanks for the report!


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]