git: patch(1): sync with FreeBSD to version 2.0-12u11

Daniel Fojt deef at crater.dragonflybsd.org
Thu May 28 01:34:36 PDT 2020


commit b94b84ca5c08efb447331811e050106ac4c7d3f1
Author: Daniel Fojt <df at neosystem.org>
Date:   Tue May 26 16:24:08 2020 +0200

    patch(1): sync with FreeBSD to version 2.0-12u11
    
    Summary of notable changes from previous sync:
    
    - add -Vnone option to disable backup files
    - avoid infinite loop asking for a filename
    - add support for git generated diffs
    - don't overrun line buffer in some cases
    - fix the file removal test
    - give /dev/null patches special treatment

Summary of changes:
 usr.bin/patch/backupfile.c |  22 ++-
 usr.bin/patch/backupfile.h |  14 +-
 usr.bin/patch/common.h     |  43 +++---
 usr.bin/patch/inp.c        |  92 ++++++-----
 usr.bin/patch/inp.h        |  14 +-
 usr.bin/patch/mkpath.c     |  12 +-
 usr.bin/patch/patch.1      |  40 +++--
 usr.bin/patch/patch.c      | 193 ++++++++++++++++++++---
 usr.bin/patch/pathnames.h  |  11 +-
 usr.bin/patch/pch.c        | 374 ++++++++++++++++++++++++++-------------------
 usr.bin/patch/pch.h        |  26 ++--
 usr.bin/patch/util.c       |  54 +++----
 usr.bin/patch/util.h       |  15 +-
 13 files changed, 549 insertions(+), 361 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b94b84ca5c08efb447331811e050106ac4c7d3f1


-- 
DragonFly BSD source repository



More information about the Commits mailing list