-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Preuss schrieb:
> [...]
>> GWEN_Directory_GetHomeDirectory() auf Windows liefert momentan immer
>> GetWindowsDirectory() zurück, also "C:\Windows" oder "C:\WINNT". 
> [...]
> 
> Auf jeden Fall!

Ok, ist drin.

Ich hab das Verhalten von glib's g_get_home_dir() übernommen. Das ist
aber etwas unerwartet, weil es zu unterschiedlichen home-directories
führt, wenn man von der Msys shell aus etwas startet, verglichen mit dem
Start von außerhalb von Msys. Trotzdem, da die gnome-Programme mit dem
gleichen Problem irgendwie klarkommen, hab ich das so gelassen.

For the english readers, here's what the function does now:
 * On Windows, this looks up the environment variable "HOME", then
 * "USERPROFILE", then the Windows system directory. This
 * behaviour is identical to glib's g_get_home_dir(). Watch out:
 * In the normal non-mingw/msys environment, only "USERPROFILE" is
 * set, e.g. to "c:\Documents\Yourusername". But if this function
 * is called from within msys, then msys itself has set "HOME" to
 * a different value, e.g. to "c:\msys\1.0\home\yourusername". In
 * effect, your program will see a different home directory when
 * run from within msys compared to without msys. This is weird,
 * but it is identical to the glib behaviour and hence we leave it
 * at that.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRcxuQmXAi+BfhivFAQLeZAP/b4ZudktVDzx9BfhiOkiDkMkpK7j8HGGI
NbK8chCEnfRdXRjgCBS5zuAoJMZMVGwCKsAhbV6wB2WOinXjWQ4LDDj1vlNBRa//
iOIcifFUeYrFQUUmci8XRf3s2hvCdUdyrnrGFWYjjIY3Yu6Am/FfZBoK1BqTJMdp
anrYbDruh0M=
=m8Zn
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Aqbanking-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to