History log of /openbsd/usr.bin/vi/ex/ex_source.c (Results 1 – 11 of 11)
Revision Date Author Comments
# b7041c07 24-Oct-2021 deraadt <deraadt@openbsd.org>

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which mig

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert

show more ...


# 54d5890c 07-Dec-2015 mmcc <mmcc@openbsd.org>

Remove needless type casts and corresponding type parameters from
allocation macros. No binary change.

ok tb@


# 486aa1f0 12-Nov-2014 bentley <bentley@openbsd.org>

Ansify vi.

ok bcallah@ millert@


# f05bbd24 03-May-2013 kili <kili@openbsd.org>

Use open(2) / fstat(2) instead of stat(2) / open(2) for checking
proper permissions of "local" .exrc or .nexrc files.

With some hints and fixes from deraadt@ and tobias@.

ok millert@ tobias@

(more

Use open(2) / fstat(2) instead of stat(2) / open(2) for checking
proper permissions of "local" .exrc or .nexrc files.

With some hints and fixes from deraadt@ and tobias@.

ok millert@ tobias@

(more tweaks suggested by millert@ and some cleanup will be done
in separate diffs)

show more ...


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


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


# d4e7c603 29-Jan-2001 niklas <niklas@openbsd.org>

$OpenBSD$


# a513d41b 16-Aug-1996 michaels <michaels@openbsd.org>

nvi 1.73


# e91eb1de 24-Jul-1996 mickey <mickey@openbsd.org>

bring vi/ex up to 1.71


# 45f2ab88 22-May-1996 deraadt <deraadt@openbsd.org>

new vi


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

initial import of NetBSD tree