about summary refs log tree commit diff
path: root/io/fts.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-18 11:55:52 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-18 11:55:52 +0000
commit9c777dfe8301cc0088917e35333d7db0064d68c8 (patch)
treede40825b83305d5fb753c839596bb863daf96537 /io/fts.c
parent4c3902f9880048f39b3be0534d6563bfc3522dd7 (diff)
downloadglibc-9c777dfe8301cc0088917e35333d7db0064d68c8.tar.gz
glibc-9c777dfe8301cc0088917e35333d7db0064d68c8.tar.xz
glibc-9c777dfe8301cc0088917e35333d7db0064d68c8.zip
Update.
2001-08-18  Ulrich Drepper  <drepper@redhat.com>

	* conform/conformtest.pl: Change namespace test to take #undef
	lines into account.

	* conform/data/netinet/in.h-data: Fix typo in allow-header line.

	* conform/data/sys/socket.h-data: Add sockatmark.
Diffstat (limited to 'io/fts.c')
-rw-r--r--io/fts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/fts.c b/io/fts.c
index 44473a6bc2..bfe41d3f44 100644
--- a/io/fts.c
+++ b/io/fts.c
@@ -653,7 +653,7 @@ fts_build(sp, type)
 			cur->fts_flags |= FTS_DONTCHDIR;
 			descend = 0;
 			cderrno = errno;
-			(void)closedir(dirp);
+			(void)__closedir(dirp);
 			dirp = NULL;
 		} else
 			descend = 1;
@@ -685,7 +685,7 @@ fts_build(sp, type)
 
 	/* Read the directory, attaching each entry to the `link' pointer. */
 	doadjust = 0;
-	for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) {
+	for (head = tail = NULL, nitems = 0; dirp && (dp = __readdir(dirp));) {
 		if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name))
 			continue;