summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-31 18:50:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-31 18:50:54 +0000
commit686fa4bb8e88f0c9a36218cdbf3c49f4a7b93b2a (patch)
tree13d137151745b062c8e4c6702a06f9da66e8911c /sv.c
parent60e543b98faa4a5070dcca1fd2110807d43d1186 (diff)
downloadperl-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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 3eebc9ad45..8f7e1f2aab 100644
--- a/sv.c
+++ b/sv.c
@@ -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++) {