]> arthur.barton.de Git - netatalk.git/blobdiff - bin/adv1tov2/adv1tov2.c
Move fullpathname() around in libatalk
[netatalk.git] / bin / adv1tov2 / adv1tov2.c
index d4a66fba98b9e14fdeb2b408f1793b50bea34711..eade898b5d3fba6a8f89e88dd2574ff7f83a76f7 100644 (file)
@@ -58,21 +58,6 @@ static void xlate(char *name, int flags) {
 }
 #endif
 
-/* ----------------------------- */
-char *fullpathname(const char *name)
-{
-    static char wd[ MAXPATHLEN + 1];
-
-    if ( getcwd( wd , MAXPATHLEN) ) {
-        strlcat(wd, "/", MAXPATHLEN);
-        strlcat(wd, name, MAXPATHLEN);
-    }
-    else {
-        strlcpy(wd, name, MAXPATHLEN);
-    }
-    return wd;
-}
-
 #define MAXDESCEND 0xFFFF
 /* recursively descend subdirectories. 
  * oh the stack space we use up! */