Mercurial > vim
comparison src/ex_cmds.c @ 7410:08e62c4fc17d v7.4.1009
commit https://github.com/vim/vim/commit/53076830fea6df737455523f7e235bfe4f79864d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 19:53:21 2015 +0100
patch 7.4.1009
Problem: There are still #ifdefs for ARCHIE.
Solution: Remove references to ARCHIE, the code was removed in Vim 5.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 20:00:05 +0100 |
parents | 1886f2863437 |
children | bc5de65e499a |
comparison
equal
deleted
inserted
replaced
7409:5a939c1fc4a9 | 7410:08e62c4fc17d |
---|---|
1568 char_u *otmp; /* NULL or name of output file */ | 1568 char_u *otmp; /* NULL or name of output file */ |
1569 { | 1569 { |
1570 char_u *buf; | 1570 char_u *buf; |
1571 long_u len; | 1571 long_u len; |
1572 | 1572 |
1573 #if defined(UNIX) && !defined(ARCHIE) | 1573 #if defined(UNIX) |
1574 int is_fish_shell; | 1574 int is_fish_shell; |
1575 char_u *shell_name = get_isolated_shell_name(); | 1575 char_u *shell_name = get_isolated_shell_name(); |
1576 | 1576 |
1577 /* Account for fish's different syntax for subshells */ | 1577 /* Account for fish's different syntax for subshells */ |
1578 is_fish_shell = (fnamecmp(shell_name, "fish") == 0); | 1578 is_fish_shell = (fnamecmp(shell_name, "fish") == 0); |
1588 len += (long_u)STRLEN(otmp) + (long_u)STRLEN(p_srr) + 2; /* " " */ | 1588 len += (long_u)STRLEN(otmp) + (long_u)STRLEN(p_srr) + 2; /* " " */ |
1589 buf = lalloc(len, TRUE); | 1589 buf = lalloc(len, TRUE); |
1590 if (buf == NULL) | 1590 if (buf == NULL) |
1591 return NULL; | 1591 return NULL; |
1592 | 1592 |
1593 #if defined(UNIX) && !defined(ARCHIE) | 1593 #if defined(UNIX) |
1594 /* | 1594 /* |
1595 * Put braces around the command (for concatenated commands) when | 1595 * Put braces around the command (for concatenated commands) when |
1596 * redirecting input and/or output. | 1596 * redirecting input and/or output. |
1597 */ | 1597 */ |
1598 if (itmp != NULL || otmp != NULL) | 1598 if (itmp != NULL || otmp != NULL) |