From 0b5cfa4e0b7c9dc2cd81635307613c86c0f5e200 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 27 Oct 2004 21:39:59 +0000 Subject: 2.3.3-74 --- sysdeps/generic/glob.c | 1 + sysdeps/gnu/netinet/udp.h | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/glob.c b/sysdeps/generic/glob.c index 658599ec1f..c0e76b377e 100644 --- a/sysdeps/generic/glob.c +++ b/sysdeps/generic/glob.c @@ -1135,6 +1135,7 @@ globfree (pglob) if (pglob->gl_pathv[pglob->gl_offs + i] != NULL) free ((__ptr_t) pglob->gl_pathv[pglob->gl_offs + i]); free ((__ptr_t) pglob->gl_pathv); + pglob->gl_pathv = NULL; } } #if defined _LIBC && !defined globfree diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h index 8977712822..45b69f7499 100644 --- a/sysdeps/gnu/netinet/udp.h +++ b/sysdeps/gnu/netinet/udp.h @@ -54,21 +54,23 @@ /* UDP header as specified by RFC 768, August 1980. */ #ifdef __FAVOR_BSD + struct udphdr { - uint16_t uh_sport; /* source port */ - uint16_t uh_dport; /* destination port */ - uint16_t uh_ulen; /* udp length */ - uint16_t uh_sum; /* udp checksum */ + u_int16_t uh_sport; /* source port */ + u_int16_t uh_dport; /* destination port */ + u_int16_t uh_ulen; /* udp length */ + u_int16_t uh_sum; /* udp checksum */ }; + #else struct udphdr { - uint16_t source; - uint16_t dest; - uint16_t len; - uint16_t check; + u_int16_t source; + u_int16_t dest; + u_int16_t len; + u_int16_t check; }; #endif -- cgit v1.2.3