You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by ru...@apache.org on 2001/08/16 14:40:34 UTC
cvs commit: jakarta-alexandria/proposal/gump nag.pl
rubys 01/08/16 05:40:34
Modified: proposal/gump nag.pl
Log:
Avoid exceeding Apache's ezmlm's limit in nag e-mails.
Revision Changes Path
1.5 +6 -1 jakarta-alexandria/proposal/gump/nag.pl
Index: nag.pl
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/nag.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nag.pl 2001/02/18 02:05:39 1.4
+++ nag.pl 2001/08/16 12:40:33 1.5
@@ -69,7 +69,12 @@
print EMAIL "----------------------------------------------------\n\n";
if ($pageData) {
- print EMAIL "$pageData";
+ if (length($pageData)<50000) { # Apache's ezmlm limit is 100000
+ print EMAIL "$pageData";
+ } else {
+ print EMAIL "Build results exceed maximum length.";
+ print EMAIL "Please see URL above for details.";
+ }
} else {
print EMAIL "Build results missing. Please see URL above for details.";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org