aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-08-16 20:30:25 +0000
committerJustin M. Keyes <justinkz@gmail.com>2015-09-12 13:07:38 -0400
commit5c82ea8f9f9f3ef043d4f206ded223a89a3bd360 (patch)
tree3671e6ee7f747f2ae3d238b83839bf2941567b39 /src/nvim/fileio.c
parent57836f2b71131decfc1da80b15a2c84f48de4336 (diff)
downloadrneovim-5c82ea8f9f9f3ef043d4f206ded223a89a3bd360.tar.gz
rneovim-5c82ea8f9f9f3ef043d4f206ded223a89a3bd360.tar.bz2
rneovim-5c82ea8f9f9f3ef043d4f206ded223a89a3bd360.zip
remove HAVE_DUP #1072
Vim defines this for Windows, so there's no Neovim-supported system for which this would not be defined.
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index acdef5cd12..302f6b30fb 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -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