mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Hurd: #include <kernel-features.h>
This commit is contained in:
committed by
Roland McGrath
parent
38de94a5ef
commit
37233df9d1
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
|
||||||
|
|
||||||
|
* libio/fileops.c: Unconditionally include <kernel-features.h>.
|
||||||
|
* libio/freopen.c: Likewise.
|
||||||
|
* libio/freopen64.c: Likewise.
|
||||||
|
* misc/syslog.c: Likewise.
|
||||||
|
* nscd/connections.c: Likewise.
|
||||||
|
* nscd/netgroupcache.c: Likewise.
|
||||||
|
* sysdeps/posix/getcwd.c: Likewise.
|
||||||
|
|
||||||
2012-05-10 Roland McGrath <roland@hack.frob.com>
|
2012-05-10 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* math/w_ilogbf.c: Add #include <limits.h>.
|
* math/w_ilogbf.c: Add #include <limits.h>.
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009, 2011-2012
|
/* Copyright (C) 1993-2012 Free Software Foundation, Inc.
|
||||||
Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Written by Per Bothner <bothner@cygnus.com>.
|
Written by Per Bothner <bothner@cygnus.com>.
|
||||||
|
|
||||||
@ -46,6 +45,7 @@
|
|||||||
# include "../iconv/gconv_int.h"
|
# include "../iconv/gconv_int.h"
|
||||||
# include <shlib-compat.h>
|
# include <shlib-compat.h>
|
||||||
# include <not-cancel.h>
|
# include <not-cancel.h>
|
||||||
|
# include <kernel-features.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef errno
|
#ifndef errno
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
/* Copyright (C) 1993,95,96,97,98,2000,2001,2002,2003,2008,2011
|
/* Copyright (C) 1993-2012 Free Software Foundation, Inc.
|
||||||
Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -34,6 +33,8 @@
|
|||||||
#include <shlib-compat.h>
|
#include <shlib-compat.h>
|
||||||
#include <fd_to_filename.h>
|
#include <fd_to_filename.h>
|
||||||
|
|
||||||
|
#include <kernel-features.h>
|
||||||
|
|
||||||
FILE*
|
FILE*
|
||||||
freopen (filename, mode, fp)
|
freopen (filename, mode, fp)
|
||||||
const char* filename;
|
const char* filename;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
/* Copyright (C) 1993,1995,1996,1997,1998,2000,2001,2002, 2003, 2008, 2011
|
/* Copyright (C) 1993-2012 Free Software Foundation, Inc.
|
||||||
Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -33,6 +32,8 @@
|
|||||||
|
|
||||||
#include <fd_to_filename.h>
|
#include <fd_to_filename.h>
|
||||||
|
|
||||||
|
#include <kernel-features.h>
|
||||||
|
|
||||||
FILE *
|
FILE *
|
||||||
freopen64 (filename, mode, fp)
|
freopen64 (filename, mode, fp)
|
||||||
const char* filename;
|
const char* filename;
|
||||||
|
@ -56,6 +56,8 @@ static char sccsid[] = "@(#)syslog.c 8.4 (Berkeley) 3/18/94";
|
|||||||
#include <libio/iolibio.h>
|
#include <libio/iolibio.h>
|
||||||
#include <math_ldbl_opt.h>
|
#include <math_ldbl_opt.h>
|
||||||
|
|
||||||
|
#include <kernel-features.h>
|
||||||
|
|
||||||
#define ftell(s) INTUSE(_IO_ftell) (s)
|
#define ftell(s) INTUSE(_IO_ftell) (s)
|
||||||
|
|
||||||
static int LogType = SOCK_DGRAM; /* type of socket connection */
|
static int LogType = SOCK_DGRAM; /* type of socket connection */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Inner loops of cache daemon.
|
/* Inner loops of cache daemon.
|
||||||
Copyright (C) 1998-2007, 2008, 2009, 2011 Free Software Foundation, Inc.
|
Copyright (C) 1998-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
||||||
|
|
||||||
@ -56,9 +56,8 @@
|
|||||||
#include "dbg_log.h"
|
#include "dbg_log.h"
|
||||||
#include "selinux.h"
|
#include "selinux.h"
|
||||||
#include <resolv/resolv.h>
|
#include <resolv/resolv.h>
|
||||||
#ifdef HAVE_SENDFILE
|
|
||||||
# include <kernel-features.h>
|
#include <kernel-features.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Support to run nscd as an unprivileged user */
|
/* Support to run nscd as an unprivileged user */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Cache handling for netgroup lookup.
|
/* Cache handling for netgroup lookup.
|
||||||
Copyright (C) 2011 Free Software Foundation, Inc.
|
Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
|
Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
|
||||||
|
|
||||||
@ -27,9 +27,8 @@
|
|||||||
#include "../inet/netgroup.h"
|
#include "../inet/netgroup.h"
|
||||||
#include "nscd.h"
|
#include "nscd.h"
|
||||||
#include "dbg_log.h"
|
#include "dbg_log.h"
|
||||||
#ifdef HAVE_SENDFILE
|
|
||||||
# include <kernel-features.h>
|
#include <kernel-features.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* This is the standard reply in case the service is disabled. */
|
/* This is the standard reply in case the service is disabled. */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991-1999,2011-2012 Free Software Foundation, Inc.
|
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -173,6 +173,7 @@ extern char *alloca ();
|
|||||||
|
|
||||||
#if defined _LIBC
|
#if defined _LIBC
|
||||||
# include <not-cancel.h>
|
# include <not-cancel.h>
|
||||||
|
# include <kernel-features.h>
|
||||||
#else
|
#else
|
||||||
# define openat64_not_cancel_3(dfd, name, mode) openat64 (dfd, name, mode)
|
# define openat64_not_cancel_3(dfd, name, mode) openat64 (dfd, name, mode)
|
||||||
# define close_not_cancel_no_status(fd) close (fd)
|
# define close_not_cancel_no_status(fd) close (fd)
|
||||||
|
Reference in New Issue
Block a user