Mageia Bugzilla – Attachment 8564 Details for
Bug 19571
overflow when querying for size with urpmq
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
test
0002-test.patch (text/plain), 676 bytes, created by
Thierry Vignaud
on 2016-10-18 03:48:19 CEST
(
hide
)
Description:
test
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-10-18 03:48:19 CEST
Size:
676 bytes
patch
obsolete
>From ffba7f9d0ee6c9ae6f7bddef69fb945e4811ba3b Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Tue, 18 Oct 2016 03:17:40 +0200 >Subject: [PATCH 2/4] test > >--- > URPM.xs | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/URPM.xs b/URPM.xs >index 8602dc9..1da6de2 100644 >--- a/URPM.xs >+++ b/URPM.xs >@@ -2761,6 +2761,17 @@ BOOT: > (void) read_config_files(0); > PERL_MATH_INT64_LOAD_OR_CROAK; > >+ >+int64_t >+Urpm_some_int64() >+CODE: >+ SV *test = newSVi64(666); >+ int64_t res = SvI64(test); >+ printf("RES=%" PRId64 "\n", res); >+ RETVAL = -42; >+OUTPUT: >+ RETVAL >+ > void > Urpm_bind_rpm_textdomain_codeset() > CODE: >-- >2.10.1 >
From ffba7f9d0ee6c9ae6f7bddef69fb945e4811ba3b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Tue, 18 Oct 2016 03:17:40 +0200 Subject: [PATCH 2/4] test --- URPM.xs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/URPM.xs b/URPM.xs index 8602dc9..1da6de2 100644 --- a/URPM.xs +++ b/URPM.xs @@ -2761,6 +2761,17 @@ BOOT: (void) read_config_files(0); PERL_MATH_INT64_LOAD_OR_CROAK; + +int64_t +Urpm_some_int64() +CODE: + SV *test = newSVi64(666); + int64_t res = SvI64(test); + printf("RES=%" PRId64 "\n", res); + RETVAL = -42; +OUTPUT: + RETVAL + void Urpm_bind_rpm_textdomain_codeset() CODE: -- 2.10.1
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19571
:
8522
|
8523
|
8525
|
8528
|
8529
|
8530
|
8531
|
8537
|
8538
|
8539
|
8541
|
8542
|
8543
|
8547
|
8548
|
8549
|
8563
| 8564 |
8565
|
8566