From: Wolfgang Stöggl Date: Fri, 13 Oct 2017 12:50:53 +0000 (+0200) Subject: Fix some typos in comments X-Git-Tag: v1.7.1~95^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1fd85f9a8510db46fa5b0e4283d54c3b9cb300;p=thirdparty%2Frrdtool-1.x.git Fix some typos in comments - Corrected observed typos in code comments and strings - Harmonize spelling of RRDtool: RRDTool -> RRDtool --- diff --git a/CHANGES b/CHANGES index 29f2be1a..8e3d1b14 100644 --- a/CHANGES +++ b/CHANGES @@ -16,7 +16,7 @@ Features API --- -* New Exported funtions: rrd_lcd, rrd_reduce_data, rrd_cf_conf and rrd_list +* New Exported functions: rrd_lcd, rrd_reduce_data, rrd_cf_conf and rrd_list * rrd_list support for perl and python binding * all new and much more complete python bindings working on both python 2.6+ and 3.3+ * extended documentation in rrdlib.pod @@ -45,7 +45,7 @@ Bugfixes -------- * segfault on CDEF:x= * Disable nagle algorithm as it is causing massive slowdown -* make vname nameing rules more liberal and more in line with 1.4 +* make vname naming rules more liberal and more in line with 1.4 * Fix recursive directory creation in rrdcached on FREEBSD * Fixed compilation when there's no sigwaitinfo @@ -189,7 +189,7 @@ Highlights * the optional argument :skipscale allows for a LINE or AREA instruction to be excluded from having an effect on the scaling of the graph -* TRENDNAN is now working properly and als not crashing anymore +* TRENDNAN is now working properly and also not crashing anymore * Added a no-op string positioning combo "\." this allows to write COMMENT:OS\2\. which would otherwise not be possible. diff --git a/README.md b/README.md index 5d198a27..01e662dd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ RRDtool - Round Robin Database Tool [![Join the chat at https://gitter.im/oetiker/rrdtool-1.x](https://badges.gitter.im/oetiker/rrdtool-1.x.svg)](https://gitter.im/oetiker/rrdtool-1.x?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -RRDTool 1.x master build status: [![Build Status](https://travis-ci.org/oetiker/rrdtool-1.x.png?branch=master)](https://travis-ci.org/oetiker/rrdtool-1.x) +RRDtool 1.x master build status: [![Build Status](https://travis-ci.org/oetiker/rrdtool-1.x.png?branch=master)](https://travis-ci.org/oetiker/rrdtool-1.x) test coverage [![Coverage Status](https://coveralls.io/repos/oetiker/rrdtool-1.x/badge.png?branch=master)](https://coveralls.io/r/oetiker/rrdtool-1.x?branch=master) RRDtool 1.7.x build status: [![Build Status](https://travis-ci.org/oetiker/rrdtool-1.x.png?branch=1.7)](https://travis-ci.org/oetiker/rrdtool-1.x) diff --git a/WIN32-BUILD-TIPS.txt b/WIN32-BUILD-TIPS.txt index ca7f4e94..9b494bd5 100644 --- a/WIN32-BUILD-TIPS.txt +++ b/WIN32-BUILD-TIPS.txt @@ -374,7 +374,7 @@ Compiling RRDtool 1.2.x on Win32 with MingW32 gcc: In order to build the static freetype lib enter the freetype base directory and type 'make'. If everything is fine a message appears that gcc is detected, and that you should again type 'make'. Follow that in order to build freetype. - All other libs are build from the sources with the RRDTool Makefile.Win32. + All other libs are build from the sources with the RRDtool Makefile.Win32. Switch to the RRDTOOL .\src directory. Then: diff --git a/bindings/lua/rrdlua.c b/bindings/lua/rrdlua.c index ce484cb9..d5e54a23 100644 --- a/bindings/lua/rrdlua.c +++ b/bindings/lua/rrdlua.c @@ -1,5 +1,5 @@ /* - * Lua bindings for RRDTool + * Lua bindings for RRDtool * * This software is licensed to the public under the Free Software * Foundation's GNU GPL, version 2 or later. You may obtain a copy @@ -338,7 +338,7 @@ set_info (lua_State * L) lua_pushliteral (L, "Copyright (C) 2008 Fidelis Assis"); lua_settable (L, -3); lua_pushliteral (L, "_DESCRIPTION"); - lua_pushliteral (L, "RRD-lua is a Lua binding for RRDTool."); + lua_pushliteral (L, "RRD-lua is a Lua binding for RRDtool."); lua_settable (L, -3); lua_pushliteral (L, "_NAME"); lua_pushliteral (L, "RRD-Lua"); diff --git a/bindings/python/rrdtoolmodule.c b/bindings/python/rrdtoolmodule.c index 95a1db33..ce288400 100644 --- a/bindings/python/rrdtoolmodule.c +++ b/bindings/python/rrdtoolmodule.c @@ -1200,7 +1200,7 @@ _rrdtool_fetch_cb_wrapper( *ds_namv = (char **)calloc(*ds_cnt, sizeof(char *)); if (*ds_namv == NULL) { - rrd_set_error("an error occured while allocating memory for " + rrd_set_error("an error occurred while allocating memory for " "ds_namv when allocating memory for python callback"); goto gil_release_err; } diff --git a/doc/librrd.pod b/doc/librrd.pod index 141dbcfc..b47665ee 100644 --- a/doc/librrd.pod +++ b/doc/librrd.pod @@ -6,7 +6,7 @@ librrd - RRD library functions =head1 DESCRIPTION -B contains most of the functionality in B. The command +B contains most of the functionality in B. The command line utilities and language bindings are often just wrappers around the code contained in B. diff --git a/doc/rrdlua.pod b/doc/rrdlua.pod index 7d234fe3..bf3f9ab0 100644 --- a/doc/rrdlua.pod +++ b/doc/rrdlua.pod @@ -1,6 +1,6 @@ =head1 NAME -RRDLua - Lua binding for RRDTool +RRDLua - Lua binding for RRDtool =head1 SYNOPSIS @@ -80,7 +80,7 @@ programs where to find it by changing the Lua var LUA_PATH: =head2 Error Handling -The Lua RRDTool module functions will abort your program with a stack +The Lua RRDtool module functions will abort your program with a stack traceback when they can not make sense out of the arguments you fed them. However, you can capture and handle the errors yourself, instead of just letting the program abort, by calling the module functions through Lua @@ -106,7 +106,7 @@ protected calls - 'pcall' or 'xpcall'. -- original_LUA_PATH = nil --- end of code to require compat-5.1 --------------------------- - -- If the Lua RRDTool module was installed together with RRDTool, + -- If the Lua RRDtool module was installed together with RRDtool, -- in /usr/local/rrdtool-1.3.2/lib/lua/5.0, package.cpath must be -- set accordingly so that 'require' can find the module: diff --git a/doc/rrdtool-dump.xsd b/doc/rrdtool-dump.xsd index ef8c9231..77b69a58 100644 --- a/doc/rrdtool-dump.xsd +++ b/doc/rrdtool-dump.xsd @@ -1,6 +1,6 @@