bug-findutils
[Top][All Lists]
Advanced

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

Re: findutils-4.2.0: small compiling problem under AIX 4.3


From: James Youngman
Subject: Re: findutils-4.2.0: small compiling problem under AIX 4.3
Date: Mon, 18 Oct 2004 13:21:51 +0100
User-agent: Mutt/1.3.28i

On Mon, Oct 18, 2004 at 12:15:11PM +0200, Jens Schleusener wrote:

> I "played" a little bit with different variations and had success with the 
> following change (using original findutils-4.2.1.tar.gz):
> 
> --- parser.c.orig       2004-10-17 16:10:16 +0200
> +++ parser.c    2004-10-18 11:31:32 +0200
> @@ -1669,6 +1669,7 @@
>    uintmax_t num_days;
>    enum comparison_type c_type;
>    time_t t;
> +  intmax_t val;
> 
>    if ((argv == NULL) || (argv[*arg_ptr] == NULL))
>      return (false);
> @@ -1679,7 +1680,7 @@
>    t = ( cur_day_start - num_days * DAYSECS
>                    + ((c_type == COMP_GT) ? DAYSECS - 1 : 0));
>  #if 1
> -  intmax_t val = ( (intmax_t)cur_day_start - num_days * DAYSECS
> +  val = ( (intmax_t)cur_day_start - num_days * DAYSECS
>                    + ((c_type == COMP_GT) ? DAYSECS - 1 : 0));
>    t = val;
> 
> 

(slaps head)

Now I understand what the problem was.  OK, this is the right fix.
Sorry about that.  This will be fixed in findutils-4.2.2 which will be
out next weekend.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]