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 committed 2011-01-07 02:09:32 +00:00
1 parent d6df8901bc
commit f331653fe8
4 files changed
+4 -4

No files matched your search

+1 -1
Submodule gnulib updated: fa6be5b2b2...939dedd9a2.
+1 -1
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;
+1 -1
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;
}
+1 -1
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;