> On May 12, 2025, at 10:28 AM, Geert Janssens <geert.gnuc...@kobaltwit.be> > wrote: > > Op maandag 12 mei 2025 01:31:11 Midden-Europese zomertijd schreef John Ralls: > > -#define DEFAULT_HOST "localhost" > > +/* Flatpak build blocks access to the resolver so it can't retrieve > > + * localhost's IP address. > > + */ > > While the fix is fine, the comment is misleading. DBMS such as postgresql and > mysql optimize when you choose "localhost" and will try to use a unix socket > file for the connection instead of a web connection. > > You could equally fix this by allowing the proper file access to these socket > files on the host system from within the flatpak. I think using the ip > address is less messy for a default, so no need to change the fix, but > perhaps improve the comment ? > > > +#define DEFAULT_HOST "127.0.0.1" > > #define DEFAULT_DATABASE PROJECT_NAME > > #define FILE_ACCESS_OPEN 0 > > #define FILE_ACCESS_SAVE_AS 1
Geert, OK, I rewrote the comment. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel