From 0c96a1b9637487a49bcbdf8dbd8577a71a69203c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 5 Dec 2000 10:34:23 +0000 Subject: Joel Smith: 13230: avoid name clashes with Linux kernel --- Src/text.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'Src/text.c') 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(">&- "); -- cgit 1.4.1