database: pick old database file from any arch

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/425>
This commit is contained in:
Igor V. Kovalenko 2020-12-21 19:27:53 +03:00 committed by PulseAudio Marge Bot
parent 4ca8997aa0
commit 7115023c51
5 changed files with 42 additions and 54 deletions

View file

@ -59,14 +59,6 @@ void pa_datum_free(pa_datum *d) {
pa_zero(d);
}
const char* pa_database_get_arch_suffix(void) {
/* We include the host identifier in the file name because gdbm
* files are CPU dependent, and we don't want things to go wrong
* if we are on a multiarch system. */
return CANONICAL_HOST;
}
const char* pa_database_get_filename_suffix(void) {
return ".gdbm";
}