12 Jun
2008
12 Jun
'08
8:47 a.m.
Can anyone explain why we need readlink at all?
Otherwise, it is used in repo-remove too but repo-add and repo-remove should be combined.
Ooops! I forgot this. Should I still submit the full patch?
Not before the above question is answered : what do we need readlink for?
In repo-add/repo-remove, readlink is used to calculate the full path of a file (canonicalize with option -f). But in BSD there's no such option in readlink, so you have to use realpath instead