pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/p5-File-MMagic/patches Add patch-aa I've forgot t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/515c9e624626
branches:  trunk
changeset: 474443:515c9e624626
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Apr 29 17:20:44 2004 +0000

description:
Add patch-aa I've forgot to commit.

diffstat:

 misc/p5-File-MMagic/patches/patch-aa |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 7f95cde2fe04 -r 515c9e624626 misc/p5-File-MMagic/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/p5-File-MMagic/patches/patch-aa      Thu Apr 29 17:20:44 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/04/29 17:20:44 taca Exp $
+
+--- MMagic.pm.orig     2004-03-15 17:23:04.000000000 +0900
++++ MMagic.pm
+@@ -985,6 +985,8 @@ sub magicMatchStr {
+     else {
+       #numeric
+ 
++      return if (length($str) < 4);
++
+       # read up to 4 bytes
+       $data = substr($str, 0, 4);
+ 



Home | Main Index | Thread Index | Old Index