Issues.00509 - lordmundi/wikidoctest GitHub Wiki

00509: problem when DEFINES expand to greater than 500 characters

« 00508 | Issues | 00510 »

Summary: problem when DEFINES expand to greater than 500 characters

Created: 2014–05–13 14:10

Status: Released

Category: Bug

From: frankie

Version: 2.3

Released_In: 2.4

Description:

When I define the BINARY_MODEL_PATH in a defines block with variables that get expanded out to greater than 500 characters, I get this warning:

overflow detected in call to DSF_GetLine when trying to read a line that is 571 characters into a buffer size of 500

Comments

frankie May 13, 2014, at 02:12 PM: As a workaround, if you have really long defines like this you could define them in a shell script outside of DOUG as an environment variable rather than in a DEFINES block. Also, if it is directory paths, you could use symbolic links to make the paths shorter.


« 00508 | Issues | 00510 »

Associated Commits

| commit | ce9c2dd138d0ac6ecdc22a997e4ee4a1c85a0d96 link5 | || | Author: | Frank Graffagnino | | Date: | Tue Oct 6 14:44:09 2015 -0500 | | Message: | [@Issue 00509: Fixed 500 character limitation in DEFINES @] |

Affected Files:

bin_Darwin/doug    | Bin 1859148 -> 1967620 bytes
 bin_Linux_FC3/doug | Bin 672095 -> 672083 bytes
 bin_Win32/doug.exe | Bin 1851741 -> 1847645 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)

| commit | 0ead2042fd2ebc99ed3636c60394bd40aa074525 link6 | || | Author: | Brad Bell | | Date: | Wed Aug 19 16:24:39 2015 -0500 | | Message: | [@EDGE Issue 00509: fixed problem with 500 charactors per line in config files @] |

Affected Files:

src/doug/doug.c | 32 +++++++++++++++±---------------
 1 file changed, 16 insertions(+), 16 deletions(-)