[tcl] Undefined NULL in tcl/compat/strstr.c
Keith Seitz
keiths@redhat.com
Wed Apr 23 18:10:00 GMT 2008
[Moving to correct list]
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.
Having seen this patch, I took a peek at what the upstream Tcl group has
done. They've taken a slightly different tack, which I have committed:
tcl/ChangeLog
2008-04-23 Keith Seitz <keiths@redhat.com>
Based on patch from Masaki Muranaka <monaka@monami-software.com>:
* compat/strstr.c: Include tcl.h and define NULL if it is
not already defined.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcl-strstr-NULL.patch
Type: text/x-patch
Size: 526 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/insight/attachments/20080423/bdc8c6e6/attachment.bin>
More information about the Insight
mailing list