History log of /openbsd/bin/ed/buf.c (Results 1 – 25 of 25)
Revision Date Author Comments
# e6c7c102 23-Apr-2024 jsg <jsg@openbsd.org>

correct indentation; no functional change
ok tb@


# 3aaa63eb 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# df7744bf 22-Mar-2016 mmcc <mmcc@openbsd.org>

header cleanup

from Edgar Pettijohn, correction from deraadt@


# 67d90797 09-Oct-2015 millert <millert@openbsd.org>

Mark static globals that are only used in their respective .c files.
Also make stdin unbuffered since that is the same as using a
single-byte buffer. OK tobias@


# 2caa1105 28-Jul-2015 deraadt <deraadt@openbsd.org>

remove gratuitous casts


# 8e1dad3f 20-Nov-2014 tedu <tedu@openbsd.org>

remove sys/file.h includes in favor of fcntl.h where needed.
ok deraadt guenther


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# 56c0fb8d 12-Feb-2008 otto <otto@openbsd.org>

use ftello instead of ftell; from Davil Hill; ok millert@


# 496bd962 25-Apr-2006 deraadt <deraadt@openbsd.org>

various small lint cleanups; ok otto


# 3a575e8a 18-Oct-2003 jmc <jmc@openbsd.org>

typos in comments;
from Jared Yanovich


# 25f5d0c1 07-Aug-2003 millert <millert@openbsd.org>

plug some obvious memory leaks; Patrick Latifi


# 28416801 11-Jun-2003 deraadt <deraadt@openbsd.org>

ansification, art ok


# 885e28c6 09-Jun-2002 todd <todd@openbsd.org>

knf


# 6cfeacd8 24-Mar-2002 millert <millert@openbsd.org>

Kill unneeded longs; fixes some minor 64 bit issues. deraadt@ OK


# 80acfbc0 16-Jan-2001 deraadt <deraadt@openbsd.org>

cleanup strcpy, strncpy, signal races, etc


# 2564df0e 01-Apr-2000 deraadt <deraadt@openbsd.org>

buf oflow; ath@algonet.se


# 8fe07820 03-Jul-1998 deraadt <deraadt@openbsd.org>

use 10 X in mkstemp string for improved speed at race winning


# c844cb3d 30-Apr-1998 deraadt <deraadt@openbsd.org>

Wall


# 3a6a0fe8 10-Mar-1998 deraadt <deraadt@openbsd.org>

umask manipulation not neccessary


# d1e48962 12-Oct-1996 millert <millert@openbsd.org>

Back out my sprintf -> snprintf changes where they don't make sense and
use good ole strcpy() instead. Also use perror() instead of fprintf()
where it makes sense.


# 45c72c98 15-Sep-1996 millert <millert@openbsd.org>

sprintf -> snprintf paranoia


# 69a31724 25-Jun-1996 deraadt <deraadt@openbsd.org>

mkstemp


# 6342fbea 24-Jun-1996 deraadt <deraadt@openbsd.org>

use temp file more carefully


# 09e94acb 23-Jun-1996 deraadt <deraadt@openbsd.org>

update rcsid


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree