[PATCH 2/3] find: avoid using undefined statbuf

2008-12-26 Thread Jim Meyering
* find/ftsfind.c (consider_visiting): Use local variable, mode, rather than possibly undefined statbuf.st_mode. --- Without this, and with some soon-to-be-posted changes to fts.c, find would read from the uninitialized statbuf.st_mode. But "mode" is already guaranteed to be set in the preceding co

[PATCH 1/3] fix a typo in a comment

2008-12-26 Thread Jim Meyering
* find/ftsfind.c (consider_visiting): s/fill/full/ --- find/ftsfind.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/find/ftsfind.c b/find/ftsfind.c index e505518..f14b2af 100644 --- a/find/ftsfind.c +++ b/find/ftsfind.c @@ -432,7 +432,7 @@ consider_visiting(FTS *p, FTS

[PATCH] avoid build failure when compiling with -DGNULIB_PORTCHECK

2008-12-26 Thread Jim Meyering
Hi James, When I build with -DGNULIB_PORTCHECK, I get this failure: parser.c:(.text+0x2c52): undefined reference to `eschew_ctime' That's a feature of gnulib, but in this case, there's nothing wrong with the use of ctime, so I added the #undef to suppress the failure. >From df26314645bd992bbc