[Bug 4694] New: "Invalid content of \{\}" error on regcomp('^\#define[[:space:]]\{1\,\}BOOT_TRAMPOLINE[[:space:]]\{1\,\}',0)
bugzilla at busybox.net
bugzilla at busybox.net
Sun Jan 15 17:58:36 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=4694
Summary: "Invalid content of \{\}" error on
regcomp('^\#define[[:space:]]\{1\,\}BOOT_TRAMPOLINE[[:
space:]]\{1\,\}',0)
Product: uClibc
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Standard Compliance
AssignedTo: unassigned at uclibc.org
ReportedBy: vda.linux at googlemail.com
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
When built aqgainst uclibc,
busybox sed 's,^\#define[[:space:]]\{1\,\}BOOT_TRAMPOLINE[[:space:]]\{1\,\},,p'
fails with "Invalid content of \{\}" message.
When the very same tree is build against glibc, it works.
On the library call level, it boils down to this call (the string has \ -> \\
escaped again by me, compiler will strip them back to single \):
regcomp(®ex,
"^\\#define[[:space:]]\\{1\\,\\}BOOT_TRAMPOLINE[[:space:]]\\{1\\,\\}", 0);
which fails; regerror() reports "Invalid content of \{\}".
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list