Re: [PATCH] hcache: prepend current dir to path for local folders

2007-03-15 Thread Rocco Rutte
Hi, * Brendan Cully [07-03-14 13:21:51 -0700] wrote: I've applied this, but I followed up with a patch that _always_ uses realpath if stat succeeds, and doesn't do any other cleanup. The remote URL users should be providing clean paths already. After reading your patch I think the trailing sl

Re: [PATCH] hcache: prepend current dir to path for local folders

2007-03-14 Thread Brendan Cully
On Wednesday, 14 March 2007 at 19:02, Rocco Rutte wrote: > If a folder is local (i.e. stat() succeeds), prepend the current working > directory if necessary to always fully qualify the path. Otherwise we > may end up using different cache files for the same folder when given > relative paths. This

[PATCH] hcache: prepend current dir to path for local folders

2007-03-14 Thread Rocco Rutte
If a folder is local (i.e. stat() succeeds), prepend the current working directory if necessary to always fully qualify the path. Otherwise we may end up using different cache files for the same folder when given relative paths. This closes #2845. --- hcache.c | 16 ++-- 1 files chan

[PATCH] hcache: prepend current dir to path for local folders

2007-03-14 Thread Rocco Rutte
If a folder is local (i.e. stat() succeeds), prepend the current working directory if necessary to always fully qualify the path. Otherwise we may end up using different cache files for the same folder when giving relatives paths. This closes #2845. --- hcache.c | 23 +-- 1