Merge branches 'master' and 'bacardi55' into bacardi55

This commit is contained in:
Raphael Khaiat 2010-09-19 12:29:03 +02:00
commit 8f8d47dc23

View File

@ -330,7 +330,7 @@ include(struct keyword *head)
}
/* relative path from parent file */
else if (head->name && head->name[0] != '/') {
base = strdup(kw->file->parent->name);
base = strdup(head->file->name);
xasprintf(&filename, "%s/%s", dirname(base), head->name);
free(base);
}