Subject: CVS commit: pkgsrc/archivers/cabextract/patches
To: None <pkgsrc-changes@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: pkgsrc-changes
Date: 05/10/2002 13:01:11
Module Name: pkgsrc
Committed By: itohy
Date: Fri May 10 10:01:10 UTC 2002
Added Files:
pkgsrc/archivers/cabextract/patches: patch-aa
Log Message:
Fixes:
- Do not compute a pointer outside of an array.
The original code did this and if the executable is mapped at the
low address in virtual space, the "runsrc" value becomes ``negative''
address and caused crash.
Package maintainers should use a.out to detect this sort of botches. :D
- Fix usage of mktime(3).
- Fix usage of tolower(3).
Changes:
- Honor umask for file mode.
- Add a hack to handle self-extracting cabinet (*.exe).
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pkgsrc/archivers/cabextract/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.