[Bug 237768] 12.0-RELEASE: Calling fortune(6) with no parameters yields "No fortunes found" error.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 19 18:06:40 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237768

Ruby Lazuli Lord <nipkraps at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nipkraps at gmail.com

--- Comment #2 from Ruby Lazuli Lord <nipkraps at gmail.com> ---
Created attachment 212535
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212535&action=edit
Patch to allow the fortune command to look for all fortunes in the fortune
directory by default

It's worth noting that copying the text-based fortune file isn't enough for
fortune to recognize it; a corresponding .dat file must be made with "strfile
myfortunes".

I've attached a patch based off of FreeBSD-CURRENT that should allow fortune to
look in all fortune files in the directory by default (should I submit this
patch as a new bug report? Contributing to FreeBSD doesn't seem to mention
whether or not a new report should be filed for patches if a bug report already
exists).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list