unstr always fails with "data file corrupted"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fortune-mod (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The "unstr" program shipped with fortune-mod does not work at all:
$ cat > test.fort
Fortune1
%
Fortune2
%
Fortune3^D^D
$ strfile test.fort
"test.fort.dat" created
There were 3 strings
Longest string: 9 bytes
Shortest string: 8 bytes
$ unstr test.fort.dat
Input file: test.fort.dat
unstr: data file corrupted
$ fortune test.fort
Fortune1
$ fortune test.fort
Fortune3
$
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: fortune-mod 1:1.99.1-7
ProcVersionSign
Uname: Linux 3.16.0-34-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Apr 15 13:42:47 2015
SourcePackage: fortune-mod
UpgradeStatus: Upgraded to utopic on 2014-10-24 (172 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.