diff options
author | Junio C Hamano <gitster@pobox.com> | 2025-06-18 13:04:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-18 13:05:29 -0700 |
commit | d094e05ea596145aa4362cf957f9d99663d4a2e3 (patch) | |
tree | dc8bd0e1897af60240e935f196f479536c49f1d1 /git-gui/lib/commit.tcl | |
parent | 09fb155f11128b505c227aae673de957c9388240 (diff) |
diff-no-index: do not reference .d_type member of struct dirent
Some platforms like AIX lack .d_type member in "struct dirent"; use
the DTYPE(e) macro instead of a direct reference to e->d_type and
when it yields DT_UNKNOWN, find the real type with get_dtype().
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions