diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-12-29 22:33:25 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-12-30 02:21:47 +0000 |
commit | 974c355c595598a219785b6661bb6b030aaef4df (patch) | |
tree | 732f78fb9473ad56b0a485905c19cd31e442f7ff /tests | |
parent | fe14d42ec93b25b244b2061fd1236911c0a5b0e1 (diff) | |
download | coreutils-974c355c595598a219785b6661bb6b030aaef4df.tar.xz |
build: update to latest gnulib
Included in this are gnulib changes 3ea43e02 2768ceb7
which make the device IDs from /proc/self/mountinfo
available to df. This can be leveraged by a subsequent
change to df to present a more accurate list of file systems.
* bootstrap: Merge from gnulib.
* src/ls.c (dev_ino_pop): s/obstack_blank/obstack_blank_fast/
as this API/ABI has changed, giving memory exhausted errors
if negative (large positive) numbers are passed to obstack_blank().
* tests/df/skip-duplicates.sh: Adjust as the new gnulib code
requires a non NULL mnt_opts even when mnt_type is not "none".
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/df/skip-duplicates.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh index 6b984ad21..1de01322f 100755 --- a/tests/df/skip-duplicates.sh +++ b/tests/df/skip-duplicates.sh @@ -90,6 +90,8 @@ struct mntent *getmntent (FILE *fp) { if (!mntents[done-2].mnt_type) mntents[done-2].mnt_type = "-"; + if (!mntents[done-2].mnt_opts) + mntents[done-2].mnt_opts = "-"; if (STREQ (mntents[done-2].mnt_dir, "/NONROOT")) mntents[done-2].mnt_dir = nonroot_fs; if (STREQ (mntents[done-2].mnt_dir, "/REMOTE")) |