History log of /openbsd-src/bin/csh/set.c (Results 1 – 25 of 25)
Revision Date Author Comments
# 5b133f3f 08-Mar-2023 guenther <guenther@openbsd.org>

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# d51a2013 28-Jan-2022 guenther <guenther@openbsd.org>

When it's the possessive of 'it', it's spelled "its", without the
apostrophe.


# 515e489c 03-Jul-2019 deraadt <deraadt@openbsd.org>

snprintf/vsnprintf return < 0 on error, rather than -1.


# d95322bb 24-Oct-2018 martijn <martijn@openbsd.org>

Fix some minor issues found by coverity.

OK millert@ and miko@


# 5f867525 18-Sep-2018 deraadt <deraadt@openbsd.org>

backout last week of csh diffs. They are disasterously broken, on i386
it becomes entirely unusable.


# ab0a5ca8 17-Sep-2018 martijn <martijn@openbsd.org>

Replace any() with strchr(3).

OK millert@ and miko@


# acdb3202 26-Dec-2015 mestre <mestre@openbsd.org>

Replace handrolled xfree() function by directly using free(3)

OK mmcc@


# b5ff2eaa 26-Oct-2015 naddy <naddy@openbsd.org>

miscellaneous cruft:
* remove lint
* unifdef S_IFLNK, S_ISFIFO, S_ISLNK, S_ISSOCK, O_APPEND
* remove 0, NOTUSED, notdef -- untouched since original import
* remove IIASA


# c38c44c7 26-Oct-2015 naddy <naddy@openbsd.org>

unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)
and remove a few unused defines; no binary changes; ok tedu@ zhuk@


# c4d5a8d6 29-Sep-2015 guenther <guenther@openbsd.org>

Score a hat trick in code cleanup: #ifdef pdp11, /* confuse lint */,
and recursive formatting of integers. Just use snprintf() and a hammer.

ok beck@ deraadt@ miod@


# 2e7c3a37 17-Jun-2015 deraadt <deraadt@openbsd.org>

remove -DFILEC; code does not compile for the -UFILEC case, and anyways,
who wants csh without FILEC??
from Peter Brottveit Bock, but redone using unifdef


# f4d574c6 08-Feb-2015 tedu <tedu@openbsd.org>

delete lots of unnecessary ptr_t casts, and drop a little NULL in as well


# a8627d2c 16-Oct-2014 deraadt <deraadt@openbsd.org>

Use reallocarray() and remove a few archaic memory allocation practices.
ok deraadt


# 2963b78b 28-Oct-2009 schwarze <schwarze@openbsd.org>

some includes got lost in the previous commit;
"go ahead, put it back" deraadt@


# 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 ...


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

de-register and ansify functions


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 6a01f4ac 08-Jan-2003 deraadt <deraadt@openbsd.org>

bring in strlcpy and strlcat-like things for dealing with Char types,
this fixes at least 15 buffer overflows; some help from dhartmei.
Anyone want to go do the same in ksh, and help with some of the

bring in strlcpy and strlcat-like things for dealing with Char types,
this fixes at least 15 buffer overflows; some help from dhartmei.
Anyone want to go do the same in ksh, and help with some of the while
(*s++ = *p++) loops in here?

show more ...


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 1e0c4da7 01-Dec-2001 deraadt <deraadt@openbsd.org>

KNF


# 9ab19eca 15-Nov-1997 todd <todd@openbsd.org>

spelling


# b0c62ffa 25-Jul-1997 mickey <mickey@openbsd.org>

#if __STDC__ --> #ifdef __STDC__


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

update rcsid


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

initial import of NetBSD tree