* Picca Frédéric-Emmanuel <pi...@debian.org>, 2021-10-14 18:32:
$ pushover
Using portable datadir: ./data

Apparently pushover tries to load its data from the ./data directory. If the directory is unrelated to the game, you get a crash.

The relevant code is:

  if (stat(portable_datadir.c_str(), &st) == 0) {
      std::cout << "Using portable datadir: " << portable_datadir << std::endl;
      return portable_datadir;
  } else {
      std::cout << "Using system datadir: " << DATADIR << std::endl;
      return DATADIR;
  }

The Debian package should get rid of the "portable datadir" branch.
(But ideally this should be fixed upstream.)

--
Jakub Wilk

Reply via email to