|
@@ -601,7 +601,6 @@ nochange: |
|
|
goto nochange; |
|
|
goto nochange; |
|
|
|
|
|
|
|
|
name = dents[cur].name; |
|
|
name = dents[cur].name; |
|
|
|
|
|
|
|
|
DPRINTF_S(name); |
|
|
DPRINTF_S(name); |
|
|
|
|
|
|
|
|
/* Get path info */ |
|
|
/* Get path info */ |
|
@@ -611,6 +610,7 @@ nochange: |
|
|
goto nochange; |
|
|
goto nochange; |
|
|
} |
|
|
} |
|
|
DPRINTF_U(sb.st_mode); |
|
|
DPRINTF_U(sb.st_mode); |
|
|
|
|
|
|
|
|
switch (sb.st_mode & S_IFMT) { |
|
|
switch (sb.st_mode & S_IFMT) { |
|
|
case S_IFDIR: |
|
|
case S_IFDIR: |
|
|
free(path); |
|
|
free(path); |
|
@@ -624,7 +624,6 @@ nochange: |
|
|
cur = 0; |
|
|
cur = 0; |
|
|
goto out; |
|
|
goto out; |
|
|
case S_IFREG: |
|
|
case S_IFREG: |
|
|
/* Open with */ |
|
|
|
|
|
bin = openwith(name); |
|
|
bin = openwith(name); |
|
|
if (bin == NULL) { |
|
|
if (bin == NULL) { |
|
|
printmsg("No association"); |
|
|
printmsg("No association"); |
|
|