aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-28 20:14:39 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-28 20:14:39 +0100
commitde9536c89e42f4c8db034f9e6fb36fc82bc8ec69 (patch)
treeb73bfa0a7521feaa725ba2405c87f4d981c95e1e
parentadd a todo (diff)
downloadmds-de9536c89e42f4c8db034f9e6fb36fc82bc8ec69.tar.gz
mds-de9536c89e42f4c8db034f9e6fb36fc82bc8ec69.tar.bz2
mds-de9536c89e42f4c8db034f9e6fb36fc82bc8ec69.tar.xz
add a minor todo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/make-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/make-tree.c b/src/mds-kbdc/make-tree.c
index c842125..26ee0a7 100644
--- a/src/mds-kbdc/make-tree.c
+++ b/src/mds-kbdc/make-tree.c
@@ -671,7 +671,7 @@ int parse_to_tree(const char* restrict filename, mds_kbdc_parsed_t* restrict res
/* Get a non-relative pathname for the file, relative filenames
* can be misleading as the program can have changed working
* directory to be able to resolve filenames. */
- result->pathname = realpath(filename, NULL);
+ result->pathname = realpath(filename, NULL); /* XXX use absolute path */
fail_if (result->pathname == NULL);
/* Check that the file exists and can be read. */