~ubuntu-branches/ubuntu/vivid/gpgme1.0/vivid

« back to all changes in this revision

Viewing changes to src/priv-io.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-10-31 10:54:12 UTC
  • mfrom: (13.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20141031105412-76uoahn8g7rp0f4z
Tags: 1.5.1-6ubuntu1
* Merge from debian unstable. Remaining changes:
  - debian/rules: Switch back to using /usr/bin/gpg and add back gnupg
    build dependency, as we don't install gnupg2 by default. 
  - debian/control: Depends on "gnupg | gnupg2" rather than gnupg2,
    default to the old version since the new one depends on gpg-agent,
    pinentry-gtk2, and a bunch of other packages we don't need/want in
    the default installation
* Dropped changes:
  - debian/patches/CVE-2014-3564.patch: upstream
  - debian/patches/test_engine_ignore_filename.diff: upstream
  - debian/rules: Fix build failure by running the tests without
    parallelization: handled in Debian by using newer automake

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
# ifdef HAVE_W32CE_SYSTEM
27
27
#  include "w32-ce.h"
28
28
# endif
 
29
# include <winsock2.h>
29
30
# include <windows.h>
30
31
#else
31
32
# include <sys/socket.h>
75
76
                                void *value);
76
77
int _gpgme_io_set_nonblocking (int fd);
77
78
 
 
79
/* Under Windows do not allocate a console.  */
 
80
#define IOSPAWN_FLAG_DETACHED 1
78
81
/* A flag to tell the spawn function to allow the child process to set
79
82
   the foreground window. */
80
 
#define IOSPAWN_FLAG_ALLOW_SET_FG 1
 
83
#define IOSPAWN_FLAG_ALLOW_SET_FG 2
81
84
/* Don't close any child FDs.  */
82
 
#define IOSPAWN_FLAG_NOCLOSE 2
 
85
#define IOSPAWN_FLAG_NOCLOSE 4
83
86
 
84
87
/* Spawn the executable PATH with ARGV as arguments.  After forking
85
88
   close all fds except for those in FD_LIST in the child, then