mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
From STABLE-BRANCH-1-4
* keyserver.c: Windows Vista doesn't grok X_OK and so fails access() tests. Previous versions interpreted X_OK as F_OK anyway, so we'll just use F_OK directly.
This commit is contained in:
parent
458efc1d6f
commit
674530c3fa
@ -1,3 +1,11 @@
|
|||||||
|
2007-03-14 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
From STABLE-BRANCH-1-4
|
||||||
|
|
||||||
|
* keyserver.c: Windows Vista doesn't grok X_OK and so fails
|
||||||
|
access() tests. Previous versions interpreted X_OK as F_OK
|
||||||
|
anyway, so we'll just use F_OK directly.
|
||||||
|
|
||||||
2007-03-09 David Shaw <dshaw@jabberwocky.com>
|
2007-03-09 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
From STABLE-BRANCH-1-4
|
From STABLE-BRANCH-1-4
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* keyserver.c - generic keyserver code
|
/* keyserver.c - generic keyserver code
|
||||||
* Copyright (C) 2001, 2002, 2003, 2004, 2005,
|
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
|
||||||
* 2006 Free Software Foundation, Inc.
|
* 2007 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This file is part of GnuPG.
|
* This file is part of GnuPG.
|
||||||
*
|
*
|
||||||
@ -45,6 +45,13 @@
|
|||||||
#include "dns-cert.h"
|
#include "dns-cert.h"
|
||||||
#include "pka.h"
|
#include "pka.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_W32_SYSTEM
|
||||||
|
/* It seems Vista doesn't grok X_OK and so fails access() tests.
|
||||||
|
Previous versions interpreted X_OK as F_OK anyway, so we'll just
|
||||||
|
use F_OK directly. */
|
||||||
|
#undef X_OK
|
||||||
|
#define X_OK F_OK
|
||||||
|
#endif /* HAVE_W32_SYSTEM */
|
||||||
|
|
||||||
struct keyrec
|
struct keyrec
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user