]> Savannah Git Hosting - gnulib.git/commitdiff
fdopendir: fix typo in comment
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Mar 2015 19:47:12 +0000 (12:47 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Mar 2015 19:47:50 +0000 (12:47 -0700)
* lib/fdopendir.c (fdopendir_with_dup): REPLACE_FCHDIR was misspelled.

ChangeLog
lib/fdopendir.c

index 293b8639d53ffadc3f1ce5f46221b27c127c3056..18d90e2d7e402fb2e724fa40771d201220e84236 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       fdopendir: fix typo in comment
+       * lib/fdopendir.c (fdopendir_with_dup): REPLACE_FCHDIR was misspelled.
+
 2015-03-09  Eric Blake  <eblake@redhat.com>
 
        error: document all entry points provided
index 9dc1e7b26dcf4f49b3838ffc1300b583fe9daea8..117baa9993b0b05347732dae762c9710736c7480 100644 (file)
@@ -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 *