Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [PATCH 09/19] tree-diff.c: reserve space in "base" for pathname concatenation

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:50:14

On Tue, Dec 14, 2010 at 12:32 PM, Junio C Hamano [off-list ref] wrote:
Nguyen Thai Ngoc Duy [off-list ref] writes:
quoted
All paths should not exceed PATH_MAX, right?
Your PATH_MAX may be a lot shorter than the PATH_MAX on the system I
created my trees on that you are reading.  Besides, you can create
arbitrarily deep tree structure without busting the limit on the
filesystem by writing tree objects by hand.

In other words, all paths shouldn't exceed PATH_MAX, but the responsiblity
to verify that is _yours_.
OK. I can check and die if any path exceeds PATH_MAX.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help