diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2010-05-02 12:43:29 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2010-05-02 12:43:45 +0200 |
commit | 47622c1e468933d6d3f6c46ba723dccdb5a18776 (patch) | |
tree | c79c2a7fa1c9aada2c0505d9cf87c211044273a0 | |
parent | cabd1add5753f9c5479011383e844a9ee93b387b (diff) | |
download | patch-47622c1e468933d6d3f6c46ba723dccdb5a18776.tar.gz |
* NEWS: Update.
* gnulib: Update to latest.
* bootstrap: Update from gnulib.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 24 | ||||
-rwxr-xr-x | bootstrap | 6 | ||||
m--------- | gnulib | 0 |
4 files changed, 22 insertions, 12 deletions
@@ -1,5 +1,9 @@ 2009-05-02 Andreas Gruenbacher <agruen@suse.de> + * NEWS: Update. + * gnulib: Update to latest. + * bootstrap: Update from gnulib. + * src/patch.c (main): Refuse to patch read-only files, or at least warn when patching such files with --force or --batch. * patch.man: Document the changed behavior. @@ -1,12 +1,18 @@ -* 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. -* When fed a git binary diff, patch complains and skips the diff. -* Timestamps and --set-time or --set-utc: support for nanosecond precision. - Honor time zones in timestamps over the local time zone (--set-time) or - Universal Coordinated Time (--set-utc). -* Many portability and several bug fixes. +* Support for most features of the "diff --git" format: renames and copies, + permission changes, symlink diffs. (Binary diffs are not supported yet; + patch will complain and skip them.) +* Support for double-quoted filenames: 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. +* Refuse to apply a normal patch to a symlink. (Previous versions of patch + were wrongly replacing the symlink with a regular file.) +* 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. +* Many portability and bug fixes. Changes in version 2.6.1: @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2010-02-24.17; # UTC +scriptversion=2010-04-30.16; # UTC # Bootstrap this package from checked-out sources. @@ -819,7 +819,7 @@ if test $with_gettext = yes; then a\ '"$XGETTEXT_OPTIONS"' $${end_of_xgettext_options+} } - ' po/Makevars.template >po/Makevars + ' po/Makevars.template >po/Makevars || exit 1 if test -d runtime-po; then # Similarly for runtime-po/Makevars, but not quite the same. @@ -833,7 +833,7 @@ if test $with_gettext = yes; then a\ '"$XGETTEXT_OPTIONS_RUNTIME"' $${end_of_xgettext_options+} } - ' <po/Makevars.template >runtime-po/Makevars + ' po/Makevars.template >runtime-po/Makevars || exit 1 # Copy identical files from po to runtime-po. (cd po && cp -p Makefile.in.in *-quot *.header *.sed *.sin ../runtime-po) diff --git a/gnulib b/gnulib -Subproject e768d427cc2d135f6123e0408cd61e52345bf92 +Subproject 3b1e7b987f936143f1e133401882f87fc411014 |