Make ^ only act as a redirect at the beginning of a token
This commit is contained in:
ridiculousfish
2012-07-10 20:30:54 -07:00
parent 11dd904b6d
commit 4ee1cc3b37
4 changed files with 43 additions and 12 deletions

View File

@@ -104,6 +104,10 @@ static struct winsize termsize;
void show_stackframe()
{
/* Hack to avoid showing backtraces in the tester */
if (program_name && ! wcscmp(program_name, L"(ignore)"))
return;
void *trace[32];
char **messages = (char **)NULL;
int i, trace_size = 0;
@@ -668,6 +672,9 @@ ssize_t read_loop(int fd, void *buff, size_t count)
void debug( int level, const wchar_t *msg, ... )
{
/* Hack to not print error messages in the tests */
if ( program_name && ! wcscmp(program_name, L"(ignore)") )
return;
va_list va;
wcstring sb;