--- - branch: MAIN date: Wed Nov 17 22:24:41 UTC 2010 files: - new: '1.21' old: '1.20' path: pkgsrc/converters/mpack/Makefile pathrev: pkgsrc/converters/mpack/Makefile@1.21 type: modified - new: '1.12' old: '1.11' path: pkgsrc/converters/mpack/distinfo pathrev: pkgsrc/converters/mpack/distinfo@1.12 type: modified - new: '1.1' old: '0' path: pkgsrc/converters/mpack/patches/patch-ag pathrev: pkgsrc/converters/mpack/patches/patch-ag@1.1 type: added id: 20101117T222441Z.2d768d07ac3ba5f93093e133cd8d2813a30b17ba log: | 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. module: pkgsrc subject: 'CVS commit: pkgsrc/converters/mpack' unixtime: '1290032681' user: is