Bug#996484: pushover does not start

Jakub Wilk jwilk at jwilk.net
Fri Sep 23 17:41:20 BST 2022


* Picca Frédéric-Emmanuel <picca at 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



More information about the Pkg-games-devel mailing list