Another small ecpg bug fixed
Started by Michael Meskesalmost 27 years ago1 messages
Here's a very small bugfix.
Michael
P.S.: Did we find a solution for the patches list yet? It seems MArc is busy
as my resubscription process doesn't get acknowledged too.
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net | Use PostgreSQL!
Attachments:
ecpg.patchtext/plain; charset=us-asciiDownload
diff -ruN ecpg/preproc/Makefile ecpg.mm/preproc/Makefile
--- ecpg/preproc/Makefile Tue Jan 19 07:21:04 1999
+++ ecpg.mm/preproc/Makefile Wed Jan 27 12:43:22 1999
@@ -3,7 +3,7 @@
MAJOR_VERSION=2
MINOR_VERSION=4
-PATCHLEVEL=6
+PATCHLEVEL=7
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
diff -ruN ecpg/preproc/preproc.y ecpg.mm/preproc/preproc.y
--- ecpg/preproc/preproc.y Fri Jan 22 07:29:47 1999
+++ ecpg.mm/preproc/preproc.y Wed Jan 27 12:44:28 1999
@@ -4671,12 +4671,12 @@
}
| SQL_GOTO name {
$<action>$.code = W_GOTO;
- $<action>$.command = $2;
+ $<action>$.command = strdup($2);
$<action>$.str = cat2_str(make1_str("goto "), $2);
}
| SQL_GO TO name {
$<action>$.code = W_GOTO;
- $<action>$.command = $3;
+ $<action>$.command = strdup($3);
$<action>$.str = cat2_str(make1_str("goto "), $3);
}
| DO name '(' dotext ')' {