Re: Proposed TraceBack Change
- Posted by Robert Craig <rds at RapidEuphoria.com> Apr 17, 2007
- 452 views
Matt Lewis wrote: > In the current trace back (both in be_rterror.c and error.e) the path + > file name length is truncated to 99 chars. Does anyone have any objection > to raising this limit? > > I often work deep in "My Documents", and it gets really annoying when > the path gets truncated, since I can't use the automated jump to error > feature of wxide (the editor I normally use). No problem. But in the C code, you need to also enlarge TPTempBuff[] to avoid any chance of buffer overflow with C's sprintf(). error.e has "99" in it, just because the front-end was originally written in C. Euphoria's sprintf() does not require a fixed-size buffer. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com