On 12/14/18 4:09 AM, Reuben Thomas wrote:
As far as I can tell, the following warning is not dependent on my
code, as it's inside a function in count-leading-zeros.h. Warning
obtained with GCC 7.3.0:
bits_util.c: In function ‘smite_find_msbit’:
../lib/count-leading-zeros.h:39:26: warning: assu
On 12/14/18 1:10 PM, Niklas Hambüchen wrote:
+ if (stat (dir + prefix_len, &st) == 0
+ && S_ISDIR (st.st_mode))
+return true;
+ else
+{
+ error (0, errno,
+
This does not ring a bell with me. Presumably the "# define __random_r
random_r" business in lib/random_r.c and lib/stdlib.in.h also need to be
done for random and srandom in lib/random.c and lib/stdlib.in.h?
Hi Assaf,
> Around June 2018, there were few changes to the random module:
> ==
> 6979c258b random_r: do not crash if state is unaligned
> dc4b9a1f9 random_r: omit unnecessary include
> 137dda358 random, random_r: merge from glibc
> ==
>
> After uprgading gnulib and re-building (towards a new
> Here comes the last of the five generic container types:
I pushed this now.
Bruno
Until now, a stat() `errno` created by `mkdir -p` after `mkdir()` is dropped
silently, leading to very confusing error messages that hide the actual source
of the error:
`mkdir -p` can say
cannot create directory ‘dir: File exists`
when indeed the the file exists, is a directory (shows `d` i
Hello,
Around June 2018, there were few changes to the random module:
==
6979c258b random_r: do not crash if state is unaligned
dc4b9a1f9 random_r: omit unnecessary include
137dda358 random, random_r: merge from glibc
==
After uprgading gnulib and re-building (towards a new release),
and when
by default gnulib is not built with -fPIC so it is not
suitable for shared libraries.
is there an easy way to build gnulib .a with -fPIC so
it can be used with shared libraries and executables as
well within the same project?
only elf targets need to be supported so ideally all
gnulib replacement
As far as I can tell, the following warning is not dependent on my code, as
it's inside a function in count-leading-zeros.h. Warning obtained with GCC
7.3.0:
bits_util.c: In function ‘smite_find_msbit’:
../lib/count-leading-zeros.h:39:26: warning: assuming signed overflow does
not occur when simpl