TGIF, drinking-beer, Sysadmin Appreciation Day commit:
• As requested by Steffen Daode Nurpmeso, enlarge the amount of command characters shown in job handling
This commit is contained in:
		
							
								
								
									
										4
									
								
								jobs.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								jobs.c
									
									
									
									
									
								
							| @@ -23,7 +23,7 @@ | |||||||
|  |  | ||||||
| #include "sh.h" | #include "sh.h" | ||||||
|  |  | ||||||
| __RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.99 2013/06/02 03:09:15 tg Exp $"); | __RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.100 2013/07/26 20:33:23 tg Exp $"); | ||||||
|  |  | ||||||
| #if HAVE_KILLPG | #if HAVE_KILLPG | ||||||
| #define mksh_killpg		killpg | #define mksh_killpg		killpg | ||||||
| @@ -45,7 +45,7 @@ struct proc { | |||||||
| 	int state; | 	int state; | ||||||
| 	int status;		/* wait status */ | 	int status;		/* wait status */ | ||||||
| 	/* process command string from vistree */ | 	/* process command string from vistree */ | ||||||
| 	char command[64 - (ALLOC_SIZE + sizeof(Proc *) + sizeof(pid_t) + | 	char command[256 - (ALLOC_SIZE + sizeof(Proc *) + sizeof(pid_t) + | ||||||
| 	    2 * sizeof(int))]; | 	    2 * sizeof(int))]; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								tree.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tree.c
									
									
									
									
									
								
							| @@ -23,7 +23,7 @@ | |||||||
|  |  | ||||||
| #include "sh.h" | #include "sh.h" | ||||||
|  |  | ||||||
| __RCSID("$MirOS: src/bin/mksh/tree.c,v 1.70 2013/07/21 18:39:21 tg Exp $"); | __RCSID("$MirOS: src/bin/mksh/tree.c,v 1.71 2013/07/26 20:33:24 tg Exp $"); | ||||||
|  |  | ||||||
| #define INDENT	8 | #define INDENT	8 | ||||||
|  |  | ||||||
| @@ -761,8 +761,8 @@ vistree(char *dst, size_t sz, struct op *t) | |||||||
| 	char *cp, *buf; | 	char *cp, *buf; | ||||||
| 	size_t n; | 	size_t n; | ||||||
|  |  | ||||||
| 	buf = alloc(sz + 8, ATEMP); | 	buf = alloc(sz + 16, ATEMP); | ||||||
| 	snptreef(buf, sz + 8, "%T", t); | 	snptreef(buf, sz + 16, "%T", t); | ||||||
| 	cp = buf; | 	cp = buf; | ||||||
|  vist_loop: |  vist_loop: | ||||||
| 	if (UTFMODE && (n = utf_mbtowc(&c, cp)) != (size_t)-1) { | 	if (UTFMODE && (n = utf_mbtowc(&c, cp)) != (size_t)-1) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user