index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
usr.bin
/
patch
/
patch.c
Age
Commit message (
Expand
)
Author
2022-08-03
fix locate_hunk in empty files
Omar Polo
2022-08-03
fix dwim for reversed patches
Omar Polo
2019-12-02
Use getline(3) to handle lines longer than 8192 bytes in patch files
Jeremie Courreges-Anglas
2019-06-28
When system calls indicate an error they return -1, not some arbitrary
Theo de Raadt
2019-06-28
mkstemp() returns -1 on failure
Theo de Raadt
2018-06-22
Add --dry-run as synonym to -C/--check.
Vadim Zhukov
2018-04-07
Remove unused pathnames.h header since patch was refactoring into not invoking
anton
2017-06-12
rejname[] is also -r option buffer, and should be PATH_MAX
Theo de Raadt
2016-01-04
usage() should exit 2 here, not EXIT_SUCCESS
Gleydson Soares
2015-12-29
fix exit status on pledge(2) failure.
Gleydson Soares
2015-11-11
exit() after perror() for pledge failure. Perhaps this got introduced
Theo de Raadt
2015-10-16
Add native support for ed-style diffs. No need to pledge "proc exec" anymore.
Tobias Stoeckmann
2015-10-09
Change all tame callers to namechange to pledge(2).
Theo de Raadt
2015-10-07
patch(1) can move to "stdio rpath wpath cpath tmppath fattr proc exec"
Theo de Raadt
2015-10-04
remove tame "proc". it is not useful, because the "ed" diffs require
Theo de Raadt
2015-10-03
As pointed out by tobiasu, ed-style patches still use popen() and execute
Theo de Raadt
2015-10-03
patch appears to work fully with tame "stdio rpath wpath cpath tmppath fattr".
Theo de Raadt
2014-12-13
The function savestr allows NULL return values during Plan A patching so in
Tobias Stoeckmann
2014-12-08
spaces
Theo de Raadt
2014-11-26
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
Todd C. Miller
2013-11-26
unsigned char casts for ctype
Theo de Raadt
2012-05-15
Fix confusing patch(1) output on failure when using -C. From
Todd C. Miller
2010-07-24
Send normal output to stdout instead of everything to stderr. This
Ray Lai
2009-10-28
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
Theo de Raadt
2009-04-05
If no patch can be found in input, in addition to complaining on stderr,
Stefan Sperling
2008-08-20
The code to detect multiple applied diffs to empty files I introduced 4
Otto Moerbeek
2007-04-18
adds a detailed synopsis to the man page; sorts options in
Igor Sobrado
2006-03-11
type police and assorted cleanup. From Lionel Fourquaux; ok ray@
Otto Moerbeek
2004-11-19
Write reject file in unified format if the original diff was in
Otto Moerbeek
2004-09-14
remove unused variable
Theo de Raadt
2004-07-09
Properly detect if a patch already has been applied, even if there
Otto Moerbeek
2004-06-18
Unbreak handling of standard diffs (which have an empty context).
Otto Moerbeek
2004-06-14
Teach patch(1) to detect if a diff creating a file (or one adding
Otto Moerbeek
2003-10-31
o fairly major man page reorganization
Todd C. Miller
2003-08-10
Do not add an extra newline at the end if the last line of the input
Otto Moerbeek
2003-08-10
Warn if the diff is a context or unified diff and the context
Otto Moerbeek
2003-08-01
- use stdbool.h instead of roll-your-own booleans
Otto Moerbeek
2003-07-31
Historically, patch would treat a bare -p as -p0. This contradicts
Todd C. Miller
2003-07-31
Print a maximum of one invalid line number warning per patch in a patch file.
Otto Moerbeek
2003-07-30
Add POSIX -i option; tedu@ OK
Todd C. Miller
2003-07-29
o add pathnames.h
Todd C. Miller
2003-07-28
minor knf and cleanups; otto ok
Theo de Raadt
2003-07-28
Be more exact on how backup files are handled.
Otto Moerbeek
2003-07-28
Make patch(1) exit value match POSIX and be consistent with diff.
Todd C. Miller
2003-07-25
Add POSIX -b option but don't change the default beahvior wrt backups
Todd C. Miller
2003-07-23
New version of invalid line number fix. Passes patch(1) regressions.
Otto Moerbeek
2003-07-22
Make rejname[] static to patch.c and crank its size to NAME_MAX+1
Todd C. Miller
2003-07-22
Use getopt_long() to parse options instead of rolling our own.
Todd C. Miller
2003-07-22
More cleanup.
Otto Moerbeek
2003-07-21
Back out invalid line number fix. It core dumps in some cases. Problem found by
Otto Moerbeek
[next]