From owner-freebsd-bugs Mon Aug 14 11:33:30 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id LAA11540 for bugs-outgoing; Mon, 14 Aug 1995 11:33:30 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id LAA11518 for ; Mon, 14 Aug 1995 11:33:21 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA18081; Mon, 14 Aug 1995 20:33:04 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id UAA18493; Mon, 14 Aug 1995 20:33:04 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id TAA13546; Mon, 14 Aug 1995 19:50:21 +0200 From: J Wunsch Message-Id: <199508141750.TAA13546@uriah.heep.sax.de> Subject: Re: List of open Problem Reports To: paul@FreeBSD.org Date: Mon, 14 Aug 1995 19:50:21 +0200 (MET DST) Cc: peter@haywire.DIALix.COM, bugs@freefall.FreeBSD.org In-Reply-To: <199508141112.MAA00702@server.netcraft.co.uk> from "Paul Richards" at Aug 14, 95 12:12:18 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1127 Sender: bugs-owner@FreeBSD.org Precedence: bulk As Paul Richards wrote: > > > >[PDT/08/01] kern/647 Sound cards fail to work > > ^^^ > > > > Looks like the new (gnew? :-) GNATS is picking the wrong field out of > > a `date` somewhere.. > > > > Hmm, yes, this is one my list of gnats problems. I don't think this > is serious enough at the moment drop back from the beta code but if > people think so I will. I'll manually change these to 1995 when I get the > chance. Hmm, GNATS appears to emit a timezone now... Apply the following patch to send-bug-summary on freefall: --- send-bug-summary~ Sat Jul 8 13:49:35 1995 +++ send-bug-summary Mon Aug 14 19:48:01 1995 @@ -20,6 +20,8 @@ $number = &getline($_); } elsif (/Arrival-Date:/) { $date = &getline($_); + # strip timezone if any (between HH:MM:SS and YYYY at end of line): + $date =~ s/(\d\d:\d\d:\d\d)\D+(\d{4})$/\1 \2/; ($dow,$mon,$day,$time,$year) = split(/[ \t]+/, $date); $day = "0$day" if $day =~ /^[0-9]$/; $date = "$year/$mons{$mon}/$day"; -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)