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
102 additions
and
46 deletions
-
Please register or sign in to post a comment