patch: speed up status.cgi

Jason Martin jhmartin at toger.us
Thu Sep 23 21:54:49 CEST 2004


On Thu, Sep 23, 2004 at 01:09:09PM -0700, Matthew Kent wrote:
> On Thu, 2004-09-23 at 11:33, jeff vier wrote:
> > Yes, I understand what is supposed to happen, but what I'm saying is
> > that it didn't for me, and I tried it against current, stock cvs code.
> doesn't work. Then I must be seeing things! :)

I just tried applying the patch and it completed cleanly. How
are you extracting the patch from the original email? Copy /
Paste is probably not a good idea; you should do a save-as from
the attachment. Also make sure any FTPing you are doing is in
the appropriate mode.

The md5sum from the patch I used is:
0a7d08e1b4593ec3a6455df1d0d25d70 nagios-2.0a1-speedup_status.patch

I posted the patch file for you here: http://tinyurl.com/62yle
Perhaps it would help to do a save-as from your browser from
that URL, or better yet a wget/curl from the host on which you
are applying the patch. 

Patch output:
Script started on Thu Sep 23 12:43:31 2004
$ cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/nagios login
Logging in to :pserver:anonymous at cvs.sourceforge.net:2401/cvsroot/nagios
CVS password:
$ cvs -Q -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/nagios co nagios
$ patch -p0 < /tmp/nagios-2.0a1-speedup_status.patch
patching file nagios/common/statusdata.c
patching file nagios/include/statusdata.h
patching file nagios/xdata/xsddefault.c
$
Script done on Thu Sep 23 12:44:14 2004

-Jason Martin
-- 
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20040923/0a4a8cf1/attachment.sig>


More information about the Developers mailing list