aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorChris Watkins <chris.watkins88@gmail.com>2014-04-22 22:49:52 -0700
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-28 07:43:57 -0300
commit9da32a1f78fe075663466ac1349cb1495420591f (patch)
tree2b41897e8d906d1061b84ecf3dbe6b35926ec55c /src/ex_cmds.c
parent4e1b364a3e255742522d4d76c5ccddd7a36c1769 (diff)
downloadrneovim-9da32a1f78fe075663466ac1349cb1495420591f.tar.gz
rneovim-9da32a1f78fe075663466ac1349cb1495420591f.tar.bz2
rneovim-9da32a1f78fe075663466ac1349cb1495420591f.zip
Remove code and checks for unsupported systems.
Remove remnants of support for systems including __EMX__, MSDOS, OS2, AMIGA and MORPHOS.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index b4cbd87d8f..9aab97b7cc 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1349,7 +1349,7 @@ make_filter_cmd (
if (buf == NULL)
return NULL;
-#if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
+#if defined(UNIX)
/*
* Put braces around the command (for concatenated commands) when
* redirecting input and/or output.
@@ -1515,7 +1515,7 @@ void write_viminfo(char_u *file, int forceit)
char_u *tempname = NULL; /* name of temp viminfo file */
struct stat st_new; /* mch_stat() of potential new file */
char_u *wp;
-#if defined(UNIX) || defined(VMS)
+#if defined(UNIX)
mode_t umask_save;
#endif
#ifdef UNIX
@@ -1535,7 +1535,7 @@ void write_viminfo(char_u *file, int forceit)
/* if it does exist, but we can't read it, don't try writing */
if (mch_stat((char *)fname, &st_new) == 0)
goto end;
-#if defined(UNIX) || defined(VMS)
+#if defined(UNIX)
/*
* For Unix we create the .viminfo non-accessible for others,
* because it may contain text from non-accessible documents.
@@ -1543,7 +1543,7 @@ void write_viminfo(char_u *file, int forceit)
umask_save = umask(077);
#endif
fp_out = mch_fopen((char *)fname, WRITEBIN);
-#if defined(UNIX) || defined(VMS)
+#if defined(UNIX)
(void)umask(umask_save);
#endif
} else {