Be tolerant to old uuencode programs which encode the ASCII NUL

character as character 32 (space) instead character 64 (`).

See also  'The UNIX-HATERS Handbook', page 82-83.
This commit is contained in:
wosch 1997-03-25 14:31:31 +00:00
parent a4d68a9941
commit 6f2f806e06

View File

@ -199,7 +199,7 @@ decode2(flag)
return(1);
}
#define DEC(c) (((c) - ' ') & 077) /* single character decode */
#define IS_DEC(c) ( (((c) - ' ') > 0) && (((c) - ' ') <= 077 + 1) )
#define IS_DEC(c) ( (((c) - ' ') >= 0) && (((c) - ' ') <= 077 + 1) )
/* #define IS_DEC(c) (1) */
#define OUT_OF_RANGE \