From: Marc Maurer (j.m.maurer_at_student.utwente.nl)
Date: Sun Apr 18 2004 - 19:46:28 EDT
Set var to NULL after free-ing (Mikey Cooper)
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/wp/impexp/xp/ie_imp_RTF.cpp
CVS:
----------------------------------------------------------------------
Op za 17-04-2004, om 03:27 schreef Mikey Cooper:
> Attached is an additional patch based on what we discussed. After free
> ()-ing the variable, it will now set the variable to NULL before moving
> on to the next attribute.
>
> On Fri, 2004-04-16 at 16:58 +1000, Martin Sevior wrote:
> >
> > CVS: wp/impexp/xp/ie_imp_RTF.cpp
> > Mikey's MSVC build fix.
> >
> > On Wed, 2004-04-14 at 14:48, Mikey Cooper wrote:
> > > In ie_imp_RTF.cpp, line 9759 reads "FREEP(const_cast<XML_Char*>(sz));" which
> > > generates "error C2106: '=' : left operand must be l-value" in MSVC (doesn't
> > > happen under MinGW). MSVC does not seem to like casting l-values, even if
> > > it's cast as a pointer.
-- Marc Maurer <j.m.maurer_at_student.utwente.nl>
This archive was generated by hypermail 2.1.4 : Sun Apr 18 2004 - 19:45:23 EDT