From b99a8a1140428d0552cc4a0766d96eedf9ea92cc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 27 May 1999 11:31:50 +0000 Subject: [PATCH] Update. 1999-05-27 Andreas Jaeger * manual/socket.texi (Host Names): Remove statement that h_errno needs to be declared since this isn't true anymore. Closes PR libc/1138. --- ChangeLog | 6 ++++++ manual/socket.texi | 7 +------ sysdeps/unix/sysv/linux/kernel-features.h | 3 --- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6d413d..4fac5bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-05-27 Andreas Jaeger + + * manual/socket.texi (Host Names): Remove statement that h_errno + needs to be declared since this isn't true anymore. + Closes PR libc/1138. + 1999-05-26 Ulrich Drepper * config.h.in: Add __LINUX_KERNEL_VERSION. diff --git a/manual/socket.texi b/manual/socket.texi index 5f31dd4..f8564ab 100644 --- a/manual/socket.texi +++ b/manual/socket.texi @@ -1236,12 +1236,7 @@ If the name lookup by @code{gethostbyname} or @code{gethostbyaddr} fails, you can find out the reason by looking at the value of the variable @code{h_errno}. (It would be cleaner design for these functions to set @code{errno}, but use of @code{h_errno} is compatible -with other systems.) Before using @code{h_errno}, you must declare it -like this: - -@smallexample -extern int h_errno; -@end smallexample +with other systems.) Here are the error codes that you may find in @code{h_errno}: diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 6813853..1bd7ba4 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -21,9 +21,6 @@ /* This file must not contain any C code. At least it must be protected to allow using the file also in assembler files. */ -/* XXX For testing. */ -#define __LINUX_KERNEL_VERSION 131584 - #ifndef __LINUX_KERNEL_VERSION /* We assume the worst; all kernels should be supported. */ # define __LINUX_KERNEL_VERSION 0 -- 2.7.4