[Tkabber-dev] [tclgpg commit] r37 - trunk

codesite-noreply at google.com codesite-noreply at google.com
Tue Nov 18 23:28:35 MSK 2008


Author: sgolovan
Date: Tue Nov 18 12:27:10 2008
New Revision: 37

Modified:
    trunk/ChangeLog
    trunk/tclgpg.c

Log:
	* tclgpg.c: Add --enable-special-filenames options only if these
	  special filenames are actually used.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Tue Nov 18 12:27:10 2008
@@ -10,6 +10,9 @@

  	* tclgpg.c, tclgpg.tcl: Code cleanup.

+	* tclgpg.c: Add --enable-special-filenames options only if these
+	  special filenames are actually used.
+
  2008-10-28  Sergei Golovan  <sgolovan at nes.ru>

  	* tclgpg.tcl: Made the first gpg call use auto_execok.

Modified: trunk/tclgpg.c
==============================================================================
--- trunk/tclgpg.c	(original)
+++ trunk/tclgpg.c	Tue Nov 18 12:27:10 2008
@@ -175,13 +175,16 @@
              argv[argc++] = "--status-fd";
              sprintf(stsChannelName, "%d", stspipe[1]);
              argv[argc++] = stsChannelName;
-            argv[argc++] = "--enable-special-filenames";

              if (!batch) {
                  close(cmdpipe[1]);
                  argv[argc++] = "--command-fd";
                  sprintf(cmdChannelName, "%d", cmdpipe[0]);
                  argv[argc++] = cmdChannelName;
+            }
+
+            if (decrypt || verify) {
+                argv[argc++] = "--enable-special-filenames";
              }

              for (i = 2; i < objc; i++) {


More information about the Tkabber-dev mailing list