FileNameBuffer You should create a copy constructor and a copy assignment operator. With their default implementation created by the compiler, the buffer is copied as-is, and you have multiple delete of the same buffer.
FileNameBuffer(const FileNameBuffer &other); FileNameBuffer &operator=(const FileNameBuffer &other) > On 2 Feb 2019, at 11:44, Rick McGuire <object.r...@gmail.com> wrote: > > oops, I still had some uncommitted code. > > Rick > > On Fri, Feb 1, 2019 at 7:57 PM Enrico Sorichetti via Oorexx-devel > <oorexx-devel@lists.sourceforge.net > <mailto:oorexx-devel@lists.sourceforge.net>> wrote: > Hi Rick, > I gave it a try with > > svn checkout https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil > <https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil> oorexx.rick > > > svn info > Path: . > Working Copy Root Path: /opt/oorexx.rick > URL: https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil > <https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil> > Relative URL: ^/sandbox/rick/rexxutil > Repository Root: https://svn.code.sf.net/p/oorexx/code-0 > <https://svn.code.sf.net/p/oorexx/code-0> > Repository UUID: 0b6cbdbe-3aab-466e-b73a-abd511dda0a2 > Revision: 11703 > Node Kind: directory > Schedule: normal > Last Changed Author: bigrixx > Last Changed Rev: 11702 > Last Changed Date: 2019-01-31 22:25:51 +0000 (Thu, 31 Jan 2019) > > > Unfortunately I get > > /opt/oorexx.rick/interpreter/platform/unix/SysRexxUtil.cpp: In function > '_RexxObjectPtr* SysGetFileDateTime_impl(RexxCallContext*, CSTRING, CSTRING)': > /opt/oorexx.rick/interpreter/platform/unix/SysRexxUtil.cpp:1693:102: error: > 'echoOpt' was not declared in this scope > invalidOptionException(context, "SysGetFileDateTime", "time > selector", "'A' or 'W'", echoOpt); > > > Enrico > > >> On 2 Feb 2019, at 00:39, Rick McGuire <object.r...@gmail.com >> <mailto:object.r...@gmail.com>> wrote: >> >> For my rexxutil sandbox version, I'm able to get a clean build on Windows, >> but on Linux, I get a crash running rexximage. I've tried debugging this >> using ddd, but it doesn't really give my any useful information. I'd really >> appreciate any assistance you can provide. >> >> Rick >> _______________________________________________ >> Oorexx-devel mailing list >> Oorexx-devel@lists.sourceforge.net >> <mailto:Oorexx-devel@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/oorexx-devel >> <https://lists.sourceforge.net/lists/listinfo/oorexx-devel> > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net <mailto:Oorexx-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > <https://lists.sourceforge.net/lists/listinfo/oorexx-devel> > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel