search for: 9d0854c

Displaying 1 result from an estimated 1 matches for "9d0854c".

2018 Feb 13
3
[nbdkit PATCH] plugin: add and use nbdkit_realpath
...{ if (strcmp (key, "file") == 0) { /* See FILENAMES AND PATHS in nbdkit-plugin(3). */ - filename = nbdkit_absolute_path (value); + filename = nbdkit_realpath (value); if (!filename) return -1; } diff --git a/plugins/nbd/nbd.c b/plugins/nbd/nbd.c index c9727f7..9d0854c 100644 --- a/plugins/nbd/nbd.c +++ b/plugins/nbd/nbd.c @@ -68,7 +68,7 @@ nbd_config (const char *key, const char *value) if (strcmp (key, "socket") == 0) { /* See FILENAMES AND PATHS in nbdkit-plugin(3) */ free (sockname); - sockname = nbdkit_absolute_path (value); + so...