mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
1296. [bug] libbind: const pointer conficts in res_debug.c.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
1296. [bug] libbind: const pointer conficts in res_debug.c.
|
||||||
|
|
||||||
1295. [port] libbind: hpux: treat all hpux systems as BIG_ENDIAN.
|
1295. [port] libbind: hpux: treat all hpux systems as BIG_ENDIAN.
|
||||||
|
|
||||||
1294. [bug] Memory leak in lwres_gnbarequest_parse().
|
1294. [bug] Memory leak in lwres_gnbarequest_parse().
|
||||||
|
@@ -95,7 +95,7 @@
|
|||||||
|
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#if defined(LIBC_SCCS) && !defined(lint)
|
||||||
static const char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93";
|
static const char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93";
|
||||||
static const char rcsid[] = "$Id: res_debug.c,v 1.6 2002/05/03 06:04:55 marka Exp $";
|
static const char rcsid[] = "$Id: res_debug.c,v 1.7 2002/05/21 02:07:50 marka Exp $";
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include "port_before.h"
|
#include "port_before.h"
|
||||||
@@ -683,12 +683,10 @@ precsize_ntoa(prec)
|
|||||||
|
|
||||||
/* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */
|
/* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */
|
||||||
static u_int8_t
|
static u_int8_t
|
||||||
precsize_aton(strptr)
|
precsize_aton(const char **strptr) {
|
||||||
char **strptr;
|
|
||||||
{
|
|
||||||
unsigned int mval = 0, cmval = 0;
|
unsigned int mval = 0, cmval = 0;
|
||||||
u_int8_t retval = 0;
|
u_int8_t retval = 0;
|
||||||
char *cp;
|
const char *cp;
|
||||||
int exponent;
|
int exponent;
|
||||||
int mantissa;
|
int mantissa;
|
||||||
|
|
||||||
@@ -725,11 +723,8 @@ precsize_aton(strptr)
|
|||||||
|
|
||||||
/* converts ascii lat/lon to unsigned encoded 32-bit number. moves pointer. */
|
/* converts ascii lat/lon to unsigned encoded 32-bit number. moves pointer. */
|
||||||
static u_int32_t
|
static u_int32_t
|
||||||
latlon2ul(latlonstrptr,which)
|
latlon2ul(const char **latlonstrptr, int *which) {
|
||||||
char **latlonstrptr;
|
const char *cp;
|
||||||
int *which;
|
|
||||||
{
|
|
||||||
char *cp;
|
|
||||||
u_int32_t retval;
|
u_int32_t retval;
|
||||||
int deg = 0, min = 0, secs = 0, secsfrac = 0;
|
int deg = 0, min = 0, secs = 0, secsfrac = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user