Is autofs4 8-bit compatible?
Quoted 11 lines · On Sunday 06 March 2005 05:10, [email protected] wrote:
Could you try this patch for me please.
Ian
--- autofs-4.1.4_beta2/modules/lookup_file.c.char-compare 2005-03-06
11:06:19.000000000 +0800 +++autofs-4.1.4_beta2/modules/lookup_file.c2005-03-06 11:06:57.000000000
+0800 @@ -147,7 +147,7 @@else if (ch == '*') { state = st_star; *(kptr++) = ch;
Review
Quoted 5 lines
(quoted diff) +1
-1- } else if (isprint((char) ch)) { + } else if (!iscntrl((char) ch)) { state = st_compare; *(kptr++) = ch; }
I've tried your patch and there are no difference - autofs continue to fail on mount as before.
[email protected]
maintainerQuoted 3 lines · On Thu, 10 Mar 2005, atlantos41 wrote:
Quoted 2 lines · On Sunday 06 March 2005 05:10, [email protected] wrote:
Could you try this patch for me please.
snip ...
Quoted 3 lines
I've tried your patch and there are no difference - autofs continue to fail on mount as before.
Could you try this one please?
modules/lookup_file.c renamed from modules/lookup_file.c.wide_char +2 -2
@@ -148,7 +148,7 @@ static int read_one(FILE *f, char *key,else if (ch =='*' ) { state = st_star; *(kptr++) = ch; - }else if (isprint ((char ) ch)) { + }else { state = st_compare; *(kptr++) = ch; }
@@ -164,7 +164,7 @@ static int read_one(FILE *f, char *key, getting = got_real; state = st_entspc; }else if (escape == esc_char); -else if (isprint ((char ) ch)) +else *(kptr++) = ch;break ;