Andreas Gruenbacher e3cfef7f99 Refuse to patch symlinks
* src/inp.c (get_input_file), src/pch.c (there_is_another_patch,
intuit_diff_type): Use lstat instead of stat.  This causes patch to
refuse patching symlinks (get_input_file() will refuse to read them).
* src/util.c (create_backup): Refuse to create backups of symlinks.
* tests/symlinks: New test case.
* tests/Makefile.am (TESTS): Add test case.
* bootstrap.conf: Use the gnulib lstat module.
2010-04-27 12:38:15 +02:00
..
2009-03-29 00:59:26 +01:00
2010-04-27 12:38:15 +02:00
2010-04-15 16:24:09 +02:00
2010-04-27 12:38:15 +02:00
2010-04-12 17:19:33 +02:00