From 41220bfbc8d14636851d9fdb6e77ec141cecfca6 Mon Sep 17 00:00:00 2001 From: "Stephen R. van den Berg" <srb@cuci.nl> Date: Wed, 27 Aug 2014 01:17:15 +0200 Subject: [PATCH] Yes, memcmp() compares using unsigned char comparisons. --- src/stralloc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/stralloc.c b/src/stralloc.c index 71d0aa4048..7cd709ca9e 100644 --- a/src/stralloc.c +++ b/src/stralloc.c @@ -1518,10 +1518,6 @@ ptrdiff_t generic_quick_binary_strcmp(const char *a, if(!asize && !bsize) { int tmp; - /* FIXME: Does MEMCMP() guarantee that the characters - * are compared as unsigned? - * /grubba 2006-03-11 - */ if(alen > blen) { tmp=MEMCMP(a, b, blen); -- GitLab