]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: support LIBBLKID_DEBUG= only
authorKarel Zak <kzak@redhat.com>
Tue, 9 Apr 2013 10:52:09 +0000 (12:52 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Apr 2013 10:52:09 +0000 (12:52 +0200)
 ... the BLKID_DEBUG= is not more supported.

Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/releases/v2.23-ReleaseNotes
libblkid/src/cache.c
tests/run.sh

index 49c3881e5396725fccc917c6b019945e54d1f4ff..cc7ddd8166e495651caaea4e30972a108e32a9f0 100644 (file)
@@ -10,6 +10,9 @@ version.
 
 The command chkdupexe has been REMOVED from util-linux.
 
+The library libblkid supports LIBBLKID_DEBUG=<mask> environment variable to
+print debug messages on stderr. The old BLKID_DEBUG= is no more supported.
+
 Release highlights
 ------------------
 
index 06020e96bcba713e964bc741ae4fa281aa950557..8c67eef02cb83efac4d7c3d7b2a3a531e988e3a4 100644 (file)
@@ -59,9 +59,6 @@ void blkid_init_debug(int mask)
        if (!mask)
        {
                char *dstr = getenv("LIBBLKID_DEBUG");
-
-               if (!dstr)
-                       dstr = getenv("BLKID_DEBUG");   /* for backward compatibility */
                if (dstr)
                        blkid_debug_mask = strtoul(dstr, 0, 0);
        } else
index 18525f0e6dfbd2124fe99ff38fe18d51e137e5fe..474c21cb31c6e4740203d913e1dbc5cecdd4322e 100755 (executable)
@@ -111,7 +111,6 @@ fi
 unset LIBMOUNT_DEBUG
 unset LIBBLKID_DEBUG
 unset LIBFDISK_DEBUG
-unset BLKID_DEBUG
 
 echo
 echo "-------------------- util-linux regression tests --------------------"