Fossil

Check-in [45fc083bbf]
Login

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

Overview
Comment:file_mkdir() should use the converted filename, not the original.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 45fc083bbfd73a8f2ca36292232167cc732509071c1ae78f1757434b24495727
User & Date: drh 2020-09-07 14:01:37.723
Context
2020-09-07
14:08
The additional db_unprotect() work of check-in [b9fa7e28712c5981] was incomplete. Here is an attempt to finish the job. check-in: 50f61b7ad1 user: drh tags: trunk
14:01
file_mkdir() should use the converted filename, not the original. check-in: 45fc083bbf user: drh tags: trunk
2020-09-06
14:49
Fix the skin editor so when loading the "Current In Use" skin, it actually pulls in the currently in use skin, even if that skins is an alternative skin specified on the command-line or the built-in default skin. check-in: 5c90832d79 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/file.c.
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
  }
  if( rc!=1 ){
#if defined(_WIN32)
    wchar_t *zMbcs = fossil_utf8_to_path(zName, 1);
    rc = _wmkdir(zMbcs);
#else
    char *zMbcs = fossil_utf8_to_path(zName, 1);
    rc = mkdir(zName, 0755);
#endif
    fossil_path_free(zMbcs);
    return rc;
  }
  return 0;
}








|







770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
  }
  if( rc!=1 ){
#if defined(_WIN32)
    wchar_t *zMbcs = fossil_utf8_to_path(zName, 1);
    rc = _wmkdir(zMbcs);
#else
    char *zMbcs = fossil_utf8_to_path(zName, 1);
    rc = mkdir(zMbcs, 0755);
#endif
    fossil_path_free(zMbcs);
    return rc;
  }
  return 0;
}