X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fmodify.c;h=76049d8df437ddf8769b2eb5153042d14dc4b24a;hp=775312c6b92b714dcd58729fca4dc32e4dab0e4a;hb=d0e7f039e4ab206b9fd973c983e3fb841fcd2bf2;hpb=26fdf3f709adf52521e1cf962095987a3e0e2e00 diff --git a/src/modify.c b/src/modify.c index 775312c6..76049d8d 100644 --- a/src/modify.c +++ b/src/modify.c @@ -202,7 +202,7 @@ static int build_dentry_tree(struct dentry **root_ret, } else if (dentry_is_symlink(root)) { /* Archiving a symbolic link */ char deref_name_buf[4096]; ssize_t deref_name_len; - + deref_name_len = readlink(root_disk_path, deref_name_buf, sizeof(deref_name_buf) - 1); if (deref_name_len >= 0) { @@ -760,7 +760,7 @@ static int init_capture_config(const char *_config_str, size_t config_len, ret = WIMLIB_ERR_INVALID_CAPTURE_CONFIG; goto out_destroy; } - + next_p = eol + 1; bytes_remaining -= (next_p - p); if (eol == p)