fixup high-bit7 chars to be dumped (XXX probably want M- there)
This commit is contained in:
		
							
								
								
									
										6
									
								
								sh.h
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								sh.h
									
									
									
									
									
								
							| @@ -182,9 +182,9 @@ | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifdef EXTERN | #ifdef EXTERN | ||||||
| __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.865 2018/08/10 02:53:37 tg Exp $"); | __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.866 2018/10/20 18:45:58 tg Exp $"); | ||||||
| #endif | #endif | ||||||
| #define MKSH_VERSION "R56 2018/07/15" | #define MKSH_VERSION "R56 2018/10/20" | ||||||
|  |  | ||||||
| /* arithmetic types: C implementation */ | /* arithmetic types: C implementation */ | ||||||
| #if !HAVE_CAN_INTTYPES | #if !HAVE_CAN_INTTYPES | ||||||
| @@ -2637,7 +2637,7 @@ const char *wdscan(const char *, int); | |||||||
| #define WDS_TPUTS	BIT(0)		/* tputS (dumpwdvar) mode */ | #define WDS_TPUTS	BIT(0)		/* tputS (dumpwdvar) mode */ | ||||||
| char *wdstrip(const char *, int); | char *wdstrip(const char *, int); | ||||||
| void tfree(struct op *, Area *); | void tfree(struct op *, Area *); | ||||||
| void dumpchar(struct shf *, int); | void dumpchar(struct shf *, unsigned char); | ||||||
| void dumptree(struct shf *, struct op *); | void dumptree(struct shf *, struct op *); | ||||||
| void dumpwdvar(struct shf *, const char *); | void dumpwdvar(struct shf *, const char *); | ||||||
| void dumpioact(struct shf *shf, struct op *t); | void dumpioact(struct shf *shf, struct op *t); | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								tree.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tree.c
									
									
									
									
									
								
							| @@ -23,7 +23,7 @@ | |||||||
|  |  | ||||||
| #include "sh.h" | #include "sh.h" | ||||||
|  |  | ||||||
| __RCSID("$MirOS: src/bin/mksh/tree.c,v 1.96 2018/08/10 02:53:39 tg Exp $"); | __RCSID("$MirOS: src/bin/mksh/tree.c,v 1.97 2018/10/20 18:46:00 tg Exp $"); | ||||||
|  |  | ||||||
| #define INDENT	8 | #define INDENT	8 | ||||||
|  |  | ||||||
| @@ -821,7 +821,7 @@ vistree(char *dst, size_t sz, struct op *t) | |||||||
|  |  | ||||||
| #ifdef DEBUG | #ifdef DEBUG | ||||||
| void | void | ||||||
| dumpchar(struct shf *shf, int c) | dumpchar(struct shf *shf, unsigned char c) | ||||||
| { | { | ||||||
| 	if (ksh_isctrl(c)) { | 	if (ksh_isctrl(c)) { | ||||||
| 		/* C0 or C1 control character or DEL */ | 		/* C0 or C1 control character or DEL */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user