bug#55356: join-thread unusable if timeout was hit

2022-05-10 Thread angry rectangle
If join-thread is called after a previous call to join-thread hits the timeout, a "mutex already locked by thread" error is thrown. Working example: (use-modules (ice-9 threads)) (define t (call-with-new-thread (lambda _ (let r () (sleep 1) (

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

2022-05-17 Thread angry rectangle
(hmm... resending this because it didnt work. hopefully i'm doing it right this time.) It looks like guile's compiler and optimizer could be replacing the `getuid' and `setuid' calls with constant, compile-time values. Here is a test I performed: 1. Make directory with 770 owned by root and the