]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
thirdparty/rrdtool-1.x.git
9 years ago CHANGES about supported lua versions 710/head
nirgal [Fri, 22 Apr 2016 15:14:41 +0000 (17:14 +0200)] 
 CHANGES about supported lua versions

lua 5.1 already was supported.
What version 1.6.0 brings is lua 5.2 and lua 5.3 support.

9 years agotravis-link
Tobias Oetiker [Tue, 19 Apr 2016 16:05:16 +0000 (18:05 +0200)] 
travis-link

9 years agoprep master for new checkins
Tobias Oetiker [Tue, 19 Apr 2016 15:50:15 +0000 (17:50 +0200)] 
prep master for new checkins

9 years agoremove extra spaces
Tobias Oetiker [Tue, 19 Apr 2016 09:17:55 +0000 (11:17 +0200)] 
remove extra spaces

9 years agofix for #707
Tobias Oetiker [Tue, 19 Apr 2016 08:01:07 +0000 (10:01 +0200)] 
fix for #707

9 years agoignore all so files in tcl
Tobias Oetiker [Tue, 19 Apr 2016 07:08:18 +0000 (09:08 +0200)] 
ignore all so files in tcl

9 years agoMerge pull request #708 from oetiker/new-calc
Tobias Oetiker [Mon, 18 Apr 2016 16:21:06 +0000 (18:21 +0200)] 
Merge pull request #708 from oetiker/new-calc

a bunch of new RPN functions coming up for 1.6

9 years agofix expected results new-calc 708/head
Tobias Oetiker [Mon, 18 Apr 2016 15:30:32 +0000 (17:30 +0200)] 
fix expected results

9 years agoadd new RPN functions: AVG, SMIN, SMAX, STDEV, POW, MEDIAN
Tobias Oetiker [Mon, 18 Apr 2016 15:13:15 +0000 (17:13 +0200)] 
add new RPN functions: AVG, SMIN, SMAX, STDEV, POW, MEDIAN

9 years agoMerge pull request #706 from stevenh/disable-nagle
Tobias Oetiker [Sun, 10 Apr 2016 08:33:58 +0000 (10:33 +0200)] 
Merge pull request #706 from stevenh/disable-nagle

Disable nagel algorithm

9 years agoDisable nagel algorithm 706/head
Steven Hartland [Sun, 10 Apr 2016 01:30:51 +0000 (01:30 +0000)] 
Disable nagel algorithm

Disable TCP's nagal algorithm which was causing massive slowdown
in processing rrdcached requests.

Also check for other setsockopt call errors.

9 years agoMerge pull request #703 from nirgal/verbose_tests
Tobias Oetiker [Thu, 24 Mar 2016 07:07:55 +0000 (08:07 +0100)] 
Merge pull request #703 from nirgal/verbose_tests

Fixed tests when VERBOSE is on

9 years agoFixed tests when VERBOSE is on 703/head
Jean-Michel Vourgère [Thu, 24 Mar 2016 05:18:01 +0000 (06:18 +0100)] 
Fixed tests when VERBOSE is on

Define RRDTOOL_V from RRDTOOL, but only after RRDTOOL is defined.
Output the header showing witch command is run on stderr, not stdout.

9 years agomake the vnames in the test a bit more interesting ... especially verify that having...
Tobias Oetiker [Thu, 18 Feb 2016 12:58:02 +0000 (13:58 +0100)] 
make the vnames in the test a bit more interesting ... especially verify that having a - and numbers in the vname is fine

9 years agore allow - in vnames since it seems to have worked for some in 1.4
Tobias Oetiker [Thu, 18 Feb 2016 08:14:25 +0000 (09:14 +0100)] 
re allow - in vnames since it seems to have worked for some in 1.4

9 years agoadded rpn1.output
Tobias Oetiker [Tue, 16 Feb 2016 07:14:39 +0000 (08:14 +0100)] 
added rpn1.output

9 years agoMerge branch 'master' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Mon, 8 Feb 2016 12:52:24 +0000 (13:52 +0100)] 
Merge branch 'master' of github.com:oetiker/rrdtool-1.x

9 years ago- is not allowed in vnames!
Tobias Oetiker [Mon, 8 Feb 2016 12:51:40 +0000 (13:51 +0100)] 
- is not allowed in vnames!

9 years agoMerge pull request #694 from nirgal/patch-1
Tobias Oetiker [Mon, 8 Feb 2016 09:55:03 +0000 (10:55 +0100)] 
Merge pull request #694 from nirgal/patch-1

Minor spelling in documetation

9 years agomake sure people don't confuse the MASTER branche with the 1.5 branche ...
Tobias Oetiker [Thu, 28 Jan 2016 21:16:28 +0000 (22:16 +0100)] 
make sure people don't confuse the MASTER branche with the 1.5 branche ...

9 years agoMerge pull request #696 from jskiba99/fix-typo
Tobias Oetiker [Tue, 5 Jan 2016 10:14:54 +0000 (11:14 +0100)] 
Merge pull request #696 from jskiba99/fix-typo

Fix spelling typos

9 years agoFix spelling typos 696/head
Jacob [Fri, 1 Jan 2016 00:52:07 +0000 (19:52 -0500)] 
Fix spelling typos

9 years agoMinor spelling in documetation 694/head
nirgal [Sat, 26 Dec 2015 22:25:59 +0000 (23:25 +0100)] 
Minor spelling in documetation

9 years agoMerge pull request #693 from ntyni/master
Tobias Oetiker [Sun, 20 Dec 2015 10:05:43 +0000 (11:05 +0100)] 
Merge pull request #693 from ntyni/master

Use memmove instead of memcpy in rrd_write() to fix undefined behaviour

9 years agoUse memmove instead of memcpy in rrd_write() to fix undefined behaviour 693/head
Niko Tyni [Sun, 20 Dec 2015 07:49:14 +0000 (09:49 +0200)] 
Use memmove instead of memcpy in rrd_write() to fix undefined behaviour

At least rrdtune ends up calling rrd_write() with the same memory
area for the source and the destination, causing undefined behaviour
that has been observed to actually break on the mips architecture.

Bug-Debian: https://bugs.debian.org/805391
Bug: https://github.com/oetiker/rrdtool-1.x/issues/688

9 years agoMerge pull request #692 from RomeroMalaquias/master
Tobias Oetiker [Wed, 9 Dec 2015 08:56:29 +0000 (09:56 +0100)] 
Merge pull request #692 from RomeroMalaquias/master

Avoiding conditional directives that split up parts of statements.

9 years agoAvoiding conditional directives that split up parts of statements. 692/head
Romero Malaquias [Wed, 9 Dec 2015 03:42:12 +0000 (00:42 -0300)] 
Avoiding conditional directives that split up parts of statements.

9 years ago--use-mirrors is not supported anymore
Tobias Oetiker [Mon, 7 Dec 2015 07:57:49 +0000 (08:57 +0100)] 
--use-mirrors is not supported anymore

9 years agoMerge pull request #691 from pocek/typo
Tobias Oetiker [Mon, 7 Dec 2015 07:50:51 +0000 (08:50 +0100)] 
Merge pull request #691 from pocek/typo

doc: Fix a typo in an example

9 years agodoc: Fix a typo in an example 691/head
Krzysztof Kotlenga [Fri, 4 Dec 2015 16:59:35 +0000 (17:59 +0100)] 
doc: Fix a typo in an example

9 years agoMerge pull request #690 from gustavoz/master
Tobias Oetiker [Thu, 3 Dec 2015 05:13:13 +0000 (06:13 +0100)] 
Merge pull request #690 from gustavoz/master

Add configure option to disable documentation

9 years agoAdd configure option to disable documentation 690/head
Gustavo Zacarias [Wed, 2 Dec 2015 17:31:52 +0000 (14:31 -0300)] 
Add configure option to disable documentation

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoMerge pull request #689 from pocek/mtotal
Tobias Oetiker [Sun, 22 Nov 2015 15:08:02 +0000 (10:08 -0500)] 
Merge pull request #689 from pocek/mtotal

doc: Fix NEWMONTH example

9 years agodoc: Fix NEWMONTH example 689/head
Krzysztof Kotlenga [Sun, 22 Nov 2015 14:23:18 +0000 (15:23 +0100)] 
doc: Fix NEWMONTH example

Make it actually accumulate values over a period.

9 years agoMerge pull request #687 from GrayTShirt/#686
Tobias Oetiker [Thu, 12 Nov 2015 03:14:41 +0000 (22:14 -0500)] 
Merge pull request #687 from GrayTShirt/#686

Export rrdc_create and rrdc_create_r2 - Dan Molik <dan@d3fy.net>

9 years agoExport rrdc_create and rrdc_create_r2 - Dan Molik <dan@d3fy.net> 687/head
Dan Molik [Tue, 10 Nov 2015 19:38:48 +0000 (14:38 -0500)] 
Export rrdc_create and rrdc_create_r2 - Dan Molik <dan@d3fy.net>

Export the client functions that create rrds

9 years agoremove rrd_th since we are now thread safe by default
Tobias Oetiker [Tue, 10 Nov 2015 19:02:32 +0000 (20:02 +0100)] 
remove rrd_th since we are now thread safe by default

9 years agoremove rrd_th since we are now thread safe by default
Tobias Oetiker [Tue, 10 Nov 2015 19:02:28 +0000 (20:02 +0100)] 
remove rrd_th since we are now thread safe by default

9 years agoMerge pull request #685 from odoucet/master
Tobias Oetiker [Tue, 10 Nov 2015 16:05:01 +0000 (11:05 -0500)] 
Merge pull request #685 from odoucet/master

Fix JSON and JSONTIME export with gprints or rules

9 years agoMerge branch '1.5' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Tue, 10 Nov 2015 15:08:24 +0000 (16:08 +0100)] 
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x

Conflicts:
README.md

9 years agoMerge pull request #667 from nirgal/python_paralellism
Tobias Oetiker [Tue, 10 Nov 2015 15:02:10 +0000 (10:02 -0500)] 
Merge pull request #667 from nirgal/python_paralellism

Unlock the global thread lock while processing rrd

9 years agoMerge pull request #683 from nirgal/updatev_skippastupdates
Tobias Oetiker [Tue, 10 Nov 2015 15:01:54 +0000 (10:01 -0500)] 
Merge pull request #683 from nirgal/updatev_skippastupdates

Fix --skip-past-updates support in updatev

9 years agoMerge pull request #682 from nirgal/rrdcached_longopt
Tobias Oetiker [Tue, 10 Nov 2015 15:01:40 +0000 (10:01 -0500)] 
Merge pull request #682 from nirgal/rrdcached_longopt

Switch rrdcached to use long options

9 years agoMerge pull request #681 from nirgal/nogetopt
Tobias Oetiker [Tue, 10 Nov 2015 15:01:12 +0000 (10:01 -0500)] 
Merge pull request #681 from nirgal/nogetopt

removing all getopt traces

9 years agoMerge pull request #679 from nirgal/optparse
Tobias Oetiker [Tue, 10 Nov 2015 14:52:37 +0000 (09:52 -0500)] 
Merge pull request #679 from nirgal/optparse

Switch all getops to optparse

9 years agoFix JSON and JSONTIME export with gprints or rules 685/head
Olivier Doucet [Fri, 6 Nov 2015 18:50:07 +0000 (19:50 +0100)] 
Fix JSON and JSONTIME export with gprints or rules

When you have gprints or rules, json is not formated correctly : a comma is inserted after each block, making two mistakes :
- there is no comma between "legend" and "gprints" block
- there is a trailing comma in "meta" block

I decided to rewrite this part and add the comma before each block, so this works in all cases : when you don't have any block, only one of them or both.

9 years agoTypo fix
Olivier Doucet [Fri, 6 Nov 2015 18:12:08 +0000 (19:12 +0100)] 
Typo fix

9 years agoRemoved getopt now unused 681/head
Jean-Michel Vourgère [Mon, 2 Nov 2015 10:35:14 +0000 (11:35 +0100)] 
Removed getopt now unused

Removed getopt sources, adjusted configure, POTFILES, src/Makefile.am.

rrdtool.sym no longer is generated.

9 years agoMerge pull request #684 from nirgal/doc_xport_showtime
Tobias Oetiker [Mon, 2 Nov 2015 22:30:46 +0000 (23:30 +0100)] 
Merge pull request #684 from nirgal/doc_xport_showtime

Documentation: Show -t option to rrd xport

9 years agoDocumentation: Show -t option to rrd xport 684/head
Jean-Michel Vourgère [Mon, 2 Nov 2015 15:47:33 +0000 (16:47 +0100)] 
Documentation: Show -t option to rrd xport

9 years agoFix --skip-past-updates support in updatev 683/head
Jean-Michel Vourgère [Mon, 2 Nov 2015 15:26:58 +0000 (16:26 +0100)] 
Fix --skip-past-updates support in updatev

9 years agoSwitch rrd_daemon to use long options 682/head
Jean-Michel Vourgère [Mon, 2 Nov 2015 14:32:26 +0000 (15:32 +0100)] 
Switch rrd_daemon to use long options

This includes --help option (Fixes https://github.com/oetiker/rrdtool-1.x/issues/495)

9 years agoThread safety: Replace getopt by optparse 679/head
Jean-Michel Vourgère [Sun, 1 Nov 2015 15:40:45 +0000 (16:40 +0100)] 
Thread safety: Replace getopt by optparse

* Added optparse.h to src/rrd_tool.h.

* rrd_graph.[ch]: The 3rd char* parameter of the "*_conv" functions was added a const modifier.

* rrd_tune.c: The 3rd char* parameter of the "set_*" functions was added a const modifier.

* rrd_graph_options now takes an extra "options*" parameter, so that caller can use options.argc and options.argv

* Refresh WIN32 build tips

9 years agoFix typo in --interlaced option in examples
Jean-Michel Vourgère [Sat, 31 Oct 2015 18:37:41 +0000 (19:37 +0100)] 
Fix typo in --interlaced option in examples

9 years agoAdd/fix dashdash support in optparse_long
Jean-Michel Vourgère [Sat, 31 Oct 2015 09:52:43 +0000 (10:52 +0100)] 
Add/fix dashdash support in optparse_long

This changes the behaviour of optparse_long so that a '--' tags the end of
options, just like optparse and getopt_long.

9 years agoMerge pull request #665 from nirgal/no_sigwaitinfo
Tobias Oetiker [Tue, 27 Oct 2015 13:20:11 +0000 (14:20 +0100)] 
Merge pull request #665 from nirgal/no_sigwaitinfo

Fixed compilation when there's no sigwaitinfo

9 years agoMerge pull request #678 from ufo-dd/1.5
Tobias Oetiker [Tue, 27 Oct 2015 13:14:19 +0000 (14:14 +0100)] 
Merge pull request #678 from ufo-dd/1.5

rrd_parsetime now unlocks its mutex also after parsing errors.

9 years agoFix the double mutex_unlock call 678/head
Uwe Höhna [Sun, 25 Oct 2015 18:34:33 +0000 (19:34 +0100)] 
Fix the double mutex_unlock call

9 years agorrd_parsetime now unlocks its mutex also after parsing errors.
Uwe Höhna [Fri, 23 Oct 2015 07:35:24 +0000 (09:35 +0200)] 
rrd_parsetime now unlocks its mutex also after parsing errors.

9 years agoMerge pull request #677 from yath/1.5-rpnparse-null
Tobias Oetiker [Tue, 20 Oct 2015 08:43:29 +0000 (10:43 +0200)] 
Merge pull request #677 from yath/1.5-rpnparse-null

Don't crash on invalid variable names in RPN

9 years agoDon't crash on invalid variable names in RPN 677/head
Sebastian Schmidt [Sun, 18 Oct 2015 17:15:37 +0000 (19:15 +0200)] 
Don't crash on invalid variable names in RPN

When rpn_parse() finds [^\0,] after parsing a token, it returns NULL
without setting an error. This causes rrd_test_error() to return false
and subsequent code will dereference NULL (cf. rrdtool xport
CDEF:foo=foo-bar).

This commit changes the OP_VARIABLE branch in rpn_parse so that in order
to be a variable name, sscanf needs to match the full name, causing a
more meaningful "ERROR: don't understand 'illegal-variable-name'" error
message in that case. Also, I made the return NULL branch set an error
message so rrd_test_error() will succeed.

9 years agoMerge pull request #673 from oetiker/xport-time
Tobias Oetiker [Tue, 22 Sep 2015 14:15:58 +0000 (16:15 +0200)] 
Merge pull request #673 from oetiker/xport-time

fix xport incompatibility ... make it possible to re-include the time…

9 years agofix xport incompatibility ... make it possible to re-include the time into the xml... 673/head
Tobias Oetiker [Tue, 22 Sep 2015 11:38:46 +0000 (13:38 +0200)] 
fix xport incompatibility ... make it possible to re-include the time into the xml output

9 years agoMerge pull request #671 from z-jun/1.5
Tobias Oetiker [Mon, 21 Sep 2015 12:20:38 +0000 (14:20 +0200)] 
Merge pull request #671 from z-jun/1.5

Fix recursive directory creation in rrdcached on FREEBSD

9 years agoFix recursive directory creation in rrdcached on FREEBSD 671/head
Zbynek Jun [Mon, 21 Sep 2015 11:27:39 +0000 (13:27 +0200)] 
Fix recursive directory creation in rrdcached on FREEBSD

9 years agorrdc_fetch needs locking too
Tobias Oetiker [Fri, 11 Sep 2015 11:23:56 +0000 (13:23 +0200)] 
rrdc_fetch needs locking too

9 years agofix for buffer overflow in rrd_restore.c #669
Tobias Oetiker [Tue, 8 Sep 2015 20:58:21 +0000 (22:58 +0200)] 
fix for buffer overflow in rrd_restore.c #669

9 years agoMerge pull request #668 from nirgal/lua_tests
Tobias Oetiker [Sat, 29 Aug 2015 22:50:21 +0000 (00:50 +0200)] 
Merge pull request #668 from nirgal/lua_tests

Make tests work on lua 5.1 to 5.3

9 years agoMake tests work on lua 5.1 to 5.3 668/head
Jean-Michel Vourgère [Fri, 28 Aug 2015 12:12:27 +0000 (14:12 +0200)] 
Make tests work on lua 5.1 to 5.3

Lua 5.0 test is kept for now in a separate file

9 years agoUnlock the global thread lock while processing rrd 667/head
Jean-Michel Vourgère [Thu, 27 Aug 2015 19:45:26 +0000 (21:45 +0200)] 
Unlock the global thread lock while processing rrd

This allows other threads to run while doing I/O on rrds, improving parelellism
on multi-threaded python applications.

9 years agoFixed compilation when there's no sigwaitinfo 665/head
Jean-Michel Vourgère [Wed, 26 Aug 2015 10:10:59 +0000 (12:10 +0200)] 
Fixed compilation when there's no sigwaitinfo

* Fixed pointer in call to sigwait
* Don't print pid when we don't have it
* Fixed unused variable warning

9 years agoMerge pull request #664 from nirgal/systemd_no_addr
Tobias Oetiker [Wed, 19 Aug 2015 15:17:50 +0000 (17:17 +0200)] 
Merge pull request #664 from nirgal/systemd_no_addr

Allow NULL socket addr, as created by systemd

9 years agoAllow NULL socket addr, as created by systemd 664/head
Jean-Michel Vourgère [Wed, 19 Aug 2015 14:20:09 +0000 (16:20 +0200)] 
Allow NULL socket addr, as created by systemd

This fixes an error when rrdcached is started using systemd.

Thanks to Denis Bychkov for the diagnostic and the first version of the patch.

9 years agoMerge pull request #659 from nirgal/pm_noexec
Tobias Oetiker [Mon, 17 Aug 2015 12:30:22 +0000 (14:30 +0200)] 
Merge pull request #659 from nirgal/pm_noexec

Don't install RRDCached.pm as an executable

9 years agoMerge pull request #663 from nirgal/perl-shared-default-path
Tobias Oetiker [Mon, 17 Aug 2015 05:46:21 +0000 (07:46 +0200)] 
Merge pull request #663 from nirgal/perl-shared-default-path

Fixed perl-shared default path

9 years agoFixed perl-shared default path 663/head
Jean-Michel Vourgère [Sat, 15 Aug 2015 13:20:12 +0000 (15:20 +0200)] 
Fixed perl-shared default path

This is only used if you use makemaker dirrectly in the perl-shared directory.

9 years agoMerge pull request #662 from nirgal/390x_first_week_day
Tobias Oetiker [Fri, 14 Aug 2015 06:19:15 +0000 (08:19 +0200)] 
Merge pull request #662 from nirgal/390x_first_week_day

Support 390x format of nl_langinfo(FIRST_WEEKDAY)

9 years agoSupport 390x format of nl_langinfo(FIRST_WEEKDAY) 662/head
Jean-Michel Vourgère [Thu, 13 Aug 2015 22:16:25 +0000 (00:16 +0200)] 
Support 390x format of nl_langinfo(FIRST_WEEKDAY)

nl_langinfo returns non-portable format for FIRST_WEEKDAY. See
https://www.gnu.org/software/libc/manual/html_node/The-Elegant-and-Fast-Way.html#The-Elegant-and-Fast-Way

That patch add support for the format used on 390x architecture.
This permits the unit tests to work there.

9 years agoMerge pull request #660 from nirgal/lua5.2
Tobias Oetiker [Thu, 13 Aug 2015 08:55:18 +0000 (10:55 +0200)] 
Merge pull request #660 from nirgal/lua5.2

Lua5.2

9 years agoRestore lua 5.0 & 5.1 compatibility 660/head
Jean-Michel Vourgère [Wed, 12 Aug 2015 12:00:23 +0000 (14:00 +0200)] 
Restore lua 5.0 & 5.1 compatibility

9 years agoDon't install RRDCached.pm as an executable 659/head
Jean-Michel Vourgère [Tue, 11 Aug 2015 13:55:11 +0000 (15:55 +0200)] 
Don't install RRDCached.pm as an executable

9 years agoMerge pull request #657 from nirgal/patch-2
Tobias Oetiker [Mon, 10 Aug 2015 21:12:42 +0000 (23:12 +0200)] 
Merge pull request #657 from nirgal/patch-2

Fix spelling typo in licence

9 years agoFix spelling typo in licence 657/head
nirgal [Mon, 10 Aug 2015 17:03:40 +0000 (19:03 +0200)] 
Fix spelling typo in licence

wether -> whether
http://www.dailywritingtips.com/wether-weather-whether/

9 years agomake sure rrdbuild does not have to be rebuilt on the install host ... fix for #656
Tobias Oetiker [Mon, 10 Aug 2015 14:48:45 +0000 (16:48 +0200)] 
make sure rrdbuild does not have to be rebuilt on the install host ... fix for #656

9 years agohousekeeping
Tobias Oetiker [Mon, 10 Aug 2015 11:38:53 +0000 (13:38 +0200)] 
housekeeping

9 years agonever exit from library function ... #653
Tobias Oetiker [Mon, 10 Aug 2015 11:37:43 +0000 (13:37 +0200)] 
never exit from library function ... #653

9 years agoMerge pull request #654 from nirgal/patch-1
Tobias Oetiker [Mon, 10 Aug 2015 11:33:07 +0000 (13:33 +0200)] 
Merge pull request #654 from nirgal/patch-1

Minor spelling in documetation

9 years agoMinor spelling in documetation 654/head
nirgal [Mon, 10 Aug 2015 10:24:10 +0000 (12:24 +0200)] 
Minor spelling in documetation

You can't "allow to", you need "allow one to".

9 years agoMerge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Mon, 10 Aug 2015 09:03:36 +0000 (11:03 +0200)] 
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5

9 years agotimezone is relevant here ... oops
Tobias Oetiker [Mon, 10 Aug 2015 09:03:27 +0000 (11:03 +0200)] 
timezone is relevant here ... oops

9 years agoMerge pull request #652 from nirgal/7digits
Tobias Oetiker [Mon, 10 Aug 2015 05:40:09 +0000 (07:40 +0200)] 
Merge pull request #652 from nirgal/7digits

Limit unit tests check to 7 digits precision

9 years agoLimit unit tests check to 7 digits precision 652/head
Jean-Michel Vourgère [Sun, 9 Aug 2015 20:46:31 +0000 (22:46 +0200)] 
Limit unit tests check to 7 digits precision

Note that 8 digits is not enough a reduction:

on hurd-i386: echo "3.417131125e-02" | perl -p -e 's/([-+]?\d\.\d+e[-+]\d+)/sprintf("%0.8e",$1)/ge'
3.41713112e-02

on armel: echo "3.417131125e-02" | perl -p -e 's/([-+]?\d\.\d+e[-+]\d+)/sprintf("%0.8e",$1)/ge'
3.41713113e-02

9 years agobetter spelling
Tobias Oetiker [Sun, 9 Aug 2015 11:25:51 +0000 (13:25 +0200)] 
better spelling

9 years agoget ready for 1.5.4 v1.5.4
Tobias Oetiker [Sun, 9 Aug 2015 11:23:18 +0000 (13:23 +0200)] 
get ready for 1.5.4

9 years agoMerge pull request #649 from nirgal/daemonnomaxpath
Tobias Oetiker [Sun, 9 Aug 2015 10:39:56 +0000 (12:39 +0200)] 
Merge pull request #649 from nirgal/daemonnomaxpath

Allow compilaton on hurd: Stop using PATH_MAX in rrd_daemon.c

9 years agoMerge pull request #651 from nirgal/binding-rpath
Tobias Oetiker [Sun, 9 Aug 2015 10:39:06 +0000 (12:39 +0200)] 
Merge pull request #651 from nirgal/binding-rpath

Stop using rpath in binding if it's disabled

9 years agoMerge pull request #650 from nirgal/fortifytcl
Tobias Oetiker [Sun, 9 Aug 2015 10:36:35 +0000 (12:36 +0200)] 
Merge pull request #650 from nirgal/fortifytcl

Keep CPPFLAGS when building tcl bindings

9 years agoKeep CPPFLAGS when building tcl bindings 650/head
Jean-Michel Vourgère [Sun, 9 Aug 2015 00:20:40 +0000 (02:20 +0200)] 
Keep CPPFLAGS when building tcl bindings

If CPPFLAGS=-D_FORTIFY_SOURCE=2 during configuration, tcl compilation was not fortified.
This patch adds the missing variable.

9 years agoStop using rpath in binding if it's disabled 651/head
Jean-Michel Vourgère [Sun, 9 Aug 2015 01:34:28 +0000 (03:34 +0200)] 
Stop using rpath in binding if it's disabled

9 years agoStop use PATH_MAX in socket.addr 649/head
Jean-Michel Vourgère [Sat, 8 Aug 2015 16:01:43 +0000 (18:01 +0200)] 
Stop use PATH_MAX in socket.addr