mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03: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:
1 parent
d6df8901bc
commit
f331653fe8
4 files changed
+4
-4
No files matched your search
+1
-1
Submodule gnulib updated: fa6be5b2b2...939dedd9a2.
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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