Thread (31 messages) flat view 31 messages, 4 authors, 2016-06-15

Re: [PATCH 02/16] list-objects: limit traversing within the given subtree if core.subtree is set

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:49:13

2010/8/1 Ævar Arnfjörð Bjarmason [off-list ref]:
quoted
+       int subtree_len;
Shouldn't that be size_t? strlen returns size_t, and strncmp expects
size_t, not int.
Hmm.. yeah. The compiler didn't warn me. Anyway subtree_len should be
small enough (i.e. < PATH_MAX) that type does not really matters.
-- 
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