aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorChris Watkins <chris.watkins88@gmail.com>2014-04-22 23:30:46 -0700
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-24 10:49:14 -0300
commitb951cf5bfc5eac07cf5d60c29c0db7ee1f2818cc (patch)
treef7eb8f53f56c5159f55fb560d4ceadee0bd070cc /src/ex_cmds.c
parentbf9aeda01c0c134002d12eebaf1ffec7003417d6 (diff)
downloadrneovim-b951cf5bfc5eac07cf5d60c29c0db7ee1f2818cc.tar.gz
rneovim-b951cf5bfc5eac07cf5d60c29c0db7ee1f2818cc.tar.bz2
rneovim-b951cf5bfc5eac07cf5d60c29c0db7ee1f2818cc.zip
Remove O_EXTRA which was only for EMX and cygwin.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index e6897d0022..791ddd04aa 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1656,12 +1656,12 @@ void write_viminfo(char_u *file, int forceit)
# ifdef UNIX
umask_save = umask(0);
fd = mch_open((char *)tempname,
- O_CREAT|O_EXTRA|O_EXCL|O_WRONLY|O_NOFOLLOW,
+ O_CREAT|O_EXCL|O_WRONLY|O_NOFOLLOW,
(int)((st_old.st_mode & 0777) | 0600));
(void)umask(umask_save);
# else
fd = mch_open((char *)tempname,
- O_CREAT|O_EXTRA|O_EXCL|O_WRONLY|O_NOFOLLOW, 0600);
+ O_CREAT|O_EXCL|O_WRONLY|O_NOFOLLOW, 0600);
# endif
if (fd < 0)
fp_out = NULL;