From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41204 Path: main.gmane.org!not-for-mail From: Russ Allbery Newsgroups: gmane.emacs.gnus.general Subject: Re: snapshot old? Date: Sun, 30 Dec 2001 14:35:29 -0800 Organization: The Eyrie Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nadw17nq6.fsf@zsh.cs.rochester.edu> <2nvgep45gr.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176635 4880 80.91.224.250 (21 Oct 2002 05:03:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:03:55 +0000 (UTC) Return-Path: Original-Received: (qmail 17506 invoked from network); 30 Dec 2001 22:36:50 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 30 Dec 2001 22:36:50 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16KoYf-0005ru-00; Sun, 30 Dec 2001 16:35:57 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 30 Dec 2001 16:35:47 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA05965 for ; Sun, 30 Dec 2001 16:35:36 -0600 (CST) Original-Received: (qmail 17490 invoked by alias); 30 Dec 2001 22:35:36 -0000 Original-Received: (qmail 17485 invoked from network); 30 Dec 2001 22:35:35 -0000 Original-Received: from windlord.stanford.edu (171.64.13.23) by gnus.org with SMTP; 30 Dec 2001 22:35:35 -0000 Original-Received: (qmail 10381 invoked by uid 50); 30 Dec 2001 22:35:29 -0000 Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 30 Dec 2001 07:09:27 +0100") Original-Lines: 37 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Common Lisp, sparc-sun-solaris2.6) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41204 Lars Magne Ingebrigtsen writes: > ShengHuo ZHU writes: >> Not perfectly. Though the log was posted, I still got a warning >> cvslog: can't open /usr/local/cvsroot/CVSROOT/modules: No such file or >> directory > Seems like a spurious warning from the cvslog script. I've just > commented it out now. Yup. I always use a modules file, but CVS doesn't need it. Here's the fix: --- cvslog 9 Oct 2001 05:46:43 -0000 1.24 +++ cvslog 30 Dec 2001 22:34:34 -0000 1.25 @@ -1,5 +1,5 @@ #!/usr/pubsw/bin/perl -$ID = q($Id: cvslog,v 1.24 2001/10/09 05:46:43 eagle Exp $ ); +$ID = q($Id: cvslog,v 1.25 2001/12/30 22:34:34 eagle Exp $ ); # # cvslog -- Mail CVS commit notifications. # @@ -69,9 +69,7 @@ # seeing if it's a prefix of the module path. sub find_module { my $module = shift; - if (!open (MODULES, "$REPOSITORY/CVSROOT/modules")) { - warn "$0: can't open $REPOSITORY/CVSROOT/modules: $!\n"; - } else { + if (open (MODULES, "$REPOSITORY/CVSROOT/modules")) { local $_; while () { next if /^\s*\#/; -- Russ Allbery (rra@stanford.edu)