Commit Diff
- Commit:
be97b57fc8cec36d1730e707a71dc3344da8206c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- 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: https://github.com/DragonFlyBSD/DPorts/commit/f66bf875f75335ff63e0cad2f817a1c6e7106045
- Actions:
- Patch | Tree
--- dirs.c +++ dirs.c @@ -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; }