[hackers] [slstatus] Check return value of pclose() || Laslo Hunhold

2018-05-19 Thread git
commit b640cc489b65153efcb519feb9038d658b4bf005 Author: Laslo Hunhold AuthorDate: Sun May 20 00:57:24 2018 +0200 Commit: Aaron Marcher CommitDate: Sun May 20 01:01:26 2018 +0200 Check return value of pclose() diff --git a/components/run_command.c

[hackers] [slstatus] Refactor ram.c || Aaron Marcher

2018-05-19 Thread git
commit c12b9cc50b5f476cd7b1de1dbd49e6282b1a042f Author: Aaron Marcher AuthorDate: Sun May 20 00:42:07 2018 +0200 Commit: Aaron Marcher CommitDate: Sun May 20 00:42:07 2018 +0200 Refactor ram.c diff --git a/components/ram.c b/components/ram.c index

[hackers] [slstatus] Make temp more readable on Linux || Aaron Marcher

2018-05-19 Thread git
commit 7873b3b1329d31e619a93cce99350a36803656d1 Author: Aaron Marcher AuthorDate: Sun May 20 00:30:16 2018 +0200 Commit: Aaron Marcher CommitDate: Sun May 20 00:30:16 2018 +0200 Make temp more readable on Linux diff --git a/components/temperature.c

[hackers] [slstatus] Refactor entropy.c || Laslo Hunhold

2018-05-19 Thread git
commit 951ea4e304cf23f8464a4b6896cfcf4035920249 Author: Laslo Hunhold AuthorDate: Sun May 20 00:18:08 2018 +0200 Commit: Aaron Marcher CommitDate: Sun May 20 00:19:52 2018 +0200 Refactor entropy.c diff --git a/components/entropy.c

[hackers] [slstatus] Remove unnecessary "valid" variable in cpu_perc || Aaron Marcher

2018-05-19 Thread git
commit a7ade0dc6db99fe19bc6788a5e972a90641915ad Author: Aaron Marcher AuthorDate: Sun May 20 00:16:20 2018 +0200 Commit: Aaron Marcher CommitDate: Sun May 20 00:16:20 2018 +0200 Remove unnecessary "valid" variable in cpu_perc diff --git

[hackers] [slstatus] Remove initialization to 0 for static vars || Aaron Marcher

2018-05-19 Thread git
commit 3f45a5f7caf37ec04bbc3aea5e7def1452d1118c Author: Aaron Marcher AuthorDate: Sun May 20 00:17:35 2018 +0200 Commit: Aaron Marcher CommitDate: Sun May 20 00:17:35 2018 +0200 Remove initialization to 0 for static vars diff --git

[hackers] [slstatus] Add unit to temperature || Aaron Marcher

2018-05-19 Thread git
commit 062f33f8742c645a3b436f609a19219106a8af75 Author: Aaron Marcher AuthorDate: Sun May 20 00:02:49 2018 +0200 Commit: Aaron Marcher CommitDate: Sun May 20 00:02:49 2018 +0200 Add unit to temperature diff --git a/components/temperature.c

[hackers] [slstatus] Implement scaling for cpu_freq || Aaron Marcher

2018-05-19 Thread git
commit 0bc6855741cc9fbdf5c3ffd0d9cb983b0a66f635 Author: Aaron Marcher AuthorDate: Sat May 19 23:58:14 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 23:58:14 2018 +0200 Implement scaling for cpu_freq diff --git a/components/cpu.c

[hackers] [slstatus] Implement fmt_human_2() and fmt_human_10() || Laslo Hunhold

2018-05-19 Thread git
commit 46c4540dd2f6181e77b0800a4e007d78d0162487 Author: Laslo Hunhold AuthorDate: Sat May 19 22:52:17 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 22:58:21 2018 +0200 Implement fmt_human_2() and fmt_human_10() These functions take

[hackers] [slstatus] Add the percent sign to *_perc functions || Aaron Marcher

2018-05-19 Thread git
commit 74c4f4ebdae8a12fc95840954dde574692234b01 Author: Aaron Marcher AuthorDate: Sat May 19 20:33:06 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 20:33:06 2018 +0200 Add the percent sign to *_perc functions Units should be added

[hackers] [slstatus] Increase precision in netspeeds.c || Laslo Hunhold

2018-05-19 Thread git
commit 68a3902dc533a66c1377409b34904f730ae4a7ef Author: Laslo Hunhold AuthorDate: Sat May 19 20:09:38 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 20:14:09 2018 +0200 Increase precision in netspeeds.c First dividing by interval

[hackers] [slstatus] Implement esnprintf() and make formatted calls more efficient || Laslo Hunhold

2018-05-19 Thread git
commit 422cadfd5ffd78ae1b8fdf15734e03bd0333b26e Author: Laslo Hunhold AuthorDate: Sat May 19 19:33:04 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 19:44:02 2018 +0200 Implement esnprintf() and make formatted calls more efficient

[hackers] [slstatus] Simplify ipv* functions || Aaron Marcher

2018-05-19 Thread git
commit f31b113e7e85bf7057cb88a70d88c5ce9325e208 Author: Aaron Marcher AuthorDate: Sat May 19 13:34:18 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 13:34:18 2018 +0200 Simplify ipv* functions diff --git a/components/ip.c b/components/ip.c

[hackers] [slstatus] Use `int` for flags || Aaron Marcher

2018-05-19 Thread git
commit d47d78255ef8ede773c69a97e2cb5de78cee7da9 Author: Aaron Marcher AuthorDate: Sat May 19 13:29:21 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 13:29:21 2018 +0200 Use `int` for flags diff --git a/components/netspeeds.c

[hackers] [slstatus] Revert aac29e2 as it is nonsense || Aaron Marcher

2018-05-19 Thread git
commit 74891945d897530b30c2c29844808d63bff625b7 Author: Aaron Marcher AuthorDate: Sat May 19 13:25:35 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 13:25:35 2018 +0200 Revert aac29e2 as it is nonsense diff --git a/components/battery.c

[hackers] [slstatus] Set {r,t}xbytes 0 before incrementing them on OBSD || Aaron Marcher

2018-05-19 Thread git
commit 06d4447f03669b72a885a997b666e4cbcc6b5ed1 Author: Aaron Marcher AuthorDate: Sat May 19 13:19:53 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 13:19:53 2018 +0200 Set {r,t}xbytes 0 before incrementing them on OBSD diff --git

[hackers] [slstatus] Missing assignment for last commit || Aaron Marcher

2018-05-19 Thread git
commit a37224bf7b7eed62ff7574cc667202e905fc0d43 Author: Aaron Marcher AuthorDate: Sat May 19 13:12:06 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 13:12:06 2018 +0200 Missing assignment for last commit diff --git a/components/netspeeds.c

[hackers] [slstatus] Unify and simplify netspeed logic and types || Aaron Marcher

2018-05-19 Thread git
commit e3ccac3298f8d5d15fc63679aaed9646dd82919e Author: Aaron Marcher AuthorDate: Sat May 19 13:07:05 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 13:07:05 2018 +0200 Unify and simplify netspeed logic and types diff --git

Re: [hackers] [slstatus][PATCH] netspeeds: added error condition for openbsd

2018-05-19 Thread Aaron Marcher
Tobias, thanks, applied! Cheers! Aaron -- Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/ Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion GPG: 0x7A65E38D55BE96FE Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE

[hackers] [slstatus] netspeeds: added error condition for openbsd || Tobias Tschinkowitz

2018-05-19 Thread git
commit 2321aecff01fb9aa2fda156bb59bca6d16bd7c5d Author: Tobias Tschinkowitz AuthorDate: Sat May 19 11:23:16 2018 +0200 Commit: Aaron Marcher CommitDate: Sat May 19 12:20:25 2018 +0200 netspeeds: added error condition for openbsd implemented

[hackers] [slstatus][PATCH] netspeeds: added error condition for openbsd

2018-05-19 Thread Tobias Tschinkowitz
implemented additional error condition for openbsd netstat in case the interface could not be found in the interface list or if_data is not readable. --- components/netspeeds.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/components/netspeeds.c