diff options
author | Bruno Haible <bruno@clisp.org> | 2012-01-07 00:57:29 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-01-08 21:26:27 +0100 |
commit | e3324651cc1f9f116754a4713e08bfb0bac50150 (patch) | |
tree | 071413c474e5e9764891135a33adf1fb7fd20860 /bootstrap.conf | |
parent | 45110a7927df633cb3235d4fee3d84b0b6d26a96 (diff) | |
download | diffutils-e3324651cc1f9f116754a4713e08bfb0bac50150.tar.gz |
New option --no-dereference.
* src/diff.h (no_dereference_symlinks): New variable.
* src/diff.c: Include xreadlink.h.
(longopts): Add --no-dereference option.
(main): Accept --no-dereference option.
(option_help_msgid): Mention the --no-dereference option.
(compare_files): If no_dereference_symlinks is true, use lstat()
instead of stat(). Compare symbolic links by comparing their values.
* bootstrap.conf (gnulib_modules): Add lstat, stat, xreadlink.
* doc/diffutils.texi (Comparing Directories, diff Options): Mention the
--no-dereference option.
* tests/no-dereference: New file.
* tests/Makefile.am (TESTS): Add it.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r-- | bootstrap.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 2399d08..51da0c0 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -48,6 +48,7 @@ hard-locale inttostr inttypes largefile +lstat maintainer-makefile manywarnings mbrtowc @@ -60,6 +61,7 @@ regex sh-quote signal sigprocmask +stat stat-macros stat-time stdint @@ -77,6 +79,7 @@ version-etc-fsf wcwidth xalloc xfreopen +xreadlink xstrtoumax ' |