summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-11 09:54:55 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-11 09:54:55 +0000
commitbc526b60ee5c7cc9fe0540c94d72caf486a41675 (patch)
treebdf37d8b57b474f9e5fcbc8c52b457a5401c478b /sysdeps
parent592bdea3bcf1d70894a34c401429cfd5a5fd6a78 (diff)
downloadglibc-bc526b60ee5c7cc9fe0540c94d72caf486a41675.tar.gz
Update.
1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use _dl_debug_message. 1998-03-12 Matthias Urlichs <smurf@noris.de> * elf/dl-misc.c: Default for debug output should be stderr. * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output. * elf/dl-lookup.c: reference_name may be NULL or empty. 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection. 1998-03-11 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h. * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h. 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/scsi/scsi.h: New file. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-cache.c4
-rw-r--r--sysdeps/unix/sysv/linux/Dist1
-rw-r--r--sysdeps/unix/sysv/linux/Makefile2
-rw-r--r--sysdeps/unix/sysv/linux/scsi/sg.h4
4 files changed, 7 insertions, 4 deletions
diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c
index 2a2be570e9..c885c11d37 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -57,7 +57,7 @@ _dl_load_cache_lookup (const char *name)
/* Print a message if the loading of libs is traced. */
if (_dl_debug_libs)
- _dl_sysdep_message ("\t search cache=", LD_SO_CACHE, "\n", NULL);
+ _dl_debug_message (1, " search cache=", LD_SO_CACHE, "\n", NULL);
if (cache == NULL)
{
@@ -106,7 +106,7 @@ _dl_load_cache_lookup (const char *name)
/* Print our result if wanted. */
if (_dl_debug_libs && best != NULL)
- _dl_sysdep_message ("\t trying file=", best, "\n", NULL);
+ _dl_debug_message (1, " trying file=", best, "\n", NULL);
return best;
}
diff --git a/sysdeps/unix/sysv/linux/Dist b/sysdeps/unix/sysv/linux/Dist
index 383f617067..4471224bcc 100644
--- a/sysdeps/unix/sysv/linux/Dist
+++ b/sysdeps/unix/sysv/linux/Dist
@@ -44,6 +44,7 @@ rt_sigreturn.c
rt_sigsuspend.c
rt_sigtimedwait.c
scsi/sg.h
+scsi/scsi.h
sys/acct.h
sys/debugreg.h
sys/fsuid.h
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index e08089e022..7b53e3a399 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -16,7 +16,7 @@ sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h sys/mtio.h \
sys/user.h sys/sysmacros.h sys/procfs.h sys/prctl.h \
sys/debugreg.h sys/kd.h sys/soundcard.h sys/vt.h \
sys/quota.h sys/fsuid.h bits/mman.h \
- scsi/sg.h sys/pci.h sys/ultrasound.h
+ scsi/sg.h scsi/scsi.h sys/pci.h sys/ultrasound.h
install-others += $(inst_includedir)/bits/syscall.h
diff --git a/sysdeps/unix/sysv/linux/scsi/sg.h b/sysdeps/unix/sysv/linux/scsi/sg.h
index c0a0c3a6d5..ae7b2cf42d 100644
--- a/sysdeps/unix/sysv/linux/scsi/sg.h
+++ b/sysdeps/unix/sysv/linux/scsi/sg.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 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
@@ -26,6 +26,8 @@
#ifndef _SCSI_SG_H
#define _SCSI_SG_H 1
+#include <features.h>
+
/* An SG device is accessed by writing "packets" to it, the replies
are then read using the read call. The same header is used for
replies; ignore the reply_len field. */