[PATCH] diff portability fixes

Rob Landley rob at landley.net
Sat Feb 6 01:24:13 UTC 2010


On Tuesday 02 February 2010 13:22:12 Dan Fandrich wrote:
> The recent rewrite of the diff applet has introduced several unnecessary
> C99isms. This patch removes them to improve portability across compilers.

http://busybox.net/FAQ.html#portability

> Older gcc versions than that are uninteresting since we now use c99
> features, although tcc might be worth a look.

You're objecting to an 11 year old standards document that our FAQ claims we 
adhere to.  (And I wrote that part of the FAQ back in 2006.)  This is like 
objecting to unnecessary use of POSIX.  The mind boggles.

Probably we should be more explicit in the "standards" section (I note a copy 
of one of the last freely distributable draft spec versionos has been at 
http://www.busybox.net/~landley/c99-draft.html for years if you'd like to link 
to it), but ever since Mike Frysinger destroyed the old website in git 
7a5814c74c875d I've given up on even planning to modify it...)

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list