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

« back to all changes in this revision

Viewing changes to lib/bind/inet/inet_pton.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: inet_pton.c,v 1.2.206.2 2005/07/28 07:43:18 marka Exp $";
 
19
static const char rcsid[] = "$Id: inet_pton.c,v 1.5 2005/07/28 06:51:47 marka Exp $";
20
20
#endif /* LIBC_SCCS and not lint */
21
21
 
22
22
#include "port_before.h"
30
30
#include <errno.h>
31
31
#include "port_after.h"
32
32
 
33
 
/*
 
33
/*%
34
34
 * WARNING: Don't even consider trying to compile this on a system where
35
35
 * sizeof(int) < 4.  sizeof(int) > 4 is fine; all the world's not a VAX.
36
36
 */
188
188
                    inet_pton4(curtok, tp) > 0) {
189
189
                        tp += NS_INADDRSZ;
190
190
                        seen_xdigits = 0;
191
 
                        break;  /* '\0' was seen by inet_pton4(). */
 
191
                        break;  /*%< '\\0' was seen by inet_pton4(). */
192
192
                }
193
193
                return (0);
194
194
        }
219
219
        memcpy(dst, tmp, NS_IN6ADDRSZ);
220
220
        return (1);
221
221
}
 
222
 
 
223
/*! \file */