Fossil

Check-in [e35dbea1]
Login

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

Overview
Comment:Since file_simplify_name() already was modified to handle the extended path prefix correctly [95f004b1c535c545], this special Cygwin handling is no longer necessary.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e35dbea1e33c93ba4d1d3646583e1945687a1775
User & Date: jan.nijtmans 2014-03-18 15:59:29
Context
2014-03-19
12:33
Workaround for failing mmap on Cygwin, actually an SQLite problem reported here: http://osdir.com/ml/sqlite-users/2014-03/msg00341.html. Not fixed yet on SQLite trunk (3th segment of suggested patch is not applied yet). check-in: d35d0753 user: jan.nijtmans tags: trunk
2014-03-18
15:59
Since file_simplify_name() already was modified to handle the extended path prefix correctly [95f004b1c535c545], this special Cygwin handling is no longer necessary. check-in: e35dbea1 user: jan.nijtmans tags: trunk
14:52
remove unused variable check-in: dfca1237 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/db.c.

1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
    }else{
#ifdef FOSSIL_ENABLE_JSON
      g.json.resultCode = FSL_JSON_E_DB_NOT_VALID;
#endif
      fossil_panic("not a valid repository: %s", zDbName);
    }
  }
#if defined(__CYGWIN__)
  g.zRepositoryName = fossil_utf8_to_filename(zDbName);
#else
  g.zRepositoryName = mprintf("%s", zDbName);
#endif
  db_open_or_attach(g.zRepositoryName, "repository", 0);
  g.repositoryOpen = 1;
  /* Cache "allow-symlinks" option, because we'll need it on every stat call */
  g.allowSymlinks = db_get_boolean("allow-symlinks", 0);
}

/*







<
<
<

<







1020
1021
1022
1023
1024
1025
1026



1027

1028
1029
1030
1031
1032
1033
1034
    }else{
#ifdef FOSSIL_ENABLE_JSON
      g.json.resultCode = FSL_JSON_E_DB_NOT_VALID;
#endif
      fossil_panic("not a valid repository: %s", zDbName);
    }
  }



  g.zRepositoryName = mprintf("%s", zDbName);

  db_open_or_attach(g.zRepositoryName, "repository", 0);
  g.repositoryOpen = 1;
  /* Cache "allow-symlinks" option, because we'll need it on every stat call */
  g.allowSymlinks = db_get_boolean("allow-symlinks", 0);
}

/*