don't set d_reclen

It's not actually used and doesn't seem to be available on DragonflyBSD
(at least) judging from the patching in dports:

f66bf875f7
This commit is contained in:
Omar Polo 2022-07-07 08:54:26 +00:00
parent 2573332d7f
commit be97b57fc8
1 changed files with 0 additions and 1 deletions

1
dirs.c
View File

@ -128,7 +128,6 @@ scandir_fd(int fd, struct dirent ***namelist,
p->d_ino = d->d_ino;
p->d_type = d->d_type;
p->d_reclen = d->d_reclen;
memcpy(p->d_name, d->d_name, namlen + 1);
names[nitems++] = p;
}