mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
remove HAVE_DUP #1072
Vim defines this for Windows, so there's no Neovim-supported system for which this would not be defined.
This commit is contained in:
@@ -1755,13 +1755,11 @@ failed:
|
||||
#endif
|
||||
xfree(buffer);
|
||||
|
||||
#ifdef HAVE_DUP
|
||||
if (read_stdin) {
|
||||
/* Use stderr for stdin, makes shell commands work. */
|
||||
close(0);
|
||||
ignored = dup(2);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (tmpname != NULL) {
|
||||
os_remove((char *)tmpname); // delete converted file
|
||||
|
Reference in New Issue
Block a user