Displaying 4 results from an estimated 4 matches for "guestfs_is_dir_opts".
2014 Oct 31
4
[PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
...words[nr_words].name = p;
- words[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++;...
2014 Oct 31
0
[PATCH] fish: complete symlink properly
...words = w;
words[nr_words].name = p;
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).
...rds[nr_words].name = p;
> - words[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);
Is it right to follow symlinks here I wonder?
> + words[nr_words].is_dir = is_dir;
> + } else
> + words[nr_words].is_dir = dire...
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.