summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-05-03 19:45:41 +0000
committerjmallett <jmallett@FreeBSD.org>2002-05-03 19:45:41 +0000
commit98e4fb17a50fab6754397707b279e9747bce4868 (patch)
treed7fecd4bab2ff2f82aa5b04a1f4604f7f1a3946d /share
parente13651801acee7fd9a1da2b4d7a9b3f2154b2891 (diff)
downloadFreeBSD-src-98e4fb17a50fab6754397707b279e9747bce4868.zip
FreeBSD-src-98e4fb17a50fab6754397707b279e9747bce4868.tar.gz
Fix a bug whereby we were getting ~0 and comparing it to maxsize, i.e. if
s1 was 0 length, and replstr was 0 length, etc., we would end up subtracting one from zero and seeing if it was greater than the size_t (unsigned) var maxsize... This would cause us to return a string consisting of essentially only match, which is not the right behaviour if we have 0 length inpline.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud