mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
A recent change in glibc 2.42.9000 [1] changes the return type of
strstr() and other string functions to be 'const char *' when the
input is a 'const char *'.
This breaks the build in various files with errors such as :
error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
208 | char *pidstr = strstr(filename, "%");
| ^~~~~~
Fix this by changing the type of the variables that store the result
of these functions to 'const char *'.
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251209174328.698774-1-clg@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
4 days ago | |
|---|---|---|
| .. | ||
| export | 10 months ago | |
| monitor | 2 months ago | |
| accounting.c | 2 months ago | |
| aio_task.c | 1 year ago | |
| amend.c | ||
| backup.c | 5 months ago | |
| blkdebug.c | 7 months ago | |
| blkio.c | 8 months ago | |
| blklogwrites.c | 5 months ago | |
| blkreplay.c | 4 weeks ago | |
| blkverify.c | 5 months ago | |
| block-backend.c | 3 weeks ago | |
| block-copy.c | 12 months ago | |
| block-gen.h | ||
| block-ram-registrar.c | 12 months ago | |
| bochs.c | 1 month ago | |
| cloop.c | 2 years ago | |
| commit.c | 5 months ago | |
| copy-before-write.c | 7 months ago | |
| copy-before-write.h | 7 months ago | |
| copy-on-read.c | 10 months ago | |
| copy-on-read.h | 2 years ago | |
| coroutines.h | 7 months ago | |
| create.c | 9 months ago | |
| crypto.c | 1 month ago | |
| crypto.h | 2 years ago | |
| curl.c | 4 weeks ago | |
| dirty-bitmap.c | ||
| dmg-bz2.c | ||
| dmg-lzfse.c | ||
| dmg.c | 2 years ago | |
| dmg.h | ||
| file-posix.c | 1 week ago | |
| file-win32.c | 1 month ago | |
| filter-compress.c | 2 years ago | |
| gluster.c | 4 weeks ago | |
| graph-lock.c | 5 months ago | |
| io.c | 4 weeks ago | |
| io_uring.c | 1 month ago | |
| iscsi-opts.c | ||
| iscsi.c | 4 weeks ago | |
| linux-aio.c | 6 months ago | |
| meson.build | 12 months ago | |
| mirror.c | 5 months ago | |
| nbd.c | 3 months ago | |
| nfs.c | 4 weeks ago | |
| null.c | 4 weeks ago | |
| nvme.c | 4 weeks ago | |
| parallels-ext.c | 1 year ago | |
| parallels.c | 1 month ago | |
| parallels.h | 2 years ago | |
| preallocate.c | 2 years ago | |
| progress_meter.c | ||
| qapi-system.c | 10 months ago | |
| qapi.c | 2 months ago | |
| qcow.c | 1 month ago | |
| qcow2-bitmap.c | 2 years ago | |
| qcow2-cache.c | 2 years ago | |
| qcow2-cluster.c | 1 month ago | |
| qcow2-refcount.c | 1 month ago | |
| qcow2-snapshot.c | 12 months ago | |
| qcow2-threads.c | ||
| qcow2.c | 4 weeks ago | |
| qcow2.h | 4 weeks ago | |
| qed-check.c | ||
| qed-cluster.c | ||
| qed-l2-cache.c | ||
| qed-table.c | ||
| qed.c | 1 month ago | |
| qed.h | 2 years ago | |
| quorum.c | 5 months ago | |
| raw-format.c | 1 month ago | |
| rbd.c | 4 weeks ago | |
| replication.c | 5 months ago | |
| reqlist.c | 1 year ago | |
| snapshot-access.c | 7 months ago | |
| snapshot.c | 5 months ago | |
| ssh.c | 4 weeks ago | |
| stream.c | 5 months ago | |
| throttle-groups.c | 8 months ago | |
| throttle.c | 2 years ago | |
| trace-events | 1 month ago | |
| trace.h | ||
| vdi.c | 1 month ago | |
| vhdx-endian.c | ||
| vhdx-log.c | 2 years ago | |
| vhdx.c | 1 month ago | |
| vhdx.h | 2 years ago | |
| vmdk.c | 4 days ago | |
| vpc.c | 1 month ago | |
| vvfat.c | 4 days ago | |
| win32-aio.c | 4 weeks ago | |
| write-threshold.c | 2 years ago | |