Use tilde-expanded path in process_file().

This commit is contained in:
Tamas TEVESZ 2011-08-02 01:56:59 +02:00 committed by Daniel Beer
parent f597d25811
commit 45c1ba5dc8
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ int process_file(const char *filename, int show)
if (!path)
return -1;
in = fopen(filename, "r");
in = fopen(path, "r");
free(path);
if (!in) {
printc_err("read: can't open %s: %s\n",