Files
libgtop/examples
Ting-Wei Lan 4229d1ea20 Check if sbrk is available
The only use of sbrk in libgtop is in an example which always calls it
with 0. Since the use of sbrk provides no functionality, just skip these
calls when sbrk is not available.

This problem was first reported on FreeBSD Bugzilla because FreeBSD
decides not to support sbrk on ARM64 and RISC-V:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221751

Fix https://gitlab.gnome.org/GNOME/libgtop/issues/46
2020-01-20 07:24:34 +00:00
..
2007-05-19 14:26:11 +00:00
2015-06-26 02:57:42 +03:00
2014-08-20 04:44:27 +03:00
2015-07-14 11:17:59 +02:00
2020-01-20 07:24:34 +00:00
2014-08-20 04:44:27 +03:00
2005-12-12 09:38:15 +00:00
2015-07-10 20:36:12 +02:00
2014-08-20 04:44:27 +03:00
2017-05-12 05:08:41 +03:00
2017-05-12 05:08:41 +03:00
2007-05-19 14:26:11 +00:00