From: Eric Biggers Date: Wed, 11 Jun 2014 01:20:56 +0000 (-0500) Subject: unix_apply.c: Honor i_not_rpfixed X-Git-Tag: v1.7.0~45 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=9e3ef4570081d0d9113dde0c0a1760c64498c0e4 unix_apply.c: Honor i_not_rpfixed This was a regression from 1.6.2 --- diff --git a/src/unix_apply.c b/src/unix_apply.c index 4eeee2ca..077b49db 100644 --- a/src/unix_apply.c +++ b/src/unix_apply.c @@ -630,13 +630,17 @@ unix_end_extract_stream(struct wim_lookup_table_entry *stream, int status, /* We finally have the symlink data, so we can create * the symlink. */ const char *path; + bool rpfix; + + rpfix = (ctx->common.extract_flags & + WIMLIB_EXTRACT_FLAG_RPFIX) && + !inode->i_not_rpfixed; path = unix_build_inode_extraction_path(inode, ctx); ret = unix_create_symlink(inode, path, ctx->reparse_data, stream->size, - (ctx->common.extract_flags & - WIMLIB_EXTRACT_FLAG_RPFIX), + rpfix, ctx->target_abspath, ctx->target_abspath_nchars); if (ret) {