[Enigmail] Building enigmail on OS/2

Dave Yeo dave.r.yeo at gmail.com
Thu Jan 5 09:58:19 PST 2012


On 01/05/12 02:27 am, Patrick Brunschwig wrote:
> The code you disabled made this: if an argument contains spaces, 
> insert " at the start and the end of the argument.
> 
> Given that you disabled this, you should probably ensure that the
> path to gpg.exe does not contain spaces.
> 
> Try to replace the #ifdef ... #endif with this here:
> 
> #ifndef XP_OS2 nsAutoString tmpArg (args[j]); nsAutoString quote; 
> quote.AssignASCII("\""); if (tmpArg.FindChar(' ', 0) >= 0) { 
> tmpArg.Insert(quote, 0); tmpArg.Append(quote); argList[j+1] =
> ToNewUTF8String(tmpArg); } else { argList[j+1] =
> ToNewUTF8String(nsDependentString(args[j])); } #else argList[j+1] =
> ToNewUTF8String(nsDependentString(args[j])); #endif

OK, this works much better, wizard creates a key and revocation key
but when trying to send a message I get this on the console,

enigmail> f:\usr\bin\gpg.exe --charset utf8 --batch --no-tty
--status-fd 2 --comment Using GnuPG with Mozilla -
http://enigmail.mozdev.org/ -t --clearsign -u 0x581BA3B8
--passphrase-fd 0 --no-use-agent
usage: gpg [options] [filename]

Dave


More information about the Enigmail mailing list