Mirror of the Vim source from https://github.com/vim/vim
修訂 | b76637e5ace1cd75c1894c44e132ea1e4fdc1a9f (tree) |
---|---|
時間 | 2008-04-01 21:53:43 |
作者 | vimboss |
Commiter | vimboss |
updated for version 7.1-289
@@ -751,7 +751,7 @@ | ||
751 | 751 | #endif |
752 | 752 | |
753 | 753 | /* |
754 | - * Note: if unsinged is 16 bits we can only allocate up to 64K with alloc(). | |
754 | + * Note: if unsigned is 16 bits we can only allocate up to 64K with alloc(). | |
755 | 755 | * Use lalloc for larger blocks. |
756 | 756 | */ |
757 | 757 | char_u * |
@@ -1082,7 +1082,11 @@ | ||
1082 | 1082 | win_free_all(); |
1083 | 1083 | #endif |
1084 | 1084 | |
1085 | - /* Free all buffers. */ | |
1085 | + /* Free all buffers. Reset 'autochdir' to avoid accessing things that | |
1086 | + * were freed already. */ | |
1087 | +#ifdef FEAT_AUTOCHDIR | |
1088 | + p_acd = FALSE; | |
1089 | +#endif | |
1086 | 1090 | for (buf = firstbuf; buf != NULL; ) |
1087 | 1091 | { |
1088 | 1092 | nextbuf = buf->b_next; |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 289, | |
671 | +/**/ | |
670 | 672 | 288, |
671 | 673 | /**/ |
672 | 674 | 287, |