[cricket-users] Minor problem with cricket-0.68

From: Matthew Stier (Matthew.Stier@tddny.fujitsu.com)
Date: Mon Jul 12 1999 - 09:10:27 PDT


From: Matthew Stier <Matthew.Stier@tddny.fujitsu.com>

There is a minor bug in cricket-0.68/collector.

Due to elimination of lib/common.pm, 'collector' is unable to locate the
MkDir() function.

I revised the MkDir function call at collector:420 to fully qualify it.

$ diff -c collector*
*** collector Mon Jul 12 11:35:49 1999
--- collector.orig Mon Jul 12 12:05:33 1999
***************
*** 418,424 ****
        $datafile =~ /(.*)\/.*$/;
        my($dataDir) = $1;
        if (! -d $dataDir) {
! Common::Util::MkDir($dataDir);
        }

        # Start rrd one week ago.
--- 418,424 ----
        $datafile =~ /(.*)\/.*$/;
        my($dataDir) = $1;
        if (! -d $dataDir) {
! MkDir($dataDir);
        }

        # Start rrd one week ago.

--
Matthew Lee Stier                  *  Fujitsu Network Communications
Unix Systems Administrator         |  Two Blue Hill Plaza
Ph: 914-731-2097 Fx: 914-731-2011  |  Sixth Floor
Matthew.Stier@fnc.fujitsu.com      *  Pearl River, NY 10965

--------------------------- ONElist Sponsor ----------------------------

Having difficulty getting "in synch" with list members? http://www.onelist.com Try ONElist's Shared Calendar to organize events, meetings and more!

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:55 PST