X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX19Wg6ds3jtWH+SR9BtWcU+najjd2Po52KK9JQzMCc AaieNkNnvMrmZg From: Juan Manuel Guerrero To: djgpp-workers AT delorie DOT com Subject: Re: more NULL fixes Date: Sat, 17 Sep 2011 03:01:00 +0200 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Message-Id: <201109170301.00306.juan.guerrero@gmx.de> X-Y-GMX-Trusted: 0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p8H15h8t011525 Reply-To: djgpp-workers AT delorie DOT com Am Freitag, 16. September 2011 schrieb Ozkan Sezer: > These two showed themselves after yesterday's stdlib.h NULL patch. [snip] OFYI, I committed the followingpatch. Regards, Juan M. Guerrero 2011-09-17  Juan Manuel Guerrero           * src/libc/compat/stdlib/alloca.c:  Remove superflous NULL macro definition. From Ozkan Sezer Index: djgpp/src/libc/compat/stdlib/alloca.c =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/compat/stdlib/alloca.c,v retrieving revision 1.1 diff -U 5 -r1.1 alloca.c --- djgpp/src/libc/compat/stdlib/alloca.c 11 Jan 1996 04:02:06 -0000 1.1 +++ djgpp/src/libc/compat/stdlib/alloca.c 17 Sep 2011 00:41:23 -0000 @@ -32,12 +32,10 @@ /* If your stack is a linked list of frames, you have to provide an "address metric" ADDRESS_FUNCTION macro. */ #define ADDRESS_FUNCTION(arg) &(arg) -#define NULL 0 - /* Define STACK_DIRECTION if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses