[PATCH] V12 of experiment for a simpler path encoding for hashed paths (for "fncache2")
Bryan O'Sullivan
bos at serpentine.com
Fri Sep 28 15:37:31 CDT 2012
On Fri, Sep 28, 2012 at 1:08 PM, Adrian Buehlmann <adrian at cadifra.com>wrote:
> + if (src[i] == '/' || src[i] == '\0') {
> + if (seglen != 0) {
> + if (seglen == 3) {
> + cmp = seg[0] << 16 | seg[1] << 8 |
> seg[2];
> + if ( cmp == 0x617578 /* aux */
>
I believe that this no longer correctly handles name components that start
with a reserved name, e.g. nul.txt?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120928/ec1c24de/attachment.html>
More information about the Mercurial-devel
mailing list