* fix infinite loop in mu-cmd-index (fixes issue #36) + some cosmetics
This commit is contained in:
@ -98,7 +98,7 @@ mu_util_dir_expand (const char *path)
|
||||
/* don't try realpath if the dir does not exist */
|
||||
if (access (dir, F_OK) != 0)
|
||||
return dir;
|
||||
|
||||
|
||||
/* now resolve any symlinks, .. etc. */
|
||||
if (realpath (dir, resolved) == NULL) {
|
||||
g_debug ("%s: could not get realpath for '%s': %s",
|
||||
|
||||
Reference in New Issue
Block a user