Check-in [9d23230322]
Not logged in
Overview

SHA1 Hash:9d232303226f58867cc515fa028cafec9a031464
Date: 2008-07-15 02:01:18
User: drh
Comment:Use the %/ substitution instead of %s when constructing windows pathnames.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/db.c from [c9e7ddf532] to [d924508e76].

@@ -571,11 +571,11 @@
   if( zHome==0 ){
     db_err("cannot local home directory");
   }
 #ifdef __MINGW32__
   /* . filenames give some window systems problems and many apps problems */
-  zDbName = mprintf("%s/_fossil", zHome);
+  zDbName = mprintf("%//_fossil", zHome);
 #else
   zDbName = mprintf("%s/.fossil", zHome);
 #endif
   if( g.configOpen ) return;
   if( file_size(zDbName)<1024*3 ){