mxmlnkn
a85ffd5d0d
logscale not working was caused by using MATH instead of BUILD_MATH
2015-12-11 01:39:59 +01:00
Maxime Villard
622bf0cd7e
Assorted fixes found by valgrind
...
== common.cc ==
'result' can be uninitialized.
== conky.cc ==
strcpy()'s overlap: undefined behaviour. memmove()'s one is
defined.
== eve.cc ==
Some simplifications, and there are two leaks:
1. 'mySkill' could be leaked. So, let's make 'skill' point to it instead
of strdup()'ing the buffer.
2. 'output' could be leaked at l.390.
== freebsd.cc ==
Leak of 'freq_sysctl'.
== net_stat.cc ==
free() already null-checks, so we don't need to do it again.
== proc.cc ==
Leak.
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2012-12-26 23:22:34 +01:00
Brenden Matthews
ddef05d4eb
Update version, copyright.
2012-05-03 16:34:44 -07:00
Nikolas Garofil
59f79105bd
Show "No Address" instead of "::" when there is no address
2012-01-09 11:20:53 +01:00
Nikolas Garofil
cb544bd1f7
Check that there is no writing outside the string
2011-02-13 00:10:20 +01:00
Nikolas Garofil
723255f142
Use inet_ntop(), thanks to pavelo for telling me about this
2011-02-12 17:18:33 +01:00
Nikolas Garofil
18ce365d16
change reading args of $v6addrs and add docs
2011-02-11 15:43:01 +01:00
Nikolas Garofil
2754fab78d
Support for scope in $v6addrs
2011-02-11 13:05:00 +01:00
Nikolas Garofil
997dcc87d9
fix build without ipv6 support
2011-02-11 00:27:12 +01:00
Nikolas Garofil
b548f476cc
Support for -n in $v6addrs
2011-02-10 23:27:14 +01:00
Nikolas Garofil
5a5e8f80b1
Support for short-version ipv6-addresses
2011-02-10 16:01:16 +01:00
Nikolas Garofil
6287b22a3d
Add $v6addrs to increase IPv6 support
...
This is only the beginning of the ipv6 support,
This var isn't documented and only works on Linux.
It should also be patched to show the addresses in compressed format
Some other vars should also be added to see things like netmask, scope, routes, ...
2011-02-09 18:49:52 +01:00
Pavel Labath
ef2b39a97f
Make text_buffer_size a lua setting
2010-08-29 23:50:32 +02:00
Pavel Labath
0085402d08
Make if_up_strictness a lua setting
2010-08-25 19:40:24 +02:00
Nikolas Garofil
99fc975780
Add support for $wireless_freq
2010-06-07 10:50:02 +02:00
Nikolas Garofil
6ccde5e7e7
Add support for $wireless_channel (based on a patch by Timothy Ball)
2010-06-07 09:54:25 +02:00
Nikolas Garofil
a32d9e41a4
Bugfix: memory and thread-deleting problems
...
For example the following config had a problem:
TEXT
$i8k_cpu_temp
I could fix it shorter, but then valgrind would still show memleaks
2010-05-05 18:46:04 +02:00
Nikolas Garofil
6092d063c9
Use free_and_zero in [m-o]*.cc where appropriate
2010-02-24 02:14:20 +01:00
Nikolas Garofil
d184efb418
When using without argument, make sure that it shows the essid of the first device that has one instead of using the default network device (because most of the times this will be a non-wireless device)
2010-02-21 15:12:38 +01:00
Pavel Labath
0f3a56ccbe
An attempt at making wifi work
...
Someone who has iwlib should really test this.
2010-01-11 01:13:42 +01:00
Brenden Matthews
7e78f036f0
Use consistent naming for build option macros.
...
Probably have broken some build features with this commit.
2010-01-06 18:39:44 -08:00
Brenden Matthews
620e9876a4
C++ conversions WIP.
...
Currently stuck on an issue with g++ and using '%lli' with printf/scanf.
2010-01-04 19:21:12 -08:00