From: Hugo Villeneuve Date: Sat, 16 Aug 2014 04:40:32 +0000 (-0400) Subject: Add squirrelmail patch X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=664cb50695fd2bfb3a637fae5a9c6cfcf45a2cf7;p=hvlinux.git Add squirrelmail patch --- diff --git a/stage5/patches/common/squirrelmail-1.5.1-preg_split.patch b/stage5/patches/common/squirrelmail-1.5.1-preg_split.patch new file mode 100644 index 0000000..932e70d --- /dev/null +++ b/stage5/patches/common/squirrelmail-1.5.1-preg_split.patch @@ -0,0 +1,19 @@ +Submitted By: Hugo Villeneuve +Date: 2009-12-12 +Initial Package Version: squirrelmail-1.5.1 +Origin: n/a +Description: Fix warning: + + +diff -Naur squirrelmail.orig/functions/imap_messages.php squirrelmail.new/functions/imap_messages.php +--- squirrelmail.orig/functions/imap_messages.php 2006-02-12 13:21:50.000000000 -0500 ++++ squirrelmail.new/functions/imap_messages.php 2009-12-12 16:20:18.000000000 -0500 +@@ -923,7 +923,7 @@ + if ($read) { + if (preg_match('/.+FLAGS\s\((.*)\)\s/AUi',$read[0],$regs)) { + if (trim($regs[1])) { +- $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY'); ++ $flags = preg_split('/ /', $regs[1],-1,PREG_SPLIT_NO_EMPTY); + } + } + } else {