Differences From Artifact [1d7cecfa32]:
- File src/db.c — part of check-in [397fa9bf78] at 2009-11-06 03:10:32 on branch trunk — After any kind of database error, include in the error message a warning to the user that it might be wise to run "fossil all rebuild". (user: drh size: 42882)
To Artifact [39a38ca81b]:
- File src/db.c — part of check-in [d5695157d0] at 2009-11-11 16:21:19 on branch trunk — Deal with windows filename aliasing in the "all" command. Ticket [974618fe5a8]. Also display the home directory for windows users with the "info" command since the home directory is non-obvious in windows. (user: drh size: 42916)
| ︙ | |||
699 700 701 702 703 704 705 706 707 708 709 710 711 712 | 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 | + |
#else
zHome = getenv("HOME");
if( zHome==0 ){
db_err("cannot locate home directory - "
"please set the HOME environment variable");
}
#endif
g.zHome = mprintf("%/", zHome);
#ifdef __MINGW32__
/* . filenames give some window systems problems and many apps problems */
zDbName = mprintf("%//_fossil", zHome);
#else
zDbName = mprintf("%s/.fossil", zHome);
#endif
if( file_size(zDbName)<1024*3 ){
|
| ︙ |