Re: compatibility of snprintf() return value?

2004-01-18 Thread Wayne Davison
I've noted that the rsync configure setup + compatibility library
ensures that we have a C99-compatible snprintf() to use, so we
should all set.

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


compatibility of snprintf() return value?

2004-01-16 Thread Wayne Davison
It is my belief that there is not a compatibility problem with the
return value of snprintf() like there is with sprintf() (i.e. on some
systems, like SunOS, sprintf() returns a char* instead of an int, but
I don't believe that such systems even have snprintf()).

Does anyone know of a system where snprintf() doesn't return an int?
(We don't care about systems that don't have it, because we supply a
compatibility function for them.)  It would just be nice to be able to
use the return value in the rsync code if it is returned consistently.

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html