On Wed, Oct 02, 2002 at 04:46:48PM +1000, Tim Robbins wrote:
> The best we can do to src/bin/sh is to do something like this:
>
> #ifndef BOOTSTRAPPING
> fmtstr(s, 64, "[%td] ", jp - jobtab + 1);
We know when this hit the tree, so please use:
#if defined(BOOTSTRAPPING) && (__FreeBSD_version > 5000xy)
fmtstr(s, 64, "[%lld] ", (long long)(jp - jobtab + 1));
#else
fmtstr(s, 64, "[%td] ", jp - jobtab + 1);
#endif
It makes it clear which is the special case and which is the normal one;
it does not penaltize uptodate -CURRENT systems; and lastely lets us know
that when RELENG_5 is branched, we can totally remove it.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message