mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 05:09:43 +00:00
Update for sdb 2.0.1
This commit is contained in:
parent
bf9540ab1e
commit
e44da847db
@ -6,7 +6,7 @@ INCDIR=${PREFIX}/include
|
||||
VAPIDIR=${DATADIR}/vala/vapi/
|
||||
MANDIR=${DATADIR}/man/man1
|
||||
|
||||
SDBVER=2.0.0
|
||||
SDBVER=2.0.1
|
||||
|
||||
BUILD_MEMCACHE=0
|
||||
|
||||
|
@ -280,6 +280,16 @@ static char *escape(const char *b, int ch) {
|
||||
*c++ = '\\';
|
||||
*c++ = 'n';
|
||||
break;
|
||||
case '\t':
|
||||
*c++ = '\\';
|
||||
*c++ = 't';
|
||||
break;
|
||||
#if 0
|
||||
case ' ':
|
||||
*c++ = '\\';
|
||||
*c++ = 's';
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
*c = *b;
|
||||
break;
|
||||
|
@ -288,6 +288,8 @@ static void load_process_line(LoadCtx *ctx) {
|
||||
|
||||
static inline char unescape_raw_char(char c) {
|
||||
switch (c) {
|
||||
case 's':
|
||||
return ' ';
|
||||
case 'n':
|
||||
return '\n';
|
||||
case 'r':
|
||||
|
Loading…
Reference in New Issue
Block a user