Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Take care that the root directory name does not have extra "/" characters. Ticket [9c378ed139]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
1d280a85aab918292429ab053191aea8 |
| User & Date: | drh 2008-10-31 13:33:36.000 |
References
|
2008-10-31
| ||
| 13:35 | • Fixed ticket [9c378ed139]: Issue with repository in root folder (Win32) plus 3 other changes artifact: 17ae4488b1 user: drh | |
Context
|
2008-10-31
| ||
| 13:36 | Change a couple of instances of "file" to the more correct "artifact". Make it clear that the build time is expressed in UTC. check-in: d5cd3251fa user: drh tags: trunk | |
| 13:33 | Take care that the root directory name does not have extra "/" characters. Ticket [9c378ed139]. check-in: 1d280a85aa user: drh tags: trunk | |
|
2008-10-27
| ||
| 15:34 | Fix the web-browser user setting so that it actually works. check-in: 3f5ef308fe user: drh tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
while( n>0 ){
if( access(zPwd, W_OK) ) break;
for(i=0; i<sizeof(aDbName)/sizeof(aDbName[0]); i++){
strcpy(&zPwd[n], aDbName[i]);
if( isValidLocalDb(zPwd) ){
/* Found a valid checkout database file */
zPwd[n] = 0;
g.zLocalRoot = mprintf("%s/", zPwd);
return 1;
}
}
n--;
while( n>0 && zPwd[n]!='/' ){ n--; }
while( n>0 && zPwd[n-1]=='/' ){ n--; }
| > > > > | 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 |
while( n>0 ){
if( access(zPwd, W_OK) ) break;
for(i=0; i<sizeof(aDbName)/sizeof(aDbName[0]); i++){
strcpy(&zPwd[n], aDbName[i]);
if( isValidLocalDb(zPwd) ){
/* Found a valid checkout database file */
zPwd[n] = 0;
while( n>1 && zPwd[n-1]=='/' ){
n--;
zPwd[n] = 0;
}
g.zLocalRoot = mprintf("%s/", zPwd);
return 1;
}
}
n--;
while( n>0 && zPwd[n]!='/' ){ n--; }
while( n>0 && zPwd[n-1]=='/' ){ n--; }
|
| ︙ | ︙ |