|
@@ -525,7 +525,6 @@ browse(const char *ipath, const char *ifilter) |
|
|
struct stat sb; |
|
|
struct stat sb; |
|
|
char *oldpath; |
|
|
char *oldpath; |
|
|
|
|
|
|
|
|
cur = 0; |
|
|
|
|
|
oldpath = NULL; |
|
|
oldpath = NULL; |
|
|
begin: |
|
|
begin: |
|
|
/* Path and filter should be malloc(3)-ed strings at all times */ |
|
|
/* Path and filter should be malloc(3)-ed strings at all times */ |
|
@@ -662,7 +661,6 @@ nochange: |
|
|
/* Reset filter */ |
|
|
/* Reset filter */ |
|
|
free(filter); |
|
|
free(filter); |
|
|
filter = xstrdup(ifilter); |
|
|
filter = xstrdup(ifilter); |
|
|
cur = 0; |
|
|
|
|
|
goto out; |
|
|
goto out; |
|
|
case S_IFREG: |
|
|
case S_IFREG: |
|
|
bin = openwith(name); |
|
|
bin = openwith(name); |
|
@@ -697,7 +695,6 @@ nochange: |
|
|
filter = tmp; |
|
|
filter = tmp; |
|
|
filter_re = re; |
|
|
filter_re = re; |
|
|
DPRINTF_S(filter); |
|
|
DPRINTF_S(filter); |
|
|
cur = 0; |
|
|
|
|
|
goto out; |
|
|
goto out; |
|
|
case SEL_NEXT: |
|
|
case SEL_NEXT: |
|
|
if (cur < n - 1) |
|
|
if (cur < n - 1) |
|
@@ -740,7 +737,6 @@ nochange: |
|
|
free(filter); |
|
|
free(filter); |
|
|
filter = xstrdup(ifilter); /* Reset filter */ |
|
|
filter = xstrdup(ifilter); /* Reset filter */ |
|
|
DPRINTF_S(path); |
|
|
DPRINTF_S(path); |
|
|
cur = 0; |
|
|
|
|
|
goto out; |
|
|
goto out; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|