FreeBSD Bugzilla – Attachment 237678 Details for
Bug 264275
sed complaining about trailing backslash when using Umlauts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
small reproducer that calls regcomp with an umlaut.
regcomp-error-iso8859.c (text/plain), 382 bytes, created by
Daniel Tameling
on 2022-10-27 13:45:09 UTC
(
hide
)
Description:
small reproducer that calls regcomp with an umlaut.
Filename:
MIME Type:
Creator:
Daniel Tameling
Created:
2022-10-27 13:45:09 UTC
Size:
382 bytes
patch
obsolete
>#include <locale.h> >#include <regex.h> >#include <stdio.h> > >int main(){ > char buf[128]; > char s[2]; > s[0] = 0xe4; > s[1] = '\0'; > > setlocale(LC_ALL, ""); > > regex_t preg; > int i = regcomp(&preg, s, 0); > if (i != 0) { > regerror(i, &preg, buf, sizeof buf); > printf("RE error: %s\n", buf); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 264275
: 237678
Working