maint: replace uses of ignore_ptr with ignore_value
authorPádraig Brady <P@draigBrady.com>
Wed, 5 Jan 2011 12:01:14 +0000 (12:01 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 7 Jan 2011 02:09:32 +0000 (02:09 +0000)
* 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
src/chcon.c
src/chmod.c
src/chown-core.c

diff --git a/gnulib b/gnulib
index fa6be5b..939dedd 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit fa6be5b2b297b569d890535b0126054789f8a6fb
+Subproject commit 939dedd9a2fba934e5ff0313155f9f5f39cb6f6f
index ee25c3d..5174a46 100644 (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;
index 272c19e..98db5fa 100644 (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;
     }
 
index 0d59f7a..82f7341 100644 (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;