From 34f804aac35480fdca28d2b80aabaa0b1d3545a8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 3 May 2014 19:04:12 -0700 Subject: [PATCH 1/3] maint: update gnulib to latest and adapt streamsavedir usage * 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 | 2 +- gzip.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnulib b/gnulib index 9be0b54..5028090 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit 9be0b54cb42e404e3e355c800b23537416acbc1f +Subproject commit 502809019bd2ca3ce3d041d18c35ce9420eedb72 diff --git a/gzip.c b/gzip.c index f40cd21..cf0ab3d 100644 --- 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) -- 2.0.0.rc3