This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: cgi-bin/gnatsweb.pl


Wolfgang, while wading through GNATS PRs apparently lost a lot of hair
dealing with large programs pasted into the text boxes instead of being
attached, so I went ahead and installed the following:

  Add a note on our preference to have long test files as attachments,
  not inline.

Gerald

Index: gnatsweb.pl
===================================================================
RCS file: /cvs/gcc/wwwdocs/cgi-bin/gnatsweb.pl,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -p -r1.52 -r1.53
--- gnatsweb.pl	29 Mar 2002 18:32:06 -0000	1.52
+++ gnatsweb.pl	22 Nov 2002 21:16:33 -0000	1.53
@@ -586,6 +586,17 @@ sub sendpr
       my $rows = 4;
       $rows = 8 if /Description/;
       $rows = 2 if /Environment/;
+
+      #GCC-LOCAL begin.
+      if ($lc_fieldname eq "description")
+      {
+        printf "<tr>\n<td></td>\n<td>When you provide (preprocessed) sources, "
+               ."please only insert them into one of the text fields if it is "
+               ."very small, say below 50 lines. Else <em>please</em> attach "
+               ."it as a file (see below).";
+      }
+      #GCC-LOCAL end.
+
       print "<tr>\n<td valign=top><b>$_:</b></td>\n<td>",
             $intro,
             $q->textarea(-name=>$_,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]