Jan S

Results issues of Jan S

This PR enables compilation on OpenBSD. Since OpenBSD does support `sysctlbyname` nd `sysctlnametomib` the changes to fix the compilation issues are pretty invasive. A lot of functionality is not working...

I'm porting zig to OpenBSD right now and following issue came up when compiling the new libc detection. In [libc_installation.cpp:205](https://github.com/ziglang/zig/blob/master/src/libc_installation.cpp#L205) the else branch will be taken on posix systems, like...

### Describe the bug Typos in comments, readmes and code. Some of them are intentional and some of them are false positives. I fixed the ones that I assumed matter....

**Describe the bug** The Makefile is using a hardcoded path to the bash shell. On FreeBSD the path is different. **To Reproduce** 1. Use FreeBSD 2. Install gmake and bash...

S-confirming

**Describe the bug** On FreeBSD statfs returns an i64 instead of an u64 as needed in [unix.rs for checked_sub ](https://github.com/rustfs/rustfs/blob/main/crates/utils/src/os/unix.rs#L30) **To Reproduce** Steps to reproduce the behavior: 1. Try to...

S-confirming

**Describe the bug** Compilation on OpenBSD fails **To Reproduce** 1. Use OpenBSD 2. Clone the repo 3. Compile with `cargo build` **Expected behavior** Compilation succeeds. **Desktop (please complete the following...

S-confirming

Since Rust 1.19 was released there are the eprint! and eprintln! macros to write to stderr. Chapter 12.6 in the book can be updated. I think it should be added...

If you build it, I buy it. :)

Type: enhancement
wontfix

malloc(3) can fail and return NULL. You are not checking the return values of malloc(3). Affected files: - dbus.c - dunst.c - x.c