Thread (2 messages) flat view 2 messages, 2 authors, 2019-12-16

Re: [PATCH v2 6/8] dir: fix checks on common prefix directory

From: Junio C Hamano <hidden>
Date: 2019-12-16 21:25:10

Elijah Newren [off-list ref] writes:
Any bright ideas about what to do here?
Restructuring the code so that we do not use "struct dirent" in the
first place, even in the original code that used only those obtained
from readdir(), perhaps?  Then the codepath that would take the _thing_
that describes the diretory entry would expect to see the data in
the struct you define (not "struct dirent" from the system), and you
can safely manufacture ones out of thin air.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help