This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.16-ports-merge-799-g6355e12


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  6355e122f552986a55dca427e9377db435c6e18b (commit)
       via  37db69de1dac0982213f946a0c04ad120033a19e (commit)
      from  38f34d05c37360376b9ff4b12a4d014247edc633 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6355e122f552986a55dca427e9377db435c6e18b

commit 6355e122f552986a55dca427e9377db435c6e18b
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Nov 29 18:12:51 2012 -0500

    ia64: clock_getcpuclockid.c: drop unused file
    
    Since we no longer support __ASSUME_POSIX_CPU_TIMERS, the ia64 code
    no longer needs to override HAS_CPUCLOCK in the common file.  Drop
    the ia64 shim as well.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64
index 0b3361a..d886cf4 100644
--- a/ports/ChangeLog.ia64
+++ b/ports/ChangeLog.ia64
@@ -1,3 +1,7 @@
+2012-11-29  Mike Frysinger  <vapier@gentoo.org>
+
+	* sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: Delete.
+
 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Add
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c b/ports/sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
deleted file mode 100644
index 1289d1f..0000000
--- a/ports/sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* clock_getcpuclockid -- Get a clockid_t for process CPU time.  Linux/IA64
-   Copyright (C) 2000,2001,2003,2004 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 Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 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
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
-
-#include <errno.h>
-#include <time.h>
-#include <unistd.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <fcntl.h>
-
-
-#include "has_cpuclock.c"
-
-#define HAS_CPUCLOCK (has_cpuclock () > 0)
-
-#include <sysdeps/unix/sysv/linux/clock_getcpuclockid.c>

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=37db69de1dac0982213f946a0c04ad120033a19e

commit 37db69de1dac0982213f946a0c04ad120033a19e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Nov 29 18:11:17 2012 -0500

    clock_getcpuclockid: delete unused HAS_CPUCLOCK
    
    In commit 26889eacc24cd9f0cb37c5a67beac1a0ba709adf (Remove
    __ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were
    dropped.  Punt the fallback definition too.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

diff --git a/ChangeLog b/ChangeLog
index 6c973b4..9611f6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-29  Mike Frysinger  <vapier@gentoo.org>
+
+	* sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
+
 2012-11-29  Roland McGrath  <roland@hack.frob.com>
 
 	* inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
diff --git a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
index c00f5ea..c734c5a 100644
--- a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
+++ b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
@@ -22,10 +22,6 @@
 #include <kernel-features.h>
 #include "kernel-posix-cpu-timers.h"
 
-#ifndef HAS_CPUCLOCK
-# define HAS_CPUCLOCK 1
-#endif
-
 int
 clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
 {

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |    4 ++
 ports/ChangeLog.ia64                               |    4 ++
 .../unix/sysv/linux/ia64/clock_getcpuclockid.c     |   31 --------------------
 sysdeps/unix/sysv/linux/clock_getcpuclockid.c      |    4 --
 4 files changed, 8 insertions(+), 35 deletions(-)
 delete mode 100644 ports/sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]