maint: update gnulib to latest and adapt streamsavedir usage
authorJim Meyering <meyering@fb.com>
Sun, 4 May 2014 02:04:12 +0000 (19:04 -0700)
committerJim Meyering <meyering@fb.com>
Sat, 7 Jun 2014 15:53:56 +0000 (08:53 -0700)
* gnulib: Update module to latest.
* gzip.c (treat_dir): Gnulib's streamsavedir API has changed:
call it with a new argument, SAVEDIR_SORT_NONE, to retain the
preceding behavior.

gnulib
gzip.c

diff --git a/gnulib b/gnulib
index 9be0b54cb42e404e3e355c800b23537416acbc1f..502809019bd2ca3ce3d041d18c35ce9420eedb72 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 9be0b54cb42e404e3e355c800b23537416acbc1f
+Subproject commit 502809019bd2ca3ce3d041d18c35ce9420eedb72
diff --git a/gzip.c b/gzip.c
index f40cd219abf97749d9109a41eee03ef74c83b679..cf0ab3d072eeba6a3332a80f0179b1c73f2a0d43 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -1797,7 +1797,7 @@ local void treat_dir (fd, dir)
         return ;
     }
 
-    entries = streamsavedir (dirp);
+    entries = streamsavedir (dirp, SAVEDIR_SORT_NONE);
     if (! entries)
       progerror (dir);
     if (closedir (dirp) != 0)