# HG changeset patch # User asl # Date 1073564858 0 # Node ID b64897a76c8a8dce433dd7de1cb9669c6e5fddab # Parent be755fe5817ed50a978921a754f20b59e2256926 * src/diag.cxx (diag_check_string): Allow '\t' in format strings. diff --git a/packages/infra/current/ChangeLog b/packages/infra/current/ChangeLog --- a/packages/infra/current/ChangeLog +++ b/packages/infra/current/ChangeLog @@ -1,3 +1,7 @@ +2004-01-08 Jani Monoses + + * src/diag.cxx (diag_check_string): Allow '\t' in format strings. + 2004-01-05 Gary Thomas * tests/fc_test.c: diff --git a/packages/infra/current/src/diag.cxx b/packages/infra/current/src/diag.cxx --- a/packages/infra/current/src/diag.cxx +++ b/packages/infra/current/src/diag.cxx @@ -239,11 +239,11 @@ static cyg_bool diag_check_string( const if( s-str > 2048 ) result = false; - /* We only really support CR, NL, and backspace at present. If - * we want to use tabs or other special chars, this test will + /* We only really support CR, NL, tab and backspace at present. + * If we want to use other special chars, this test will * have to be expanded. */ - if( c == '\n' || c == '\r' || c == '\b' ) + if( c == '\n' || c == '\r' || c == '\b' || c == '\t' ) continue; /* Check for printable chars. This assumes ASCII */