author | sean <seanlkml@sympatico.ca> | |
Fri, 5 May 2006 13:49:15 +0000 (09:49 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 5 May 2006 21:33:58 +0000 (14:33 -0700) | ||
commit | 93ddef3e2dd5f7f3238fad9d52e974d03c7844f2 | |
tree | 7afb0223c5ca77620f9073c7246ba78362784a7b | tree | snapshot |
parent | 7abd7117ec57b8c3c2a469db62c7811fdac5c655 | commit | diff |
Fix for config file section parsing.
Currently, if the target key has a section that matches
the initial substring of another section we mistakenly
believe we've found the correct section. To avoid this
problem, ensure that the section lengths are identical
before comparison.
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Currently, if the target key has a section that matches
the initial substring of another section we mistakenly
believe we've found the correct section. To avoid this
problem, ensure that the section lengths are identical
before comparison.
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
config.c | diff | blob | history |