{"thread":{"id":"30262","subject":"GNU patch close to next stable release","startedAt":"2012-04-17T16:07:53Z","lastAt":"2012-04-17T16:07:53Z","messageCount":1,"participants":["Andreas Gruenbacher"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"189531","messageId":"201204171807.54771.agruen@gnu.org","threadId":"30262","inReplyTo":null,"subject":"GNU patch close to next stable release","fromName":"Andreas Gruenbacher","fromEmail":"agruen-mxxj517/zsq@public.gmane.org","sentAt":"2012-04-17T16:07:53Z","receivedAt":"2012-04-17T16:07:53Z","isPatch":false,"sender":{"key":"agruen-mxxj517/zsq@public.gmane.org","avatar":null},"body":"I'm glad to announce that finally, support for git-style diffs is working well \nenough, and no more major issues seem to be in our way before the next stable \nrelease of GNU patch.\n\nSome things have changed significantly recently in order to get the code \nrelease ready, so now would be a really great time for an extra round of \ntesting.\n\nYou can find the latest snapshot here:\n\n  ftp://alpha.gnu.org/gnu/patch/\n\nThe last stable release dates back to December 2009 with version 2.6.1.  The \nfollowing significant changes have happened since then:\n\n* Support for most features of the \"diff --git\" format, including renames and\n  copies, permission changes, and symlink diffs.  Binary diffs are not\n  supported yet; patch will complain and skip them.\n\n* Support for double-quoted filenames in the \"diff --git\" format: when a\n  filename starts with a double quote, it is interpreted as a C string\n  literal.  The escape sequences \\\\, \\\", \\a, \\b, \\f, \\n, \\r, \\t, \\v, and \\ooo\n  (a three-digit octal number between 0 and 255) are recognized.\n\n* Patch now ignores destination file names that are absolute or that contain\n  a component of \"..\".  This addresses CVE-2010-4651.\n\n* Refuse to apply a normal patch to a symlink.  (Previous versions of patch\n  were replacing the symlink with a regular file.)\n\n* When trying to modify a read-only file, warn about the potential problem\n  by default.  The --read-only command line option allows to change this\n  behavior.\n\n* Files that should be deleted are now deleted once the entire patch file has\n  been read.  This fixes a bug with numbered backup files.\n\n* When a timestamp specifies a time zone, honor that instead of assuming the\n  local time zone (--set-date) or Universal Coordinated Time (--set-utc).\n\n* Support for nanosecond precision timestamps.\n\n* Many portability and bug fixes.\n\nPlease report bugs or suggestions on the <bug-patch-mXXj517/zsQ@public.gmane.org> mailing list, or \nin the project's bug tracker on Savannah:\n\n  http://savannah.gnu.org/projects/patch\n\nThanks,\nAndreas\n"}]}