mirror of
https://github.com/davatorium/rofi.git
synced 2025-03-03 16:05:20 -05:00
[RUN] Report the expanded PATH entry in debug output
This commit is contained in:
parent
dc2de0d042
commit
9bd17ddfd0
1 changed files with 1 additions and 1 deletions
|
@ -233,9 +233,9 @@ static char ** get_apps ( unsigned int *length )
|
||||||
for ( const char *dirname = strtok_r ( path, sep, &strtok_savepointer ); dirname != NULL; dirname = strtok_r ( NULL, sep, &strtok_savepointer ) ) {
|
for ( const char *dirname = strtok_r ( path, sep, &strtok_savepointer ); dirname != NULL; dirname = strtok_r ( NULL, sep, &strtok_savepointer ) ) {
|
||||||
char *fpath = rofi_expand_path ( dirname );
|
char *fpath = rofi_expand_path ( dirname );
|
||||||
DIR *dir = opendir ( fpath );
|
DIR *dir = opendir ( fpath );
|
||||||
|
g_debug ( "Checking path %s for executable.", fpath );
|
||||||
g_free ( fpath );
|
g_free ( fpath );
|
||||||
|
|
||||||
g_debug ( "Checking path %s for executable.", dirname );
|
|
||||||
if ( dir != NULL ) {
|
if ( dir != NULL ) {
|
||||||
struct dirent *dent;
|
struct dirent *dent;
|
||||||
gsize dirn_len = 0;
|
gsize dirn_len = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue