<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/lib/utils_cmd.h, branch 3.0.0-rc3</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2025-12-11T20:05:49Z</updated>
<entry>
<title>lib/utils_cmd: Rename stdout, stderr in cmd_run_result</title>
<updated>2025-12-11T20:05:49Z</updated>
<author>
<name>Alvar Penning</name>
<email>post@0x21.biz</email>
</author>
<published>2025-12-11T09:53:07Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=6ce11bc44f5fe2344083a94175a1667ca02e016c'/>
<id>urn:sha1:6ce11bc44f5fe2344083a94175a1667ca02e016c</id>
<content type='text'>
On OpenBSD's "stdio.h", stdin, stdout, and stderr are not directly
FILE*, but #defines. Thus, naming the output struct fields stdout and
stderr resulted in compiler errors, after replacing the #define.

https://codeberg.org/OpenBSD/src/src/commit/a762189c5efbb2811f3c853bc0e5578fd5fb919d/include/stdio.h#L75-L77
</content>
</entry>
<entry>
<title>Implement replacement functions for executing commands</title>
<updated>2025-11-16T13:26:41Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2025-11-16T13:26:41Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=7bfb16e0da721dcf50558f9104d3ed84efe03516'/>
<id>urn:sha1:7bfb16e0da721dcf50558f9104d3ed84efe03516</id>
<content type='text'>
This commit implements replacement functions for the previous
exec functions.
The replacements are implemented in a more "pure" style, the do no
longer receive pointer arguments which they will write to, but create
the pointers themselves and should therefore be easier to use,
since it is more obvious what goes in and what comes out.

Also a essentialy unused variable was removed with this.
</content>
</entry>
<entry>
<title>general refactorin in lib, more local variables, real booleans</title>
<updated>2025-09-15T12:06:55Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2025-09-15T12:06:55Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f855c5b5bbbc6d5436741fd8108be64825a3c76b'/>
<id>urn:sha1:f855c5b5bbbc6d5436741fd8108be64825a3c76b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changed filename in cmd_file_read to const char * (check_apt warning)</title>
<updated>2025-05-09T08:49:02Z</updated>
<author>
<name>Andreas Baumann</name>
<email>mail@andreasbaumann.cc</email>
</author>
<published>2025-05-09T08:49:02Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ec47bbbda6b99f0efc1801a424812a4dd457f9b6'/>
<id>urn:sha1:ec47bbbda6b99f0efc1801a424812a4dd457f9b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Update copyright</title>
<updated>2024-10-17T16:01:49Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>lorenz.kaestle@netways.de</email>
</author>
<published>2024-10-17T16:01:49Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9462819774ed2e3f51c75fffda59724428205c0e'/>
<id>urn:sha1:9462819774ed2e3f51c75fffda59724428205c0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: clang-format</title>
<updated>2024-10-17T15:57:50Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>lorenz.kaestle@netways.de</email>
</author>
<published>2024-10-17T15:57:50Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ee1ba3209993b72e90f5fe30a16ad951f1e2402d'/>
<id>urn:sha1:ee1ba3209993b72e90f5fe30a16ad951f1e2402d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace fixes in lib</title>
<updated>2023-10-15T16:17:36Z</updated>
<author>
<name>RincewindsHat</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2023-10-15T16:17:36Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2'/>
<id>urn:sha1:4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove check for RETSIGTYPE in autoconf stuff</title>
<updated>2023-09-23T10:31:33Z</updated>
<author>
<name>RincewindsHat</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2023-09-23T10:31:33Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=513929d796af668e977ca7981800c259304a2f25'/>
<id>urn:sha1:513929d796af668e977ca7981800c259304a2f25</id>
<content type='text'>
autoupdate tells me, that since C89 I can safely assume RETSIGTYPE
is void.

Therefore to simplify things I removed the corresponding configure.ac
line and replaced all mentions of RETSIGTYPE with void.
</content>
</entry>
<entry>
<title>Place _cmd_pids in object not header to avoid unsused variables</title>
<updated>2023-09-22T13:28:06Z</updated>
<author>
<name>RincewindsHat</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2023-03-05T14:47:49Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=a3029c5a2e71d4aa4955901f282d3f4669acf97d'/>
<id>urn:sha1:a3029c5a2e71d4aa4955901f282d3f4669acf97d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check_by_ssh: fix child process leak on timeouts</title>
<updated>2019-02-15T09:36:28Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2019-02-15T09:36:28Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=7cafb0e84550035fe671662c293122be975065ca'/>
<id>urn:sha1:7cafb0e84550035fe671662c293122be975065ca</id>
<content type='text'>
When check_by_ssh runs into a timeout it simply exits keeping all child processes running.
Simply adopting the kill loop from runcmd_timeout_alarm_handler() fixes this.

Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
</feed>
