diff options
| author | Ulrich Drepper <drepper@redhat.com> | 1997-04-05 01:26:47 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 1997-04-05 01:26:47 +0000 |
| commit | 26dee9c49cbbec8826db4c29e99fb50d9392a047 (patch) | |
| tree | 98cce94e2e72bcb491b108c3c8f82192070b4b8f | |
| parent | fe7bdd630fab35270a88b0731cd0fc10de062046 (diff) | |
| download | glibc-cvs/libc-970405.tar.xz glibc-cvs/libc-970405.zip | |
Update.cvs/libc-ud-970404cvs/libc-970412cvs/libc-970411cvs/libc-970410cvs/libc-970409cvs/libc-970408cvs/libc-970407cvs/libc-970406cvs/libc-970405
1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com>
* inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write
headers but instead add comments and parameter names.
Don't use BSD specific types in prototypes.
* manual/nss.texi: Correct a few typos and errors.
* sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
algorithm.
* sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
* sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
* sysdeps/libm-i387/s_cbrt.S: New file. Optimized assembler version
with new algorithm.
* sysdeps/libm-i387/s_cbrtf.S: New file.
* sysdeps/libm-i387/s_cbrtl.S: New file.
* sysdeps/libm-i387/s_frexp.S: Optimize even more.
* sysdeps/libm-i387/s_frexpf.S: Likewise.
* sysdeps/libm-i387/s_frexpl.S: Likewise.
1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/Makefile: Remove CFLAGS-*, add publickey to databases.
* nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
DES part only with secure RPC add-on.
* nis/nis_names.c (nis_modify): Fix rpc function number.
* nis/nis_server.c: Fix typos.
* nis/nss_compat/compat-grp.c: Add NIS+ support.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
signals success.
* nis/nss_nis/nis-publickey.c: Changes for compiling with/without
secure RPC.
* nis/nss_nisplus/nisplus-publickey.c: Likewise.
* nis/ypclnt.c: Likewise.
* nis/nis_intern.h: Likewise.
* nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
* nis/nss_nisplus/nisplus-ethers.c: Likewise.
* nis/nss_nisplus/nisplus-hosts.c: Likewise.
* nis/nss_nisplus/nisplus-network.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
* nis/nss_nisplus/nisplus-spwd.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
and speedup.
* nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com>
* math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
arguments.
1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
typo.
1997-04-03 16:10 Andreas Jaeger <aj@arthur.pfalz.de>
* sysdeps/libm-ieee754/s_nanf.c:
* sysdeps/libm-ieee754/s_nan.c:
* sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
declaration of sprintf.
1997-04-03 13:37 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-ieee754/s_cexp.c: Fix type: string_alias ->
strong_alias.
Reported by sun <asun@zoology.washington.edu>.
* rpc/auth.h: Removed.
* rpc/auth_des.h: Removed.
* sunrpc/rpc/auth.h: Moved to ...
* sysdeps/generic/rpc/auth.h: ...here.
* sunrpc/rpc/auth_des.h: Moved to ...
* sysdeps/generic/rpc/auth_des.h: ...here.
1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-i387/s_frexp.S: New file. ix87 optimized version.
* sysdeps/libm-i387/s_frexpf.S: New file.
* sysdeps/libm-i387/s_frexpl.S: New file.
1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
(sysdep_headers): Remove netinet/icmp.h.
Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
* sysdeps/i386/memcmp.S: Likewise.
* time/antarctica: Likewise.
* time/australasia: Likewise.
49 files changed, 2768 insertions, 1089 deletions
@@ -1,3 +1,104 @@ +1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com> + + * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write + headers but instead add comments and parameter names. + Don't use BSD specific types in prototypes. + + * manual/nss.texi: Correct a few typos and errors. + + * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better + algorithm. + * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. + * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. + + * sysdeps/libm-i387/s_cbrt.S: New file. Optimized assembler version + with new algorithm. + * sysdeps/libm-i387/s_cbrtf.S: New file. + * sysdeps/libm-i387/s_cbrtl.S: New file. + + * sysdeps/libm-i387/s_frexp.S: Optimize even more. + * sysdeps/libm-i387/s_frexpf.S: Likewise. + * sysdeps/libm-i387/s_frexpl.S: Likewise. + +1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> + + * nis/Makefile: Remove CFLAGS-*, add publickey to databases. + + * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile + DES part only with secure RPC add-on. + + * nis/nis_names.c (nis_modify): Fix rpc function number. + + * nis/nis_server.c: Fix typos. + + * nis/nss_compat/compat-grp.c: Add NIS+ support. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + + * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line + signals success. + + * nis/nss_nis/nis-publickey.c: Changes for compiling with/without + secure RPC. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/nis_intern.h: Likewise. + + * nis/nss_nisplus/nisplus-alias.c: Correct parser return code. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + + * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors + and speedup. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. + +1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com> + + * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN + arguments. + +1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a + typo. + +1997-04-03 16:10 Andreas Jaeger <aj@arthur.pfalz.de> + + * sysdeps/libm-ieee754/s_nanf.c: + * sysdeps/libm-ieee754/s_nan.c: + * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for + declaration of sprintf. + +1997-04-03 13:37 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-ieee754/s_cexp.c: Fix type: string_alias -> + strong_alias. + Reported by sun <asun@zoology.washington.edu>. + + * rpc/auth.h: Removed. + * rpc/auth_des.h: Removed. + * sunrpc/rpc/auth.h: Moved to ... + * sysdeps/generic/rpc/auth.h: ...here. + * sunrpc/rpc/auth_des.h: Moved to ... + * sysdeps/generic/rpc/auth_des.h: ...here. + +1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/libm-i387/s_frexp.S: New file. ix87 optimized version. + * sysdeps/libm-i387/s_frexpf.S: New file. + * sysdeps/libm-i387/s_frexpl.S: New file. + +1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu> + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] + (sysdep_headers): Remove netinet/icmp.h. + 1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com> * manual/socket.texi: Document behaviour of inet_ntoa in multi- @@ -12,7 +113,7 @@ * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll. Change description of strtoll and strtoull to make clear these are the preferred names. - Describe `inf', `inifinity', `nan', `nan(...)' inputs for strtod + Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod and friends. Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and HUGE_VALL. @@ -146,7 +247,7 @@ * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memset.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. @@ -176,9 +277,9 @@ * sysdeps/stub/s_log2l.c: Correct function name. * time/africa: Updated from ADO tzdata1997e. - * time/aantarctica: Likewise. + * time/antarctica: Likewise. * time/asia: Likewise. - * time/australia: Likewise. + * time/australasia: Likewise. * time/europe: Likewise. * time/northamerica: Likewise. * time/southamerica: Likewise. @@ -84,6 +84,9 @@ please let me know. [Q23] ``When compiling GNU libc I get lots of errors saying functions in glibc are duplicated in libgcc.'' + +[Q24] ``I have set up /etc/nis.conf, and the Linux libc 5 with NYS + works great. But the glibc NIS+ doesn't seem to work.'' ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [Q1] ``What systems does the GNU C Library run on?'' @@ -674,6 +677,21 @@ you first delete config.cache. some problems of this kind. The setting of CFLAGS is checked at the very beginning and if it is not usable `configure' will bark. + + +~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ +[Q24] ``I have set up /etc/nis.conf, and the Linux libc 5 with NYS + works great. But the glibc NIS+ doesn't seem to work.'' + +[A24] The glibc NIS+ implementation uses a /var/nis/NIS_COLD_START + file for storing information about the NIS+ server and their + public keys, because the nis.conf file do not contain all + necessary information. You have to copy a NIS_COLD_START file + from a Solaris client (the NIS_COLD_START file is byte order + independend) or generate it new with nisinit from the nis-tools + (look at http://www-vt.uni-paderborn.de/~kukuk/linux/nisplus.html). + + ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Answers were given by: @@ -1,6 +1,6 @@ Open jobs for finishing GNU libc: --------------------------------- -Status: March 1997 +Status: April 1997 If you have time and talent to take over any of the jobs below please contact <bug-glibc@prep.ai.mit.edu> @@ -57,7 +57,6 @@ contact <bug-glibc@prep.ai.mit.edu> [ 7] Several math functions have to be written: - exp2 - - log2 - nearbyint - ceil - round @@ -138,7 +137,9 @@ contact <bug-glibc@prep.ai.mit.edu> + tcgetid() and waitid() from XPG4.2 + grantpt(), ptsname(), unlockpt() from XPG4.2 + getdate() from XPG4.2 + *** Probably underway + fmtmsg() from SVID + *** Probably underway More information are available on request. @@ -147,3 +148,14 @@ contact <bug-glibc@prep.ai.mit.edu> of text. In fact, this would be a recode-library (you know, GNU recode). This is needed in several places in the GNU libc and I already have rather concrete plans but so far no possibility to start this. + + +[15] Cleaning up the header files. Ideally, each header style should + follow the "good examples". Each variable and function should have + a short description of the function and its parameters. The prototypes + should always contain variable names which can help to identify their + meaning; better than + + int foo __P ((int, int, int, int)); + + Blargh! diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h index 03021e614c..0593c8fad6 100644 --- a/inet/arpa/inet.h +++ b/inet/arpa/inet.h @@ -1,62 +1,95 @@ -/* - * Copyright (c) 1983, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)inet.h 8.1 (Berkeley) 6/2/93 - */ - -#ifndef _INET_H_ -#define _INET_H_ - -/* External definitions for functions in inet(3) */ - -#include <sys/cdefs.h> +/* Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
