clearlinux / swupd-server

Software update server (deprecated)
Other
13 stars 17 forks source link

delta.c: fix xattr test after patching #37

Closed pohly closed 7 years ago

pohly commented 7 years ago

At the moment, swupd_create_pack fails when some files have xattrs and get patched because the xattrs of the test file do not match the original, unpatched file.

That's because xattrs_copy() was applied to the wrong target file.

Fixes: swupd-server/#35

phmccarty commented 7 years ago

Good catch! +1 from me.