pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib sync with src:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5914d64d8df6
branches:  trunk
changeset: 489370:5914d64d8df6
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Feb 20 09:17:25 2005 +0000

description:
sync with src:

cast return value of min_free() to uint64_t.

fixes pkg_add <binarypkg> on Solaris 8.

diffstat:

 pkgtools/pkg_install/files/lib/pen.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r e0334fe78e30 -r 5914d64d8df6 pkgtools/pkg_install/files/lib/pen.c
--- a/pkgtools/pkg_install/files/lib/pen.c      Sun Feb 20 07:48:48 2005 +0000
+++ b/pkgtools/pkg_install/files/lib/pen.c      Sun Feb 20 09:17:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pen.c,v 1.16 2004/12/29 12:16:56 agc Exp $     */
+/*     $NetBSD: pen.c,v 1.17 2005/02/20 09:17:25 grant Exp $   */
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -11,7 +11,7 @@
 #if 0
 static const char *rcsid = "from FreeBSD Id: pen.c,v 1.25 1997/10/08 07:48:12 charnier Exp";
 #else
-__RCSID("$NetBSD: pen.c,v 1.16 2004/12/29 12:16:56 agc Exp $");
+__RCSID("$NetBSD: pen.c,v 1.17 2005/02/20 09:17:25 grant Exp $");
 #endif
 #endif
 
@@ -217,5 +217,5 @@
                warn("statvfs");
                return 0;
        }
-       return buf.f_bavail * buf.f_bsize;
+       return (uint64_t)buf.f_bavail * buf.f_bsize;
 }



Home | Main Index | Thread Index | Old Index