bug#24659: 'mkdir' procedure is neither thread-safe nor safe (2.0.12)

2016-10-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Oct 10, 2016 at 06:39:47PM +0200, Ludovic Courtès wrote: > Hello! [...] > Furthermore, AFAICS, the above logic is redundant with what the kernel > does anyway. That is, in a single-threaded program, > > mask = umask (0); > umask

bug#24659: 'mkdir' procedure is neither thread-safe nor safe (2.0.12)

2016-10-10 Thread Ludovic Courtès
Hello! When the optional ‘mode’ argument to the ‘mkdir’ procedure is omitted, umask(2) is used to find out what the current mask is and to compute the mode argument to mkdir(2): --8<---cut here---start->8--- if (SCM_UNBNDP (mode)) { mask = umask

bug#24657: Autoconf macro GUILE_PROGS only looks for guile without version suffix even if given version - patch included

2016-10-10 Thread Freja Nordsiek
While trying to build a package that uses guile with autotools, I found a problem in the provided GUILE_PROGS macro. The macro searches for the executables guile, guild, guile-config, and guile-tools. The problem is that even if the macro is given the version, it only looks for guile, guild, etc.