]> Sergey Matveev's repositories - nnn.git/commitdiff
We don't use realpath(3) anymore
authorlostd <lostd@2f30.org>
Thu, 23 Oct 2014 15:12:17 +0000 (18:12 +0300)
committerlostd <lostd@2f30.org>
Thu, 23 Oct 2014 15:12:17 +0000 (18:12 +0300)
noice.c

diff --git a/noice.c b/noice.c
index c6df0d506bb6af55295a59eb077da604888567f2..8eeb7d14cb5e0494b928527f9108b98eb7755055 100644 (file)
--- a/noice.c
+++ b/noice.c
@@ -101,17 +101,6 @@ xstrdup(const char *s)
        return p;
 }
 
-char *
-xrealpath(const char *path)
-{
-       char *p;
-
-       p = realpath(path, NULL);
-       if (p == NULL)
-               printerr(1, "realpath");
-       return p;
-}
-
 char *
 xdirname(const char *path)
 {