]> git.marmaro.de Git - mmh/blobdiff - uip/aliasbr.c
Removed the global alias file
[mmh] / uip / aliasbr.c
index 43a0e1b60e9d24c7e4c73587997106b20a5d6ac5..1923867611af9cf0857578c2e65753a998ab0994 100644 (file)
@@ -53,9 +53,6 @@ akvalue(char *s)
 {
        register char *v;
 
-       if (akahead == NULL)
-               alias(AliasFile);
-
        akvis = -1;
        v = akval(akahead, s);
        if (akvis == -1)
@@ -137,8 +134,7 @@ alias(char *file)
        register struct aka *ak = NULL;
        register FILE *fp;
 
-       if (*file != '/'
-                       && (strncmp(file, "./", 2) && strncmp(file, "../", 3)))
+       if (*file!='/' && (strncmp(file, "./", 2) && strncmp(file, "../", 3)))
                file = etcpath(file);
        if ((fp = fopen(file, "r")) == NULL) {
                akerrst = file;