1. 22 May, 2015 6 commits
  2. 12 May, 2015 2 commits
  3. 07 May, 2015 2 commits
  4. 05 May, 2015 1 commit
  5. 02 Mar, 2015 1 commit
  6. 17 Feb, 2015 4 commits
  7. 31 Jan, 2015 1 commit
  8. 30 Jan, 2015 1 commit
    • Werner Koch's avatar
      w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll. · 5cdc9c45
      Werner Koch authored
      
      
      * src/Makefile.am (extra_ltoptions): New.
      (libassuan_la_LDFLAGS): Use it.
      --
      
      Since gcc 4.8 there is a regression in that plain C programs may link
      to libgcc_s.a which has a dependency on libgcc_s_sjlj.dll.  This is
      for example triggered by using long long arithmetic on a 32 bit
      Windows (e.g symbol __udivdi3).
      
      This patch does not change anything right now but we add it anyway
      in case long long will ever be used.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      5cdc9c45
  9. 28 Jan, 2015 5 commits
  10. 27 Jan, 2015 2 commits
    • Werner Koch's avatar
      Fix WSAEADDRINUSE EADDRINUSE mismatch. · ab5264b2
      Werner Koch authored
      
      
      * src/w32-sock-nonce.inc.h (EADDRINUSE): Avoid redefining.
      * src/assuan-socket.c (_assuan_sock_bind): Set error to EADDRINUSE.
      --
      
      With the latest mingw-w64 EADDRINUSE is defined but to a different
      value than WSAEADDRINUSE.  We need to use EADDRINUSE becuase that is
      what applications expect.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      ab5264b2
    • Werner Koch's avatar
      Comment updates · 054f7c27
      Werner Koch authored
      --
      054f7c27
  11. 11 Dec, 2014 2 commits
  12. 28 Nov, 2014 2 commits
    • Werner Koch's avatar
      Do not allow LFs in the redirected name. · 0fce0171
      Werner Koch authored
      * src/assuan-socket.c (eval_redirection): Stop parsing at the first
      LF.
      --
      
      Avoiding LFs in file names is better for logging.
      0fce0171
    • Werner Koch's avatar
      Implement socket file redirection. · 1f99031c
      Werner Koch authored
      
      
      * configure.ac (AC_CHECK_FUNC): Check for stat.
      * src/assuan-socket.c (SUN_LEN): Add.
      (eval_redirection): New.
      (_assuan_sock_connect) [!W32]: Implement socket file redirection.
      (_assuan_sock_set_sockaddr_un): New.
      (assuan_sock_set_sockaddr_un): New.
      --
      
      This feature is useful to allow sockets with standard names even on
      file system which do not supports socket and to help with shared home
      directories.  For example to use GnuPG 2.1 with shared home
      directories one will be abale to do:
      
       rm ~/.gnupg/S.gpg-agent || true
       printf "%%Assuan%%\nsocket=${HOME}/.gnupg/S.gpg-agent_${HOSTNAME}\n" \
             > ~/.gnupg/S.gpg-agent
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      1f99031c
  13. 07 Nov, 2014 3 commits
  14. 31 Aug, 2014 3 commits
  15. 29 Aug, 2014 1 commit
  16. 24 Aug, 2014 4 commits