Problem with sftp-server on Tru64 (long long type and %ll)

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Mon Feb 26 11:17:47 EST 2001


On Sun, 25 Feb 2001, Chris Adams wrote:

> Once upon a time, mouring at etoh.eviladmin.org <mouring at etoh.eviladmin.org> said:
> > A solution that you can test is to go into your config.h and set this:
> > 
> > /* Define if your snprintf is busted */
> > /* #undef BROKEN_SNPRINTF */
> 
> Well, BROKEN_SNPRINTF is a noop - there is no code that uses this
> define (it should probably be removed from the config header).
> 
Hmm.. Extermely odd.. Wonder where that code went to.  BROKEN_SNPRINTF
is suppost to be a valid define.  It's suppose to unset  HAVE_SNPRINTF
and HAVE_VNSPRINTF so the internal snprintf/vsnrpintf take over for
platforms that have string termination issues.

Ahh.. I see what happened.  When the version of bsd-snprintf.c was
replaced with the one from Mutt the BROKE_SNPRINTF check never made it
back in.  I'll resolve that now. 

- Ben






More information about the openssh-unix-dev mailing list