- (dtucker) [openbsd-compat/getrrsetbyname.c] Use _compat_res instead of

_res, prevents problems on some platforms that have _res as a global but
   don't have getrrsetbyname(), eg IRIX 5.3.  Found and tested by
   georg.schwarz at freenet.de, ok djm@.
This commit is contained in:
Darren Tucker 2006-05-15 17:15:56 +10:00
Родитель 43ff44e7db
Коммит 13c539a4dc
2 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,9 @@
20050515
- (dtucker) [openbsd-compat/getrrsetbyname.c] Use _compat_res instead of
_res, prevents problems on some platforms that have _res as a global but
don't have getrrsetbyname(), eg IRIX 5.3. Found and tested by
georg.schwarz at freenet.de, ok djm@.
20050506
- (dtucker) OpenBSD CVS Syn
- dtucker@cvs.openbsd.org 2006/04/25 08:02:27
@ -4611,4 +4617,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4324 2006/05/06 08:40:53 dtucker Exp $
$Id: ChangeLog,v 1.4325 2006/05/15 07:15:56 dtucker Exp $

Просмотреть файл

@ -60,6 +60,10 @@ extern int h_errno;
# undef _THREAD_PRIVATE
#endif
#define _THREAD_PRIVATE(a,b,c) (c)
/* to avoid conflicts where a platform already has _res */
#define _res _compat_res
struct __res_state _res;
/* Necessary functions and macros */