Support filenames with spaces in the blacklist option

This commit is contained in:
Peter Millerchip 2015-08-19 00:12:42 +01:00
parent 85273ce7d1
commit d81fc1424a
2 changed files with 1 additions and 2 deletions

View file

@ -69,7 +69,7 @@ static void check_file_name(char *ptr, int lineno) {
int len = strlen(ptr);
// file globbing ('*') is allowed
if (strcspn(ptr, "\\&!?\"'<>%^(){}[];, ") != len) {
if (strcspn(ptr, "\\&!?\"'<>%^(){}[];,") != len) {
if (lineno == 0)
fprintf(stderr, "Error: \"%s\" is an invalid filename\n", ptr);
else

1
todo
View file

@ -1,3 +1,2 @@
1. Deal with .purple directory. It holds the confiig files for pidgin
2. Support filenames with spaces in blacklist option.