On Tue, Jul 14, 2009 at 09:02:35AM -0700, Tim Kientzle wrote:
> Another data point:  I've started looking at the *at()
> functions for libarchive's deep directory handling.  The
> current code uses chdir() to manipulate files with very long
> pathnames, but that causes complications for libarchive
> clients that I'd like to eliminate.  Using *at() functions
> to manage a "virtual current directory" looks a lot more robust.

> Unfortunately, there are still a few operations that are
> unavailable with this paradigm:
>   * ACL functions
>   * extattr functions

Right. As with pathconf(), "at" variants with AT_SYMLINK_NOFOLLOW option
would be useful here.

>   * link()
>   * symlink()

linkat() and symlinkat() exist.

In addition to providing the "at" functionality, linkat() allows
creating hard links to symlinks.

-- 
Jilles Tjoelker
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to