Improve mu_unroll_symlink interface.
* include/mailutils/util.h (mu_readlink): New function. (mu_unroll_symlink): Change prototype. * libmailutils/base/symlink.c (mu_qualify_link): Remove. (mu_readlink): New function. (mu_unroll_symlink): Rewrite. Don't use statically allocated buffers. * libmailutils/base/locker.c (mu_locker_create): Update calls to mu_unroll_symlink.
Showing
3 changed files
with
105 additions
and
49 deletions
-
Please register or sign in to post a comment