From nobody@FreeBSD.ORG Wed Dec  1 14:10:37 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 16CE6150AC; Wed,  1 Dec 1999 14:10:37 -0800 (PST)
Message-Id: <19991201221037.16CE6150AC@hub.freebsd.org>
Date: Wed,  1 Dec 1999 14:10:37 -0800 (PST)
From: david@jlc.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Outputting in Fortune under certain circumstances renders the .dat file unreadable.
X-Send-Pr-Version: www-1.0

>Number:         15215
>Category:       misc
>Synopsis:       Outputting in Fortune under certain circumstances renders the .dat file unreadable.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec  1 14:20:01 PST 1999
>Closed-Date:    Sat Dec 16 09:11:19 PST 2000
>Last-Modified:  Sat Dec 16 09:15:31 PST 2000
>Originator:     David Edmondson
>Release:        FreeBSD 3.3-RELEASE
>Organization:
John Leslie Consulting
>Environment:
FreeBSD sweelinck.jlc.net 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999
jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC i386
>Description:
Entering fortune -m "a" limerick > filename gives the message [Warning: file "startrek.dat" unreadable]. This occurred on four seperate machines, and will work with any Fortune database. This was run with a user account, group 'wheel'. It is consistent.
>How-To-Repeat:
Occurs consistently.
>Fix:
Enter path before output file ( fortune -m "a" limerick > path/filename)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Sat Dec 16 09:11:19 PST 2000 
State-Changed-Why:  
I can not repeate this on a 4.1-STABLE machine. 
Seems to have been fixed, if you still have this problem  
in more recent releases please open a new PR 
with as much details as possible. 

BTW the command I used was 
/usr/games/fortune -m "a" limerick > aa 
which works. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15215 
>Unformatted:
