Re: [hackers] [slstatus][PATCH] Fixed bugs in FreeBSD's ram_* functions. Added appropriate FreeBSD config.mk options. Coding style fixes across all files.

From: Steve Ward <planet36_AT_gmail.com>
Date: Tue, 18 May 2021 20:51:56 -0400

On Sat, May 8, 2021 at 5:04 PM Christos Margiolis
<christos_AT_christosmarg.xyz> wrote:
>
> The FreeBSD `ram_*' functions in `components/ram.c' were printing
> completely wrong results (especially `ram_perc'). This was fixed
> by changing the `active' and `npages' variables' data types from
> `long' to `int'.
>
> `config.mk' was lacking the appropriate `X11INC' and `X11LIB'
> values to build on FreeBSD, so I added them (commented out by
> default).
>
> I also fixed the coding style across all files to match
> https://suckless.org/coding_style/
>
> --
> Kind regards,
> Christos

The FreeBSD RAM usage problem was previously reported here.
https://lists.suckless.org/hackers/2101/17741.html
Received on Wed May 19 2021 - 02:51:56 CEST

This archive was generated by hypermail 2.3.0 : Wed May 19 2021 - 04:12:32 CEST