projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Resolve clash between stdint.m4 and uintmax_t.m4.
[gnulib.git]
/
lib
/
gc-gnulib.c
diff --git
a/lib/gc-gnulib.c
b/lib/gc-gnulib.c
index
111c4a1
..
a91a7c3
100644
(file)
--- a/
lib/gc-gnulib.c
+++ b/
lib/gc-gnulib.c
@@
-109,6
+109,9
@@
randomize (int level, char *data, size_t datalen)
break;
}
+ if (strcmp (device, "no") == 0)
+ return GC_RANDOM_ERROR;
+
fd = open (device, O_RDONLY);
if (fd < 0)
return GC_RANDOM_ERROR;