Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [tcl] Undefined NULL in tcl/compat/strstr.c
@ 2008-04-23 18:10 Masaki Muranaka
  2008-04-23 21:15 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Masaki Muranaka @ 2008-04-23 18:10 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

Hello,

This is obvious. Could anyone commit my patch?


2008-04-24  Masaki Muranaka  <monaka@monami-software.com>

         * compat/strstr.c : Add include stddef.h to get NULL define.

--
Masaki Muranaka
Monami Software



[-- Attachment #2: strstr.diff --]
[-- Type: application/octet-stream, Size: 457 bytes --]

Index: strstr.c
===================================================================
RCS file: /cvs/src/src/tcl/compat/strstr.c,v
retrieving revision 1.5
diff -u -p -r1.5 strstr.c
--- strstr.c	21 Jan 2003 19:39:57 -0000	1.5
+++ strstr.c	23 Apr 2008 17:38:34 -0000
@@ -12,6 +12,8 @@
  * RCS: @(#) $Id: strstr.c,v 1.3 2002/01/26 01:10:08 dgp Exp $
  */
 
+#include <stddef.h>
+
 /*
  *----------------------------------------------------------------------
  *

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [tcl] Undefined NULL in tcl/compat/strstr.c
  2008-04-23 18:10 [tcl] Undefined NULL in tcl/compat/strstr.c Masaki Muranaka
@ 2008-04-23 21:15 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2008-04-23 21:15 UTC (permalink / raw)
  To: Masaki Muranaka; +Cc: gdb-patches

On Thu, Apr 24, 2008 at 02:48:45AM +0900, Masaki Muranaka wrote:
> Hello,
>
> This is obvious. Could anyone commit my patch?
>
>
> 2008-04-24  Masaki Muranaka  <monaka@monami-software.com>
>
>         * compat/strstr.c : Add include stddef.h to get NULL define.

Please ask insight@, as they are the only users of the bundled TCL;
GDB releases don't include it.  Thanks.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-23 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-23 18:10 [tcl] Undefined NULL in tcl/compat/strstr.c Masaki Muranaka
2008-04-23 21:15 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox