aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-21 02:03:51 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-21 02:03:51 +0200
commitaa66c30435ec9e76dad78b8b126ee51d00f4d429 (patch)
treef3c1921f74e5bd6a4aa8532bc3dda3fe5fbf788a
parent3aa4521484ce60af0ea81107e5d3234ac2c79f50 (diff)
Formatting
-rw-r--r--cbs.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/cbs.h b/cbs.h
index e08034f..433c767 100644
--- a/cbs.h
+++ b/cbs.h
@@ -351,13 +351,15 @@ cmdwait(pid_t pid)
return WIFEXITED(ws) ? WEXITSTATUS(ws) : 256;
}
-/* import shlex
-
- s = '#define _SHELL_SAFE "'
- for c in map(chr, range(128)):
- if not shlex._find_unsafe(c):
- s += c
- print(s + '"') */
+/*
+ * import shlex
+ *
+ * s = '#define _SHELL_SAFE "'
+ * for c in map(chr, range(128)):
+ * if not shlex._find_unsafe(c):
+ * s += c
+ * print(s + '"')
+ */
#define _SHELL_SAFE \
"%+,-./0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"