Re: [fossil-users] Bugs in file_wd_isdir()

2017-03-21 Thread Reimer Behrends
Joe Mistachkin wrote: Perhaps changing the exec-rel-paths setting might impact this? Not sure without further research. The bug has nothing to do with exec-rel-paths. The --command option simply forces the creation of a temporary directory, which is what triggers the bug on macOS (due to th

Re: [fossil-users] Bugs in file_wd_isdir()

2017-03-21 Thread Joe Mistachkin
Perhaps changing the exec-rel-paths setting might impact this? Not sure without further research. Sent from my iPhone https://urn.to/r/mistachkin > On Mar 21, 2017, at 12:50 PM, Reimer Behrends wrote: > > Richard Hipp wrote: >> I wonder if you could provide a more concrete example of the pro

Re: [fossil-users] Bugs in file_wd_isdir()

2017-03-21 Thread Reimer Behrends
Richard Hipp wrote: I wonder if you could provide a more concrete example of the problem, perhaps in a the form of a "fossil test-file-environment" command that gives an incorrect answer? I'm afraid not. As I recall, the reason I ran into this originally was because "fossil diff --checkin ..."

Re: [fossil-users] Bugs in file_wd_isdir()

2017-03-21 Thread Richard Hipp
On 3/21/17, Reimer Behrends wrote: > The function file_wd_isdir() seems to have a number of bugs when used > with symbolic links. This manifests on macOS in particular (where /tmp > links to private/tmp – note that the link is relative), when temporary > directories are created, e.g. for "fossil d

[fossil-users] Bugs in file_wd_isdir()

2017-03-21 Thread Reimer Behrends
The function file_wd_isdir() seems to have a number of bugs when used with symbolic links. This manifests on macOS in particular (where /tmp links to private/tmp – note that the link is relative), when temporary directories are created, e.g. for "fossil diff --checkin ...". * Relative links ar