~ubuntu-branches/ubuntu/raring/gnupg2/raring-proposed

« back to all changes in this revision

Viewing changes to common/simple-pwquery.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-08-23 20:48:11 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20090823204811-cajik24rci4xszia
Tags: 2.0.12-1
* New upstream release. (Closes: #499569, #463270, #446494, #314068, 
  #519375, #514587)
* debian/control: Change build dependency on gs to ghoscript, since
  ghoscript has been replaced.
* debian/compat: Use debhelper v7.
* debian/control: Update Standards-Version to 3.8.2.
* debian/control: Use ${misc:Depends}.
* configure.ac: Override pkgdatadir so that it points to
  /usr/share/gnupg2. (Closes: #528734)
* debian/rules: No longer need to specify pkgdatadir at make install
  time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#ifdef HAVE_LOCALE_H
40
40
#include <locale.h>
41
41
#endif
 
42
 
 
43
#define JNLIB_NEED_AFLOCAL
 
44
#include "../jnlib/mischelp.h"
42
45
#ifdef HAVE_W32_SYSTEM
43
46
#include "../jnlib/w32-afunix.h"
44
47
#endif
379
382
  memset (&client_addr, 0, sizeof client_addr);
380
383
  client_addr.sun_family = AF_UNIX;
381
384
  strcpy (client_addr.sun_path, infostr);
382
 
  len = (offsetof (struct sockaddr_un, sun_path)
383
 
         + strlen(client_addr.sun_path) + 1);
 
385
  len = SUN_LEN (&client_addr);
384
386
    
385
387
#ifdef HAVE_W32_SYSTEM       
386
388
  rc = _w32_sock_connect (fd, (struct sockaddr*)&client_addr, len );