Date: Wed, 15 Jan 2003 01:17:35 +0000 From: Keith Jones <freebsd.dev@blueyonder.co.uk> To: Dan Nelson <dnelson@allantgroup.com> Cc: current@FreeBSD.ORG Subject: Re: [PATCH] Re: fpsetmask on sparc64 Message-ID: <3E24B6AF.7090803@blueyonder.co.uk> In-Reply-To: <20030113200018.P11690-100000@gamplex.bde.org> References: <20030113200018.P11690-100000@gamplex.bde.org> <3E2321CF.A5835FCD@mindspring.com> <3E249A88.7030109@blueyonder.co.uk> <20030115000530.GD42135@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote: > I think 8 years of warnings is more than enough :) I agree with you that it ought to be. Personally I think people that still use "#include <malloc.h>" should be forced to write out "#include <stdlib.h>" 1000 times, then eat the paper. However, it is an imperfect universe. ;) > Out of the ~7100 > ports built by the package building cluster on -current, only the sdcc > port is currently broken because of malloc.h. I have no data on how > many ports patch the source to remove references to it, though. (Overkill use of perl. I'm sorry.) [keith@athlon ports]$ find [a-c]* d[ae]* [e-x]* -type d | perl -pe 's/^(.*?\/.*?)\/.*$/$1/;' | sort -u | wc -l 7384 [keith@athlon ports]$ grep -r malloc.h [a-c]* d[ae]* [e-x]* | perl -pe 's/^(.*?\/.*?)\/.*$/$1/;' | sort -u | wc -l 342 That doesn't include the non-English ports, which I don't track, though there may be some duplicates in there. In other words, nearly one in twenty ports in the collection. Kudos to the porters for catching most of them. I wonder how many of them were caught as a direct result of the change to -current, though ;) > A much > bigger problem when going to -current is the gcc 2.95 -> 3.2 upgrade; > lots of c++ programs break because things have moved out of the global > namespace into std:: Very true. Keith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E24B6AF.7090803>