You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2001/09/02 07:10:41 UTC

cvs commit: apr/file_io/win32 filesys.c

bjh         01/09/01 22:10:41

  Modified:    file_io/os2 filesys.c
               file_io/win32 filesys.c
  Log:
  A couple of fixes for the c_is_fnchar map
  - " was off by 1
  - / should be 0
  
  Revision  Changes    Path
  1.2       +4 -4      apr/file_io/os2/filesys.c
  
  Index: filesys.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/os2/filesys.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- filesys.c	2001/09/01 05:06:26	1.1
  +++ filesys.c	2001/09/02 05:10:41	1.2
  @@ -72,13 +72,13 @@
   const char c_is_fnchar[256] =
   {/* Reject all ctrl codes...                                         */
       0,0,0,0,0,0,0,0,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,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,
  + /*     "               *         /                      :   <   > ? */
  +    1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0, 1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,
    /*                                                          \       */
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,
  - /*                                                      :   |       */
  + /*                                                          |       */
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,
  - /* High bit codes are accepted (subject to utf-8->Unicode xlation)  */
  + /* High bit codes are accepted                                      */
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
  
  
  
  1.2       +3 -3      apr/file_io/win32/filesys.c
  
  Index: filesys.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/filesys.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- filesys.c	2001/08/28 21:45:04	1.1
  +++ filesys.c	2001/09/02 05:10:41	1.2
  @@ -79,11 +79,11 @@
   const char c_is_fnchar[256] =
   {/* Reject all ctrl codes...                                         */
       0,0,0,0,0,0,0,0,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,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,
  + /*     "               *         /                      :   <   > ? */
  +    1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0, 1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,
    /*                                                          \       */
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,
  - /*                                                      :   |       */
  + /*                                                          |       */
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,
    /* High bit codes are accepted (subject to utf-8->Unicode xlation)  */
       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,