GNE
Junior Member


Got Viz?
Posts: 29
|
I think I've found the reason for this problem. I also think, it can be fixed easily: In lex.c, errno is not (re)set to zero. If errno is initialized to zero at the beginning of the loop, the problem goes away. I would like to attach the patch to this post, but I'm not allowed to. But here it is: Code:
--- ./src/exec/dpexec/lex.c~ 2006-01-09 23:57:34.000000000 +0100
+++ ./src/exec/dpexec/lex.c 2008-05-07 09:14:47.000000000 +0200
@@ -504,6 +504,7 @@
for (;;)
{
yyleng = 0;
+ errno = 0;
c = input();
Disclaimer: I really don't know, what I'm doing here. If this change works for you, good. If it doesn't, I can't help you. Gottfried
|