2004-08-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
	NO_SGIDEFS_H isn't defined.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.

	* sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and
	_MIPS_SIM.
	* sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.

	* nscd/connections.c (nscd_run): atomic_increment was not missing.
This commit is contained in:
Ulrich Drepper 2004-08-26 17:00:16 +00:00
parent 86b2fd6e65
commit 1114ffff54
9 changed files with 29 additions and 1 deletions

View File

@ -1,5 +1,20 @@
2004-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
NO_SGIDEFS_H isn't defined.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and
_MIPS_SIM.
* sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2004-08-26 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c (nscd_run): atomic_increment was not missing.
* sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval.
Patch by Greg Schafer.

View File

@ -484,7 +484,6 @@ nscd_run (void *p)
prune_cache (&dbs[my_number], time(NULL));
now = time (NULL);
next_prune = now + CACHE_PRUNE_INTERVAL;
atomic_increment (&nready);
goto try_get;
}
}

View File

@ -28,7 +28,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
#endif
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread

View File

@ -27,7 +27,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
#endif
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread

View File

@ -28,7 +28,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
#endif
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite

View File

@ -1 +1,3 @@
#define NO_SGIDEFS_H
#define _MIPS_SIM -1
#include <sysdeps/unix/sysv/linux/mips/pread.c>

View File

@ -1 +1,3 @@
#define NO_SGIDEFS_H
#define _MIPS_SIM -1
#include <sysdeps/unix/sysv/linux/mips/pread64.c>

View File

@ -1 +1,3 @@
#define NO_SGIDEFS_H
#define _MIPS_SIM -1
#include <sysdeps/unix/sysv/linux/mips/pwrite.c>

View File

@ -1 +1,3 @@
#define NO_SGIDEFS_H
#define _MIPS_SIM -1
#include <sysdeps/unix/sysv/linux/mips/pwrite64.c>