Re: Bug#576677: find's %Y

2010-04-07 Thread maximilian attems
On Thu, Apr 08, 2010 at 08:37:18AM +0800, jida...@jidanni.org wrote: > ma> can't reproduce your failure on x86_64: > Trust me: https://savannah.gnu.org/bugs/index.php?29460 yep seen and tried mentioned testcases and non triggers, which find do you have installed: dpkg -l findutils

Re: Bug#576677: find's %Y

2010-04-07 Thread maximilian attems
On Wed, 07 Apr 2010, jida...@jidanni.org wrote: > Anyway, I have shown %Y is moody and not to be trusted. > I will now step back and hand the baton to others. can't reproduce your failure on x86_64: mount -t tmpfs tmpfs /mnt/ -o size=40m TMPDIR=/mnt/ mkinitramfs -o /tmp/foo -k Working files in

[PATCH 5/5] Adopt the use of the gnulib module readlink

2010-04-07 Thread James Youngman
Signed-off-by: James Youngman --- ChangeLog|3 +++ import-gnulib.config |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index e72586f..fef71ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-04-08 James Youngman +

[PATCH 2/5] Adopt (explicitly) the use of the gnulib module dirent-safer.

2010-04-07 Thread James Youngman
* import-gnulib.config (modules): Add dirent-safer; we were previously transitively importing this module, but we are now importing it directly. * lib/savedirinfo.c: Include opendir-safer.h. (xsavedir): Call opendir_safer instead of opendir. Signed-off-by: James Youngman --- ChangeLog

[PATCH 1/5] Adopt the use of the gnulib module d-type.

2010-04-07 Thread James Youngman
* import-gnulib.config (modules): Import the d-type module. * configure.ac: Remove old struct dirent.d_type detection logic (since we now use the gnulib macro from the d-type module for this). * find/parser.c (parse_version): Use HAVE_STRUCT_DIRENT_D_TYPE (since the d-ino module still defines it) b

[PATCH 3/5] Adopt the use of the gnulib module faccessat.

2010-04-07 Thread James Youngman
* import-gnulib.config (modules): Add faccessat. * find/pred.c (struct access_check_args): Delete. (access_callback): Delete. (can_access): Delete. (pred_executable): Use faccessat. (pred_readable): Likewise. (pred_writable): Likewise. Signed-off-by: James Youngman --- ChangeLog|

[PATCH 4/5] Adopt the use of the gnulib module isblank

2010-04-07 Thread James Youngman
Signed-off-by: James Youngman --- ChangeLog|3 +++ import-gnulib.config |4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc5b655..e72586f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-04-08 James Youngman +

Re: Bug#576677: find's %Y

2010-04-07 Thread jidanni
$ w3m -dump http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576772|grep ^Version Version: 4.5.7-1 findutils: Installed: 4.5.7-1

[bug #19973] Setup for samefile-p-brokenlink.exp fails

2010-04-07 Thread James Youngman
Follow-up Comment #5, bug #19973 (project findutils): Nelson: ping? ___ Reply to this item at: ___ Message sent via/by Savannah http://savannah.gnu.o

[bug #18227] find -ls does not display device numbers for device nodes.

2010-04-07 Thread James Youngman
Update of bug #18227 (project findutils): Status: Need Info => None ___ Follow-up Comment #3: Looks like nobody has a strong contrary opinion. I'll update the documentation. __

[bug #27213] consider_visiting: invalid assertion for FTS_NS due to access permissions.

2010-04-07 Thread James Youngman
Update of bug #27213 (project findutils): Open/Closed:Open => Closed Fixed Release:None => 4.5.8 ___ Follow-up Comment #8: Fixed in 4.5.8,

[bug #29435] fd_is_cloexec () does not work on Fedora buildhosts

2010-04-07 Thread James Youngman
Update of bug #29435 (project findutils): Open/Closed:Open => Closed Fixed Release:None => 4.5.8 ___ Follow-up Comment #4: Fixed in 4.5.8,

[bug #29460] -printf %Y fails in $CWD-dependent way

2010-04-07 Thread James Youngman
Update of bug #29460 (project findutils): Status: Code Review => Fixed Open/Closed:Open => Closed Fixed Release:None => 4.5.8 ___

Announcing the release of GNU findutils 4.5.8

2010-04-07 Thread James Youngman
I am pleased to announce the release of version 4.5.8 of GNU findutils. GNU findutils is a set of software tools for finding files that match certain criteria and for performing various operations on them. Findutils includes the programs "find", "xargs" and "locate". More information about findut

Re: [PATCH 1/2] Fix Savannah bug 29460, -printf %Y fails in $CWD-dependent way

2010-04-07 Thread James Youngman
I'm going to commit this now rather than waiting 2 days for code review comments, since it's probably causing a release-blocking bug for initramfs-tools (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576677#130).

[bug #29460] -printf %Y fails in $CWD-dependent way

2010-04-07 Thread James Youngman
Follow-up Comment #2, bug #29460 (project findutils): I've updated the patch to mention the bugfix in the NEWS file. I also changed a similar case in symlink_loop. (file #20149, file #20150) ___ Additional Item Attachment: File name: 000

[PATCH 1/2] Fix Savannah bug 29460, -printf %Y fails in $CWD-dependent way

2010-04-07 Thread James Youngman
* find/pred.c (do_fprintf): Use optionl_stat and optionp_stat instead of stat and lstat, because the first two functions are aware of state.cwd_dir_fd. * find/testsuite/find.gnu/printf-nonlocal-symlink.exp: A new test case for this bug. * find/testsuite/find.gnu/printf-nonlocal-symlink.xo: Expected

[PATCH 2/2] More stat/xstat cleanup.

2010-04-07 Thread James Youngman
* find/parser.c (estimate_fstype_success_rate): Change the name of the variable "dir" to "the_root_dir" to emphasise that it doesn't matter that we're calling stat rather than options.xstat. * find/ftsfind.c (symlink_loop): Call options.xstat instead of stat/lstat, because options.xstat takes accou

Bugfix for Savannah bug #29460

2010-04-07 Thread James Youngman
This pair of patches also fixes bug #29460. In fact, the first patch is identical to my earliuer patch for this bug except for the fact that it updates the NEWS file. The changes look like this: commit 8061fc433bdbc0b1a14a466d4b831b46388b2f45 Author: James Youngman Date: Wed Apr 7 10:48:09 20

[PATCH] Fix Savannah bug 29460, -printf %Y fails in $CWD-dependent way

2010-04-07 Thread James Youngman
* find/pred.c (do_fprintf): Use optionl_stat and optionp_stat instead of stat and lstat, because the first two functions are aware of state.cwd_dir_fd. * find/testsuite/find.gnu/printf-nonlocal-symlink.exp: A new test case for this bug. * find/testsuite/find.gnu/printf-nonlocal-symlink.xo: Expected

Re: find's %Y

2010-04-07 Thread James Youngman
On Wed, Apr 7, 2010 at 7:34 AM, wrote: > Anyway, I have shown %Y is moody and not to be trusted. > I will now step back and hand the baton to others. Thanks for reporting the problem. I have a good idea what the problem is; pred.c calls stat and lstat without changing working directory. It

[bug #29460] -printf %Y fails in $CWD-dependent way

2010-04-07 Thread James Youngman
Update of bug #29460 (project findutils): Status: Confirmed => Code Review ___ Follow-up Comment #1: The attached patch fixes the problem (and introduces a regression test case for it). (file #

[bug #29460] -printf %Y fails in $CWD-dependent way

2010-04-07 Thread James Youngman
URL: Summary: -printf %Y fails in $CWD-dependent way Project: findutils Submitted by: jay Submitted on: Wed 07 Apr 2010 09:16:17 AM GMT Category: find Severity: 4 - Im