[Bug 60277] New: Gawk 5.4 breaks gitapply.sh
http://bugs.winehq.org/show_bug.cgi?id=60277 Bug ID: 60277 Summary: Gawk 5.4 breaks gitapply.sh Product: Wine-staging Version: 11.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: mike@cchtml.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Target Milestone: --- Distribution: --- Starting with gawk 5.4.x the "Find end of textual patch" gawk fails. message: "gawk: cmd. line:5: error: ? * + or {interval} not preceded by valid subpattern: /^(@| |+|-|\\)/" The new version of gawk expects the + sign to be escaped. Escaping does not break older versions of gawk. I would push a PR but it's a one-liner. --- a/patches/gitapply.sh 2026-09-01 23:43:44.393824230 -0500 +++ b/patches/gitapply.sh 2026-09-01 23:43:55.462528465 -0500 @@ -249,7 +249,7 @@ BEGIN{ ofs=1; } -!/^(@| |+|-|\\)/{ +!/^(@| |\+|-|\\)/{ ofs=0; exit 0; } END{ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60277 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60277 Alistair Leslie-Hughes <leslie_alistair@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Alistair Leslie-Hughes <leslie_alistair@hotmail.com> --- Fixed by https://gitlab.winehq.org/wine/wine-staging/-/commit/cb40edcbf4b7f2b378d83cc... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla