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
/
inp.c
Age
Commit message (
Expand
)
Author
2019-06-28
When system calls indicate an error they return -1, not some arbitrary
Theo de Raadt
2018-04-26
Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Philip Guenther
2017-03-25
parameter "lines_allocated" is a local pointer and should not be confused
Theo de Raadt
2016-07-19
Cleanup close(open idioms.
Theo de Raadt
2015-11-11
creat() -> open equiv; from Frederic Nowak
Theo de Raadt
2015-07-26
Remove support for automatically checking files out of RCS. The
Todd C. Miller
2015-02-05
Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@
Todd C. Miller
2014-12-09
Fix division by zero for files with long lines (> 1024) in Plan B mode
Tobias Stoeckmann
2014-11-25
Prevent null pointer dereference on empty input files when diff requires
Tobias Stoeckmann
2014-11-22
Remove SCCS support. For this to work, we would need "get", which we don't
Tobias Stoeckmann
2014-11-15
Call munmap with the same size argument as mmap.
Tobias Stoeckmann
2014-10-08
userland reallocarray audit.
Doug Hogan
2013-11-26
unsigned char casts for ctype
Theo de Raadt
2012-04-10
Don't try to mmap a zero length file, from NetBSD.
Antoine Jacoutot
2009-10-28
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
Theo de Raadt
2006-03-11
type police and assorted cleanup. From Lionel Fourquaux; ok ray@
Otto Moerbeek
2005-11-14
constuct -> construct
Miod Vallat
2004-08-05
spacing
Theo de Raadt
2003-12-08
MAP_FILE is the default and MAP_PRIVATE has to be given or produces evil warn...
Michael Shalayeff
2003-11-21
madvise(sequential) the mmap()ed file and plug an fd leak on mmap() failure; ...
Michael Shalayeff
2003-09-28
realloc(3) cleanup.
Otto Moerbeek
2003-08-15
Add license from patch.c to original source files missing a license.
Otto Moerbeek
2003-08-12
Fix no newline at end of file case for Plan B.
Otto Moerbeek
2003-08-10
Do not add an extra newline at the end if the last line of the input
Otto Moerbeek
2003-08-08
Avoid scanning the input file twice.
Otto Moerbeek
2003-08-05
spacing
Theo de Raadt
2003-08-05
- Use mmap(2) instead of malloc(3) and read(2) to get an image of the input
Otto Moerbeek
2003-08-01
- use stdbool.h instead of roll-your-own booleans
Otto Moerbeek
2003-07-31
Print a maximum of one invalid line number warning per patch in a patch file.
Otto Moerbeek
2003-07-28
minor knf and cleanups; otto ok
Theo de Raadt
2003-07-28
More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,
Otto Moerbeek
2003-07-23
New version of invalid line number fix. Passes patch(1) regressions.
Otto Moerbeek
2003-07-22
just about nothing
Theo de Raadt
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
2003-07-21
fix header
Theo de Raadt
2003-07-21
remove a bit more junk
Theo de Raadt
2003-07-21
knf and other cleanup; ok otto
Theo de Raadt
2003-07-18
remove junk; ok otto tedu
Theo de Raadt
2003-07-16
Do not produce garbage if the patch file contains invalid line numbers.
Otto Moerbeek
2002-07-04
4 unchecked mallocs; cloder@acm.org
Theo de Raadt
1999-01-03
Use libc basename(3) and dirname(3) instead of defining our own. Also clean ...
Todd C. Miller
1998-11-25
add -C
Marc Espie
1997-09-22
Start of -Wall and cleaning up icky bits.
Todd C. Miller
1996-09-24
sprintf -> snprintf except where guaranteed safe.
Todd C. Miller
1996-07-01
undo mktemp cleanup until i get it right
Theo de Raadt
1996-06-25
mktemp w/ open & fdopen
Theo de Raadt
1996-06-10
Support the long options that FSF's patch version has. $OpenBSD$ added
Niklas Hallqvist
1995-10-18
initial import of NetBSD tree
Theo de Raadt