Hi,
I'm trying to write Vala bindings for pkg(8), FreeBSD's packages manager. But I
encounter weird behaviour in while loop.
Currently I try to display name of repositories (FreeBSD and Xfce).
My simple C program [1] works fine (expected result). If I use same while loop
in my Vala program, I
Hello,
I guess "Pkg.Repo" represents a single repo, so is it normal that
"Pkg.Repo.repos (out r)" isn't called on every iteration ?
What was the tested condition in the while-loop ?
"while (Pkg.Status.OK == Pkg.Repo.repos (out r))"
Hope it helps.
Le ven. 30 déc. 2016 à 15:24, Olivier Duchateau