diff packages/infra/current/src/diag.cxx @ 1463:b64897a76c8a

* src/diag.cxx (diag_check_string): Allow '\t' in format strings.
author asl
date Thu, 08 Jan 2004 12:27:38 +0000
parents 6af0ba865bf3
children b4a8ef318076
line wrap: on
line diff
--- 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 */