On Sat, 2012-06-09 at 10:15:15 -0400, James McCoy wrote:
> Closes: #676796
> ---
> lib/dpkg/pkg-format.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/dpkg/pkg-format.c b/lib/dpkg/pkg-format.c
> index 96185c9..338c206 100644
> --- a/lib/dpkg/pkg-format.c
> +++ b/lib/dpkg/pkg-format.c
> @@ -86,7 +86,7 @@ parsefield(struct pkg_format_node *cur, const char *fmt,
> const char *fmtend)
> *endptr);
> return false;
> }
> - if (w < INT_MAX || w > INT_MAX || errno == ERANGE) {
> + if (w < INT_MIN || w > INT_MAX || errno == ERANGE) {
> fprintf(stderr, _("field width is out of range\n"));
> return false;
> }
Heh, right, had already fixed locally, just finishing preparing the
release, thanks anyway.
regards,
guillem
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]