Forwarded: not-needed
Debian-Specific: yes
This reverts commit
542cf01bfe530a83dfbc8a606d182c0a5a622059.
This commit switched ldb code to use hexchars_upper from libreplace,
introducing circular dependency between libraries. Restore the status-quo.
Gbp-Pq: Name revert-ldb-use-hexchars_upper-from-replace.h.patch
case '\0': {
/* any others get \XX form */
unsigned char v;
+ const char *hexbytes = "0123456789ABCDEF";
v = (const unsigned char)c;
*d++ = '\\';
- *d++ = hexchars_upper[v>>4];
- *d++ = hexchars_upper[v&0xF];
+ *d++ = hexbytes[v>>4];
+ *d++ = hexbytes[v&0xF];
break;
}
default: