You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mc...@apache.org on 2004/09/16 07:36:32 UTC

cvs commit: apache-1.3/src/os/tpf/samples uri_delims.txt test_char.txt

mccreedy    2004/09/15 22:36:32

  Modified:    src/os/tpf/samples uri_delims.txt test_char.txt
  Log:
  Change two newly added TPF samples from DOS to UNIX line ends.
  
  Revision  Changes    Path
  1.2       +16 -16    apache-1.3/src/os/tpf/samples/uri_delims.txt
  
  Index: uri_delims.txt
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/tpf/samples/uri_delims.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- uri_delims.txt	15 Sep 2004 23:45:18 -0000	1.1
  +++ uri_delims.txt	16 Sep 2004 05:36:32 -0000	1.2
  @@ -1,16 +1,16 @@
  -/* this file is automatically generated by gen_uri_delims, do not edit */
  -static const unsigned char uri_delims[256] = {
  -    T_NUL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,T_SLASH,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,T_QUESTION,0,0,0,0,0,0,0,0,
  -    0,0,T_COLON,T_HASH,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  -    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 
  -};
  +/* this file is automatically generated by gen_uri_delims, do not edit */
  +static const unsigned char uri_delims[256] = {
  +    T_NUL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,T_SLASH,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,T_QUESTION,0,0,0,0,0,0,0,0,
  +    0,0,T_COLON,T_HASH,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  +    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 
  +};
  
  
  
  1.2       +43 -43    apache-1.3/src/os/tpf/samples/test_char.txt
  
  Index: test_char.txt
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/tpf/samples/test_char.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- test_char.txt	15 Sep 2004 23:45:18 -0000	1.1
  +++ test_char.txt	16 Sep 2004 05:36:32 -0000	1.2
  @@ -1,43 +1,43 @@
  -/* this file is automatically generated by gen_test_char, do not edit */
  -#define T_ESCAPE_SHELL_CMD	0x01 /* chars with special meaning in the shell */
  -#define T_ESCAPE_PATH_SEGMENT	0x02 /* find path segment, as defined in RFC1808 */
  -#define T_OS_ESCAPE_PATH	0x04 /* escape characters in a path or uri */
  -#define T_HTTP_TOKEN_STOP	0x08 /* find http tokens, as defined in RFC2616 */
  -#define T_ESCAPE_LOGITEM	0x10 /* filter what should go in the log file */
  -#define T_ESCAPE_FORENSIC	0x20 /* filter what should go in the forensic log */
  -
  -static const unsigned char test_char_table[256] = {
  -    0x20, 0x3e, 0x3e, 0x3e, 0x36, 0x3e, 0x36, 0x3e,  /*0x00...0x07*/
  -    0x36, 0x36, 0x36, 0x3e, 0x3e, 0x3e, 0x3e, 0x3e,  /*0x08...0x0f*/
  -    0x3e, 0x3e, 0x3e, 0x3e, 0x36, 0x3f, 0x3e, 0x36,  /*0x10...0x17*/
  -    0x3e, 0x3e, 0x36, 0x36, 0x3e, 0x3e, 0x3e, 0x3e,  /*0x18...0x1f*/
  -    0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x3e, 0x3e,  /*0x20...0x27*/
  -    0x36, 0x36, 0x36, 0x36, 0x36, 0x3e, 0x3e, 0x3e,  /*0x28...0x2f*/
  -    0x36, 0x36, 0x3e, 0x36, 0x36, 0x36, 0x36, 0x3e,  /*0x30...0x37*/
  -    0x36, 0x36, 0x36, 0x36, 0x3e, 0x3e, 0x36, 0x3e,  /*0x38...0x3f*/
  -    0x0e, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x40...0x47*/
  -    0x36, 0x36, 0x36, 0x00, 0x0f, 0x09, 0x00, 0x27,  /*0x48...0x4f*/
  -    0x01, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x50...0x57*/
  -    0x36, 0x36, 0x00, 0x01, 0x01, 0x09, 0x0f, 0x07,  /*0x58...0x5f*/
  -    0x00, 0x0a, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x60...0x67*/
  -    0x36, 0x36, 0x36, 0x08, 0x26, 0x00, 0x0f, 0x0f,  /*0x68...0x6f*/
  -    0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x70...0x77*/
  -    0x36, 0x07, 0x28, 0x06, 0x08, 0x01, 0x08, 0x17,  /*0x78...0x7f*/
  -    0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0x80...0x87*/
  -    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x88...0x8f*/
  -    0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0x90...0x97*/
  -    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x98...0x9f*/
  -    0x36, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xa0...0xa7*/
  -    0x00, 0x00, 0x36, 0x36, 0x36, 0x0f, 0x36, 0x36,  /*0xa8...0xaf*/
  -    0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xb0...0xb7*/
  -    0x36, 0x36, 0x36, 0x36, 0x36, 0x0f, 0x36, 0x36,  /*0xb8...0xbf*/
  -    0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xc0...0xc7*/
  -    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xc8...0xcf*/
  -    0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xd0...0xd7*/
  -    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xd8...0xdf*/
  -    0x1f, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xe0...0xe7*/
  -    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xe8...0xef*/
  -    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xf0...0xf7*/
  -    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36   /*0xf8...0xff*/
  -    
  -};
  +/* this file is automatically generated by gen_test_char, do not edit */
  +#define T_ESCAPE_SHELL_CMD	0x01 /* chars with special meaning in the shell */
  +#define T_ESCAPE_PATH_SEGMENT	0x02 /* find path segment, as defined in RFC1808 */
  +#define T_OS_ESCAPE_PATH	0x04 /* escape characters in a path or uri */
  +#define T_HTTP_TOKEN_STOP	0x08 /* find http tokens, as defined in RFC2616 */
  +#define T_ESCAPE_LOGITEM	0x10 /* filter what should go in the log file */
  +#define T_ESCAPE_FORENSIC	0x20 /* filter what should go in the forensic log */
  +
  +static const unsigned char test_char_table[256] = {
  +    0x20, 0x3e, 0x3e, 0x3e, 0x36, 0x3e, 0x36, 0x3e,  /*0x00...0x07*/
  +    0x36, 0x36, 0x36, 0x3e, 0x3e, 0x3e, 0x3e, 0x3e,  /*0x08...0x0f*/
  +    0x3e, 0x3e, 0x3e, 0x3e, 0x36, 0x3f, 0x3e, 0x36,  /*0x10...0x17*/
  +    0x3e, 0x3e, 0x36, 0x36, 0x3e, 0x3e, 0x3e, 0x3e,  /*0x18...0x1f*/
  +    0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x3e, 0x3e,  /*0x20...0x27*/
  +    0x36, 0x36, 0x36, 0x36, 0x36, 0x3e, 0x3e, 0x3e,  /*0x28...0x2f*/
  +    0x36, 0x36, 0x3e, 0x36, 0x36, 0x36, 0x36, 0x3e,  /*0x30...0x37*/
  +    0x36, 0x36, 0x36, 0x36, 0x3e, 0x3e, 0x36, 0x3e,  /*0x38...0x3f*/
  +    0x0e, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x40...0x47*/
  +    0x36, 0x36, 0x36, 0x00, 0x0f, 0x09, 0x00, 0x27,  /*0x48...0x4f*/
  +    0x01, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x50...0x57*/
  +    0x36, 0x36, 0x00, 0x01, 0x01, 0x09, 0x0f, 0x07,  /*0x58...0x5f*/
  +    0x00, 0x0a, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x60...0x67*/
  +    0x36, 0x36, 0x36, 0x08, 0x26, 0x00, 0x0f, 0x0f,  /*0x68...0x6f*/
  +    0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x70...0x77*/
  +    0x36, 0x07, 0x28, 0x06, 0x08, 0x01, 0x08, 0x17,  /*0x78...0x7f*/
  +    0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0x80...0x87*/
  +    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x88...0x8f*/
  +    0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0x90...0x97*/
  +    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0x98...0x9f*/
  +    0x36, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xa0...0xa7*/
  +    0x00, 0x00, 0x36, 0x36, 0x36, 0x0f, 0x36, 0x36,  /*0xa8...0xaf*/
  +    0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xb0...0xb7*/
  +    0x36, 0x36, 0x36, 0x36, 0x36, 0x0f, 0x36, 0x36,  /*0xb8...0xbf*/
  +    0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xc0...0xc7*/
  +    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xc8...0xcf*/
  +    0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xd0...0xd7*/
  +    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xd8...0xdf*/
  +    0x1f, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xe0...0xe7*/
  +    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,  /*0xe8...0xef*/
  +    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*0xf0...0xf7*/
  +    0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36   /*0xf8...0xff*/
  +    
  +};