git: b5f60442a03e - main - libefivar: Fix sed pattern
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Feb 2025 20:16:10 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=b5f60442a03ed53bfc5e16ed445490d1b5f14638
commit b5f60442a03ed53bfc5e16ed445490d1b5f14638
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-02-20 20:10:06 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-02-20 20:10:06 +0000
libefivar: Fix sed pattern
Add a 'g' flag to allow the replacement to occur more than once on the
same line.
Reviewed by: imp, emaste
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D49058
---
lib/libefivar/FreeBSD-update | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libefivar/FreeBSD-update b/lib/libefivar/FreeBSD-update
index 375f9ceb9536..52d0db4021ef 100644
--- a/lib/libefivar/FreeBSD-update
+++ b/lib/libefivar/FreeBSD-update
@@ -6,7 +6,7 @@ efivar-dp-parse.c is a copy of MdePkg/Library/UefiDevicePathLib/DevicePathFromTe
These files are first mechnaically processed with
-sed -e "s/L'/'/;"'s/L"/"/g;s/%g/%36s/g;s/%a/%s/g;s/^VOID/static VOID/g;s/ *$//g'
+sed -e "s/L'/'/g;"'s/L"/"/g;s/%g/%36s/g;s/%a/%s/g;s/^VOID/static VOID/g;s/ *$//g'
for several reasons. We're moving from wide rotuines to narrow routines. The
UTC-2 this code is written for is a bad match for wchar_t which is an int. It's