Mercurial > vim
comparison src/main.c @ 14730:193471015e1a v8.1.0377
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
commit https://github.com/vim/vim/commit/42335f50bc6fac444a8af74c81df8369d722a6fb
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 13 15:33:43 2018 +0200
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 13 Sep 2018 15:45:05 +0200 |
parents | 0a3b9ecf7cb8 |
children | f562b9fbd0d3 |
comparison
equal
deleted
inserted
replaced
14729:7cb784c3b08f | 14730:193471015e1a |
---|---|
2630 * Close stdin and dup it from stderr. Required for GPM to work | 2630 * Close stdin and dup it from stderr. Required for GPM to work |
2631 * properly, and for running external commands. | 2631 * properly, and for running external commands. |
2632 * Is there any other system that cannot do this? | 2632 * Is there any other system that cannot do this? |
2633 */ | 2633 */ |
2634 close(0); | 2634 close(0); |
2635 ignored = dup(2); | 2635 vim_ignored = dup(2); |
2636 #endif | 2636 #endif |
2637 } | 2637 } |
2638 | 2638 |
2639 /* | 2639 /* |
2640 * Create the requested number of windows and edit buffers in them. | 2640 * Create the requested number of windows and edit buffers in them. |