portable: readdir fixes
commite8e4f786ac6af0f1f13c04f0c4a97cbeee629929
authorThomas Adam <thomas@xteddy.org>
Wed, 31 Jul 2024 12:50:42 +0000 (31 13:50 +0100)
committerThomas Adam <thomas@xteddy.org>
Wed, 31 Jul 2024 12:50:42 +0000 (31 13:50 +0100)
treeda702a84e4ab3c2e60042a479966189d1acf4bf9
parent5af3f6316aa82394e953c26fd78ca0062f316679
portable: readdir fixes

There is no 'd_namlen' field -- so take the length of the entry instead.
This has already happened elsewhere in -portable.
lib/repository.c
lib/repository_admin.c