Date: Wed, 23 Jan 2013 12:31:00 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Jason Evans <jasone@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r245837 - head/usr.sbin/pkg_install/lib Message-ID: <20130123113100.GI27275@ithaqua.etoilebsd.net> In-Reply-To: <201301230722.r0N7MXbM000709@svn.freebsd.org> References: <201301230722.r0N7MXbM000709@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--BWWlCdgt6QLN7tv3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 23, 2013 at 07:22:33AM +0000, Jason Evans wrote: > Author: jasone > Date: Wed Jan 23 07:22:33 2013 > New Revision: 245837 > URL: http://svnweb.freebsd.org/changeset/base/245837 >=20 > Log: > Fix compilation errors. >=20 > Modified: > head/usr.sbin/pkg_install/lib/pkgng.c >=20 > Modified: head/usr.sbin/pkg_install/lib/pkgng.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/usr.sbin/pkg_install/lib/pkgng.c Wed Jan 23 05:37:45 2013 (r2458= 36) > +++ head/usr.sbin/pkg_install/lib/pkgng.c Wed Jan 23 07:22:33 2013 (r2458= 37) > @@ -50,8 +50,8 @@ void warnpkgng(void) > if (pkgngdir =3D=3D NULL) > pkgngdir =3D "/var/db/pkg"; > =20 > - rc =3D snprintf(pkgngpath, sizeof(pkgngpath) "%s/local.sqlite", pkgngdi= r); > - if (rc >=3D sizeof(pkgngpath)) { > + rc =3D snprintf(pkgngpath, sizeof(pkgngpath), "%s/local.sqlite", pkgngd= ir); > + if ((size_t)rc >=3D sizeof(pkgngpath)) { > warnx("path too long: %s/local.sqlite", pkgngdir); > return; > } > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" thanks and sorry about that regards, Bapt --BWWlCdgt6QLN7tv3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlD/yfQACgkQ8kTtMUmk6ExePACgpb1MLkbJFXZ58qtyESr3ZdQN fhIAoKrHvqXfEs9peres/H90yhAL7J8I =zI6k -----END PGP SIGNATURE----- --BWWlCdgt6QLN7tv3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130123113100.GI27275>