summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-rw-r--r--dirent/dirent.h4
-rw-r--r--dirent/scandir.c4
-rw-r--r--posix/Makefile2
4 files changed, 19 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 09a58877c4..5e4c63a304 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * posix/Makefile: Fix typo in last change.
+
+1998-03-20 Ulrich Drepper <drepper@cygnus.com>
+
+ * dirent/dirent.h (scandir): Make argument of select function const.
+ * dirent/scandir.c (scandir): Likewise.
+ Reported by David.Faure@insa-lyon.fr [PR libc/512].
+
1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
@@ -41,6 +51,10 @@
* posix/wordexp.c (parse_param): Don't immediately stop parsing a
parameter name after seeing a digit if it's enclosed in braces.
+1998-03-18 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/i386/i686/Implies: Add libm-i387/i686.
+
1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/memory.texi (Heap Consistency Checking): Document
diff --git a/dirent/dirent.h b/dirent/dirent.h
index 01c44a2971..63986bfc0f 100644
--- a/dirent/dirent.h
+++ b/dirent/dirent.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98 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
@@ -201,7 +201,7 @@ extern int dirfd __P ((DIR *__dirp));
*NAMELIST. Returns the number of entries selected, or -1 on error. */
extern int scandir __P ((__const char *__dir,
struct dirent ***__namelist,
- int (*__selector) __P ((struct dirent *)),
+ int (*__selector) __P ((__const struct dirent *)),
int (*__cmp) __P ((__const __ptr_t,
__const __ptr_t))));
diff --git a/dirent/scandir.c b/dirent/scandir.c
index 58a2c7519d..ef7531fa95 100644
--- a/dirent/scandir.c
+++ b/dirent/scandir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 93, 94, 95, 96, 97, 98 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
@@ -25,7 +25,7 @@ int
scandir (dir, namelist, select, cmp)
const char *dir;
struct dirent ***namelist;
- int (*select) __P ((struct dirent *));
+ int (*select) __P ((const struct dirent *));
int (*cmp) __P ((const void *, const void *));
{
DIR *dp = opendir (dir);
diff --git a/posix/Makefile b/posix/Makefile
index 7b00d48435..525df3cf86 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -64,7 +64,7 @@ before-compile := testcases.h
include ../Rules
ifeq (no,$(cross-compiling))
-.PHONY: do-globtest do-wordexp-tst
+.PHONY: do-globtest do-wordexp-test
tests: do-globtest do-wordexp-test
do-globtest: $(objpfx)globtest
$(SHELL) -e globtest.sh $(common-objpfx) $(elf-objpfx) \