diff options
| author | Devin Teske <dteske@FreeBSD.org> | 2026-08-28 00:57:53 +0000 |
|---|---|---|
| committer | Devin Teske <dteske@FreeBSD.org> | 2026-08-28 00:57:53 +0000 |
| commit | 14df6e1e686ef1908c107932d9224d3f3fbc6b51 (patch) | |
| tree | 168e63f9cc15cbebad3108a6a83301f09651f457 /buildlinux | |
| parent | 2e376cca379b744ce24c849aced684bf770c0f75 (diff) | |
With no file argument, fortune looks for a database named fortunes
in FORTDIR. The base system has not shipped that file since
0538d7bbe620 (FreeBSD 12), only freebsd-tips, so the default
invocation failed even though a valid database remained. Callers
such as xlockmore's marquee and nose modes (fortune -s) then
displayed the error as the epigram.
If the named fortunes file is absent, scan every database in the
existing search path. /usr/local/share/games/fortune stays on that
path so fortune-mod-* packages keep working; when
fortune-mod-freebsd-classic restores the fortunes file, it is still
preferred. fortune -f with no arguments lists the same files that
would be searched.
MFC after: 1 week
Reviewed by: ziaee, fuz
Differential Revision: https://reviews.freebsd.org/D59057
Diffstat (limited to 'buildlinux')
0 files changed, 0 insertions, 0 deletions
