Hello, I just gave a deep look and fixed several minor things in the API. The biggest thing I am not sure about is: We currently have several functions that may find something by type or by depth (for instance the number of objects, the n-th one, the next one, ...). These functions are currently named "hwloc_get_foo_by_depth(..., depth)" if looking by depth and "hwloc_get_foo(..., type)" if by type. The latter may fail if there are multiple levels with same types (e.g. Caches), the former always work (unless depth is invalid). Should we keep these function name patterns or change them to something else? like _by_depth/_by_type or <nothing>/_by_type?
Also, make distcheck currently fails here. It looks for index.html inside the build dir while it should look inside the source dir. However, it seems that it correctly looks inside the source dir when building outside of make distcheck. Don't know what's going on... Brice LC_ALL=C /usr/bin/w3m ../doc/doxygen-doc/html/index.html | sed -n -e '/^Introduction$/,$p' > ../../README /bin/bash: ../../README: Permission denied w3m: Can't load ../doc/doxygen-doc/html/index.html. make[3]: *** [../../README] Error 1 make[3]: Leaving directory `/home/bgoglin/libtopology/build/hwloc-0.9.1a1-1/_build/doc' ERROR: generating new README failed ERROR: cannot continue make[2]: *** [dist-hook] Error 1 make[2]: Leaving directory `/home/bgoglin/libtopology/build/hwloc-0.9.1a1-1/_build' make[1]: *** [distdir] Error 2 make[1]: Leaving directory `/home/bgoglin/libtopology/build/hwloc-0.9.1a1-1/_build' make: *** [distcheck] Error 1