Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Always use lowercase drive-letter in /cygdrive paths |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
59c22194bce3a30bdf241e084b0e7605 |
| User & Date: | jan.nijtmans 2013-07-24 08:48:47.202 |
Context
|
2013-07-24
| ||
| 12:27 | Fix some test-cases, due to name-change "test-3-way-merge" -> "3-way-merge" check-in: 8b47f2d270 user: jan.nijtmans tags: trunk | |
| 11:26 | (NOT a good idea, as it starts using posix locking which cannot cooperate with other Windows programs!) Use os_unix.c, not os_win.c on Cygwin. () Closed-Leaf check-in: b88edfefbb user: jan.nijtmans tags: possible-cygwin-fix | |
| 08:48 | Always use lowercase drive-letter in /cygdrive paths check-in: 59c22194bc user: jan.nijtmans tags: trunk | |
| 08:14 | Fix operations by Cygwin fossil on a checkout done earlier by Win32 fossil. check-in: 340cee03ee user: jan.nijtmans tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
713 714 715 716 717 718 719 |
int rc;
const char *zVfs;
sqlite3 *db;
#if defined(__CYGWIN__)
if( (fossil_isalpha(zDbName[0]) && zDbName[1]==':'
&& (zDbName[2]=='\\' || zDbName[2]=='/')) ) {
| | > | 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 |
int rc;
const char *zVfs;
sqlite3 *db;
#if defined(__CYGWIN__)
if( (fossil_isalpha(zDbName[0]) && zDbName[1]==':'
&& (zDbName[2]=='\\' || zDbName[2]=='/')) ) {
zDbName = mprintf("/cygdrive/%c/%s",
fossil_tolower(zDbName[0]), zDbName+3);
}
#endif
if( g.fSqlTrace ) fossil_trace("-- sqlite3_open: [%s]\n", zDbName);
zVfs = fossil_getenv("FOSSIL_VFS");
rc = sqlite3_open_v2(
zDbName, &db,
SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,
|
| ︙ | ︙ | |||
1027 1028 1029 1030 1031 1032 1033 |
#endif
fossil_panic("not a valid repository: %s", zDbName);
}
}
#if defined(__CYGWIN__)
if( (fossil_isalpha(zDbName[0]) && zDbName[1]==':'
&& (zDbName[2]=='\\' || zDbName[2]=='/')) ) {
| | > | 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
#endif
fossil_panic("not a valid repository: %s", zDbName);
}
}
#if defined(__CYGWIN__)
if( (fossil_isalpha(zDbName[0]) && zDbName[1]==':'
&& (zDbName[2]=='\\' || zDbName[2]=='/')) ) {
g.zRepositoryName = mprintf("/cygdrive/%c/%s",
fossil_tolower(zDbName[0]), zDbName+3);
} else
#endif
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);
|
| ︙ | ︙ |