diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-01-05 12:01:14 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-01-07 02:09:32 +0000 |
commit | f331653fe8607988d0ef478ed2860e79b0fa88a8 (patch) | |
tree | 2dd4affe152c1ace8e93466f69c70a58ba605852 /src | |
parent | d6df8901bc66a3165bd94ed9baa65dd6887baa76 (diff) | |
download | coreutils-f331653fe8607988d0ef478ed2860e79b0fa88a8.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/chcon.c | 2 | ||||
-rw-r--r-- | src/chmod.c | 2 | ||||
-rw-r--r-- | src/chown-core.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/chcon.c b/src/chcon.c index ee25c3d05..5174a46fc 100644 --- a/src/chcon.c +++ b/src/chcon.c @@ -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; diff --git a/src/chmod.c b/src/chmod.c index 272c19e6d..98db5fa11 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -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; } diff --git a/src/chown-core.c b/src/chown-core.c index 0d59f7a5c..82f7341b2 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -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; |