Age | Commit message (Collapse) | Author |
|
Avoid warning by using may_alias attribute on ptrhack.
|
|
|
|
Avoid memory leak in case realloc fails. Simplification for
better code generation.
Avoid deprecation warning because of libc_hidden_proto for
inet6_option_alloc.
* inet/inet6_option.c (option_alloc): Renamed from
inet6_option_alloc. Made static.
(inet6_option_alloc): New a simple wrapper around option_alloc.
(inet6_option_append): Call option_alloc.
* include/netinet/in.h: Remove libc_hidden_proto for
inet6_option_alloc.
|
|
into a macro. Use preprocessor to decide how to initialize
attempts [Coverity CID 67].
* io/fts.c (fts_build): Comment out dead code [Coverity CID 68].
* sunrpc/rpc_parse.c (def_union): Comment out dead code
[Coverity CID 70].
* locale/programs/linereader.c (lr_token): Remove duplicate
handling of EOF [Coverity CID 71].
* locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]:
We bail out early if ignore_content is set, so there is no need to
check it later again [Coverity CID 72].
* inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL,
not tptrp [Coverity CID 73].
* inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL,
not tptrp [Coverity CID 74].
* misc/tsearch.c (__tsearch): Don't rotate tree if memory
allocation failed [Coverity CID 78].
|
|
|
|
|
|
* sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close,
not close.
* inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def.
* include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto
definition.
|
|
2003-06-14 Ulrich Drepper <drepper@redhat.com>
* inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADn): Define.
* inet/netinet/in.h: Add prototypes for inet6_option_* functions.
* inet/Makefile (routines): Add inet6_option.
* inet/inet6_option.c: New file.
* inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space,
inet6_option_init, inet6_option_append, inet6_option_alloc,
inet6_option_next, and inet6_option_find.
* inet/netinet/ip6.h (struct ip6_ext): Define.
|