Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mango0x45 committed Jun 21, 2024
1 parent 3aa4521 commit aa66c30
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions cbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit aa66c30

Please sign in to comment.