Skip to content

configure: quote the HAVE_IO_URING description as m4, not a C string - #4767

Open
ThalesBarretto wants to merge 1 commit into
gluster:develfrom
ThalesBarretto:build-io-uring-define-description
Open

configure: quote the HAVE_IO_URING description as m4, not a C string#4767
ThalesBarretto wants to merge 1 commit into
gluster:develfrom
ThalesBarretto:build-io-uring-define-description

Conversation

@ThalesBarretto

Copy link
Copy Markdown
Contributor

AC_DEFINE([HAVE_IO_URING], [1], "io_uring support") passed the
description as a double-quoted C string rather than an m4-quoted
[io_uring support]. The literal quotes end up in the config.h
comment (/* "io_uring support" */ instead of /* io_uring support */).
It is the only AC_DEFINE in configure.ac written this way; the other
five 3-argument definitions all use the correct [...] quoting. The
#define HAVE_IO_URING 1 itself is unaffected — the defect is cosmetic
and a quoting anti-pattern, not a build break.

Fixes: #4766

@ThalesBarretto
ThalesBarretto marked this pull request as draft September 10, 2026 17:29
@ThalesBarretto
ThalesBarretto marked this pull request as ready for review September 11, 2026 02:09
AC_DEFINE([HAVE_IO_URING], [1], "io_uring support") passed the
description as a double-quoted C string rather than an m4-quoted
[io_uring support]. The literal quotes end up in the config.h comment.
It is the only AC_DEFINE in configure.ac written this way. Use the
standard m4 bracket quoting to match every other definition.

Fixes: gluster#4766

Signed-off-by: Thales Antunes de Oliveira Barretto <thales.barretto.git@gmail.com>
@ThalesBarretto
ThalesBarretto force-pushed the build-io-uring-define-description branch from eb860ef to e929d3e Compare September 11, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

configure: HAVE_IO_URING description passed as a C string, not m4 — quotes leak into config.h

2 participants