~ubuntu-branches/ubuntu/maverick/bind9/maverick

« back to all changes in this revision

Viewing changes to lib/bind/irs/nis_ho.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, LaMont Jones, Internet Software Consortium, Inc, localization folks
  • Date: 2008-08-02 14:20:20 UTC
  • mfrom: (1.2.1 upstream) (6.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802142020-l1hon9jy8lbbjxmg
[LaMont Jones]

* default to using resolvconf if it is installed
* fix sonames and dependencies.  Closes: #149259, #492418
* Do not build-depend libcap2-dev on non-linux.  Closes: #493392
* drop unused query-loc manpage.  Closes: #492564
* lwresd: Deliver /etc/bind directory.  Closes: #490027
* fix query-source comment in default install

[Internet Software Consortium, Inc]

* 9.5.0-P2.  Closes: #492949

[localization folks]

* l10n: Spanish debconf translation.  Closes: #492425 (Ignacio Mondino)
* l10n: Swedish debconf templates.  Closes: #491369 (Martin Ågren)
* l10n: Japanese debconf translations.  Closes: #492048 (Hideki Yamane
  (Debian-JP))
* l10n: Finnish translation.  Closes: #490630 (Esko Arajärvi)
* l10n: Italian debconf translations.  Closes: #492587 (Alessandro Vietta)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 */
17
17
 
18
18
#if defined(LIBC_SCCS) && !defined(lint)
19
 
static const char rcsid[] = "$Id: nis_ho.c,v 1.2.2.1.4.1 2004/03/09 08:33:38 marka Exp $";
 
19
static const char rcsid[] = "$Id: nis_ho.c,v 1.5 2005/04/27 04:56:32 sra Exp $";
20
20
#endif /* LIBC_SCCS and not lint */
21
21
 
22
22
/* Imports */
79
79
        char *          h_addr_ptrs[MAXADDRS + 1];
80
80
        char *          host_aliases[MAXALIASES + 1];
81
81
        char            hostbuf[8*1024];
82
 
        u_char          host_addr[16];  /* IPv4 or IPv6 */
 
82
        u_char          host_addr[16];  /*%< IPv4 or IPv6 */
83
83
        struct __res_state  *res;
84
84
        void            (*free_res)(void *);
85
85
};
369
369
        cur = &sentinel;
370
370
 
371
371
        switch(pai->ai_family) {
372
 
        case AF_UNSPEC:         /* INET6 then INET4 */
 
372
        case AF_UNSPEC:         /*%< INET6 then INET4 */
373
373
                q.family = AF_INET6;
374
374
                q.next = &q2;
375
375
                q2.family = AF_INET;
381
381
                q.family = AF_INET;
382
382
                break;
383
383
        default:
384
 
                RES_SET_H_ERRNO(pvt->res, NO_RECOVERY); /* ??? */
 
384
                RES_SET_H_ERRNO(pvt->res, NO_RECOVERY); /*%< ??? */
385
385
                return(NULL);
386
386
        }
387
387
 
414
414
 
415
415
/* Private */
416
416
 
417
 
/*
 
417
/*%
418
418
ipnodes:
419
419
::1             localhost
420
420
127.0.0.1       localhost
531
531
        return (0);
532
532
}
533
533
#endif /*WANT_IRS_NIS*/
 
534
 
 
535
/*! \file */