Fossil

Check-in [9d657c3be5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:formatting
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | allow-backslash-in-card-filename
Files: files | file ages | folders
SHA1: 9d657c3be50cc7770e26551a86591f409f1099cb
User & Date: jan.nijtmans 2013-01-15 10:25:40.967
Context
2013-01-26
16:27
merge trunk Closed-Leaf check-in: 013854ae76 user: jan.nijtmans tags: allow-backslash-in-card-filename
2013-01-15
10:25
formatting check-in: 9d657c3be5 user: jan.nijtmans tags: allow-backslash-in-card-filename
10:22
merge trunk check-in: 5e710f01b5 user: jan.nijtmans tags: allow-backslash-in-card-filename
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/file.c.
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
          if ( (c & 0xfe) == 0xee ){
            /* Range U+E000 - U+FFFF (Starting with 0xee or 0xef in UTF-8 ) */
            if ( !(c & 1) || ((z[i+1] & 0xff) < 0xa4) ){
              /* Unicode character in the range U+E000 - U+F8FF are for
               * private use, they shouldn't occur in filenames.  */
              return 0;
            }
          } else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
            /* Unicode character in the range U+D800 - U+DFFF are for
             * surrogate pairs, they shouldn't occur in filenames. */
            return 0;
          }
        }
      }else if( c=='\\' ){
        return 0;







|







515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
          if ( (c & 0xfe) == 0xee ){
            /* Range U+E000 - U+FFFF (Starting with 0xee or 0xef in UTF-8 ) */
            if ( !(c & 1) || ((z[i+1] & 0xff) < 0xa4) ){
              /* Unicode character in the range U+E000 - U+F8FF are for
               * private use, they shouldn't occur in filenames.  */
              return 0;
            }
          }else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
            /* Unicode character in the range U+D800 - U+DFFF are for
             * surrogate pairs, they shouldn't occur in filenames. */
            return 0;
          }
        }
      }else if( c=='\\' ){
        return 0;