diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-12-05 10:34:23 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-12-05 10:34:23 +0000 |
commit | 0c96a1b9637487a49bcbdf8dbd8577a71a69203c (patch) | |
tree | e082c3425c0c9b50e2fee1e9a4146fa61f875cc9 /Src/text.c | |
parent | c1a4af81c6d00bdb1ef8342388e760ccd0aa1dd8 (diff) | |
download | zsh-0c96a1b9637487a49bcbdf8dbd8577a71a69203c.tar.gz zsh-0c96a1b9637487a49bcbdf8dbd8577a71a69203c.tar.xz zsh-0c96a1b9637487a49bcbdf8dbd8577a71a69203c.zip |
Joel Smith: 13230: avoid name clashes with Linux kernel
Diffstat (limited to 'Src/text.c')
-rw-r--r-- | Src/text.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Src/text.c b/Src/text.c index 56454c16a..27d16d378 100644 --- a/Src/text.c +++ b/Src/text.c @@ -731,26 +731,26 @@ getredirs(LinkList redirs) Redir f = (Redir) getdata(n); switch (f->type) { - case WRITE: - case WRITENOW: - case APP: - case APPNOW: - case ERRWRITE: - case ERRWRITENOW: - case ERRAPP: - case ERRAPPNOW: - case READ: - case READWRITE: - case HERESTR: - case MERGEIN: - case MERGEOUT: - case INPIPE: - case OUTPIPE: + case REDIR_WRITE: + case REDIR_WRITENOW: + case REDIR_APP: + case REDIR_APPNOW: + case REDIR_ERRWRITE: + case REDIR_ERRWRITENOW: + case REDIR_ERRAPP: + case REDIR_ERRAPPNOW: + case REDIR_READ: + case REDIR_READWRITE: + case REDIR_HERESTR: + case REDIR_MERGEIN: + case REDIR_MERGEOUT: + case REDIR_INPIPE: + case REDIR_OUTPIPE: if (f->fd1 != (IS_READFD(f->type) ? 0 : 1)) taddchr('0' + f->fd1); taddstr(fstr[f->type]); taddchr(' '); - if (f->type == HERESTR) { + if (f->type == REDIR_HERESTR) { taddchr('\''); taddstr(bslashquote(f->name, NULL, 1)); taddchr('\''); @@ -759,7 +759,7 @@ getredirs(LinkList redirs) taddchr(' '); break; #ifdef DEBUG - case CLOSE: + case REDIR_CLOSE: DPUTS(1, "BUG: CLOSE in getredirs()"); taddchr(f->fd1 + '0'); taddstr(">&- "); |