ly/ly-ui
Дмитрий 008d413295 Fix user detection if /etc/login.defs does not contain both UID_MIN and UID_MAX (#1014)
## What are the changes about?

I modified getUserIdRange(), so it checks if either of UID_MIN and UID_MAX is set in /etc/login.defs. If any, but not both, is not set, it uses fallback value. I don't know zig build system, so I added ugly fallback values passthrough.

## What existing issue does this resolve?

#1013

## Pre-requisites

- [X] I have tested & confirmed the changes work locally
- [X] I have read and fully adhere to the rules set in the contributing guidelines found in `CONTRIBUTING.md`

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/1014
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org>
2026-06-12 12:09:37 +02:00
..
src termbox2: Log init errors 2026-05-30 12:17:25 +02:00
build.zig Fix user detection if /etc/login.defs does not contain both UID_MIN and UID_MAX (#1014) 2026-06-12 12:09:37 +02:00
build.zig.zon Start Ly v1.5.0 development cycle 2026-05-01 07:47:48 +02:00