RPM Community Forums

Mailing List Message of <popt-devel>

Re: Question about the xmalloc() et al functions

From: Wayne Davison <wayned@samba.org>
Date: Mon 10 Mar 2008 - 03:04:44 CET
Message-ID: <20080310020444.GA29086@herod.dreamhost.com>
On Sun, Mar 09, 2008 at 07:00:52PM -0700, Wayne Davison wrote:
> +    } else if (prtshort) {
> +	left[0] = '-';
> +	left[1] = opt->shortName;
> +    } else if (prtlong) {

Oops, there should have been a left[2] = '\0' in there.

..wayne..
Received on Mon Mar 10 03:04:47 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.