diff options
author | Marius Mauch <genone@gentoo.org> | 2004-04-10 02:33:03 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2004-04-10 02:33:03 +0000 |
commit | c1dae86b57a826923cd1a0c756c76608fc5f8886 (patch) | |
tree | 8b3dc50681ca365bb282626ef2ea484cff0a2bb9 /dev-util/gambas/files | |
parent | Marked stable on mips. (Manifest recommit) (diff) | |
download | gentoo-2-c1dae86b57a826923cd1a0c756c76608fc5f8886.tar.gz gentoo-2-c1dae86b57a826923cd1a0c756c76608fc5f8886.tar.bz2 gentoo-2-c1dae86b57a826923cd1a0c756c76608fc5f8886.zip |
patch to fix possible file corruption
Diffstat (limited to 'dev-util/gambas/files')
-rw-r--r-- | dev-util/gambas/files/digest-gambas-0.92-r1 | 1 | ||||
-rw-r--r-- | dev-util/gambas/files/gbx_exec_enum-0.92.patch | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/gambas/files/digest-gambas-0.92-r1 b/dev-util/gambas/files/digest-gambas-0.92-r1 new file mode 100644 index 000000000000..cbd497f821a3 --- /dev/null +++ b/dev-util/gambas/files/digest-gambas-0.92-r1 @@ -0,0 +1 @@ +MD5 06641baa8c0405a9075088690eb30a67 gambas-0.92.tar.bz2 2735305 diff --git a/dev-util/gambas/files/gbx_exec_enum-0.92.patch b/dev-util/gambas/files/gbx_exec_enum-0.92.patch new file mode 100644 index 000000000000..09acc8bec34f --- /dev/null +++ b/dev-util/gambas/files/gbx_exec_enum-0.92.patch @@ -0,0 +1,27 @@ +--- src/exec/gbx_exec_enum.c.org 2004-02-28 11:46:15.000000000 +0100 ++++ src/exec/gbx_exec_enum.c 2004-04-10 04:19:03.479686056 +0200 +@@ -41,8 +41,8 @@ + local = &BP[code & 0xFF]; + + EXEC_object(local, &class, &object, &defined); +- EXEC_enum_data = (void *)(local[1]._void.value); +- memset(EXEC_enum_data, 0, 8); ++ EXEC_enum_data = (void *)(&local[1]._void.ptype); ++ memset(EXEC_enum_data, 0, 12); + + EXEC_special(SPEC_FIRST, class, object, 0, TRUE); + } +@@ -58,7 +58,7 @@ + local = &BP[PC[-1] & 0xFF]; + + EXEC_object(local, &class, &object, &defined); +- EXEC_enum_data = (void *)(local[1]._void.value); ++ EXEC_enum_data = (void *)(&local[1]._void.ptype); + + EXEC_enum_stop = FALSE; + +@@ -70,3 +70,4 @@ + + return EXEC_enum_stop; + } ++ |