[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.18-7-g217d2ec

by Werner Koch cvs at cvs.gnupg.org
Tue Jan 3 12:45:11 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, STABLE-BRANCH-2-0 has been updated
       via  217d2ec8af3aedb49e87ccccf93775617f00e0ca (commit)
      from  3005b0a6f43e53bed2f9b6fba7ad1205bdb29bc5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 217d2ec8af3aedb49e87ccccf93775617f00e0ca
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Jan 3 11:50:13 2012 +0100

    Terminate csh commands with a semicolon.
    
    Fixes bug#1386.
    
    * agent/gpg-agent.c (main): Terminate csh style output with a semicolon.
    * scd/scdaemon.c: Ditto.

diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index f12f73c..b00d899 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1175,13 +1175,13 @@ main (int argc, char **argv )
               if (csh_style)
                 {
                   *strchr (infostr, '=') = ' ';
-                  printf ("setenv %s\n", infostr);
+                  printf ("setenv %s;\n", infostr);
 		  if (opt.ssh_support)
 		    {
 		      *strchr (infostr_ssh_sock, '=') = ' ';
-		      printf ("setenv %s\n", infostr_ssh_sock);
+		      printf ("setenv %s;\n", infostr_ssh_sock);
 		      *strchr (infostr_ssh_pid, '=') = ' ';
-		      printf ("setenv %s\n", infostr_ssh_pid);
+		      printf ("setenv %s;\n", infostr_ssh_pid);
 		    }
                 }
               else
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 95f6570..064d342 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -828,7 +828,7 @@ main (int argc, char **argv )
               if (csh_style)
                 {
                   *strchr (infostr, '=') = ' ';
-                  printf ( "setenv %s\n", infostr);
+                  printf ( "setenv %s;\n", infostr);
                 }
               else
                 {

-----------------------------------------------------------------------

Summary of changes:
 agent/gpg-agent.c |    6 +++---
 scd/scdaemon.c    |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list