X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=command.h;h=92c7fb459d550885af8e5bd8a601ac3fe0588ff7;hb=d166f048818e10cf3799aa24a174fb22835f1acc;hp=cbbb0284ff0ab395d3ca217638ed7d952edee42c;hpb=ccc6cda312fea9f0468ee65b8f368e9653e1380b;p=platform%2Fupstream%2Fbash.git diff --git a/command.h b/command.h index cbbb028..92c7fb4 100644 --- a/command.h +++ b/command.h @@ -37,6 +37,7 @@ enum r_instruction { #define AMBIGUOUS_REDIRECT -1 #define NOCLOBBER_REDIRECT -2 #define RESTRICTED_REDIRECT -3 /* can only happen in restricted shells. */ +#define HEREDOC_REDIRECT -4 /* here-doc temp file can't be created */ #define OUTPUT_REDIRECT(ri) \ (ri == r_output_direction || ri == r_input_output || ri == r_err_and_out) @@ -121,6 +122,8 @@ typedef struct element { #define CMD_NO_FORK 0x40 /* Don't fork; just call execve */ #define CMD_TIME_PIPELINE 0x80 /* Time a pipeline */ #define CMD_TIME_POSIX 0x100 /* time -p; use POSIX.2 time output spec. */ +#define CMD_AMPERSAND 0x200 /* command & */ +#define CMD_STDIN_REDIR 0x400 /* async command needs implicit