[Python-Dev] test_builtin failing? or just 64-bit platforms

Mark Favas mark.favas@csiro.au
Sat, 01 Dec 2001 18:25:50 +0800


The increase in buf size from 20 to 64 fixes the problem, as Tim
expected. Note that Tru64 (at least V4, unsure about V5) has no native
snprintf implementation.

Guido van Rossum wrote:
> 
> > > Hm, snprintf is *supposed* to truncate the result,
> >
> > According to C99, yes, but MS has its own pre-C99 snprintf semantics, and
> > glibc has had at least two different versions.
> >
> > > but it seems that here it refused to do anything.  Maybe PyOS_snprintf
> > > should be a wrapper that checks the return value of snprintf?
> >

-- 
Mark Favas  -   mark.favas@csiro.au