From: Robert Lupton the Good <rhl@astro.Princeton.EDU>
To: help-gnats@gnu.org
Subject: Patch for gnatsweb.pl
Date: Mon, 16 Sep 2002 06:46:00 -0000 [thread overview]
Message-ID: <15749.56884.997475.603872@wire7.Princeton.EDU> (raw)
(This is my `patch.3a')
This patch prints a header if needed when debug=all statements (this
is sometimes needed)
R
*** gnatsweb.pl Wed Sep 11 14:06:11 2002
--- /u/dss/cgi-bin/gnatsweb-v4.pl Wed Sep 11 14:10:10 2002
***************
*** 357,363 ****
{
my($state, $text, $type);
my $raw_reply = <SOCK>;
! print "<tt>server_reply: $_</tt><br>\n" if defined($reply_debug);
if($raw_reply =~ /(\d+)([- ]?)(.*$)/)
{
$state = $1;
--- 357,367 ----
{
my($state, $text, $type);
my $raw_reply = <SOCK>;
! if(defined($reply_debug))
! {
! print_header();
! print "<tt>server_reply: $raw_reply</tt><br>\n";
! }
if($raw_reply =~ /(\d+)([- ]?)(.*$)/)
{
$state = $1;
***************
*** 389,395 ****
while(<SOCK>)
{
! print "<tt>read_server: $_</tt><br>\n" if defined($reply_debug);
if(/^\.\r/)
{
return @text;
--- 393,404 ----
while(<SOCK>)
{
! if(defined($reply_debug))
! {
! print_header();
! print "<tt>read_server: $_</tt><br>\n";
! }
!
if(/^\.\r/)
{
return @text;
***************
*** 703,710 ****
my $debug = 0;
print SOCK "$cmd\n";
warn "client_cmd: $cmd" if $debug;
! print "<br><tt>client_cmd: <pre>$cmd</pre></tt><br>\n"
! if defined($client_cmd_debug);
return get_reply();
}
--- 712,722 ----
my $debug = 0;
print SOCK "$cmd\n";
warn "client_cmd: $cmd" if $debug;
! if(defined($client_cmd_debug))
! {
! print_header();
! print "<br><tt>client_cmd: <pre>$cmd</pre></tt><br>\n";
! }
return get_reply();
}
_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats
next reply other threads:[~2002-09-16 13:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-16 6:46 Robert Lupton the Good [this message]
[not found] <20020915103254.22538.88942.Mailman@monty-python.gnu.org>
2002-09-16 6:56 ` Robert Lupton the Good
2002-09-16 7:24 ` patch " Robert Lupton the Good
2002-09-16 7:45 ` Robert Lupton the Good
-- strict thread matches above, loose matches on Subject: below --
2002-09-16 6:48 Patch " Robert Lupton the Good
2002-09-17 9:47 ` Yngve Svendsen
2002-09-23 12:22 ` Lars Henriksen
2002-09-25 11:18 ` Lars Henriksen
2002-09-25 11:43 ` Yngve Svendsen
2002-09-25 13:13 ` Lars Henriksen
2002-09-26 15:46 ` Robert Lupton the Good
2002-09-27 0:32 ` Robert Lupton the Good
2002-09-30 2:07 ` Lars Henriksen
2001-09-06 14:09 patch " David, Lysander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15749.56884.997475.603872@wire7.Princeton.EDU \
--to=rhl@astro.princeton.edu \
--cc=help-gnats@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).