Fossil

Check-in [9d232303]
Login

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

Overview
Comment:Use the %/ substitution instead of %s when constructing windows pathnames.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9d232303226f58867cc515fa028cafec9a031464
User & Date: drh 2008-07-15 02:01:18
Context
2008-07-15
13:46
Documentation updates. check-in: 8d8a41d1 user: drh tags: trunk
02:01
Use the %/ substitution instead of %s when constructing windows pathnames. check-in: 9d232303 user: drh tags: trunk
2008-07-13
12:08
Fix the timeline command so that it work with --repository and -R. check-in: c1e85e4d user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/db.c.

569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
  zHome = getenv("HOME");
#endif
  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);
#else
  zDbName = mprintf("%s/.fossil", zHome);
#endif
  if( g.configOpen ) return;
  if( file_size(zDbName)<1024*3 ){
    db_init_database(zDbName, zConfigSchema, (char*)0);
  }







|







569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
  zHome = getenv("HOME");
#endif
  if( zHome==0 ){
    db_err("cannot local home directory");
  }
#ifdef __MINGW32__
  /* . filenames give some window systems problems and many apps problems */
  zDbName = mprintf("%//_fossil", zHome);
#else
  zDbName = mprintf("%s/.fossil", zHome);
#endif
  if( g.configOpen ) return;
  if( file_size(zDbName)<1024*3 ){
    db_init_database(zDbName, zConfigSchema, (char*)0);
  }