History log of /freebsd-current/contrib/ee/ee.c
Revision Date Author Comments
# 25a33bfe 02-Jun-2024 Jessica Clarke <jrtc27@FreeBSD.org>

ee: Fix use of uninitialised pointer in ispell_op

This used to be name = mktemp followed by fd = open downstream,
replacing upstream's crude PID-based sprintf, but in 1.4.7 this was
changed upstream to this buggy code, which we then picked up in the
1.5.0 import. Presumably nobody's actually used ee's ispell function
in the past 15 years; that or it's just ended up using junk file names
as temporary files if name's happened to be a valid address to something
that can be interpreted as a string.

Reported by: Dapeng Gao <dapeng.gao@cl.cam.ac.uk>
Fixes: 96b676e99984 ("Update ee(1) in the base system to version 1.5.0.")
MFC after: 1 week


# 3f944f3b 27-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

ee: remove locally added __FBSDID

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D42701


# 9d8537e3 18-Apr-2023 John Baldwin <jhb@FreeBSD.org>

ee: Remove two set but unused variables.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D39671


# 91517e3b 18-Apr-2023 John Baldwin <jhb@FreeBSD.org>

ee: Use C89 function definitions.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D39670


# 215927f5 18-Apr-2023 John Baldwin <jhb@FreeBSD.org>

ee: Remove function prototype for main.


# 87cc8c6b 18-Apr-2023 John Baldwin <jhb@FreeBSD.org>

ee: Drop P_() macro used for pre-C89 compatibility.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D39669


# 0cb61a32 11-Apr-2021 Yuri Pankov <yuripv@FreeBSD.org>

ee: restore the stdin/stdout terminal check

This seems to have been lost during updates from upstream, and
was reported (on IRC) as a nice feature to have (again).

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D28689


# 646a7fea 26-Jan-2013 Pedro F. Giffuni <pfg@FreeBSD.org>

Clean some 'svn:executable' properties in the tree.

Submitted by: Christoph Mallon
MFC after: 3 days


# 8f04da68 17-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

In contrib/ee/ee.c, fix a few warnings about format strings not being
literals. Also, change the direction argument to move_rel() from char
to int; K&R function definions cause it to be promoted to an int anyway,
and this way we avoid clang warning about it.

MFC after: 1 week


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# a6b10195 14-Dec-2009 Xin LI <delphij@FreeBSD.org>

MFC r199123:

Add a minimal change to prevent NULL deference in ee(1).

To repeat the problem, one can press "Ctrl+C" and then enter "0".

Submitted by: Alexander Best <alexbestms wwu de>
PR: bin/137707


# 4ed03b8d 09-Nov-2009 Xin LI <delphij@FreeBSD.org>

Add a minimal change to prevent NULL deference in ee(1).

To repeat the problem, one can press "Ctrl+C" and then enter "0".

Submitted by: Alexander Best <alexbestms wwu de>


# 31dcbfad 04-Sep-2009 Andrey A. Chernov <ache@FreeBSD.org>

1) Remove single occurance of HAS_CTYPE ifdef, ctype functions
used here for a long time and needs their header in anycase.
2) Add (unsigned char) casts to more ctype macros.
3) Simplify menu input handling using ctype instead of range unguarded
hardcoded tricks.


# db07ef76 01-Sep-2009 Andrey A. Chernov <ache@FreeBSD.org>

Move <locale.h> out of NO_CATGETS define too (as setlocale() in prev.
commit)


# f39e07f3 01-Sep-2009 Andrey A. Chernov <ache@FreeBSD.org>

1) Use isprint() instead of hardcoded values to detect non-printable.
2) Use (unsigned char) cast in waddch() calls.
It fix highlighting bug: sign extension of 8bit to the attributes area.
3) Use setlocale() in any case.


# 1ac3735c 27-May-2009 Marcel Moolenaar <marcel@FreeBSD.org>

char can be unsigned, like on ARM and PowerPC. Unbreak the
build for those by propagating the type of character from
char to int.


# cfe04e82 26-May-2009 Ed Schouten <ed@FreeBSD.org>

Merge local changes to ee(1) into contrib space.

The source file, manual page and English translation are now directly
obtained from the contrib/ directory. This makes it a lot easier to
merge a newer version of ee(1) into the tree.

Thanks to: des and jhb