scripts/config: sync with linux upstream
[openwrt/staging/dedeckeh.git] / scripts / config / zconf.lex.c_shipped
index c938b2fae6966b34530e8b1a3cbe00c1b0a46ace..f1d652829301afa7c7eefce0a244857ce75806f6 100644 (file)
@@ -777,6 +777,7 @@ char *zconftext;
 #include <string.h>
 #include <unistd.h>
 #include <glob.h>
+#include <libgen.h>
 
 #include "lkc.h"
 
@@ -791,8 +792,8 @@ static char *text;
 static int text_size, text_asize;
 
 struct buffer {
-        struct buffer *parent;
-        YY_BUFFER_STATE state;
+       struct buffer *parent;
+       YY_BUFFER_STATE state;
 };
 
 struct buffer *current_buf;
@@ -2413,7 +2414,6 @@ void zconf_nextfile(const char *name)
                p = strdup(current_file->name);
                if (p) {
                        snprintf(path, sizeof(path), "%s/%s", dirname(p), name);
-                       fprintf(stderr, "TRY:%s\n", path);
                        err = glob(path, GLOB_ERR | GLOB_MARK, NULL, &gl);
                        free(p);
                }