automake-patches
[Top][All Lists]
Advanced

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

Re: bug#10730: is_newest function fails on txinfo21


From: Stefano Lattarini
Subject: Re: bug#10730: is_newest function fails on txinfo21
Date: Sun, 05 Feb 2012 23:13:02 +0100

severity 10730 minor
tags 10730 patch
close 10730
thanks

On 02/05/2012 02:27 AM, Adam Sampson wrote:
> Hi,
>
Hi Adam, thanks for the report.

> In automake 1.11.3, the txinfo21 test uses is_newest to compare the
> timestamps of main.html (a directory) and main.texi (a file). This
> fails, because the find call inside is_newest also finds the files
> inside main.html.
>
Ouch.  We had already encountered and fixed this bug, but I applied
the fix to master only, so that the problem is still present in the
maintenance version :-(  I've now backported the patch from master,
which should fix the issue, and added you to THANKS.  See attached
patch.

> Adding -maxdepth 0 to the find invocation fixes this.
>
The '-maxdepth' option seems to be a GNU extensions, and not portable
to POSIX find(1); the attached fix uses the '-prune' option instead.

> A patch is attached, as is a log of it failing without the patch.
> 
Thanks,
  Stefano

Attachment: 0001-test-defs-function-is_newest-now-works-also-with-dir.patch
Description: Text Data


reply via email to

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