mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-05-13 08:57:27 +00:00
Not part of normal build.
Hopefully fix win32 tinderbox codesighs numbers. Problem revolved around decoding string outside of printable range. This was giving the scripts (sort) some problems.
This commit is contained in:
parent
1c66027d21
commit
7c49a8ef52
@ -57,6 +57,7 @@
|
||||
#define DEMANGLE_STATE_DOLLAR_2 8
|
||||
#define DEMANGLE_STATE_START 9
|
||||
#define DEMANGLE_STATE_STOP 10
|
||||
#define DEMANGLE_SAFE_CHAR(eval) (isprint(eval) ? eval : ' ')
|
||||
|
||||
#else
|
||||
#define F_DEMANGLE 0
|
||||
@ -978,7 +979,7 @@ char* symdup(const char* inSymbol)
|
||||
state = DEMANGLE_STATE_STOP;
|
||||
break;
|
||||
default:
|
||||
*curresult++ = *curchar;
|
||||
*curresult++ = DEMANGLE_SAFE_CHAR(*curchar);
|
||||
state = DEMANGLE_STATE_NORMAL;
|
||||
break;
|
||||
}
|
||||
@ -1040,7 +1041,7 @@ char* symdup(const char* inSymbol)
|
||||
/* same mechanism as above */
|
||||
hex_state += (*curchar - 'A');
|
||||
if (hex_state) {
|
||||
*curresult++ = hex_state;
|
||||
*curresult++ = DEMANGLE_SAFE_CHAR(hex_state);
|
||||
have_null_char = 0;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user