diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-31 18:50:54 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-31 18:50:54 +0000 |
commit | 686fa4bb8e88f0c9a36218cdbf3c49f4a7b93b2a (patch) | |
tree | 13d137151745b062c8e4c6702a06f9da66e8911c /sv.c | |
parent | 60e543b98faa4a5070dcca1fd2110807d43d1186 (diff) | |
download | perl-686fa4bb8e88f0c9a36218cdbf3c49f4a7b93b2a.tar.gz |
Fix for "[ID 20000329.080] quad printing does not work as documented",
reported by Joseph N. Hall. The bug was that even with use64bitint
one had to use the prefixes q, L, or ll with printf/sprintf,
contrary to the documentation and common sense.
p4raw-id: //depot/cfgperl@5905
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5926,6 +5926,11 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV break; } +#ifdef USE_64_BIT_INT + if (!intsize) + intsize = 'q'; +#endif + /* CONVERSION */ switch (c = *q++) { |