r50963 - in /branches/upstream/libquota-perl/current: CHANGES MANIFEST META.yml Quota.pm Quota.xs README
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Thu Jan 14 21:50:26 UTC 2010
Author: jawnsy-guest
Date: Thu Jan 14 21:50:20 2010
New Revision: 50963
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50963
Log:
[svn-upgrade] Integrating new upstream version, libquota-perl (1.6.4+dfsg)
Modified:
branches/upstream/libquota-perl/current/CHANGES
branches/upstream/libquota-perl/current/MANIFEST
branches/upstream/libquota-perl/current/META.yml
branches/upstream/libquota-perl/current/Quota.pm
branches/upstream/libquota-perl/current/Quota.xs
branches/upstream/libquota-perl/current/README
Modified: branches/upstream/libquota-perl/current/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libquota-perl/current/CHANGES?rev=50963&op=diff
==============================================================================
--- branches/upstream/libquota-perl/current/CHANGES (original)
+++ branches/upstream/libquota-perl/current/CHANGES Thu Jan 14 21:50:20 2010
@@ -1,3 +1,7 @@
+Changes in 1.6.4 (January 2010)
+- Fixed RPC quota block count truncation to 32bit (CPAN ticket 52813 )
+ Thanks to Lloyd Brown for reporting the bug
+
Changes in 1.6.3 (December 2008)
- Fixed SEG fault for 32-bit Linux clients on top of 64-bit kernels
Thanks to Jani Ollikainen (pronetko.fi) for reporting and debugging this.
Modified: branches/upstream/libquota-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libquota-perl/current/MANIFEST?rev=50963&op=diff
==============================================================================
--- branches/upstream/libquota-perl/current/MANIFEST (original)
+++ branches/upstream/libquota-perl/current/MANIFEST Thu Jan 14 21:50:20 2010
@@ -7,7 +7,6 @@
Quota.xs
linuxapi.c
afsquota.c
-vxquotactl.c
stdio_wrap.c
README
test.pl
Modified: branches/upstream/libquota-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libquota-perl/current/META.yml?rev=50963&op=diff
==============================================================================
--- branches/upstream/libquota-perl/current/META.yml (original)
+++ branches/upstream/libquota-perl/current/META.yml Thu Jan 14 21:50:20 2010
@@ -1,7 +1,7 @@
--- #YAML:1.0
name: Quota
abstract: Quota - Perl interface to file system quotas
-version: 1.6.3
+version: 1.6.4
author:
- Tom Zoerner <tomzo at users.sourceforge.net>
license: perl
Modified: branches/upstream/libquota-perl/current/Quota.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libquota-perl/current/Quota.pm?rev=50963&op=diff
==============================================================================
--- branches/upstream/libquota-perl/current/Quota.pm (original)
+++ branches/upstream/libquota-perl/current/Quota.pm Thu Jan 14 21:50:20 2010
@@ -1,5 +1,5 @@
# ------------------------------------------------------------------------ #
-# Quota.pm - Copyright (C) 1995-2007 Tom Zoerner
+# Quota.pm - Copyright (C) 1995-2010 Tom Zoerner
# ------------------------------------------------------------------------ #
# This program is free software: you can redistribute it and/or modify
# it either under the terms of the Perl Artistic License or the GNU
@@ -22,7 +22,7 @@
@ISA = qw(Exporter DynaLoader);
@EXPORT = ();
-$VERSION = '1.6.3';
+$VERSION = '1.6.4';
bootstrap Quota;
Modified: branches/upstream/libquota-perl/current/Quota.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libquota-perl/current/Quota.xs?rev=50963&op=diff
==============================================================================
--- branches/upstream/libquota-perl/current/Quota.xs (original)
+++ branches/upstream/libquota-perl/current/Quota.xs Thu Jan 14 21:50:20 2010
@@ -190,12 +190,18 @@
dqp->QS_BCUR = gq_rslt.GQR_RQUOTA.rq_curblocks;
#else /* not buggy */
if (gq_rslt.GQR_RQUOTA.rq_bsize >= DEV_QBSIZE) {
+ /* assign first, multiply later:
+ ** so that mult works with the possibly larger type in dqp */
+ dqp->QS_BHARD = gq_rslt.GQR_RQUOTA.rq_bhardlimit;
+ dqp->QS_BSOFT = gq_rslt.GQR_RQUOTA.rq_bsoftlimit;
+ dqp->QS_BCUR = gq_rslt.GQR_RQUOTA.rq_curblocks;
+
/* we rely on the fact that block sizes are always powers of 2 */
/* so the conversion factor will never be a fraction */
int qb_fac = gq_rslt.GQR_RQUOTA.rq_bsize / DEV_QBSIZE;
- dqp->QS_BHARD = gq_rslt.GQR_RQUOTA.rq_bhardlimit * qb_fac;
- dqp->QS_BSOFT = gq_rslt.GQR_RQUOTA.rq_bsoftlimit * qb_fac;
- dqp->QS_BCUR = gq_rslt.GQR_RQUOTA.rq_curblocks * qb_fac;
+ dqp->QS_BHARD *= qb_fac;
+ dqp->QS_BSOFT *= qb_fac;
+ dqp->QS_BCUR *= qb_fac;
}
else {
int qb_fac = DEV_QBSIZE / gq_rslt.GQR_RQUOTA.rq_bsize;
Modified: branches/upstream/libquota-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libquota-perl/current/README?rev=50963&op=diff
==============================================================================
--- branches/upstream/libquota-perl/current/README (original)
+++ branches/upstream/libquota-perl/current/README Thu Jan 14 21:50:20 2010
@@ -3,8 +3,8 @@
Author: Tom Zoerner (tomzo AT users.sourceforge.net)
-Version: 1.6.3
-Date: December 2008
+Version: 1.6.4
+Date: January 2010
DLSIP-Code:Rcdfg
- stable release
- C compiler required for installation
More information about the Pkg-perl-cvs-commits
mailing list