[sheepdog] [PATCH] md: trim last slashes from paths
Liu Yuan
namei.unix at gmail.com
Wed Apr 17 17:41:10 CEST 2013
On 04/17/2013 11:39 PM, MORITA Kazutaka wrote:
> Can we add at least 'assert(path[0])'? Other developers might change
> MD codes and wrongly call the function in future. If we pass "" to
> this function, it causes a severe problem. We should add a strict
> check for such cases even if it is obvious to the author that it
> cannot happen.
Okay, assert() looks fine to me.
Thanks,
Yuan
More information about the sheepdog
mailing list