summaryrefslogtreecommitdiff
path: root/devel/devhelp/PLIST
diff options
context:
space:
mode:
authoris <is>2010-11-17 22:24:40 +0000
committeris <is>2010-11-17 22:24:40 +0000
commitf34d1cd25aaa74a82a1f4ef11f3dcef0d01963ff (patch)
tree9ac533ceeeb003445b07d2601f63b3806ade3d69 /devel/devhelp/PLIST
parent4bd2439f75c5096ab31f0cb06696011b2f8b4a33 (diff)
downloadpkgsrc-f34d1cd25aaa74a82a1f4ef11f3dcef0d01963ff.tar.gz
Fix decoding of message/partial. Explanation:
mpack-1.6 introduced more security on Unix-like systems by creating and using a helper function, os_createnewfile, that uses O_CREAT|O_EXCL. Unfortunately, it also uses it to write the total number of parts temporary file, which fails if more than one part contains the total number (as mpack creates them!) The new code compares old and new totals, if both exist, and only writes the new total, if the old didn't exist. Problem solved and one sanity check more at the same time.
Diffstat (limited to 'devel/devhelp/PLIST')
0 files changed, 0 insertions, 0 deletions