mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
internal: Allow %L in zerrmsg() in non-debug builds, too.
This will let error messages include long integers.
This commit is contained in:
parent
3834c423ab
commit
81185f4c61
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue