URL: <https://savannah.gnu.org/patch/?10282>
Summary: port libtool to grep 3.8 and to POSIX Project: GNU Libtool Submitter: eggert Submitted: Mon 19 Sep 2022 01:27:13 PM PDT Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Mon 19 Sep 2022 01:27:13 PM PDT By: Paul Eggert <eggert> GNU grep 3.8 warns about some regular expressions that POSIX says have undefined effect, e.g., '\-'. Unfortunately Libtool uses regular expressions of this form. I'm attaching two proposed patches against libtool's current HEAD (commit 6132006b5fb6b95f31c30a972fbb829f93e1878b dated 2022-05-16). The first patch should suffice to pacify GNU grep 3.8. The second patch fixes some other regular expressions that GNU grep 3.8 does not warn about (I found them with an even-pickier 'grep'). I did not look systematically for all portability bugs of this form. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 19 Sep 2022 01:27:13 PM PDT Name: 0001-libtool-port-to-GNU-grep-3.8.patch Size: 5KiB By: eggert Patches to port libtool to GNU and POSIX grep <http://savannah.gnu.org/patch/download.php?file_id=53720> ------------------------------------------------------- Date: Mon 19 Sep 2022 01:27:13 PM PDT Name: 0002-libtool-port-better-to-POSIX-grep.patch Size: 2KiB By: eggert Patches to port libtool to GNU and POSIX grep <http://savannah.gnu.org/patch/download.php?file_id=53721> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/patch/?10282> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/