mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +00:00
replaced one arbitrary limit by another one, will not crash on re-linking GeoPublish VLIRs (>64K)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2545 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
096d23ccf0
commit
20f5dd421f
@ -35,7 +35,7 @@
|
||||
|
||||
void VLIRLinker(int argc, char *argv[]) {
|
||||
FILE *outCVT, *input;
|
||||
unsigned char buffer[BLOODY_BIG_BUFFER];
|
||||
unsigned char buffer[THIS_BUFFER_IS_SOOO_HUGE];
|
||||
unsigned char vlirtabt[127];
|
||||
unsigned char vlirtabs[127];
|
||||
int i,j,lastarg;
|
||||
|
@ -1,6 +1,8 @@
|
||||
|
||||
/* I hope that no one will be able to create a .grc bigger than this... */
|
||||
#define BLOODY_BIG_BUFFER 65000
|
||||
/* there are no 6MB GEOS binaries... I hope! */
|
||||
#define THIS_BUFFER_IS_SOOO_HUGE 6000000
|
||||
|
||||
struct menuitem {
|
||||
char *name;
|
||||
|
Loading…
Reference in New Issue
Block a user