Closed kmdawson closed 3 years ago
If we can relatively easy support previously unsupported FreeBSD, then we should surely do it. I'll make proper enhancement entry later. I had a quick glance at your work and while I applaud your effort put in FreeBSD-port branch, it will need some further work and reorganization.
canonical_path_get()
, please simply replace canonicalize_file_name()
calls with proper realpath()
calls - removing non-portable GNUisms is always nice. Do it in separate commit, preferably in separate branch, e.g. impro/realpath-for-canonicalize
, followed by pull request from that branch. Your actual FreeBSD-port should be branched on top of this improvement.xattrs.{h,c}
with METASTORE_XATTRS_H as include guard define.#if
unreadability hell. Create xattrs-linux.c
and xattrs-freebsd.c
, and use preprocessor only once in xattrs.c
to conditionally include one or the other if proper preprocessor defines are present.When you rebake your FreeBSD-port branch (I would rename it to enhan/freebsd-support
), then please send me a pull request and we'll dwelve on it further in that PR and I'll close this issue then.
@przemoc: Just to let you know, I will be unable to work on this for at least 4 weeks.
@kmdawson Thanks for the info. If I'll be able to get to it earlier, then I'll work on FreeBSD support based on your patches, trying to remain your authorship were possible, of course. I don't aim to put it in for upcoming v1.1, though.
In investigation the generality of the currently suggested fix to fix to Issue #21, I discovered that it would be pretty straight-forward to port it to FreeBSD. That might be a nice enhancement.