Fossil

Check-in [5eac33a6]
Login

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

Overview
Comment:Bug fix in the local database finder.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:5eac33a6bdc277989fd5c572b4d34f2184c8e063
User & Date: drh 2007-07-30 13:01:08
Context
2007-07-30
13:34
When errors occur during CGI, make sure the error is returned in a correct CGI reply. check-in: 396cc2a4 user: drh tags: trunk
13:01
Bug fix in the local database finder. check-in: 5eac33a6 user: drh tags: trunk
2007-07-24
18:15
File format document change: UUIDs use lowercase not uppercase hex. check-in: 01e7596a user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/db.c.

537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
      break;
    }
    n--;
    while( n>0 && zPwd[n]!='/' ){ n--; }
    while( n>0 && zPwd[n-1]=='/' ){ n--; }
    zPwd[n] = 0;
  }
  return 1;
}

/*
** Open the repository database given by zDbName.  If zDbName==NULL then
** get the name from the already open local database.
*/
void db_open_repository(const char *zDbName){







|







537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
      break;
    }
    n--;
    while( n>0 && zPwd[n]!='/' ){ n--; }
    while( n>0 && zPwd[n-1]=='/' ){ n--; }
    zPwd[n] = 0;
  }
  return n>0;
}

/*
** Open the repository database given by zDbName.  If zDbName==NULL then
** get the name from the already open local database.
*/
void db_open_repository(const char *zDbName){