Backport octal ansi escape fix for #423. See $435.

This commit is contained in:
brectanus
2007-12-15 00:50:11 +00:00
parent 7866e76277
commit 021191368f
2 changed files with 2 additions and 2 deletions

View File

@@ -889,7 +889,7 @@ int ansi_c_sequences_decode_inplace(unsigned char *input, int input_len) {
}
}
else
if (isdigit(input[i + 1])) { /* Octal. */
if (ISODIGIT(input[i + 1])) { /* Octal. */
char buf[10];
int j = 0, l = 3;

View File

@@ -35,7 +35,7 @@ int DSOLOCAL is_token_char(unsigned char c);
int DSOLOCAL remove_lf_crlf_inplace(char *text);
unsigned DSOLOCAL char x2c(unsigned char *what);
unsigned char DSOLOCAL x2c(unsigned char *what);
char DSOLOCAL *guess_tmp_dir(apr_pool_t *p);