Displaying 12 results from an estimated 12 matches for "__res_state".
2006 Apr 21
3
OpenSSH DNS resolution failure on IRIX 5.3: request to fix
...change:
revision 1.3954
date: 2005/11/05 05:56:52; author: djm; state: Exp; lines: +4 -1
- (djm) [openbsd-compat/getrrsetbyname.c] Sync to latest OpenBSD
version,
resolving memory leak bz#1111 reported by kremenek AT
cs.stanford.edu;
ok dtucker@
When I take out the line
struct __res_state _res;
things work. Also, the problem does not occur when compiling with gcc
(I used 3.4.4) instead of the SGI IDO cc.
I am not familiar enough with the implementation of the DNS
resolution libraries to really judge what is going on. It looks like
the global variable _res in openbsd-compat/g...
2007 Mar 12
1
Redefinition of _res in getrrsetbyname.c
...#39;t use DNSSEC on my NetBSD-4-branch platform.
It turns out that around line 70 in openbsd-compat/getrrsetbyname.c, we
have the following:
/* to avoid conflicts where a platform already has _res */
#ifdef _res
# undef _res
#endif
#define _res _compat_res
struct __res_state _res;
This defines a global, _compat_res, used only by OpenSSH (at least on
NetBSD), and makes _res be that instead of the "real" _res (however that
might be defined on various platforms).
_res is used only in the getrrsetbyname function, which never
initializes it in any way, but tries...
2014 Jul 11
0
OpenSSH 6.6p1 configure script error
...it, causing an erroneous definition of HAS__RES_EXTERN
The test should be coded as follows:
/* ... confdefs.h */
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
extern struct __res_state _res;
int
main ()
{
struct __res_state *volatile p = &_res; /* force resolution of _res */
return 0;
}
---
Scott Neugroschl | XYPRO Technology Corporation
4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |
2014 Jul 25
11
[Bug 2259] New: Checking for external _res fails
...definition of
HAS__RES_EXTERN
The test should be coded in "configure" as follows:
/* ... confdefs.h */
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
extern struct __res_state _res;
int
main ()
{
struct __res_state *volatile p = &_res; /* force resolution of _res */
return 0; }
--
You are receiving this mail because:
You are watching the assignee of the bug.
2007 Mar 16
2
[Bug 1299] Remove redefinition of _res in getrrsetbyname.c
...lable via DNSSEC, because it
doesn't turn on DNSSEC to request them.
Around line 70 in openbsd-compat/getrrsetbyname.c, we have the
following:
/* to avoid conflicts where a platform already has _res */
#ifdef _res
# undef _res
#endif
#define _res _compat_res
struct __res_state _res;
This defines a global, _compat_res, used only by OpenSSH (at least on
NetBSD), and makes _res be that instead of the "real" _res (however
that
might be defined on various platforms).
_res is used only in the getrrsetbyname function, which never
initializes it in any way, but tries...
2011 Aug 08
0
configure bug for HAVE_RES_EXTERN check
The code used in configure.ac to check for struct __res_state _res is an extern, can fail. I'm porting the code to UWIN, (Unix on Windows, available at http://www2.research.att.com/~gsf/download) using Microsoft Visual Studio for the cc compiler. The code in lines 3483 - 3491 should include a reference to _res, to verify the compiler doesn't ignore no...
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
...in utmp.h... no
checking for ut_addr_v6 field in utmpx.h... no
checking for ut_exit field in utmp.h... yes
checking for ut_time field in utmp.h... yes
checking for ut_time field in utmpx.h... no
checking for ut_tv field in utmpx.h... no
checking for struct stat.st_blksize... yes
checking for struct __res_state.retrans... yes
checking for ss_family field in struct sockaddr_storage... yes
checking for __ss_family field in struct sockaddr_storage... no
checking for pw_class field in struct passwd... no
checking for pw_expire field in struct passwd... no
checking for pw_change field in struct passwd... no
ch...
2013 Sep 27
0
Wine release 1.7.3
...wined3d: Send draw operation through the command stream.
d3dx9: Get rid of the ID3DXFileDataImpl typedef.
d3dx9: Get rid of the SPRITEVERTEX typedef.
Huw D. M. Davies (11):
iphlpapi: Use proper multibyte to unicode conversion.
iphlpapi: Add a configure check for struct __res_state.
iphlpapi: Add a version of get_dns_servers for Android.
iphlpapi: Add helpers to convert the host's sockaddr structures to SOCKADDR_STORAGE.
iphlpapi: Combine the various interface enumeration functions into one function.
iphlpapi: Add interface enumeration for Android....
2011 Aug 17
1
openssh-unix-dev Digest, Vol 100, Issue 3
...t;
> Subject: configure bug for HAVE_RES_EXTERN check
> Message-ID:
> <
> DE13570BD8A23F4FA2139E596105E040DBDA8F2D9D at njfpsrvexg1.research.att.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> The code used in configure.ac to check for struct __res_state _res is an
> extern, can fail. I'm porting the code to UWIN, (Unix on Windows, available
> at http://www2.research.att.com/~gsf/download) using Microsoft Visual
> Studio for the cc compiler. The code in lines 3483 - 3491 should include a
> reference to _res, to verify the compiler d...
2006 Feb 06
1
Compile warning report of openssh 4.3p1 on Intel Macs
...d in utmp.h... no
checking for ut_addr_v6 field in utmpx.h... no
checking for ut_exit field in utmp.h... no
checking for ut_time field in utmp.h... no
checking for ut_time field in utmpx.h... no
checking for ut_tv field in utmpx.h... no
checking for struct stat.st_blksize... yes
checking for struct __res_state.retrans... yes
checking for ss_family field in struct sockaddr_storage... yes
checking for __ss_family field in struct sockaddr_storage... no
checking for pw_class field in struct passwd... yes
checking for pw_expire field in struct passwd... yes
checking for pw_change field in struct passwd... yes...
2006 Apr 23
0
Configuration Warnings OpenSSH 4.3p2
...in utmp.h... no
checking for ut_addr_v6 field in utmpx.h... no
checking for ut_exit field in utmp.h... no
checking for ut_time field in utmp.h... yes
checking for ut_time field in utmpx.h... no
checking for ut_tv field in utmpx.h... no
checking for struct stat.st_blksize... yes
checking for struct __res_state.retrans... no
checking for ss_family field in struct sockaddr_storage... yes
checking for __ss_family field in struct sockaddr_storage... no
checking for pw_class field in struct passwd... yes
checking for pw_expire field in struct passwd... yes
checking for pw_change field in struct passwd... yes...
2017 Feb 17
0
Wine release 2.2
...missing function header to TreeResetNamedSecurityInfoW().
Bruno Jesus (8):
winealsa.drv: Fix handling of system real time MIDI messages.
wlanapi: Semi-stub WlanEnumInterfaces.
winemp3.acm: Ignore XING headers when parsing MP3 files.
configure: Make FreeBSD recognize struct __res_state for iphlpapi.
wlanapi: Add a stub for WlanScan.
wlanapi: Add a stub for WlanRegisterNotification.
wlanapi: Add a stub for WlanGetAvailableNetworkList.
wlanapi: Add some usage information.
Can Taşan (1):
po: Update Turkish translation.
Carlo Bramini (2):
winmm:...