#935377 run-mailcap: "my" variable $file masks earlier declaration in same scope

#935377#5
Date:
2019-08-22 04:32:29 UTC
From:
To:
Since the last update, run-mailcap now produces the following
warning on every run:

  "my" variable $file masks earlier declaration in same scope at /usr/bin/run-mailcap line 339.

I don't understand the logic around line 339, but it doesn't look
like the current code is intentional. Could there be a bug? Or at
the very least, one of the "my" needs to go…

#935377#10
Date:
2019-09-28 08:19:24 UTC
From:
To:
Hi,

I can confirm that this problem is still present. I get this message
when running "xdg-open", which apparently calls run-mailcap for some
reason.

Best,