]> git.ipfire.org Git - pakfire.git/commitdiff
os: Make more space for the distro information
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Oct 2024 15:48:16 +0000 (15:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Oct 2024 15:12:35 +0000 (15:12 +0000)
ArchLinux is using a longer version_id with timestamps which is why we
need some more space here. There is no point in being too tight with
this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/include/pakfire/os.h

index 6c6d6c18a49757afdd8159ae3bc655dd531f5953..26a74103aed2c8eb06cd6fbbdde2564cb5999e73 100644 (file)
@@ -91,14 +91,14 @@ int pakfire_meminfo(struct pakfire_meminfo* meminfo);
 
 struct pakfire_distro {
        char pretty_name[256];
-       char name[64];
-       char id[32];
+       char name[256];
+       char id[256];
        char slogan[256];
-       char vendor[64];
-       char version[64];
-       char version_codename[32];
-       char version_id[8];
-       char tag[40];
+       char vendor[256];
+       char version[256];
+       char version_codename[256];
+       char version_id[256];
+       char tag[256];
 };
 
 int pakfire_distro(struct pakfire_distro* distro, const char* path);