bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66327: PARTED_CHECK_LIBPARTED shipped with parted 3.6 fails to detec


From: Jan Palus
Subject: bug#66327: PARTED_CHECK_LIBPARTED shipped with parted 3.6 fails to detect it
Date: Tue, 3 Oct 2023 19:01:52 +0200
User-agent: NeoMutt/20230517

autoconf macro PARTED_CHECK_LIBPARTED requires ped_get_version() to
return 3 part version string or otherwise it fails with "3.6, bad
version string"

        if ( !(version = ped_get_version ()) )
                exit(EXIT_FAILURE);
        if (sscanf(version, "%d.%d.%d", &major, &minor, &micro) != 3) {
                printf("%s, bad version string\n", version);
                exit(EXIT_FAILURE);
        }

Therefore it fails for two part version string like "3.6".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]