From 609b4783564008cafdeb947bfd613a1bcb5946f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 17 Jan 2003 01:02:24 +0000 Subject: Update. 2003-01-16 Steven Munroe * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 is 2.4.21. 2003-01-16 Ulrich Drepper * sysdeps/generic/glob.c (glob): Assume sysconf() always returns values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed buffers. * sysdeps/generic/sysconf.c: Unconditionally implement _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. * sysdeps/posix/sysconf.c: Likewise. --- sysdeps/posix/sysconf.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index 3804aa1061..1700ed0b87 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,93,1995-1997,1999-2002 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,1995-1997,1999-2003 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 @@ -509,18 +509,10 @@ __sysconf (name) #endif case _SC_GETGR_R_SIZE_MAX: -#ifdef NSS_BUFLEN_GROUP return NSS_BUFLEN_GROUP; -#else - return -1; -#endif case _SC_GETPW_R_SIZE_MAX: -#ifdef NSS_BUFLEN_PASSWD return NSS_BUFLEN_PASSWD; -#else - return -1; -#endif case _SC_LOGIN_NAME_MAX: #ifdef _POSIX_LOGIN_NAME_MAX -- cgit 1.4.1