summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2019-12-26 11:49:45 +0000
committerDaniel Shahaf <danielsh@apache.org>2019-12-26 11:49:45 +0000
commit81185f4c6106d7ea2f7beaabbec7360c08e400d2 (patch)
tree34be1abddd66479f935999c62a942b8872cb8dc3 /Src
parent3834c423ab293761471d57d2813528d3079cf051 (diff)
downloadzsh-81185f4c6106d7ea2f7beaabbec7360c08e400d2.tar.gz
zsh-81185f4c6106d7ea2f7beaabbec7360c08e400d2.tar.xz
zsh-81185f4c6106d7ea2f7beaabbec7360c08e400d2.zip
internal: Allow %L in zerrmsg() in non-debug builds, too.
This will let error messages include long integers.
Diffstat (limited to 'Src')
-rw-r--r--Src/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 086c0dfcb..597689b02 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -325,12 +325,10 @@ zerrmsg(FILE *file, const char *fmt, va_list ap)
 		nicezputs(s, file);
 		break;
 	    }
-#ifdef DEBUG
 	    case 'L':
 		lnum = va_arg(ap, long);
 		fprintf(file, "%ld", lnum);
 		break;
-#endif
 	    case 'd':
 		num = va_arg(ap, int);
 		fprintf(file, "%d", num);