mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 23:41:31 +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);
|
nicezputs(s, file);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
|
||||||
case 'L':
|
case 'L':
|
||||||
lnum = va_arg(ap, long);
|
lnum = va_arg(ap, long);
|
||||||
fprintf(file, "%ld", lnum);
|
fprintf(file, "%ld", lnum);
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
case 'd':
|
case 'd':
|
||||||
num = va_arg(ap, int);
|
num = va_arg(ap, int);
|
||||||
fprintf(file, "%d", num);
|
fprintf(file, "%d", num);
|
||||||
|
|
Loading…
Reference in a new issue