summaryrefslogtreecommitdiff
path: root/src/shred.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shred.c')
-rw-r--r--src/shred.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shred.c b/src/shred.c
index 4d51a4b32..1e438b620 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -1348,8 +1348,9 @@ wipefd (int fd, char const *qname, struct isaac_state *s,
/* --- Name-wiping code --- */
-/* Characters allowed in a file name - a safe universal set. */
-static char const nameset[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+/* Characters allowed in a file name - a safe universal set. */
+static char const nameset[] =
+"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_.";
/* Increment NAME (with LEN bytes). NAME must be a big-endian base N
number with the digits taken from nameset. Return true if