If it's not that much work send me some instructions
so I can return you a patch.
Thanks for the kind offer. As I said, this is due to the way
standard functions from libc are made available and were the
POSIX/BSD/ANSI C/ functions are supposed to be defined: for
instance, vsprintf is defined in two standards: ISO C99 and
ANSI C from the way flags are defined at the bottom of
src/config.h, ISO C should
be used. I scrupulously follow standards, but sometime
specific platform need specific tweaks. So the job is to
fiddle with those flags at the bottom of
src/config.h:
/* Source is BSD compliant (ISO C, POSIX and 4.3BSD) */
#define _BSD_SOURCE 1
/* Source is POSIX 4 compliant (IEEE Std 1003.1b) */
#define _POSIX_C_SOURCE 199309
/* Source is POSIX 1 compliant (IEEE Std 1003.1) */
/* #undef _POSIX_SOURCE */
as well as with the headers inclusion sequence in the source
(
command.c right now,
probably others too). What is expected is usually explained
in the section 3 man pages for the various functions.
Browsing through the headers and invoking the C preprocessor
(in gcc:
gcc -E) while
letting the rest of the gcc invocation intact is also
helpful.
If you need access to a remote FreeBSD 5.3 box send me a
PM, I have one standing here doing nothing atm...
If I do not have news from you in a couple of days, I
certainly will, as portability is important to me. Thanks
again!