Differences From Artifact [36455e07c6]:
- File src/file.c — part of check-in [a7e747e58f] at 2011-08-27 18:25:37 on branch symlinks — Changes to fossil_stat() so that the build works for mingw. (user: drh size: 24322) [more...]
To Artifact [df52ea2abe]:
- File
src/file.c
— part of check-in
[7ad4dfbe8b]
at
2011-09-04 20:41:44
on branch annotate_noleak
— What I did to get the 'annotate' command not leak.
Notice that I disabled again the check for blob_is_reset, as in trunk. (user: viriketo size: 24335)
| ︙ | ︙ | |||
704 705 706 707 708 709 710 |
** message and quit if the errFatal flag is true. If errFatal is
** false, then simply return 0.
**
** The root of the tree is defined by the g.zLocalRoot variable.
*/
int file_tree_name(const char *zOrigName, Blob *pOut, int errFatal){
int n;
| | | 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 |
** message and quit if the errFatal flag is true. If errFatal is
** false, then simply return 0.
**
** The root of the tree is defined by the g.zLocalRoot variable.
*/
int file_tree_name(const char *zOrigName, Blob *pOut, int errFatal){
int n;
Blob full = empty_blob;
int nFull;
char *zFull;
blob_zero(pOut);
db_must_be_within_tree();
file_canonical_name(zOrigName, &full);
n = strlen(g.zLocalRoot);
|
| ︙ | ︙ |