Commit 42a64b4
gitk: sanitize 'open' arguments: simple commands with redirections
As in the previous commits, introduce a function that sanitizes
arguments intended for the process and in addition allows to pass
redirections, which are passed to Tcl's 'open' verbatim.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>1 parent fe32bf3 commit 42a64b4
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
| |||
9906 | 9915 | | |
9907 | 9916 | | |
9908 | 9917 | | |
9909 | | - | |
9910 | | - | |
| 9918 | + | |
| 9919 | + | |
9911 | 9920 | | |
9912 | 9921 | | |
9913 | 9922 | | |
| |||
9978 | 9987 | | |
9979 | 9988 | | |
9980 | 9989 | | |
9981 | | - | |
| 9990 | + | |
9982 | 9991 | | |
9983 | 9992 | | |
9984 | 9993 | | |
| |||
9992 | 10001 | | |
9993 | 10002 | | |
9994 | 10003 | | |
9995 | | - | |
9996 | 10004 | | |
9997 | 10005 | | |
9998 | 10006 | | |
9999 | 10007 | | |
10000 | | - | |
| 10008 | + | |
10001 | 10009 | | |
10002 | 10010 | | |
10003 | 10011 | | |
| |||
0 commit comments