patch/patch-2.5.4-suffix.patch
cvsdist 95e0480438 auto-import changelog data from patch-2.5.4-9.src.rpm
Fri Dec 01 2000 Tim Waugh <twaugh@redhat.com>
- Rebuild because of fileutils bug.
Thu Nov 02 2000 Tim Waugh <twaugh@redhat.com>
- use .orig as default suffix, as per man page and previous behaviour (bug
    #20202).
- use better patch for this, from maintainer.
Wed Oct 04 2000 Tim Waugh <twaugh@redhat.com>
- actually use the RPM_OPT_FLAGS
2004-09-09 09:54:15 +00:00

13 lines
437 B
Diff

--- patch-2.5.4/patch.c.suffix Thu Nov 2 17:57:46 2000
+++ patch-2.5.4/patch.c Thu Nov 2 17:58:25 2000
@@ -145,8 +145,7 @@
: posixly_correct - 1);
val = getenv ("SIMPLE_BACKUP_SUFFIX");
- if (val && *val)
- simple_backup_suffix = val;
+ simple_backup_suffix = val && *val ? val : ".orig";
if ((version_control = getenv ("PATCH_VERSION_CONTROL")))
version_control_context = "$PATCH_VERSION_CONTROL";