Differences From Artifact [8d97c53e91]:
- File src/file.c — part of check-in [106de276ee] at 2024-11-23 21:27:00 on branch trunk — Improvements to the logic in the "fossil all" command that removes redundant entries for repositories in the global_config table. If two or more entries share the same inode, only use the first one. On Windows (which lacks inodes) determine uniqueness by the full, canonical pathname. (user: drh size: 88102)
To Artifact [987343baa2]:
- File src/file.c — part of check-in [38930fbabe] at 2024-11-26 05:17:00 on branch trunk — Fix a crash if the test-file-environment command is called from outside a check-out (introduced with [106de276ee]). (user: florian size: 88151)
| ︙ | |||
1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 | 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 | + |
filenames_are_case_sensitive());
if( zAllow ){
g.allowSymlinks = !is_false(zAllow);
}
if( zRoot==0 ) zRoot = g.zLocalRoot==0 ? "" : g.zLocalRoot;
fossil_print("db_allow_symlinks() = %d\n", db_allow_symlinks());
fossil_print("local-root = [%s]\n", zRoot);
if( g.db==0 ) sqlite3_open(":memory:", &g.db);
sqlite3_create_function(g.db, "inode", 1, SQLITE_UTF8, 0,
file_inode_sql_func, 0, 0);
for(i=2; i<g.argc; i++){
char *z;
emitFileStat(g.argv[i], slashFlag, resetFlag);
z = file_canonical_name_dup(g.argv[i]);
fossil_print(" file_canonical_name = %s\n", z);
|
| ︙ |