config-parser: Make weston_config_parse() tkae a file name
Take a basename of the config file to parse instead of an fd.
This commit is contained in:
@@ -40,7 +40,7 @@ run_test(const char *text)
|
||||
len = write(fd, text, strlen(text));
|
||||
assert(len == (int) strlen(text));
|
||||
|
||||
config = weston_config_parse(fd);
|
||||
config = weston_config_parse(file);
|
||||
close(fd);
|
||||
unlink(file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user