bug#55344: ftw thinks readable directories are unreadable if "other" don't have read permission

2023-03-13 Thread Saad Rhoulam
I am also experiencing this issue on Guile 3.0.9, guix on Ubuntu 22.04, 
amd64 architecture. It won't descend into a directory unless it has o+rx 
permissions set.






bug#56413: [PATCH v3 1/1] scm_i_utf8_string_hash: compute u8 chars not bytes

2023-03-13 Thread Ludovic Courtès
Hi Rob,

Rob Browning  skribis:

> Noticed while investigating a migration to utf-8 strings.  After making
> changes that routed non-ascii symbol hashing through this function,
> encoding-iso88597.test began intermittently failing because it would
> traverse trailing garbage when u8_strnlen reported 8 chars instead of 4.
>
> Change the scm_i_str2symbol and scm_i_str2uninterned_symbol internal
> hash type to unsigned long to explicitly match the scm_i_string_hash
> result type.
>
> * libguile/hash.c (scm_i_utf8_string_hash): Call u8_mbsnlen not u8_strnlen.
> * libguile/symbols.c (scm_i_str2symbol, scm_i_str2uninterned_symbol):
> Use unsigned long for scm_i_string_hash result.
> * test-suite/standalone/.gitignore: Add test-hashing.
> * test-suite/standalone/Makefile.am: Add test-hashing.
> * test-suite/standalone/test-hashing.c: Add.

Still LGTM, please push!  :-)

Ludo’.