summaryrefslogtreecommitdiff
path: root/.topmsg
blob: eb5952f5f07047610f73c7a6152f75b186b48b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
COMMITED UPSTREAM

From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [PATCH] Allow unknown root directory.

To be efficient, the remap translator simply returns ports from the underlying
filesystem, and thus the root directory found through browsing '..' is the
underlying root, not the remap root. This should not be a reason for getcwd to
fail.

* sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_internal): Do
not remove the heading slash if we got an unknown root directory.
(__getcwd): Do not fail with EGRATUITOUS if we got an unknown root directory.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>