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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user