This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
tst-getcpu fails for me on x86-64:
getcpu results 14 not possible
This is one a one CPU system running Linux 2.6.18.
Btw. the following patch fixes a warning about a missing getpid
prototype. Ok to commit?
Andreas
2007-05-12 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for
getpid.
============================================================
Index: sysdeps/unix/sysv/linux/tst-getcpu.c
--- sysdeps/unix/sysv/linux/tst-getcpu.c 11 May 2007 06:37:33 -0000 1.1
+++ sysdeps/unix/sysv/linux/tst-getcpu.c 12 May 2007 07:38:47 -0000
@@ -1,6 +1,7 @@
#include <errno.h>
#include <stdio.h>
#include <sched.h>
+#include <unistd.h>
static int
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |