mirror of
https://github.com/vim/vim.git
synced 2025-10-22 08:34:29 -04:00
patch 9.1.1678: Amiga: cannot handle large undo files
Problem: Amiga: cannot handle large undo files Solution: Remove the existing restriction as it was only valid for classic Amiga (Damien Lejay). It seems that this block was only relevant for classic AmigaOS (< 32K alloc limit). And it seems to no longer apply: AmigaOS 4.0 switched to a slab allocator memory system. closes: #18072 Signed-off-by: Damien Lejay <damien@lejay.be> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
2306b2df42
commit
11bebd751f
@@ -687,15 +687,6 @@ u_savecommon(
|
||||
u_getbot();
|
||||
}
|
||||
|
||||
#if !defined(UNIX) && !defined(MSWIN)
|
||||
/*
|
||||
* With Amiga we can't handle big undo's, because
|
||||
* then u_alloc_line would have to allocate a block larger than 32K
|
||||
*/
|
||||
if (size >= 8000)
|
||||
goto nomem;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* add lines in front of entry list
|
||||
*/
|
||||
|
@@ -724,6 +724,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1678,
|
||||
/**/
|
||||
1677,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user