Revision 6f28fb86
b/linux-user/path.c | ||
---|---|---|
101 | 101 |
|
102 | 102 |
base = new_entry("", NULL, prefix+1); |
103 | 103 |
base = add_dir_maybe(base); |
104 |
set_parents(base, base); |
|
104 |
if (base->num_entries == 0) { |
|
105 |
free (base); |
|
106 |
base = NULL; |
|
107 |
} else { |
|
108 |
set_parents(base, base); |
|
109 |
} |
|
105 | 110 |
} |
106 | 111 |
|
107 | 112 |
/* FIXME: Doesn't handle DIR/.. where DIR is not in emulated dir. */ |
Also available in: Unified diff