[PATCH] Fix for segfault on large syntax file
David Sterba
dave at jikos.cz
Fri Jun 13 18:18:16 UTC 2003
Hi,
this pach fixes segfaulting on syntax files with more than
1024 keywords per context (and possibly with more than
128 contexts). These numbers were harcoded and now they grow
as the alloced number does not suffice.
This fixes a bug number #3829 in MC bug tracking system.
Motto: "1024 will be enough for everyone forever"
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: large-syntax.diff
Type: text/x-diff
Size: 3565 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20030613/b9970b00/attachment.diff>
More information about the mc-devel
mailing list