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-03-29 16:47:26
|
On Sunday 29 March 2015 18:02:37 ardi wrote: > On Saturday, March 28, 2015, Ivan Skytte Jørgensen <isj...@i1...> > wrote: > > > On Friday 27 March 2015 18:00:51 ardi wrote: > > > If negative, what would be needed to turn NEdit huge-file compatible? > > > Is it a lot of effort, or can I try it myself? > > > > I would say it is a medium-sized task, but will require good tools for > > finding lossy 64->32 bit conversions. > > > One good approach would be to start changing counters to "size_t", compile > in 64bit, and enable compiler warnings to the most pedantic ones. The tricky part is to identify which values are sizes and which values are offsets. > both gcc and clang would do a good task here, showing warnings in all > places where 64bits are being clamped to 32 bits. I have Flexelint, which is better than all the compilers I have encountered. I will use that. > 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. > > > > If NEdit isn't sending the whole text to the widget, I don't think there > will be any Motif issues when loading >4GB files, as Motif won't be seeing > them. I'm more concerned about the motif/lesstif/openmotif compatibility issues. There has been issues with nedit randomly coredumping or not even starting. My X/Window and Motif knowledge is quite rusty by now. /isj |