Date: Tue, 1 Aug 2000 23:54:22 -0700 (PDT) From: Kelly Yancey <kbyanc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/patch patch.c pch.c Message-ID: <200008020654.XAA40228@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kbyanc      2000/08/01 23:54:22 PDT
  Modified files:
    gnu/usr.bin/patch    patch.c pch.c 
  Log:
  Fix patch such that skipping files does not count as a failure.
  Previously, using -S/--skip, -f/--force, or -t/--batch to skip a patch in
  a patchset still registers a failure which causes patch to return a
  non-zero exit code. This is particularly undesirable with regards to
  ports as there is no way to ignore the non-zero code. (Luckily, we don't
  currently have any ports that make use of any of these options.)
  
  The PR (yes, my own) is slightly incorrect: It states that -f does indeed
  properly skip patches. It does, but it still sets the failure flag causing
  patch to return non-zero.
  
  PR:		19638
  Submitted by:	kbyanc@posi.net
  
  Revision  Changes    Path
  1.17      +1 -2      src/gnu/usr.bin/patch/patch.c
  1.17      +2 -2      src/gnu/usr.bin/patch/pch.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008020654.XAA40228>
