aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/rc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/rc.h')
-rw-r--r--sys/cmd/rc/rc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/cmd/rc/rc.h b/sys/cmd/rc/rc.h
index d3fc7bf..13444e6 100644
--- a/sys/cmd/rc/rc.h
+++ b/sys/cmd/rc/rc.h
@@ -29,7 +29,7 @@ enum
Rwrite,
Rread,
Rhere,
- Rdup,
+ Rdupfd,
Ropen,
Rclose,
Rrdwr
@@ -39,7 +39,10 @@ struct Tree
{
int type;
union{
- char *str; // Tword
+ struct {
+ ushort quoted;
+ char *str; // Tword
+ };
struct {
ushort type; // Tpipe, Tredir, Tdup
int fd[2];