search for: guestfs_is_dir_opts_followsymlink

Displaying 3 results from an estimated 3 matches for "guestfs_is_dir_opts_followsymlink".

2014 Oct 31
4
[PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
...nr_words].is_dir = dirents->val[i].ftyp == 'd'; + if (dirents->val[i].ftyp == 'u' + || dirents->val[i].ftyp == '?') { + int is_dir = guestfs_is_dir_opts (g, words[nr_words].name, + GUESTFS_IS_DIR_OPTS_FOLLOWSYMLINKS, 1, -1); + words[nr_words].is_dir = is_dir; + } else + words[nr_words].is_dir = dirents->val[i].ftyp == 'd'; nr_words++; } } -- 1.9.3
2014 Oct 31
0
[PATCH] fish: complete symlink properly
...if (dirents->val[i].ftyp == 'u' + || dirents->val[i].ftyp == 'l' || dirents->val[i].ftyp == '?') { int is_dir = guestfs_is_dir_opts (g, words[nr_words].name, GUESTFS_IS_DIR_OPTS_FOLLOWSYMLINKS, 1, -1); -- 1.9.3
2014 Oct 31
0
Re: [PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
...irents->val[i].ftyp == 'd'; > + if (dirents->val[i].ftyp == 'u' > + || dirents->val[i].ftyp == '?') { > + int is_dir = guestfs_is_dir_opts (g, words[nr_words].name, > + GUESTFS_IS_DIR_OPTS_FOLLOWSYMLINKS, 1, -1); Is it right to follow symlinks here I wonder? > + words[nr_words].is_dir = is_dir; > + } else > + words[nr_words].is_dir = dirents->val[i].ftyp == 'd'; > nr_words++; >...