Bug#353980: fortune-mod: Fortune invocation by relative path broken in two different ways.
Andrea,
Andrea Colangelo wrote:
> I wasn't able to reproduce this bug: [...]
I can still reproduce this issue as at fortune-mod 1:1.99.1-6, but
only for the trailing slash case.
$ with-temp-dir
with-temp-dir: entering directory `/tmp/with-temp-dir.J22eEB'
This directory will be deleted when you exit.
$ echo Success! >x
$ strfile -s x
$ fortune x
Success!
$ fortune .
Success!
$ fortune ./
./: No such file or directory
./: No such file or directory
Success!
$ fortune $PWD
Success!
$ mkdir y
$ cd y
$ fortune ..
Success!
$ fortune ../
../: No such file or directory
../: No such file or directory
Success!
$ cd /tmp
$ fortune with-temp-dir.J22eEB
Success!
$ fortune with-temp-dir.J22eEB/
Success!
$
Reply to: