[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fdopendir: fix typo in comment
From: |
Paul Eggert |
Subject: |
[PATCH] fdopendir: fix typo in comment |
Date: |
Wed, 18 Mar 2015 12:48:07 -0700 |
* lib/fdopendir.c (fdopendir_with_dup): REPLACE_FCHDIR was misspelled.
---
ChangeLog | 5 +++++
lib/fdopendir.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 293b863..18d90e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-18 Paul Eggert <address@hidden>
+
+ fdopendir: fix typo in comment
+ * lib/fdopendir.c (fdopendir_with_dup): REPLACE_FCHDIR was misspelled.
+
2015-03-09 Eric Blake <address@hidden>
error: document all entry points provided
diff --git a/lib/fdopendir.c b/lib/fdopendir.c
index 9dc1e7b..117baa9 100644
--- a/lib/fdopendir.c
+++ b/lib/fdopendir.c
@@ -93,7 +93,7 @@ fdopendir (int fd)
That way, barring race conditions, fd_clone_opendir returns a
stream whose file descriptor is FD.
- If REPLACE_CHDIR or CWD is null, use opendir ("/proc/self/fd/...",
+ If REPLACE_FCHDIR or CWD is null, use opendir ("/proc/self/fd/...",
falling back on fchdir metadata. Otherwise, CWD is a saved version
of the working directory; use fchdir/opendir(".")/restore_cwd(CWD). */
static DIR *
--
2.1.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] fdopendir: fix typo in comment,
Paul Eggert <=