2 Feb 2006 22:35
Re: module 'fts-lgpl' not complete
Jim Meyering <jim <at> meyering.net>
2006-02-02 21:35:13 GMT
2006-02-02 21:35:13 GMT
Bruno Haible <bruno <at> clisp.org> wrote: >> Regarding the second patch, I see no explanation for why it >> makes such a fundamental change (not appending `.'?). > > Actually the end of that function was a bit incomplete. It should probably > look like this: ... Thanks for the suggestion. I've applied a similar patch for coreutils. One difference is the use of ENOTDIR rather than EINVAL, since that what lstat does for names like "non-dir/.". I don't particularly like using stat to simulate lstat, but in this case it seems worthwhile and safe. I'll propagate this change to gnulib once it's undergone a little testing. 2006-02-02 Jim Meyering <jim <at> meyering.net> Eliminate the unwelcome (albeit unlikely) possibility of xmalloc failure on deficient systems, and simplify gnulib lgpl dependencies. * lstat.c (rpl_lstat): Rewrite to use stat() in place of the xmalloc/lstat combination. Based on a patch from Bruno Haible. Index: lib/lstat.c =================================================================== RCS file: /fetish/cu/lib/lstat.c,v retrieving revision 1.10 retrieving revision 1.11 diff -c -r1.10 -r1.11(Continue reading)
policies, so it may not be reasonable to apply
them to all of gnulib. But that's why every rule has an exclusion mechanism.
Also, if you want to skip some of these syntax-check tests altogether,
just define a Make variable, local-checks-to-skip, and set it to the
RSS Feed