~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to lib/bind/irs/getprotoent_r.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: getprotoent_r.c,v 1.3.206.1 2004/03/09 08:33:36 marka Exp $";
 
19
static const char rcsid[] = "$Id: getprotoent_r.c,v 1.6 2006/08/01 01:14:16 marka Exp $";
20
20
#endif /* LIBC_SCCS and not lint */
21
21
 
22
22
#include <port_before.h>
76
76
#endif
77
77
}
78
78
 
79
 
/*
 
79
/*%
80
80
 *      These assume a single context is in operation per thread.
81
81
 *      If this is not the case we will need to call irs directly
82
82
 *      rather than through the base functions.
109
109
setprotoent_r(int stay_open)
110
110
#endif
111
111
{
 
112
#ifdef PROTO_R_ENT_UNUSED
 
113
        PROTO_R_ENT_UNUSED;
 
114
#endif
112
115
        setprotoent(stay_open);
113
116
#ifdef PROTO_R_SET_RESULT
114
117
        return (PROTO_R_SET_RESULT);
122
125
endprotoent_r()
123
126
#endif
124
127
{
 
128
#ifdef PROTO_R_ENT_UNUSED
 
129
        PROTO_R_ENT_UNUSED;
 
130
#endif
125
131
        endprotoent();
126
132
        PROTO_R_END_RESULT(PROTO_R_OK);
127
133
}
136
142
        int numptr, len;
137
143
 
138
144
        /* Find out the amount of space required to store the answer. */
139
 
        numptr = 1; /* NULL ptr */
 
145
        numptr = 1; /*%< NULL ptr */
140
146
        len = (char *)ALIGN(buf) - buf;
141
147
        for (i = 0; pe->p_aliases[i]; i++, numptr++) {
142
148
                len += strlen(pe->p_aliases[i]) + 1;
214
220
        static int getprotoent_r_unknown_system = 0;
215
221
#endif /* PROTO_R_RETURN */
216
222
#endif /* !defined(_REENTRANT) || !defined(DO_PTHREADS) */
 
223
/*! \file */