apache / cloudberry

Fix gawk regexp escape sequence warning
Fix issue #1206: Replace [^\#] with [^\043] in AWK regex patterns. The original [^\#] caused a gawk warning: 'regexp escape sequence `#' is not a known regexp operator' The initial fix of changing to [^#] broke the build because Make interprets # as a comment character, truncating the command. This fix uses the octal escape sequence \043 (ASCII code for #) which: 1. Is properly escaped for Make (not interpreted as comment) 2. Is a valid AWK/regex escape sequence (no warning) 3. Works with both gawk and mawk Changes: - src/Makefile.shlib: 5 occurrences updated - src/backend/Makefile: 2 occurrences updated
zhan7236 zhan7236 committed on Nov 27, 2025, 02:50 PM
Showing 2 changed files +7 additions -7 deletions
Browse files at this commit โ†’