infra: adat to removal of user_lpath

This commit is contained in:
Thomas Schoebel-Theuer 2021-01-30 17:27:48 +01:00
parent ed680c298d
commit 1920411c46
1 changed files with 8 additions and 0 deletions

View File

@ -764,6 +764,14 @@ done:
return status; return status;
} }
/* adapt to ce6595a28a15c874aee374757dcd08f537d7b24d
* detected via 84a2bd39405ffd5fa6d6d77e408c5b9210da98de
*/
#ifdef LOOKUP_ROOT_GRABBED
#define user_lpath(name,path) \
user_path_at_empty(AT_FDCWD, (name), 0, (path), NULL)
#endif
char *mars_readlink(const char *newpath, struct lamport_time *stamp) char *mars_readlink(const char *newpath, struct lamport_time *stamp)
{ {
char *res = NULL; char *res = NULL;