diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2012-04-17 16:42:21 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2012-04-17 16:48:19 +0200 |
commit | e0a7877a6eb9d9eda2ffadcf3bb100c719d6921e (patch) | |
tree | 6f8ef5a4c2d4c18369c13609767c77d767c75485 | |
parent | 9a26fde226660a628d58ed7d987a71b9a4123244 (diff) | |
download | patch-e0a7877a6eb9d9eda2ffadcf3bb100c719d6921e.tar.gz |
Update NEWS
* NEWS: Update.
-rw-r--r-- | NEWS | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -1,21 +1,20 @@ * Patch no longer gets a failed assertion for certain mangled patches. * Patch now ignores destination file names that are absolute or that contain - a component of "..". This addresses CVE-2010-4651, -* Support for most features of the "diff --git" format: renames and copies, - permission changes, symlink diffs. Caveats: - + Binary diffs are not supported yet; patch will complain and skip them. - + In the "diff --git" format, all the patches are relative to the original - state of the files to patch, allowing things like criss-cross renames. - GNU patch will currently fail for such patches. + a component of "..". This addresses CVE-2010-4651. +* Support for most features of the "diff --git" format, including renames and + copies, permission changes, and symlink diffs. Binary diffs are not + supported yet; patch will complain and skip them. * Support for double-quoted filenames in the "diff --git" format: when a - filename in a context diff starts with a double quote, it is interpreted - as a C string literal. The escape sequences \\, \", \a, \b, \f, \n, \r, - \t, \v, and \ooo (a three-digit octal number between 0 and 255) are - recognized. -* Refuse to patch read-only files by default, or at least warn when patching - such files with --force or --batch. + filename starts with a double quote, it is interpreted as a C string literal. + The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v, and \ooo (a + three-digit octal number between 0 and 255) are recognized. * Refuse to apply a normal patch to a symlink. (Previous versions of patch - were wrongly replacing the symlink with a regular file.) + were replacing the symlink with a regular file.) +* When trying to modify a read-only file, warn about the potential problem + by default. The --read-only command line option allows to change this + behavior. +* Files that should be deleted are now deleted once the entire patch file has + been read. This fixes a bug with numbered backup files. * When a timestamp specifies a time zone, honor that instead of assuming the local time zone (--set-date) or Universal Coordinated Time (--set-utc). * Support for nanosecond precision timestamps. |