From f331653fe8607988d0ef478ed2860e79b0fa88a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Wed, 5 Jan 2011 12:01:14 +0000 Subject: [PATCH] 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. --- gnulib | 2 +- src/chcon.c | 2 +- src/chmod.c | 2 +- src/chown-core.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gnulib b/gnulib index fa6be5b..939dedd 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit fa6be5b2b297b569d890535b0126054789f8a6fb +Subproject commit 939dedd9a2fba934e5ff0313155f9f5f39cb6f6f diff --git a/src/chcon.c b/src/chcon.c index ee25c3d..5174a46 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 272c19e..98db5fa 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 0d59f7a..82f7341 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; -- 2.7.4