That's fine. I just think the UI should still say localhost.

-derek

----- Reply message -----
From: "Mike Alexander" <[email protected]>
Date: Sat, Dec 4, 2010 7:06 pm
Subject: GnuCash, Windows 7 and MySQL
To: "Derek Atkins" <[email protected]>, "Christian Stimming" <[email protected]>, 
<[email protected]>

I think it would be better to use an ifdef (although the ifdef could 
control whether to do the replacement you describe) since it's 
possible, although unlikely, to have localhost be something other than 
127.0.0.1 on a non-Windows system.

         Mike

--On December 4, 2010 5:13:39 PM -0500 Derek Atkins <[email protected]> 
wrote:

> Or better yet, internally replace "localhost" with "127.0.0.1"?
>
> -derek
>
> ----- Reply message -----
> From: "Christian Stimming" <[email protected]>
> Date: Sat, Dec 4, 2010 4:00 pm
> Subject: GnuCash, Windows 7 and MySQL
> To: <[email protected]>
>
> Am Samstag, 4. Dezember 2010 schrieb Geert Janssens:
>> https://bugzilla.gnome.org/show_bug.cgi?id=624465
>> https://bugzilla.gnome.org/show_bug.cgi?id=635911
>>
>> But I'm not only writing this to inform, I would also like to
>> propose to change the hostname that is set by default in the Save As
>> and Open dialog boxes to 127.0.0.1. If we leave it as localhost, I
>> guess we will be getting a lot of "It doesn't work" messages in the
>> future.
>
> Yes, in principle, because having a solution that works is better
> than having  something which won't work on some systems. However, the
> numbers look very  ugly compared to the name "localhost". Can you
> make that an #ifdef on  G_OS_WIN32, and leave it at localhost for the
> other systems?
>
> Regards,
>
> Christian
> _______________________________________________
> gnucash-devel mailing list
> [email protected]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> _______________________________________________
> gnucash-devel mailing list
> [email protected]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>


_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to