Re: [nedit-develop] Does NEdit 5.6 support editing huge files (over 4GB) ?
Brought to you by:
tringali
From: Ivan S. J. <isj...@i1...> - 2015-04-02 17:56:49
|
On Saturday 28 March 2015 22:15:34 I wrote: > > If someone can help me with the Motif/Lesstif issues that may crop up then I'm willing to give it a shot over the next few weeks. One challenge is that XtMalloc() is extensively used instead of malloc(). XtMalloc/XtRealloc/XtCalloc take the size as a 'Cardinal' which is 32-bit. XtMalloc/XtRealloc/XtCalloc print a warning and exit on out-of-memory. Possibilities: 1: Change to malloc/realloc/calloc/free pro: easy, well-known, better warnings from tools con: on out-of-memory nedit will core/exit 2: Implement nedit_alloc/nedit_realloc/nedit_calloc/... pro: clean exit on out-of-memory con: more work for me. Any strong opinions? /isj |