[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: base64 tool?
From: |
Simon Josefsson |
Subject: |
Re: base64 tool? |
Date: |
Mon, 27 Feb 2006 16:01:04 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> Simon Josefsson <address@hidden> wrote:
>> Here are updated tests. They test several corner cases, but still not
>> comprehensive.
>
> Thank you!
> Applied.
With the patch below, it builds and passes self-tests fine here.
Thanks!
--- base64.c 27 Feb 2006 15:50:10 +0100 1.4
+++ base64.c 27 Feb 2006 16:00:28 +0100
@@ -257,7 +257,7 @@
{
unsigned long int tmp_ulong;
if (xstrtoul (optarg, NULL, 0, &tmp_ulong, NULL) != LONGINT_OK
- || SIZE_MAX < tmp_ulong || tmp_ulong == 0)
+ || SIZE_MAX < tmp_ulong)
error (EXIT_FAILURE, 0, _("invalid wrap size: %s"),
quotearg (optarg));
wrap_column = tmp_ulong;