Ralf Wildenhues <[EMAIL PROTECTED]> writes:
> Better, thanks. But
> --disable-random-device (--enable-random-devide=no)
> could IMVHO still be given a useful meaning, which it currently does not
> have. Since I don't actually use this code in any project, I can't tell
> you how realistic this usage case would be.
I'm inclined to fix this in the source code, so that
--disable-random-device actually end up disabling the use of just that
device. What do you think?
--- gc-gnulib.c 07 Mar 2006 14:14:40 +0100 1.17
+++ gc-gnulib.c 08 Mar 2006 10:35:01 +0100
@@ -109,6 +109,9 @@
break;
}
+ if (strcmp (device, "no") == 0)
+ return GC_RANDOM_ERROR;
+
fd = open (device, O_RDONLY);
if (fd < 0)
return GC_RANDOM_ERROR;
>> + case "${target}" in
>
> Why do you use $target? Are you putting this in a compiler?
> It'd be good to precede with
> AC_REQUIRE([AC_CANONICAL_HOST])dnl
>
> and then you really want
> case $host in
>
>> + *-openbsd*)
>
> *-*-openbsd*)
>
> You could also just test $host_os, and then match
> openbsd*)
> only.
I've changed it to use $host_os.
Thanks,
Simon
_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib