summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-05 15:56:46 -0500
committerJune McEnroe <june@causal.agency>2020-12-05 15:56:46 -0500
commit6ca0401e4d3eaaf4fb82ddaab5f643b462bbe90c (patch)
treed56d6bf6ce4bfcc0242ce3d1a7d224ec525ddbe1 /bin
parentDisable mouse in htop (diff)
downloadsrc-6ca0401e4d3eaaf4fb82ddaab5f643b462bbe90c.tar.gz
src-6ca0401e4d3eaaf4fb82ddaab5f643b462bbe90c.zip
Handle const strings in c -e
Diffstat (limited to '')
-rw-r--r--bin/c.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/c.sh b/bin/c.sh
index 153a2f94..6d2b6b35 100644
--- a/bin/c.sh
+++ b/bin/c.sh
@@ -51,7 +51,9 @@ if [ -n "${expr:-}" ]; then
 			${expr},
 			char: "%c\n",
 			char *: "%s\n",
+			const char *: "%s\n",
 			wchar_t *: "%ls\n",
+			const wchar_t *: "%ls\n",
 			signed char: "%hhd\n",
 			short: "%hd\n",
 			int: "%d\n",
019-11-06 23:23:41 -0500'>2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe