1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

maint: replace uses of ignore_ptr with ignore_value

* gnulib: Update for enhanced ignore_value()
* src/chcon.c (process_file): Don't use the deprecated ignore_ptr.
* src/chmod.c (process_file): Likewise.
* src/chown-core.c (change_file_owner): Likewise.
This commit is contained in:
Pádraig Brady
2011-01-05 12:01:14 +00:00
parent d6df8901bc
commit f331653fe8
4 changed files with 4 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ process_file (FTS *fts, FTSENT *ent)
/* Tell fts not to traverse into this hierarchy. */
fts_set (fts, ent, FTS_SKIP);
/* Ensure that we do not process "/" on the second visit. */
ignore_ptr (fts_read (fts));
ignore_value (fts_read (fts));
return false;
}
return true;

View File

@@ -248,7 +248,7 @@ process_file (FTS *fts, FTSENT *ent)
/* Tell fts not to traverse into this hierarchy. */
fts_set (fts, ent, FTS_SKIP);
/* Ensure that we do not process "/" on the second visit. */
ignore_ptr (fts_read (fts));
ignore_value (fts_read (fts));
return false;
}

View File

@@ -271,7 +271,7 @@ change_file_owner (FTS *fts, FTSENT *ent,
/* Tell fts not to traverse into this hierarchy. */
fts_set (fts, ent, FTS_SKIP);
/* Ensure that we do not process "/" on the second visit. */
ignore_ptr (fts_read (fts));
ignore_value (fts_read (fts));
return false;
}
return true;