bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] New gnubg-no-gui.exe unable to read MET


From: Øystein Johansen
Subject: Re: [Bug-gnubg] New gnubg-no-gui.exe unable to read MET
Date: Wed, 16 Feb 2005 19:31:16 +0100
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)

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

Jon Kinsey wrote:
| macherius wrote:
|
|>
|> The suspect patch is this one: "Tue Feb  7  17:56:45 2005 GMT  Jon
|> Kinsey <address@hidden> * gnubg.c: change get install dir
|> to look at path to exe (windows)." Around that time MET loading
|> broke in my compiles.
|
|
| I changed the code which looked for the directory gnubg was installed
| in the registry to get this info from the running .exe.  This was
| because I now have two different gnubg directories (one for 1.3 and
| one for 2.6) - and it was picking up info from the wrong one.
|
| Perhaps removing the trailing slash is the problem, I'll make this
| change: *p = '\0'; --> p[1] = '\0';

No! That didn't help!

But....

I checked the getInstallDir() returns in the new function compared to
the previous implementation.

The new implementation returns the string of the install directory,
however the earlier (before 7 Feb) implementation returned NULL pointer?
If the function returns NULL, everything else works?

- -Øystein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCE5F06kDTFPhwyqYRAqEZAJ9RmzuB/xKuHAbrTBgTcKuRuxfNjgCfYMgK
oNOACOm3mloIWKuPwcW9Yjc=
=avtM
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]